Skip to main content
skill CX Codex

open-agent-sdk — Claude Code skill: what it does, how to install

Guides you in deploying in-process TypeScript AI agents without local CLI dependencies. Useful for cloud containers and serverless tasks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill open-agent-sdk -a claude-code
Open on GitHub

What open-agent-sdk does

The @shipany/open-agent-sdk package offers an open alternative to @anthropic-ai/claude-agent-sdk. This skill explains how to embed the autonomous loop directly into a Node.js process instead of spawning CLI subshells.

It covers core functions such as streaming query() and stateful createAgent(). Setup options include restricting tool access via allowedTools, setting turn limits, and wiring external MCP servers over stdio or HTTP.

Running this requires Node.js 18+ and an ANTHROPIC_API_KEY. Without them, execution fails immediately.

What it helps with

  • run agent loops in-process without CLI subshells
  • configure MCP servers in TypeScript applications
  • restrict allowed tools for read-only agent workflows
  • route agent requests to custom endpoints using baseURL

Example prompts for the agent

  • Show how to set up createAgent with read-only tools using open-agent-sdk
  • How do I add an MCP filesystem server with open-agent-sdk in TypeScript?
  • Migrate my project from claude-agent-sdk to open-agent-sdk

How to install open-agent-sdk

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill open-agent-sdk -a claude-code

2Manually: put the files in place

~/.claude/skills/open-agent-sdk/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/open-agent-sdk/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about open-agent-sdk

How to install open-agent-sdk in Claude Code?

Run npx skills add reason-machines/trending-skills --skill open-agent-sdk -a claude-code.

What does open-agent-sdk do?

It provides reference patterns and API instructions for building in-process TypeScript agents without external CLI dependencies.

What are the prerequisites for open-agent-sdk?

You need Node.js version 18 or newer and an API key exported as ANTHROPIC_API_KEY.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set186

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor