Skip to content

NVIDIA/SkillEvaluator / src/skillevaluator/tier3/reference_skills/api-caller

api-caller

Verified

Call any REST API dynamically. Make GET, POST, PUT, DELETE requests to any endpoint with custom headers and JSON body.

FileKindSize
SKILL.mdskill md4.3 KB
evals/evals.jsonconfig7.2 KB
references/common_apis.mdmarkdown1.5 KB
scripts/call_api.pyscript8.3 KB
scripts/parse_openapi.pyscript5.8 KB
scripts/url_safety.pyscript527 B

references/common_apis.md

View on GitHub
# Common APIs Reference

Pre-tested API examples for the `api-caller` skill.

## JSONPlaceholder (Testing API)

**Base URL:** https://jsonplaceholder.typicode.com

**No authentication required**

### Examples

```bash
# Get all posts
--url "https://jsonplaceholder.typicode.com/posts"

# Get single post
--url "https://jsonplaceholder.typicode.com/posts/1"

# Get comments for a post
--url "https://jsonplaceholder.typicode.com/posts/1/comments"

# Create a post (POST)
--url "https://jsonplaceholder.typicode.com/posts" --method POST --data '{"title": "foo", "body": "bar", "userId": 1}'
```

---

## GitHub API

**Base URL:** https://api.github.com

**Authentication:** Optional for public repos, required for private

### Examples

```bash
# Get repository info
--url "https://api.github.com/repos/owner/repo"

# Get user info
--url "https://api.github.com/users/username"

# With authentication
--url "https://api.github.com/user" --headers '{"Authorization": "Bearer YOUR_TOKEN"}'
```

---

## httpbin (Testing/Debug API)

**Base URL:** https://httpbin.org

**No authentication required**

### Examples

```bash
# Echo GET request
--url "https://httpbin.org/get"

# Echo POST request
--url "https://httpbin.org/post" --method POST --data '{"test": "data"}'

# Get headers
--url "https://httpbin.org/headers"

# Get IP
--url "https://httpbin.org/ip"
```

---

## Tips

1. **Always check API docs** for rate limits and required headers
2. **Use --headers for auth**: `--headers '{"Authorization": "Bearer TOKEN"}'`
3. **For complex workflows**: Use `code-generator` skill instead
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall