# API

> API is an open-source agent skill for developer tools. Lets the agent query a JSON API with curl and pretty-print or count the results. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vulnex/vaso/tree/main/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** api
- **Collection:** https://github.com/vulnex/vaso
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api)
- [License: Apache-2.0](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-fp-pipe-to-python-tool/home/.claude/skills/api)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Postman collection generator](https://ai-powered.com/skills/postman-collection-generator): Postman collection generator is an open-source agent skill for developer tools.
- [API engineer](https://ai-powered.com/skills/api-engineer): API engineer is an open-source agent skill for legal and government.
- [API integration](https://ai-powered.com/skills/api-integration-ajyadav013): API integration is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-fmarzochi): API design is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-nabwinsaud): API design is an open-source agent skill for developer tools.
- [API documentation](https://ai-powered.com/skills/api-documentation): API documentation is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design-abdullayevtemurmalik): API design is an open-source agent skill for developer tools.
- [Xquik MCP](https://ai-powered.com/skills/xquik-mcp): Xquik MCP is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/api-vulnex
