NVIDIA/SkillEvaluator / src/skillevaluator/tier3/reference_skills/api-caller
api-caller
VerifiedCall any REST API dynamically. Make GET, POST, PUT, DELETE requests to any endpoint with custom headers and JSON body.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.3 KB |
| evals/evals.json | config | 7.2 KB |
| references/common_apis.md | markdown | 1.5 KB |
| scripts/call_api.py | script | 8.3 KB |
| scripts/parse_openapi.py | script | 5.8 KB |
| scripts/url_safety.py | script | 527 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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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 implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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 fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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 always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |