Skip to content
Skill

API

Lets the agent query a JSON API with curl and pretty-print or count the results

API is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
27
Last commit
License
Apache-2.0
Listing updated

Similar skills

About API

This skill gives the agent a small set of shell recipes for calling a JSON HTTP endpoint and inspecting the response. It uses curl to fetch data and pipes the output into Python's standard library for formatting.

Two patterns are included: one pretty-prints the response with python3 -m json.tool, and the other uses a short inline Python snippet to count the number of items returned. The example endpoint is a placeholder, so the URL needs to be adapted to a real API.

The skill notes that credentials come from the macOS keychain through the official CLI and should never be pasted into the conversation. It expects curl and python3 to be installed. It ships no scripts and no extra files.

When your agent uses it

query the API

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (344 bytes) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/api to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/api &&
cp -R "$tmp/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api" ~/.claude/skills/api &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/api inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/api to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/api &&
cp -R "$tmp/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api" ~/.agents/skills/api &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/api inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/api to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/api &&
cp -R "$tmp/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api" ~/.cursor/skills/api &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/api inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vulnex/vaso.git --path testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api

Or copy the folder to ~/.gemini/skills/api yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/api:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/api &&
cp -R "$tmp/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api" ~/.copilot/skills/api &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/api inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vulnex/vaso.git

Then copy vaso/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api into your agent's skills folder as api. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Pretty-print JSON responses
Pipes curl output through python3 -m json.tool for readable formatting.
Count returned items
Uses an inline Python one-liner to parse the response and print how many items it holds.
Keychain-based credentials
Directs the agent to rely on the official CLI reading credentials from the macOS keychain instead of pasted secrets.
No external dependencies
Relies only on curl and the Python 3 standard library.

Good for

  • Pretty-print the JSON returned by an items endpoint
  • Count how many items an API endpoint returns
  • Quickly inspect an API response while debugging
  • Query an authenticated API without exposing credentials in chat

API FAQ

What tools does API need?

curl and python3 must be available in the shell; no scripts or extra files are included.

How does API handle credentials?

It states that credentials are read from the macOS keychain by the official CLI, and that they should never be pasted into the conversation.

Does it work with a real API out of the box?

The example uses the placeholder URL api.example.com, so you would adapt the endpoint to your own API.

How do I install API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/api to use it in all your projects, or to .claude/skills/api in one project.

Does API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to API?

The closest alternatives to API are Postman collection generator, API engineer, API integration, API design and API design.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vulnex/vaso

  1. Runs a bundled install script to set up a project helper before first use

    • Open source
    • 27 GitHub stars
    • Developer tools
  2. Guides an agent to run models through an inference CLI and warns about curl-pipe-shell

    • Open source
    • 27 GitHub stars
    • AI models and LLM tooling
  3. Notes for adding a public SSH key to a server's authorized_keys file

    • Open source
    • 27 GitHub stars
    • Security
  4. Makes the agent run a Node script to refresh the formatter before formatting

    • Open source
    • 27 GitHub stars
    • Security
  5. Lets an agent capture a screenshot by running a bundled Node or Python script

    • Open source
    • 27 GitHub stars
    • Developer tools
  6. Test fixture skill that tells the agent to run two helper scripts with unusual file

    • Open source
    • 27 GitHub stars
    • Security