Tool Design
agentailor/fullstack-langgraph-nextjs-agent
Design and verify tools that AI agents can actually use — for any framework or language (MCP servers, LangChain/LangGraph, function-calling, raw JSON schema; TypeScript, Python, or otherwise).
Decision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call.
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrapping --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .claude/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .claude/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrappingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrapping --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .agents/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .agents/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrapping --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .cursor/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .cursor/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agentsope/SkillAlchemy.git --path skills/agentsop-http-tool-wrapping--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrapping --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .gemini/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .gemini/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrappingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .github/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .github/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agentsope/SkillAlchemy agentsop-http-tool-wrapping --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/agentsop-http-tool-wrapping .opencode/skills/agentsop-http-tool-wrapping && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agentsop-http-tool-wrapping" agent skill from https://github.com/agentsope/SkillAlchemy/tree/master/skills/agentsop-http-tool-wrapping into .opencode/skills/agentsop-http-tool-wrapping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentsop-http-tool-wrapping", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agentsop-http-tool-wrappingDecision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call.
Agentsop HTTP Tool Wrapping is an agent skill from agentsope/SkillAlchemy. Decision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call. The load-bearing premise: the tool surface is an LM-friendly subset of the API surface — one tool per user intent, not one per endpoint. Activates when a coder agent must expose an external HTTP API to a model (function calling, tooluse, MCP, LangChain @tool, CrewAI BaseTool). Encodes the what to surface, how to name, how to shape, how to fail — not any single framework's API. ~80% of agent tools in production are HTTP…
Its SKILL.md is about 5.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `README.md`, `intermediate/operation_candidates.json` and `references/R1-source-evidence.md`).
It sits in AI & LLM Engineering, covering Building AI agents, Operations and SOPs and Structured output and tool calling. It works with Model Context Protocol, CrewAI, LangChain and GraphQL. The repository describes itself as: From thought to skill. From signal to structure. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6ea799f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agentsop HTTP Tool Wrapping loads about 5.9k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 151 tokens; SKILL.md has 2,761 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from agentsope/SkillAlchemy at commit 6ea799f, republished under its MIT licence (© agentsope). 2,761 words, ~5,892 tokens.
.claude/skills/agentsop-http-tool-wrapping/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Source posture: every non-trivial claim is cited inline with short tags like
[oai/fc],[anthropic/tooluse],[lc/tools],[mcp/spec],[apxml/schema]. Resolve them againstreferences/R1-source-evidence.mdfor full URLs. Reusable code shapes live inreferences/R2-pattern-library.md.
Activate when a coder agent must make an external HTTP API callable by an LLM. Concrete triggers:
<some API>", "add a tool that calls
<service>", "wrap our REST/GraphQL/RPC endpoint as a function the model can use".429, timeouts, or unpaginated list endpoints.tool_use, an MCP server, LangChain @tool, and CrewAI BaseTool.Do not activate when: the API is already exposed as an MCP server you merely consume (just connect it); the "tool" is pure local computation with no network I/O (write a plain typed function); or you are designing the upstream API itself.
This is a tool-construction skill — sibling to the framework SOPs
(langgraph-sop, crewai-sop) which decide whether/where tools run. Once you
know you need a tool, this skill decides what shape it takes.
The tool surface is an LM-friendly subset of the API surface. One tool per intent, not one per endpoint.
A REST API is designed for programmers who read docs, hold a mental model of resources, and compose calls. An agent tool is designed for a language model that sees only a name, a description, and a JSON schema — and must decide, mid-reasoning, whether this is the thing to call. These are different audiences, so the surface must be re-cut, not mirrored.
"Tool descriptions are often more important than code comments because the LLM directly uses them for reasoning."
[apxml/schema]
Four load-bearing consequences:
Intent, not CRUD. The unit of a tool is a thing the agent wants to
accomplish (cancel_order, find_customer_by_email), not an HTTP verb on a
resource (DELETE /orders/{id}). One intent may compose several endpoints;
one endpoint may serve zero intents (admin/batch/webhook-out endpoints get
dropped). Surface intent, not the verb table [zuplo/agent-ready].
The schema is the prompt. The model never sees your code. It sees the
tool name, the description, and each field's description=. Every field
needs units, format, enum values, and an example aimed at the model — "if a
field is a date, specify ISO 8601 vs Unix timestamp" [apxml/schema]. A
typed schema (Pydantic / JSON Schema) is non-negotiable because it is both
the validation layer and the documentation the model reads [lc/tools].
The response is context, and context is scarce. A 10 MB JSON payload is not "data the agent has" — it is tokens the agent must pay for, re-read, and can misquote. Shape the response down to the fields the agent needs to reason or act on. Returning raw upstream JSON is the second most common anti-pattern after 1:1 mapping.
The model cannot promise call discipline. It may emit zero, one, or
several calls — "best practice [is] to assume there are several"
[oai/fc] — retry on its own, or be resumed by the framework. So the
wrapper owns reliability (timeout, retry, rate-limit) and safety
(idempotency on mutations). You cannot prompt these guarantees into existence;
you build them into the tool. (Side-effect safety is deep enough to be its
own skill — cross-link llm-tool-idempotency for any mutating tool.)
The pre-LLM analog: you are writing an SDK for a non-deterministic, amnesiac junior dev who reads only the function signature — generous docstrings, narrow typed inputs, small clean returns, and total robustness to being called wrong.
Walk top-down. Each step has a gate — if it fails, fix it before adding surface.
List every endpoint × verb. For each, ask: "what user/agent intent does this
serve?" Drop endpoints with no agent-facing intent (internal admin, batch
jobs, outbound webhooks). The MCP guidance is a useful first cut: GET-style
data reads often map to resources; create/update/delete map to tools
[gun/mcp]. Target ≤10 surfaced operations for a first pass.
Gate: if you are about to create one tool per endpoint, stop — that is AP-1. Auto-generated 1:1 servers from an OpenAPI spec "routinely under-perform hand-curated tools"
[stainless/mcp].
Tool name = verb_object describing intent: search_orders, cancel_order,
get_order_status. Not post_orders_v2, delete_orders_id. Test: a model
that has never seen your API, reading only the name, should guess when to call
it. The name should be a verb; the description should explain when to call,
not how [oai/prompting].
Define a Pydantic model (or JSON Schema). Rules:
description= (units, format,
enum, example) [lc/tools] [apxml/schema].filter[status]=open → status: Literal["open","closed"]. The model should never construct a query-string
fragment.Gate: every field the model can set has a
description=. Untyped**kwargsor a free-formbody: stris a smell — the model will fill it wrong.
Catch HTTPStatusError / ValidationError / network errors. Return a
structured, LM-readable error, never a raw stack trace:
{"error": "rate_limited", "message": "...", "retryable": true, "hint": "wait and retry"}Use a small closed set of error codes (not_found, invalid_input,
auth_failed, rate_limited, server_error). LangChain's ToolException
converts a raised error into an LM-visible string for the same reason
[lc/structured]. The model reasons over the error like any other tool output —
give it something it can act on.
Define an output model with only the fields the agent needs. Drop audit
timestamps, internal mirrors, deprecated fields, ETags. Summarize blobs into
strings. Aim for a compact payload per call (rule of thumb: keep it small enough
that re-reading it 5 times in a loop is cheap). For lists, return items + a
next_cursor, not the whole dataset (Step 5b).
Step 5b · Pagination. Default: fetch one page, return items + next_cursor, let the agent decide to continue. Prefer cursor over offset —
"cursor-based pagination is more reliable than offset/limit for agentic
scrolling" [techops/rest]. Auto-loop only when total is small and bounded
(≤200); never loop unbounded — a single agent can "burst 20 sequential API
calls to complete one task" [zuplo/agent-ready] (cross-link bounded-loop skill).
Read the key/token from env or a secret store inside the wrapper. Never
expose api_key as a tool parameter and never put a secret in the description —
the model doesn't need it and traces would leak it. Per-tenant tokens flow via a
closure or context object, not via tool args [northflank/mcp].
Gate: grep your tool schema and description for
key,token,secret,password. Zero hits.
If the tool does POST/PUT/DELETE, it will be retried by the model or the
framework. Generate an idempotency key per logical operation and pass it
(Idempotency-Key header) when the API supports it — the canonical Stripe
pattern [stripe/idem]. Tag the tool metadata mutating=True. For the full
decision tree (key derivation, dedup store, at-least-once vs exactly-once),
defer to the llm-tool-idempotency skill — that is its entire domain.
Format: Trigger → Action → Output → Evidence. (Full JSON in
intermediate/operation_candidates.json.)
[zuplo/agent-ready] [stainless/mcp].verb_object; name-only readability test.[oai/prompting].description=; flatten wire
params; explicit required/optional.args_schema on the tool.[lc/tools] [oai/fc] [anthropic/tooluse] [apxml/schema].[northflank/mcp].timeout=. Retry only on 429/5xx/network,
max 3–5, exponential backoff with jitter, honor Retry-After. Never retry
other 4xx.[apxml/rate] [boldsign/retry] [getknit/rate].next/cursor/Link.next_cursor; agent decides to continue;
bounded auto-loop only for small totals.[techops/rest] [zuplo/agent-ready].[apxml/schema] [gun/mcp].{error, message, retryable, hint} from a closed
code set; never raw traces.[lc/structured] [mighty/fault].mutating=True.
Defer full protocol to llm-tool-idempotency.[stripe/idem] [techops/rest] [mighty/fault].@tool
with args_schema. CrewAI: subclass BaseTool._run. OpenAI: tools=[{type: "function", function:{...}}]. Anthropic: {name, description, input_schema}.
MCP: @mcp.tool(). Derive each via Model.model_json_schema().[lc/tools] [crewai/tools] [mcp/spec] [oai/fc]
[anthropic/tooluse].Scenario: A CRM API has 60 endpoints. Do you ship 60 tools, or one
crm_operation(operation: str, params: dict) mega-tool?
Trap (mega-tool): A single tool with a free-form operation string and a
dict of params pushes all routing into the model with no schema help. "A
mega-tool with a single instructions string invites hallucinations"
[medium/velorum] — the model invents operation names and param shapes, and the
wrapper can't validate them.
Trap (1:1, 60 tools): Flat catalogs degrade selection accuracy at scale —
beyond ~50 tools, "flat tool-list catalogs degrade selection accuracy;
hierarchical / graph organization helps" [arxiv/toolnet]. The model spends
reasoning budget scanning a wall of near-identical names.
Decision rule:
action: Literal[...] enum (not a free string) plus a
discriminated-union params model. The enum keeps schema validation; the
grouping keeps the catalog short. This is the middle path between 1:1 and
one mega-blob.graphql_query(query, variables)
with a documented schema) — and even then, constrain it.Verdict: Neither extreme. Triage first, then typed grouping. The win is a short catalog of validated tools, not raw endpoint count in either direction.
Scenario: get_customer_360 returns a 10 MB document — full order history,
event logs, nested addresses, internal flags.
Trap: Return it whole. The model pays ~2–3M tokens, can't fit it, and will quote fields that aren't there. Truncating blindly loses the field the agent needed.
Decision rule:
recent_orders_count: int,
last_order_summary: str, and a separate list_customer_orders(cursor) the
agent calls only if it needs more (OP-6 pagination).Verdict: Expose a thin reason/act slice; demote bulk to follow-up paginated tools or references. The tool's job is to give the model enough to decide the next step, not the whole record.
Scenario: A report API: POST /reports returns a job_id; you poll
GET /reports/{job_id} until status=done (can take minutes).
Options:
generate_report() submits then polls
internally until done. Simple mental model for the model, but holds the agent
(and its timeout) hostage for minutes, and a single per-attempt HTTP timeout
can't cover it.submit_report() -> job_id and
check_report(job_id) -> status|result. The agent submits, does other work,
polls. Robust to long waits; matches the agent loop; but the model must
remember to poll.Decision rule:
check_report return a clear status enum so the model
knows whether to wait, and bound the agent's poll count (bounded-loop skill).Verdict: Match the tool shape to the latency. Sub-second → hide the poll inside one tool; minutes → split, and make the agent's polling explicit and bounded.
| # | Anti-pattern | Symptom | Fix |
|---|---|---|---|
| AP-1 | 1:1 endpoint→tool mapping | 40+ near-identical tools; model picks wrong one | Triage to intents (OP-1); auto-gen 1:1 "under-performs hand-curated" [stainless/mcp] |
| AP-2 | Raw JSON dump to the LM | Context bloat, hallucinated field names | Output model with only reason/act fields (OP-7) |
| AP-3 | Secrets in description or args | API key leaks into traces/logs | Auth inside wrapper from env/secret store (OP-4) |
| AP-4 | No rate-limit / retry handling | One 429 or blip kills the whole run | Timeout + jittered retry, honor Retry-After (OP-5) |
| AP-5 | Unbounded pagination auto-loop | Token blowout / OOM on big lists | Return page + cursor; bounded loop only (OP-6) |
| AP-6 | Procedural description ("first call X, then Y") | Model treats the tool as a script, mis-sequences | Describe when to call, not how; one intent per tool [oai/prompting] |
| AP-7 | Free-form body: str / params: dict | Model fills the wire format wrong | Typed flattened schema (OP-3) |
| AP-8 | Raising stack traces to the model | Model parrots Python tracebacks at the user | Structured {error, retryable, hint} (OP-8) |
Hard boundaries — this skill is the wrong frame when:
[serghei/agent-ready]) rather than
papering over it in a wrapper.llm-tool-idempotency skill; this skill only flags the hook (OP-9).The wrapper logic — triage, naming, typed schema, auth, retry, pagination,
shaping, errors — is framework-independent. The only framework-specific layer
is the registration call. One Pydantic v2 model feeds all five targets via
model_json_schema() and model_validate().
| Framework | Definition shape | Schema source | Error surface | Notes |
|---|---|---|---|---|
| OpenAI function calling | tools=[{type:"function", function:{name, description, parameters}}] | parameters = JSON Schema | Return error JSON as the tool result | "Assume there are several [calls]" — wrappers must be parallel-safe [oai/fc] |
Anthropic tool_use | tools=[{name, description, input_schema}] | input_schema = JSON Schema | tool_result with is_error:true keyed by tool_use_id | Correlate response to request via tool_use_id [anthropic/tooluse] |
| MCP HTTP server | @mcp.tool() (FastMCP) | Inferred from type hints / Pydantic | Return structured error content | GET→resource, mutate→tool split [gun/mcp]; don't auto-gen 1:1 [stainless/mcp] |
| LangChain / LangGraph | @tool or StructuredTool with args_schema | Pydantic args_schema | ToolException → LM-visible string [lc/structured] | Type hints required; docstring is the description [lc/tools] |
| CrewAI | subclass BaseTool, implement _run, set args_schema | Pydantic args_schema | Return string; weak built-in error capture | Per-agent scoping: shared definition, per-agent binding [crewai/tools] |
Two cross-framework heuristics carried in from the sibling SOPs:
allowed_tools):
give each agent/step only the tools its role needs. Fewer tools = better
selection and less context [oai/tools] [crewai/tools]. A wide wrapped API
should still be scoped per agent, not bound wholesale.Short tags → full sources in references/R1-source-evidence.md:
[oai/fc] = developers.openai.com/api/docs/guides/function-calling[oai/tools] = developers.openai.com/api/docs/guides/tools (allowed_tools)[oai/prompting] = community.openai.com/t/prompting-best-practices-for-tool-use-function-calling/1123036[anthropic/tooluse] = docs.anthropic.com/en/docs/build-with-claude/tool-use[lc/tools] = docs.langchain.com/oss/python/langchain/tools[lc/structured] = blog.langchain.com/structured-tools/[crewai/tools] = docs.crewai.com/en/concepts/tools[mcp/spec] = modelcontextprotocol.io/specification[gun/mcp] = gun.io/ai/2025/05/wrap-existing-api-with-mcp/[stainless/mcp] = stainless.com/mcp/from-rest-api-to-mcp-server/[northflank/mcp] = northflank.com/blog/how-to-build-and-deploy-a-model-context-protocol-mcp-server[apxml/schema] = apxml.com/.../tool-input-output-schemas[apxml/rate] = apxml.com/.../api-rate-limits-retries-tools[boldsign/retry] = boldsign.com/blogs/api-retry-mechanism-how-it-works-best-practices/[getknit/rate] = getknit.dev/blog/10-best-practices-for-api-rate-limiting-and-throttling[techops/rest] = techopsasia.com/blog/rest-api-design-idempotency-pagination-security[stripe/idem] = stripe.com/docs/api/idempotent_requests[mighty/fault] = mightybot.ai/blog/fault-tolerant-ai-agent-pipelines/[zuplo/agent-ready] = zuplo.com/learning-center/api-readiness-gap-agent-callable-apis[serghei/agent-ready] = sergheipogor.medium.com/how-to-make-your-api-agent-ready-...[medium/velorum] = medium.com/@1nick1patel1/tool-schemas-the-quiet-superpower-of-agents[arxiv/toolnet] = arxiv.org/pdf/2403.00839 (ToolNet, Liu et al. 2024)© agentsope, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in skills/agentsop-http-tool-wrapping of agentsope/SkillAlchemy.
Open the folder on GitHubat commit 6ea799f
Agentsop HTTP Tool Wrapping next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agentsop HTTP Tool Wrapping this skillagentsope/SkillAlchemy | 459 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Tool Designagentailor/fullstack-langgraph-nextjs-agent | 132 | — | ~3.2k | Automated safety check: Pass | MIT | |
| AI Agents Architectomer-metin/skills-for-antigravity | 162 | — | ~558 | Automated safety check: Pass | Apache-2.0 | |
| Agent Harness DesignAnastasiyaW/codex-claude-code-config | 154 | — | ~764 | Automated safety check: Pass | MIT | |
| Neo4j Agent Memory Skillneo4j-contrib/neo4j-skills | 114 | — | ~5.8k | Automated safety check: Pass | MIT | |
| Mem0 Platform SDKmem0ai/mem0 | 67k | 2 repos | ~2.2k | Automated safety check: Pass | Apache-2.0 |
agentailor/fullstack-langgraph-nextjs-agent
Design and verify tools that AI agents can actually use — for any framework or language (MCP servers, LangChain/LangGraph, function-calling, raw JSON schema; TypeScript, Python, or otherwise).
omer-metin/skills-for-antigravity
Expert in designing and building autonomous AI agents. An agent skill from omer-metin/skills-for-antigravity.
AnastasiyaW/codex-claude-code-config
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool results, agent budgets (10 types), context trust labels against…
neo4j-contrib/neo4j-skills
Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com.
mem0ai/mem0
Adds persistent memory to AI apps with the Mem0 Python and TypeScript SDKs: store, search, update and delete user memories, with framework integrations.
TencentEdgeOne/edgeone-makers-tools
Migrate existing AI agent projects (LangChain, LangGraph, OpenAI Agents SDK, Claude Agent SDK, CrewAI) to EdgeOne Makers platform conventions.
agentsope/SkillAlchemy
SOP for terminal-based, git-native AI pair programming with Aider (git work-tree + tree-sitter repo-map + edit-format + human-in-loop REPL).
agentsope/SkillAlchemy
Coder-agent working-file budget discipline: keep the editable working set (files you /add into writable context) under ~25k tokens, separate "read" from "edit", delegate breadth to a read-only…
agentsope/SkillAlchemy
Split a multi-call LM workflow by cognitive load, not by accuracy: let one strong model make the few reasoning decisions and a cheap model do the many mechanical executions (Aider architect+editor…
agentsope/SkillAlchemy
SOP for building multi-agent systems with CrewAI — role-based collaboration, sequential/hierarchical processes, Flows, memory, delegation.
agentsope/SkillAlchemy
SOP for building LLM applications on Dify — visual workflow + chatflow + agent + RAG knowledge base + plugin marketplace + observability, self-hostable.
agentsope/SkillAlchemy
Designs multiscale chunking for RAG by embedding small units for retrieval precision and returning larger context for synthesis.
Categories
Decision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call. Agentsop HTTP Tool Wrapping is an agent skill from agentsope/SkillAlchemy. Decision protocol for wrapping a REST / GraphQL / RPC API as a tool an LLM agent can call.
Agentsop HTTP Tool Wrapping fits situations like: tasks that involve Building AI agents; tasks that involve Operations and SOPs; tasks that involve Structured output and tool calling.
Run `npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a claude-code`. Or copy the skill folder (skills/agentsop-http-tool-wrapping in agentsope/SkillAlchemy) into .claude/skills/agentsop-http-tool-wrapping in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a codex`. Or copy the skill folder (skills/agentsop-http-tool-wrapping in agentsope/SkillAlchemy) into .agents/skills/agentsop-http-tool-wrapping in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentsope/SkillAlchemy --skill agentsop-http-tool-wrapping -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentsop-http-tool-wrapping, .gemini/skills/agentsop-http-tool-wrapping, .github/skills/agentsop-http-tool-wrapping and .opencode/skills/agentsop-http-tool-wrapping in your project.
SKILL.md names no scripts, command-line tools or credentials: Agentsop HTTP Tool Wrapping is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Agentsop HTTP Tool Wrapping is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.9k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Agentsop HTTP Tool Wrapping: Tool Design (agentailor/fullstack-langgraph-nextjs-agent, 132 stars), AI Agents Architect (omer-metin/skills-for-antigravity, 162 stars), Agent Harness Design (AnastasiyaW/codex-claude-code-config, 154 stars) and Neo4j Agent Memory Skill (neo4j-contrib/neo4j-skills, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agentsope (a GitHub user) maintains it in agentsope/SkillAlchemy, which has 459 GitHub stars. The repository holds 45 skills in this directory. The repository was last updated on September 2, 2026.
Source: agentsope/SkillAlchemy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.