
Postagent
- 7 installs
- 38 repo stars
- Updated April 25, 2026
- actionbook/postagent
postagent is a Claude Code skill that uses the Postagent CLI to discover, authenticate, and call third-party APIs while keeping secrets in local storage.
About
postagent is a Claude Code skill that drives the Postagent CLI to discover, inspect, authenticate, and call third-party APIs. It maps a natural-language goal to the right site, group, and action, lets the agent browse an API manual progressively, and sends curl-style HTTP requests using local credential placeholders instead of raw secrets. A developer uses it to call APIs like Notion or GitHub correctly without leaking keys into the model context.
- Discover, inspect, and call third-party APIs from natural language
- curl-style HTTP requests with progressive manual browsing
- Keeps secrets out of model context via local credential placeholders
Postagent by the numbers
- 7 all-time installs (skills.sh)
- Ranked #1,587 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
postagent capabilities & compatibility
Free CLI (npm install -g postagent); bring your own per-site API credentials.
- Capabilities
- api discovery · api client · credential management
- Works with
- notion · github
- Use cases
- api development · orchestration
- Pricing
- Bring your own API key
- Requires keys
- PERSITEAPIKEYSSTOREDLOCALLYVIAPOSTAGENTAUTH
What postagent says it does
Discover, inspect, authenticate, and call third-party APIs with the Postagent CLI.
Prefer placeholders over raw secrets so credentials stay in local storage rather than the model context.
npx skills add https://github.com/actionbook/postagent --skill postagentAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 7 |
|---|---|
| repo stars | ★ 38 |
| Last updated | April 25, 2026 |
| Repository | actionbook/postagent ↗ |
What it does
Discover and call third-party APIs (such as Notion or GitHub) from natural language while keeping secrets out of model context.
Who is it for?
mapping a natural-language goal to a real API call with credentials kept out of context
Skip if: general web scraping or fetching pages that are not API endpoints
When should I use this skill?
finding the right API action from natural language, browsing an API manual, or sending a request without exposing secrets
What you get
correct curl-style API calls that reference credentials via local placeholders
By the numbers
- placeholder format $POSTAGENT.<SITE>.API_KEY keeps secrets out of context
- three progressive manual levels: site, site+group, site+group+action
Files
Postagent
Overview
Use Postagent as an agent-friendly API client. The normal flow is: search for the action you want, inspect the manual for the target site/group/action, authenticate the site if needed, then send the request with curl-style flags.
Installation
npm install -g postagentQuick Start
Start with natural language search:
postagent search "create a document on notion"
postagent search "create github issue"Drill into the manual progressively:
postagent manual notion
postagent manual notion pages
postagent manual notion pages create_page
postagent manual notion pages create_page --format jsonAuthenticate the site before sending requests that need credentials:
postagent auth notionSend the request with curl-style options:
postagent send -X POST https://api.notion.com/v1/pages \
-H 'Authorization: Bearer $POSTAGENT.NOTION.API_KEY' \
-H 'Notion-Version: 2022-06-28' \
-H 'Content-Type: application/json' \
-d '{"parent":{"page_id":"YOUR_PAGE_ID"},"properties":{"title":[{"text":{"content":"My Page"}}]}}'Core Commands
Use postagent search <query> to map a user goal to likely site/group/action combinations. Prefer this when you know the intent but not the exact API shape.
Use postagent manual <site> [group] [action] to browse progressively:
- Site only: list groups and top actions.
- Site + group: list actions in that group.
- Site + group + action: get full endpoint details, parameters, request body, and response info.
Use --format json on search or manual when another tool or agent needs structured output instead of markdown text.
Use postagent auth <site> to save a credential locally for one site. Postagent will prompt for the secret without echoing it in a normal TTY.
Use postagent send <url> [curl-like options] to execute the real HTTP request. It accepts -X/--method, repeated -H/--header, and -d/--data.
Recommended Workflow
Search first unless you already know the exact site, group, and action.
Read the manual before sending a request so you can confirm the method, path, auth header, version header, and request schema.
Authenticate only the site you need. Saved credentials are referenced later with placeholders instead of being pasted into commands.
Use placeholder substitution in the URL, headers, or body:
$POSTAGENT.<SITE>.API_KEYExample:
-H "Authorization: Bearer $POSTAGENT.GITHUB.API_KEY"Prefer placeholders over raw secrets so credentials stay in local storage rather than the model context.
Send Behavior
If -X/--method is omitted and -d/--data is present, Postagent sends POST.
If both method and body are omitted, Postagent sends GET.
Headers can be provided as repeated Key: Value strings or as a JSON object string.
Postagent prints the raw response body on success. On HTTP error responses it prints the status and body, then exits non-zero.
Practical Examples
Create a Notion page:
postagent search "create a notion page"
postagent manual notion pages create_page
postagent auth notion
postagent send -X POST https://api.notion.com/v1/pages \
-H 'Authorization: Bearer $POSTAGENT.NOTION.API_KEY' \
-H 'Notion-Version: 2022-06-28' \
-H 'Content-Type: application/json' \
-d '{"parent":{"page_id":"YOUR_PAGE_ID"},"properties":{"title":[{"text":{"content":"My Page"}}]}}'Inspect GitHub issue creation before making the call:
postagent search "create github issue"
postagent manual github issues create