claude-cli-sdk
CommunityRun Claude CLI via SDK, no API key needed.
Authornklisch
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers need to invoke Claude's CLI for advanced language tasks, but managing subprocesses, billing, and API keys is cumbersome and error‑prone.
Core Features & Use Cases
- Wraps the claude binary as an async generator, enabling streaming responses.
- Provides high‑level helpers like query, collectResult, and createConversation for single‑turn and multi‑turn interactions.
- Supplies tool permission patterns, settings builders, and plugin scaffolding to customize agent behavior.
- Ideal for Node.js applications that require AI‑driven code generation, data extraction, or interactive chat without exposing API credentials.
Quick Start
Ask the SDK to query Claude with a prompt, for example “Explain async iterators”, and stream the response.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: claude-cli-sdk Download link: https://github.com/nklisch/skills/archive/main.zip#claude-cli-sdk Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.