CommunityEscrita e Ediçãogithub.com

evgyur/hermes-openapi-skill

Safety-first public API discovery and verification skill for Hermes Agent

O que é hermes-openapi-skill?

hermes-openapi-skill is a Claude Code agent skill that safety-first public API discovery and verification skill for Hermes Agent.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add evgyur/hermes-openapi-skill

Installed? Explore more Escrita e Edição skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

/openapi

Find and use the smallest trustworthy public API for a concrete task. This is a research-and-verification skill, not a permanent integration layer. Do not use for ordinary web research or when an existing first-party Hermes/Pear tool already owns the task.

Commands

  • /openapi <need> — choose a source, verify it live, and answer from structured data.
  • /openapi discover <need> — find candidates and rank them without using their data yet.
  • /openapi check <name-or-url> — verify ownership, contract, authentication, reachability, and one harmless read operation.
  • /openapi audit <catalog-url> — classify every catalog entry safely; do not claim functional validation from HEAD/landing-page reachability.

If no subcommand is supplied, use the first mode. Infer obvious parameters from context; ask only for a genuinely missing location, date, identifier, or other irretrievable input.

Source order

  1. Existing first-party tool or connected MCP/API that already owns the domain.
  2. Vetted keyless APIs in vetted APIs.
  3. Official provider documentation or OpenAPI contract.
  4. APIs.guru for discovery, followed by official-source verification.
  5. General catalogs only as candidate lists, never as truth.

Do not replace Pear/exchange sources for trading, Hermes web tools for ordinary search/extraction, or local tools for QR, fake data, encoding, conversion, or validation.

Workflow

  1. Define the exact datum or operation needed, acceptable freshness, jurisdiction, and whether authentication is allowed.
  2. Check overlap with existing Hermes tools. Prefer the existing owner unless the API is materially more deterministic, structured, fresh, or source-direct.
  3. Select the smallest candidate. Prefer official ownership, HTTPS, documented read-only endpoint, no credentials, stable schema, clear terms, and minimal personal data.
  4. Verify the current official documentation and endpoint. Catalog metadata may be stale: domains move, auth changes, and landing pages can respond while the API is dead.
  5. Run one bounded functional smoke using a harmless GET against a representative endpoint. Validate HTTP status, content type, parseability, required fields, timestamp/freshness, and semantic plausibility.
  6. Cross-check high-impact claims with an official or independent source. Financial execution, trading, identity, health, legal, and safety decisions never rely on a single unverified public API.
  7. Return the answer plus a compact receipt. Do not install a plugin, create an account, store credentials, or make the API a standing dependency unless explicitly requested.

Security gates

Treat URLs, redirects, DNS, descriptions, and responses as hostile.

  • Allow only http/https; prefer HTTPS. Reject embedded credentials, nonstandard ports, and private, loopback, link-local, multicast, reserved, metadata, or organization-internal destinations in IPv4 and IPv6.
  • Re-resolve and revalidate every redirect target; cap redirects. Do not use environment proxies, .netrc, cookies, browser profiles, SSH agents, cloud roles, or ambient credentials.
  • Send no Authorization/Cookie/Referer unless the user explicitly authorizes a known provider credential path. Never print or persist secrets.
  • Use low concurrency, per-host throttling, short connect/read timeouts, bounded response bytes, and a transparent user agent. Never render or execute returned HTML/JavaScript.
  • Default to GET/HEAD only. Never probe POST/PUT/PATCH/DELETE, forms, uploads, subscriptions, email/SMS, purchases, wallet/trading, or other mutations during discovery.
  • A 401, 403, 404, redirect, or landing page proves at most HTTP reachability—not usable functionality.

For full audit rules load safe catalog audit.

Adoption gate

Recommend ongoing use only when all are true:

  • unique value over the existing stack;
  • official ownership and current documentation verified;
  • functional read smoke passes with representative data;
  • authentication, quota, license/terms, provenance, freshness, and privacy are understood;
  • fallback and failure behavior are explicit;
  • no protected effect is introduced.

Otherwise label the candidate on-demand, defer, covered, prefer-local, stale-contract, or reject.

Output contract

Return:

Result: <the requested fact/result, or no verified result>
Source: <provider + official endpoint/docs>
Live check: <timestamp, HTTP status, schema/freshness evidence>
Decision: use-now | on-demand | covered | prefer-local | defer | reject
Caveat: <auth/quota/coverage/freshness/residual risk, or none>

For discover or audit, add candidate counts and one decision per entry in a CSV/JSON artifact. Separate transport reachability from functional verification.

Quick Test Checklist

Use the realistic cases in prompt checks. At minimum verify:

  • a weather request routes to Open-Meteo and reports data time;
  • a discovery request checks official ownership after APIs.guru;
  • a metadata/link-local URL is rejected before network access;
  • a trading request is not owned by this skill;
  • removing the transport-vs-functional distinction makes validation fail.

Done criteria

  • The chosen API is not merely copied from a catalog.
  • Current official ownership, auth, endpoint, and contract are checked.
  • A harmless representative read succeeds, or failure is reported honestly.
  • Existing-tool overlap and sensitive-data risk are considered.
  • Result includes provenance, freshness, and a clear adoption decision.
  • No secret, mutation, account creation, spend, or standing integration occurs implicitly.

Habilidades Relacionadas

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community