claude-sdk
Claude Code SDK - tools (Read, Write, Edit, Bash), agent tools (Task, Skill), hooks, and MCP integration. Use for Claude Code extension development.
Why use this skill?
Master Claude Code SDK tools for OpenClaw. Streamline file operations, bash execution, and agent task orchestration for professional-grade developer automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-claude-sdkWhat This Skill Does
The Claude SDK skill is a specialized toolkit designed to empower OpenClaw agents to perform advanced development tasks within the Claude Code ecosystem. It serves as an interface for file manipulation, system execution, agent-based task orchestration, and lifecycle hook management. By providing direct access to Read, Write, and Edit operations, the skill enables an agent to refactor entire codebases, implement new features, and perform automated testing without human intervention. Beyond simple I/O, it allows agents to invoke sub-agents for specialized reasoning, manage hook-based event triggers, and integrate Model Context Protocol (MCP) servers when standard code-based solutions are insufficient.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/anton-abyzov/sw-claude-sdk
Use Cases
- Automated Code Refactoring: Agents can use
Grepto identify patterns across a large repository andEditto apply standardized changes (e.g., migrating from CommonJS to ESM). - Continuous Integration Orchestration: Triggering
Bashcommands to run test suites after specific file changes, ensuring code quality before submission. - Dynamic Plugin Lifecycle Management: Defining
PostToolUsehooks that trigger cleanup scripts or documentation generators whenever specific operations occur. - Architecture Analysis: Utilizing the
Tasktool to invoke specialized sub-agents to audit complex code logic.
Example Prompts
- "Use the Claude SDK to scan the codebase for all instances of
anytypes in TypeScript files and replace them with more specific interface definitions found intypes.ts." - "Set up a post-tool hook that runs
npm run lintevery time aWriteoperation is performed on a file in thesrc/directory." - "Analyze the current project architecture by invoking a sub-agent and document the findings into a new file called
ARCHITECTURE_REPORT.md."
Tips & Limitations
- Code-First Preference: Always prefer using built-in file and execution tools over MCP. MCP is intended for integration with existing external servers, not for core build automation.
- Precision: When using
Edit, always provide enoughold_stringcontext to ensure the replacement is unique and safe. - Security: Because this skill allows
Bashexecution andWriteaccess, ensure the agent operates within a containerized or restricted environment to prevent unauthorized system modifications.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anton-abyzov-sw-claude-sdk": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.