Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microck/ts-agent-sdk
Generate typed TypeScript SDKs for AI agents to interact with MCP servers. Converts verbose JSON-RPC curl commands to clean function calls (docs.createDocument() vs curl). Auto-detects MCP tools from server modules, generates TypeScript types and client methods, creates runnable example scripts.
Passed 17 of 22 test cases with the skill, and 4 of 22 without it.
and 13 more in the full report
13 fixed4 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
When parsing tool definitions from `server.ts` files using the `server.tool(...)` pattern, what four specific pieces of metadata must be extracted for SDK generation?
| Checked | Without skill | With skill |
|---|---|---|
| Extracted tool properties include name, description, inputSchema, and endpoint. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill generates typed TypeScript SDKs that allow AI agents (primarily Claude Code) to interact with web applications via MCP servers. It replaces verbose JSON-RPC curl commands with clean function calls.
The core SDK template files are bundled with this skill at:
templates/
Copy these files to the target project's scripts/sdk/ directory as a starting point:
cp -r ~/.claude/skills/ts-agent-sdk/templates/* ./scripts/sdk/
Scan the project for MCP server modules:
src/server/modules/mcp*/server.ts
Each server.ts file contains tool definitions using the pattern:
server.tool(
'tool_name',
'Tool description',
zodInputSchema,
async (params) => { ... }
)
For each tool, extract:
test cases passed, vs 4 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.