agentsclimarketplace

Api client

Skill rtwsvj/skill-switch/tests/fixtures/skills-benign/api-client

Guide making authenticated API calls using environment variables for secrets. Use when integrating a third-party REST API.From its SKILL.md

Install
npx -y skills add rtwsvj/skill-switch --skill api-client

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: `API_TOKEN` 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 1 command, including `curl -sS -H "Authorization: Bearer $API_TOKEN" "$API_BASE_URL/v1/users"`.
  • fetches URLsInstructs the agent to fetch 1 URL, including $API_BASE_URL/v1/users.

SKILL.md

0.5 KB, 90 tokens by cl100k_base, as published. Nobody here has run it

API Client

Keep secrets in the environment, never hardcode them. Send requests to your own configured base URL:

curl -sS -H "Authorization: Bearer $API_TOKEN" "$API_BASE_URL/v1/users"

Store API_TOKEN and API_BASE_URL in your shell profile or a local .env that is gitignored. The token only goes to your own configured host.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

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.