skill-to-sdk
Skill by hamzafarooq
Turns an Anthropic Agent Skill into a standalone Python command-line app built on the Anthropic SDK. Aimed at people who want to run a skill outside Claude Code, share it, or call it from other code.
Install skill-to-sdk
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter /tmp/claude-code-starter && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-starter/.claude/skills/skill-to-sdk ~/.claude/skills/skill-to-sdkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter /tmp/claude-code-starter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-starter/.claude/skills/skill-to-sdk ~/.gemini/antigravity-cli/skills/skill-to-sdkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Skill to SDK is an agent skill that converts an Anthropic Agent Skill into a standalone Python command-line app built on the Anthropic SDK. It accepts a provided SKILL.md file or a plain text description. If only a description is given, it first drafts a SKILL.md and then wraps it. The output is a folder containing the skill, app.py, requirements.txt, .env.example and a README.
The skill body becomes the system prompt and the user's question becomes the message sent to the Claude API. The generated app makes one API call per turn with no tools, so it suits instruction-only skills. It is aimed at users who want to publish, schedule, embed, or call a skill from other code outside Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Skill conversionTurns a SKILL.md into a runnable Python app that calls the Claude API.
- Drafting from a descriptionWrites a SKILL.md from a text description when no skill file is provided.
- Project generationCreates a folder with skill/SKILL.md, app.py, requirements.txt, .env.example and README.md.
- Three input modesThe generated app accepts a command-line argument, piped stdin, or an interactive loop.
- Tailored READMEWrites setup and run instructions with example invocations for the specific skill.
What you need
- Python
- Anthropic API key (ANTHROPIC_API_KEY)
- anthropic and python-dotenv packages
Try asking
- Turn my market-sizing SKILL.md into a standalone Python app
- Make my okr-writer skill into a program I can run from the terminal
- Package this skill description as an SDK version I can run via the Claude API
Good to know
- The generated app is text-only and cannot run bundled scripts, read files or run bash.
- Skills that must write files or run commands are reproduced as reasoning only.
- The template fixes the model to claude-sonnet-4-6 with max_tokens set to 2000.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/skill-to-sdk/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to skill-to-sdk
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
skill-to-sdk: common questions
Can it wrap a skill that writes files?
The wrapper is text-only, so it cannot write or read files or run shell commands. It describes those actions but does not perform them.
Does it work with a skill described only in text?
Yes. It first writes a SKILL.md from the description, shows it to the user, and then wraps it.
Which model does the generated app call?
The template calls claude-sonnet-4-6 with max_tokens set to 2000.
How do I install skill-to-sdk?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is skill-to-sdk free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is skill-to-sdk safe to use?
It scores 67 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to skill-to-sdk?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
