API Reference
Agent-friendly discovery, ranking, and install data.
Base URL
Use /api/registry/* for public registry-style discovery and install handoffs, /api/agent/* for full agent payloads, or /api/skills/* for simple registry search and install handoffs.
Response Formats
All endpoints support two response formats via the format parameter:
format=json(default) - Structured JSON responseformat=text- Plain text optimized for LLM consumption (uses fewer tokens)
Endpoints
Copy-paste setup templates and stable response fields for Codex, Claude Code, Cursor, and other agent runtimes. Use this before calling Resolve from an agent workflow.
GET /api/agent/integration-kitGET /api/agent/integration-kit?format=textGET /agent/integration-kitGET /.well-known/agent-manifest.jsonThe payload includes supported_agents, recommended_flow, stable_response_fields, and safety_rules. Agents should copy the platform template, call Resolve, then read agent_handoff before installing.
Public registry aliases for agents that need clean, predictable endpoints: search by task, request ranked recommendations, fetch one manifest, or get an install handoff.
GET /api/registry/search?task=analyze+SEC+filings&limit=5GET /api/registry/recommend?task=build+a+World+Cup+dashboardGET /api/registry/manifest/crawl4aiGET /api/registry/install/crawl4ai?format=textThese aliases point to the same ranking, trust, audit, and install data used by the main agent endpoints, but the URL shape is easier to remember and market as a skill registry.
Resolve a task into one selected skill, alternatives, an agent safety profile, a policy decision, and a target-specific install plan. This is the canonical endpoint for agent runtime use.
recommendation.best_skillSelected skill with web, API, audit, and repository URLs
recommendation.installCommand, target, install API, review requirement, and auto-install policy
recommendation.why_recommendedShort explainable ranking reasons for agent logs
recommendation.trust_score_v5Trust Score v5 decision, outcome confidence, install policy, compatibility, risk summary, and v4 compatibility data
agent_proven0-100 outcome-backed adoption score with recent success/failure, install success, output quality, production use, and unique agent signals
install_receiptStable install receipt with selected skill, install policy, risk notes, alternatives, outcome event id, and next steps
decision_packetStable agent contract with selected skill, install plan, trust dimensions, do_not_use_when, alternatives, and outcome_feedback
agent_feedback_loopOutcome reporting contract, quality fields, idempotency, and ranking inputs updated after a run
feedbackOutcome event id, outcome API URL, expected outcomes, and ready CLI command for reporting adoption results
agent_handoffPlatform copy prompts, API sequence, review checklist, expected output contract, and blocked actions
task- Required task descriptionagent- codex, claude-code, cursor, or autoconstraints.max_risk- low, medium, or highconstraints.needs_install_command- Require install handoffPOST /api/agent/resolve
{
"task": "review a pull request and summarize risky changes",
"agent": "codex",
"constraints": {
"max_risk": "medium",
"needs_install_command": true,
"min_stars": 500
}
}GET /api/agent/resolve?task=scrape+pricing+pages&agent=codex&max_risk=medium&format=textGenerate the stable install receipt for one resolved task. Agents should treat this as the pre-install execution record: selected skill, install command, safety policy, risk notes, alternatives, outcome event id, and next steps.
receipt_idDurable id for the selected task-to-skill handoff
selected_skillSkill URL, API URL, audit URL, eval URL, and repository
installCommand, target, policy, sandbox-first flag, and human-review requirement
riskAudit label, safety tier, warnings, and do_not_use_when metadata
agent_provenOutcome-backed score, label, summary, and metrics for whether agents have made the skill work
alternativesFallback skills with install commands and safety scores
outcome_feedbackevent_id, POST endpoint, payload template, dry_run payload, and CLI example
GET /api/agent/receipt?task=scrape+pricing+pages&agent=codex&max_risk=medium&format=textTask-first catalog for agents. Use it when the agent knows the job to be done but has not selected a skill yet.
GET /api/agent/tasks?format=textReport what happened after an agent tried one resolved skill. These aggregate signals feed Trust Score v5, Agent-Proven rankings, skill detail pages, and the public Resolve eval dashboard.
successThe skill helped complete the task
failedThe skill was attempted but did not work
not_relevantThe selected skill did not fit the task
blocked_by_riskThe agent stopped because risk was too high
setup_requiredThe skill may work but required extra setup
output_qualityOptional 1-5 quality signal for the run output
used_in_productionOptional signal that the skill was useful beyond a sandbox run
human_review_requiredOptional signal that the run needed human inspection before reuse
Agent Proven ScoreDerived from total outcomes, recent success/failure, install success rate, output quality, production use, unique agents, and risk/setup penalties
error_typeOptional install_failed, runtime_error, permission_blocked, low_quality_output, timeout, or other
dry_runSet true to validate a payload without writing a database row
GET /api/agent/outcome?skill_slug=crawl4aiRead aggregate success and install-attempt stats
GET /api/agent/outcome?format=textRead a compact machine-friendly outcome summary
GET /api/agent/outcome?contract=trueRead the v3 feedback contract
POST /api/agent/outcome
{
"event_id": "resolve_...",
"skill_slug": "crawl4ai",
"task": "scrape pricing pages",
"agent": "codex",
"outcome": "success",
"install_used": true,
"task_success": true,
"output_quality": 4,
"workspace": "sandbox",
"time_to_useful_ms": 120000
}Public-safe status for the GitHub auto-discovery pipeline. Shows schedule, filters, thresholds, cross-domain query coverage, indexer health, and recent run summaries.
GET /api/agent/discoveryPrivate imports can target a domain such as domains:["finance"] for finance, quant, trading, market-data, portfolio, and filings skills.
Simple public registry search for humans, tools, and lightweight agents. Accepts task-style queries and returns ranked skills with trust, audit, URLs, and install handoffs.
q- Skill, task, platform, or workflow querytask- Alias for q when an agent sends a job descriptionmin_stars- Optional minimum GitHub stars filterGET /api/skills/search?task=scrape+pricing+pages&min_stars=500&limit=5Get the install command, agent prompt, target-specific install options, safety checklist, and canonical URLs for one skill.
GET /api/skills/crawl4ai/install?format=textRun registry regression checks, pass slug={skill} for one pre-install Trust + Eval contract, or pass slugs={a,b,c} to compare candidate skills before choosing one to install.
GET /api/agent/evalsGET /api/agent/evals?slug=crawl4ai&task=scrape+pricing+pages&format=textGET /api/agent/evals?slugs=crawl4ai,markitdown&task=parse+PDFs+into+markdownUse /evals/resolve for the public dashboard view of the same recommendation benchmark.
eval.statuspassed, review, or failed
eval.decisionshortlist, manual_review, or do_not_auto_install
eval.checksRequired install gates plus supporting trust checks
eval.validation_planConcrete sandbox verification steps before production use
Return an SVG README badge for a listed skill. Use metric=listed, trust, quality, stars, audit, or proven.
GET /api/badge/crawl4ai?metric=auditSearch and filter agent skills.
Query Parameters
q- Search querycategory- Filter by categoryplatform- Filter by platformtrust- Filter by trust tier: production, strong, review, risksort- Sort by: quality, stars, trending, fresh, newformat- Response format: json or textExample Request
GET /api/agent/skills?q=web+research&trust=production&format=textExample Response (text format)
=== Agent Skills Search Results ===
Total: 2 skills found
---
[1] Crawl4AI
- Slug: crawl4ai
- Category: Web Scraping
- Install: npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install crawl4ai --dry-run
- Trust: 91/100 Production candidate
- Verified installs: 0
- Outcomes: 1
- Description: Web crawling and structured extraction for agent workflows
[2] Code Review Assistant
- Slug: code-review-assistant
- Category: Developer Tools
- Install: npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install code-review-assistant --dry-run
- Trust: 77/100 Strong shortlist
- Verified installs: 0
- Outcomes: 0
- Description: Automated code review with security analysisJSON responses include quality profiles, platform hints, install commands, repository links, and detail URLs.
Describe a task and get skill recommendations with readiness scores, role fit, risk notes, implementation steps, and related stack suggestions.
install_targetstrust.scoreaudit.audit_scoredecision.next_stepsGET /api/agent/recommend?task=scrape+websites+and+extract+tables&limit=4Get curated skill packs for complete workflows, including top skills, trust signals, install targets, and install_plan_url for agent execution.
limit- Skills per pack, max 10format- Response format: json or textinstall_plan_url- Fetch this URL when an agent needs the executable pack planGET /api/agent/packs?limit=5&format=textGet one skill pack with ranked skills, audit scores, trust profiles, install commands, review checklist, outcome feedback, and an executable install_plan object.
install_plan.selected_skills- Ordered skill shortlist with install command, skill URL, audit URL, and risk levelinstall_plan.review_checklist- Pre-install checks an agent should complete before using the packinstall_plan.outcome_feedback- Endpoint and required fields for reporting whether the pack workedGET /api/agent/packs/frontend-engineer-agent-pack?limit=8Get ranked skill shortlists by quality, stars, freshness, new arrivals, workflow-specific use cases, or real Agent-Proven outcome evidence.
slug- Ranking slug, e.g. agent-proven, best-by-success-rate, safest-auto-install-skills, best-codex-skills, or best-web-scraping-skillslimit- Number of skills to return, max 30format- Response format: json or textGET /api/agent/rankings?slug=agent-proven&limit=5&format=textGet a weekly operating report with editor picks, new skills, maintained projects, and engagement signals.
GET /api/agent/weekly-report?format=textGet detailed information about a specific skill.
Example Request
GET /api/agent/skills/advanced-web-research?format=textExample Response (text format)
=== Crawl4AI ===
INSTALL:
npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install crawl4ai --dry-run
DESCRIPTION:
Comprehensive web research with multi-source aggregation
CATEGORY: Research & Analysis
PLATFORMS: LangChain, LlamaIndex
STATS:
- Verified installs: 0
- Outcomes: 1
- Trust: 91/100 Production candidate
TECHNICAL:
- Version: 2.3.1
- Languages: Python, TypeScript
- Repository: https://github.com/unclecode/crawl4ai
- License: MIT
USAGE:
This skill enables agents to perform comprehensive web research...Get the OpenAgentSkill audit report for a skill, including audit score, risk level, check results, warnings, and signals.
GET /api/audits/crawl4aiaudit.audit_scoreaudit.risk_levelaudit.checks[]audit.warnings[]Generate a README-friendly SVG badge for listed status, audit score, trust score, Agent Proven Score, quality score, or GitHub stars.
Example Markdown
[](https://www.openagentskill.com/skills/crawl4ai)
[](https://www.openagentskill.com/skills/crawl4ai)
[](https://www.openagentskill.com/skills/crawl4ai/audit)
[](https://www.openagentskill.com/skills/crawl4ai)
[](https://www.openagentskill.com/skills/crawl4ai)
[](https://www.openagentskill.com/skills/crawl4ai)Query Parameters
metriclisted, trust, audit, quality, stars, proven, or agent-proven. Defaults to listed.labelOptional badge label, such as Quality or GitHub.Submit any valid SKILL.md from a GitHub repository, directory, or file URL. Zero-star repositories are eligible. The API returns a receipt immediately and reviews the submission asynchronously.
Request Body
repositoryGitHub repository URL (required) — e.g. https://github.com/owner/reposkillPathExact SKILL.md path returned by POST /api/skills/validate (required)categorySkill category (optional; auto-detected when omitted)tagsArray of tags (optional)submissionSourceSet to "agent" for automated submissions (optional, default: "web")submittedByAgentAgent identifier string, e.g. "openclaw-v1.2" (optional)makerGithub / makerXOptional declared maker handles. They remain unverified until OAuth or repository ownership proof.Example Request
POST /api/skills/submit
Content-Type: application/json
{
"repository": "https://github.com/owner/my-skill",
"skillPath": "SKILL.md",
"tags": ["crawler", "llm", "python"],
"makerGithub": "owner",
"makerX": "owner_on_x",
"submissionSource": "agent",
"submittedByAgent": "openclaw-v1.2"
}Example Response
{
"success": true,
"accepted": true,
"submission": {
"id": "7f3f...",
"token": "private-status-token",
"status": "submitted",
"statusUrl": "/api/skills/submissions/7f3f...?token=...",
"skill": { "name": "My Skill", "path": "SKILL.md" }
}
}OpenClaw Auto-Submit
Agents can submit a skill as soon as a valid SKILL.md is available. GitHub stars remain a ranking signal, not a publishing gate.
Add the webhook to your OpenClaw config
In your openclaw.config.yaml, add the submit endpoint as a publish target:
# openclaw.config.yaml
publish:
- target: openagentskill
url: https://openagentskill.com/api/skills/submit
payload:
skillPath: SKILL.md
submissionSource: agent
submittedByAgent: "openclaw-v1.2"OpenClaw can POST when SKILL.md is created or updated
No star threshold is required. The agent can also trigger submission manually:
# Manually submit a specific repo via OpenClaw
openclaw publish --target openagentskill --repo owner/my-skillAI review runs automatically
Every submission is persisted before review. Critical security findings are quarantined; other submissions are reviewed and published or kept in the community review queue.
Or call the API directly (no OpenClaw required)
curl -X POST https://openagentskill.com/api/skills/submit \
-H "Content-Type: application/json" \
-d '{
"repository": "https://github.com/your-org/your-skill",
"skillPath": "SKILL.md",
"tags": ["python", "llm"],
"submissionSource": "agent",
"submittedByAgent": "my-custom-agent"
}'Agent Protocol Discovery
AI agents can automatically discover our API capabilities via the standard agent protocol file:
GET /.well-known/agent-protocol.jsonRate Limits
Currently no rate limits for read operations. Fair use policy applies. For higher limits, contact us.