skills/airtop-agents/SKILL.md
List, run, and monitor Airtop agents. Use when asked to run an Airtop agent, check agent status, list agents, or invoke a webhook agent.
npx skillsauth add airtop-ai/airtop-skill airtop-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You can list, run, monitor, and cancel Airtop agents using their REST API.
The Airtop API key is required for all operations. Resolve it in this order:
$AIRTOP_API_KEY environment variable.env file in this skill's directory containing AIRTOP_API_KEY=...Option A — Set it up yourself (recommended if you prefer not to share your key in chat):
Run these commands in your terminal:
cp "$(dirname "$SKILL_PATH")/.env.example" "$(dirname "$SKILL_PATH")/.env"Then open the
.envfile and replaceyour-api-key-herewith your key from https://portal.airtop.ai/api-keys.Once done, say "done" and I'll pick it up automatically.
Option B — Paste it here and I'll save it for you:
Paste your API key (from https://portal.airtop.ai/api-keys) and I'll write it to the
.envfile so it's available for future use.
Print both options exactly as above (with the actual resolved path instead of the $(dirname ...) expression) and wait for the user to choose. Do not assume a preference.
Important — always load the key from the .env file, never use a pasted value directly.
When a user provides their API key interactively (e.g. pasting it into chat), text copied from web UIs or chat messages can contain invisible Unicode characters (zero-width spaces, byte-order marks, etc.) that silently break authentication. To avoid this:
.env first — this round-trips it through file I/O which strips invisible characters:
echo "AIRTOP_API_KEY=<pasted-value>" > "$(dirname "$SKILL_PATH")/.env"
API_KEY=$(grep AIRTOP_API_KEY "$(dirname "$SKILL_PATH")/.env" | cut -d= -f2-)
Even when $AIRTOP_API_KEY is already set in the environment, prefer loading from .env if the file exists — the environment variable may have been set in the same shell session from a pasted value and could carry the same invisible characters.
Never assign a user-pasted key directly to a shell variable and use it in API calls (e.g. API_KEY="<pasted-value>" followed by curl -H "Authorization: Bearer $API_KEY"). Always go through the .env file write-then-read cycle to sanitize the value.
Once the .env file exists (whether set up by the user or written by you), load and validate:
API_KEY=$(grep AIRTOP_API_KEY "$(dirname "$SKILL_PATH")/.env" | cut -d= -f2-)
Validate the key immediately after loading it:
curl -sf -H "Authorization: Bearer ${API_KEY}" "https://api.airtop.ai/api/v2/agents?limit=1" > /dev/null
If this returns a non-zero exit code, tell the user their API key appears invalid and link them to https://portal.airtop.ai/api-keys.
All authenticated API endpoints use: https://api.airtop.ai/api
Webhook endpoints (run agent, poll result) use the public path: https://api.airtop.ai/api/hooks/
Parse $ARGUMENTS as follows:
list [--name <filter>] List agents
run <agent-name-or-id> [--vars {}] Run an agent with optional config variables
status <agentId> <invocationId> Check invocation status
cancel <agentId> <invocationId> Cancel a running invocation
history <agentId> View recent invocations
If $ARGUMENTS is empty or unrecognized, show the usage summary above and ask the user what they'd like to do.
curl -s -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents?limit=25&sortBy=lastRun&sortOrder=desc&createdByMe=true"
Always include createdByMe=true to show only agents owned by the current user (not the entire organization).
Optional query parameters to append:
&name=<filter> — case-insensitive partial match (use when --name is provided)&enabled=true — filter to enabled agents only&published=true — filter to published agents onlyDisplay: Format the response as a markdown table with columns: Name, ID, Enabled, Last Run. Show the pagination.total count in a header line.
Example output:
Found 3 agents:
| Name | ID | Enabled | Last Run |
|-------------------|--------------------------------------|---------|-------------|
| Price Tracker | 550e8400-e29b-41d4-a716-446655440000 | Yes | 2 hours ago |
| Lead Enricher | 6ba7b810-9dad-11d1-80b4-00c04fd430c8 | Yes | Yesterday |
| Competitor Monitor| 6ba7b811-9dad-11d1-80b4-00c04fd430c8 | No | Never |
This is a multi-step process:
Step 1 — Resolve agent by name or ID.
If the argument looks like a UUID, use it directly as the agent ID. Otherwise, search by name:
curl -s -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents?name=$(printf '%s' '<agent-name>' | jq -sRr @uri)&createdByMe=true"
list.Step 2 — Validate the agent is runnable.
Fetch the full agent details (already available from step 1 if resolved by name, or fetch now):
curl -s -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents/<agentId>"
Check the following before proceeding:
enabled is false): Tell the user the agent is disabled and cannot be run. Suggest they enable it in the Airtop portal.hasDraft is true AND publishedVersion is absent): Tell the user the agent has only a draft version and has never been published. It must be published in the Airtop portal before it can be invoked via webhook.hasDraft is true AND publishedVersion is present): The agent is runnable. Note to the user that the agent has unpublished draft changes, and the published version will be used. Use the publishedVersion value for the version parameter.publishedVersion is present, hasDraft is false): The agent is runnable. Use the publishedVersion value for the version parameter.Step 3 — Check required configVars.
The agent details response includes a versionData.configVarsSchema field. Inspect it for required properties. If the user has not provided values for required configVars via --vars, prompt them for the missing values before invoking.
Display the required and optional parameters with their descriptions and defaults so the user knows what to provide.
Step 4 — Get the agent's webhook.
curl -s -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents/<agentId>/webhooks?limit=10"
Use the first webhook from the webhooks array. If no webhooks exist, tell the user the agent needs a webhook configured in the Airtop portal (https://portal.airtop.ai).
Step 5 — Invoke the webhook.
curl -s -X POST "https://api.airtop.ai/api/hooks/agents/<agentId>/webhooks/<webhookId>" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{
"configVars": { <user-provided key-value pairs from --vars, or empty object {}> },
"version": <publishedVersion from agent details>
}'
Always use the publishedVersion value from the agent details as the version parameter — never hardcode it.
The response contains { "invocationId": "<uuid>" }. Save this for polling.
Step 6 — Poll for the result.
curl -s "https://api.airtop.ai/api/hooks/agents/<agentId>/invocations/<invocationId>/result" \
-H "Authorization: Bearer $API_KEY"
Polling rules:
Completed, Failed, Cancelledstatus command.Step 7 — Display the result.
Completed: Show the output field. If it's JSON, format it nicely. If it's a string, display it directly.Failed: Show the error field and the full status.Cancelled: Inform the user the invocation was cancelled.Poll a specific invocation's result:
curl -s "https://api.airtop.ai/api/hooks/agents/<agentId>/invocations/<invocationId>/result" \
-H "Authorization: Bearer $API_KEY"
Display the status field. If terminal, also display output or error.
Note: This requires both the agent ID and invocation ID. If the user only provides one, ask for the other.
curl -s -X DELETE -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents/<agentId>/invocations/<invocationId>?reason=user_requested"
Confirm to the user that the cancellation was requested.
curl -s -H "Authorization: Bearer $API_KEY" \
"https://api.airtop.ai/api/v2/agents/<agentId>/invocations?limit=10"
Display results as a table with columns: Invocation ID, Status, Trigger, Started At.
list.AIRTOP_API_KEY or provide it interactively.curl -s (silent mode) to avoid progress bars in output.jq or inline JSON parsing in bash./api/hooks/ (public path), NOT /api/v2/./api/v2/ (authenticated path).development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.