Clawhub
БесплатноБез исполняемых скриптовНе проверенAssess any API or website's Graceful Boundaries conformance level and provide concrete guidance for reaching the next level. Use this skill when the user asks…
от snapsynapse1 691 установка в других каталогахОб этом скилле
Graceful Boundaries Conformance Audit
What This Skill Does
Assesses a URL's Graceful Boundaries conformance level through direct HTTP inspection, then provides a concrete implementation plan for reaching the next level. The output is an actionable document with code examples the user can implement immediately. No special tooling or dependencies required — the skill works with any HTTP client.
When To Use This Skill
- User provides a URL and asks about its rate limit communication
- User asks to check Graceful Boundaries conformance for a service
- User wants to know what level an API is at
- User asks how to improve their API's 429 responses
- User wants to elevate from one conformance level to the next
- User says "audit this API" in the context of rate limits or boundaries
Assessment Process
Follow these phases in order. Each phase builds on the previous one.
Phase 1: Discovery Fetch
Fetch the limits discovery endpoint directly. Try both standard paths:
GET <url>/api/limits
GET <url>/.well-known/limits
Use curl, fetch, or any HTTP client available in the current environment. No special tooling is required.
If either path returns a JSON response, record:
- Whether the response contains a
servicefield - Whether the response contains a
limitsobject - Whether limit entries are well-formed (each has
type,maxRequests,windowSeconds,description) - Whether a
conformancefield is present (self-declared level) - Whether the response includes a
Cache-Controlheader withs-maxage - Whether
changelogorfeedURLs are present (v1.1 change discovery) - Whether
resource-dedupentries includereturnsCached: true(v1.1) - Whether
extensionslinks are present and strict relative or same-origin URLs (v1.4, optional) - Whether optional quota, cost, token, size, duration, queue, and multi-limit metadata is well-formed (v1.4)
If neither path returns a valid response, the service has no discovery endpoint and cannot be Level 2 or above.
Optional accelerator: If the graceful-boundaries repo is cloned locally, the automated checker provides a structured report:
node evals/check.js <url> --json
This is a convenience, not a requirement. The skill works entirely through direct HTTP inspection.
Phase 2: Proactive Header Check
If the limits endpoint documents specific API endpoints, fetch one of them and check for proactive headers on the success response:
RateLimit: limit=N, remaining=N, reset=NRateLimit-Policy: N;w=N
These headers indicate Level 4 conformance.
Do NOT attempt to trigger 429s. That would require hammering the service and is not appropriate for an audit. Level 1 and Level 3 conformance cannot be verified without observing an actual refusal response — note these as unverifiable and explain why.
Phase 3: Level Assessment
Map findings to the conformance levels defined in spec.md:
| Level | How to verify |
|---|---|
| N/A | Site has no API or agentic surface |
| 0 | Service exists but no limits endpoint, no structured responses |
| 1 | Cannot verify without a 429 response (note as unverifiable) |
| 2 | Limits endpoint exists and is well-formed |
| 3 | Cannot verify without a 429 response (note as unverifiable) |
| 4 | Level 2 confirmed + proactive headers present on success responses |
If the service self-declares a conformance level via the conformance
field, compare declared vs. validated. Flag any discrepancy.
Report the assessment as:
- Confirmed level: what the evidence supports
- Declared level: what the service claims (if any)
- Likely level: best estimate including unverifiable aspects
Phase 4: Gap Analysis
For each level above the current confirmed level, list exactly what is missing. Reference specific sections of spec.md:
To reach Level 1 (spec sections 2 and 6):
- Do ALL non-success responses (400, 401, 403, 404, 429, 500, 503) include
error,detail, andwhy? (v1.1:whyis MUST for all error classes) - Are 429 responses JSON with the 5 required fields (
error,detail,limit,retryAfterSeconds,why)? - Does
erroruse a stable machine-parseable string (snake_case)? - Does
detailinclude a specific retry time in human-readable form? - Does
whyexplain the purpose, not restate the error? - Is
retryAfterSecondsa non-negative integer? - Does the HTTP response include a
Retry-Afterheader? - For HTML 429 pages: is there a
<meta name="retry-after" content="N">tag or a<link rel="alternate" type="application/json" href="...">? (v1.1)
To reach Level 2 (spec section 1):
- Does a limits endpoint exist at
/api/limitsor/.well-known/limits? - Does it return JSON with a
limitsobject? - Are limit entries well-formed (type, maxRequests, windowSeconds, description)?
- Is the endpoint cacheable (Cache-Control header)?
- Does it include
changelogorfeedURLs for change discovery? (v1.1, optional but recommended) - If it includes `exten
Установить Clawhub в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Clawhub?
Assess any API or website's Graceful Boundaries conformance level and provide concrete guidance for reaching the next level. Use this skill when the user asks to check a URL's rate limit communication, evaluate API conformance to Graceful Boundaries, assess how a service handles 429s, or improve how an API communicates its limits to agents. Also trigger when the user says "check this API's boundaries", "what level is this service", "assess graceful boundaries compliance", "how does this API handle rate limits", or provides a URL and asks about rate limit quality, conformance, or structured refusal. Distinct from the agent-readiness-audit skill, which assesses overall AI discoverability -- this skill specifically evaluates rate limit communication quality per the Graceful Boundaries specification.
Как установить скилл Clawhub?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Clawhub запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic