Individual skill
agentsop-http-tool-wrapping
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, tool_use, 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 wrappers; this is the SOP for getting them right.
skills/agentsop-http-tool-wrapping/SKILL.md
Source commit cf4376869e5f23f82404c3021a2a1315dfca318d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 463
- Repository last updated
- Oct 24, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skill Repository topic
- skill-creation Repository topic
- ai-agent Repository topic
- llm-agent Repository topic
- skill-engineering Repository topic
- skill-generation Repository topic
- skill-pipeline Repository topic
- skill-construction Repository topic
- agent-skills Repository topic
- skill-acquisition Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 2,778 bytesSKILL.mdcore · 23,796 bytesintermediate/operation_candidates.jsonasset · 7,912 bytesreferences/R1-source-evidence.mddoc · 8,861 bytesreferences/R2-pattern-library.mddoc · 8,358 bytes
Read excerpt
# HTTP / External API → Agent Tool · SOP
> 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 against `references/R1-source-evidence.md` for full URLs. Reusable
> code shapes live in `references/R2-pattern-library.md`.
---
## 1. 何时激活 (When to Activate)
Activate when a coder agent must make an **external HTTP API callable by an LLM**.
Concrete triggers: