Api integration
Integrate with the Acme API for file management operations. Use when uploading, downloading, listing, or managing files via the Acme platform. Triggers on: acme, file upload, file management, acme API.From its SKILL.md
npx -y skills add choutos/agent-skills-spec --skill api-integrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
4 things to look at
- reads credentialsReads from 2 credential sources: `~/.credentials/acme.env` and 1 more.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `source ~/.credentials/acme.env` and 2 more.
- fetches URLsInstructs the agent to fetch 5 URLs, including https://api.acme.example.com/v2/files?directory_id={id} and 4 more.
SKILL.md
1.1 KB, 267 tokens by cl100k_base, as published. Nobody here has run it
Acme API Integration
Auth: Bearer token from ACME_TOKEN env var.
Base URL: https://api.acme.example.com/v2
Rate limit: 60 requests/minute
Common Operations
| Action | Method | Endpoint |
|---|---|---|
| List files | GET | /files?directory_id={id} |
| Upload | POST | /upload?directory_id={id} (multipart) |
| Download | GET | /files/{id}/download |
| Create dir | POST | /files/{parent_id}/directory |
| Delete | DELETE | /files/{id} |
Auth Pattern
source ~/.credentials/acme.env
curl -s -H "Authorization: Bearer $ACME_TOKEN" "$ACME_BASE/files?directory_id=1"
Upload
curl -s -X POST "$ACME_BASE/upload?directory_id=$DIR_ID" \
-H "Authorization: Bearer $ACME_TOKEN" \
-F "file=@/path/to/file"
Notes
- All responses wrapped in
{"result": "success", "data": ...} - Parse with
jq .data - For full schema, see
references/api-schema.md
What ships with it: 1 file
841 B alongside SKILL.md
references/
- api-schema.md841 B