agentsclimarketplace

Api integration

Skill choutos/agent-skills-spec/examples/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

Install
npx -y skills add choutos/agent-skills-spec --skill api-integration

Assembled 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

ActionMethodEndpoint
List filesGET/files?directory_id={id}
UploadPOST/upload?directory_id={id} (multipart)
DownloadGET/files/{id}/download
Create dirPOST/files/{parent_id}/directory
DeleteDELETE/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/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.