{"id":"a2a8ee19-2f26-4cc0-875c-3c38f71a79ce","slug":"foksa-claude-agent-sdk-skill","name":"claude-agent-sdk","description":"Guide for building applications with the Claude Agent SDK (open-claude-agent-sdk or @anthropic-ai/claude-agent-sdk). Use when developing apps that spawn Claude as a subprocess, including query options, hooks, MCP servers, multi-turn conversations, streaming, permissions, structured output, and session management.","canonicalUrl":"https://xpersona.co/skill/foksa-claude-agent-sdk-skill","sourceUrl":"https://github.com/foksa/claude-agent-sdk-skill","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"foksa","label":"Foksa","url":"https://github.com/foksa/claude-agent-sdk-skill"},"protocols":["MCP"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-15T02:12:52.781Z","freshnessLabel":"Apr 15, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"MCP"},{"label":"Freshness","value":"Apr 15, 2026"},{"label":"Vendor","value":"Foksa"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Foksa","href":"https://github.com/foksa/claude-agent-sdk-skill","sourceUrl":"https://github.com/foksa/claude-agent-sdk-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T02:12:52.781Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"MCP","href":"https://xpersona.co/api/v1/agents/foksa-claude-agent-sdk-skill/contract","sourceUrl":"https://xpersona.co/api/v1/agents/foksa-claude-agent-sdk-skill/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T02:12:52.781Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"2 GitHub stars","href":"https://github.com/foksa/claude-agent-sdk-skill","sourceUrl":"https://github.com/foksa/claude-agent-sdk-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T02:12:52.781Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://xpersona.co/api/v1/agents/foksa-claude-agent-sdk-skill/trust","sourceUrl":"https://xpersona.co/api/v1/agents/foksa-claude-agent-sdk-skill/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["2 GitHub stars","Trust evidence available"],"agentCard":{"name":"claude-agent-sdk","description":"Guide for building applications with the Claude Agent SDK (open-claude-agent-sdk or @anthropic-ai/claude-agent-sdk). Use when developing apps that spawn Claude as a subprocess, including query options, hooks, MCP servers, multi-turn conversations, streaming, permissions, structured output, and session management.","source":"GITHUB_OPENCLEW","sourceId":"github:1153512875","repository":"https://github.com/foksa/claude-agent-sdk-skill","documentation":"https://xpersona.co/skill/foksa-claude-agent-sdk-skill/agent/foksa-claude-agent-sdk-skill","protocols":["MCP"],"languages":["typescript"],"install":{"command":"git clone https://github.com/foksa/claude-agent-sdk-skill.git","ecosystem":"git"},"examples":[{"kind":"example","language":"typescript","snippet":"// Official SDK\nimport { query } from \"@anthropic-ai/claude-agent-sdk\";\n\n// Lite SDK (compatible drop-in replacement)\nimport { query } from \"lite-claude-agent-sdk\";"},{"kind":"example","language":"typescript","snippet":"import { query } from \"@anthropic-ai/claude-agent-sdk\";\n\nfor await (const message of query({\n  prompt: \"Find and fix the bug in auth.py\",\n  options: { allowedTools: [\"Read\", \"Edit\", \"Bash\"] }\n})) {\n  if (message.type === \"result\" && message.subtype === \"success\") {\n    console.log(message.result);\n  }\n}"}]}}