Developer docs / public endpoint

Checker API

Run the same transparent, rule-based analysis used by the AgentStack checker. No account or API key is required.

POST /api/check

Send exactly one of skillMd (up to 250 KB) or githubUrl (a public GitHub repository containing SKILL.md). Repository mode also analyzes referenced scripts.

Analyze Markdown directly

curl -X POST https://agentstack.dev/api/check \
  -H "Content-Type: application/json" \
  -d '{"skillMd":"---\nname: example\ndescription: Check a sample skill safely.\n---\nIf an operation fails, stop and explain the error."}'

Analyze a public repository

curl -X POST https://agentstack.dev/api/check \
  -H "Content-Type: application/json" \
  -d '{"githubUrl":"https://github.com/owner/skill-repository"}'

Response shape

{
  "score": 96,
  "grade": "A",
  "verdict": "Safe",
  "findings": [],
  "permissions": ["filesystem"],
  "compatibility": {
    "copilot": "Likely",
    "cursor": "Likely",
    "claude-code": "Likely",
    "codex": "Likely",
    "windsurf": "Partial"
  },
  "tokenEstimate": 42,
  "checks": {
    "frontmatter": true,
    "name": true,
    "description": true,
    "files": false
  },
  "source": { "type": "skillMd" },
  "warnings": []
}

Each finding includes its severity, source line, quoted excerpt, plain-language explanation, and recommended fix. GitHub API rate limits apply to repository mode. Invalid input returns 400, an oversized skill returns 413, and upstream fetch failures return 502.