Making ANY Software Skill-Native -- Auto-generate production-ready AI Agent Skills for Claude Code, OpenClaw, Codex, and more.
$ npx -y skills add AgentSkillOS/SkillAnything --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: AgentSkillOS/SkillAnything
What's inside
One target in, production-ready Skills out.
SkillAnything is a Skill that generates Skills. Give it any target -- a CLI tool, REST API, Python library, workflow, or web service -- and it runs a fully automated 7-phase pipeline:
Target: "jq"
|
v
[Analyze] -> [Design] -> [Implement] -> [Test] -> [Benchmark] -> [Optimize] -> [Package]
| |
v v
analysis.json dist/
โโโ claude-code/
โโโ openclaw/
โโโ codex/
โโโ generic/
No manual prompt engineering. No copy-paste between platforms. Just tell it what you want a skill for.
# Claude Code
git clone https://github.com/AgentSkillOS/SkillAnything.git ~/.claude/skills/skill-anything
# OpenClaw
git clone https://github.com/AgentSkillOS/SkillAnything.git ~/.openclaw/skills/skill-anything
# Codex
git clone https://github.com/AgentSkillOS/SkillAnything.git ~/.codex/skills/skill-anything
In Claude Code, just say:
> Create a skill for the httpie CLI tool
> Generate a multi-platform skill for the Stripe API
> Turn this data pipeline workflow into a skill
SkillAnything handles the rest.
# Phase 1: Analyze a target
python -m scripts.analyze_target --target "jq" --output analysis.json
# Phase 2: Design architecture
python -m scripts.design_skill --analysis analysis.json --output architecture.json
# Phase 3: Scaffold skill
python -m scripts.init_skill my-skill --template cli --output ./out
# Phase 4: Generate test cases
python -m scripts.generate_tests --analysis analysis.json --skill-path ./out/my-skill
# Phase 5: Run evaluation
python -m scripts.run_eval --eval-set evals.json --skill-path ./out/my-skill
# Phase 6: Optimize description
python -m scripts.run_loop --eval-set trigger-evals.json --skill-path ./out/my-skill --model claude-sonnet-4-20250514
# Phase 7: Package for all platforms
python -m scripts.package_multiplatform ./out/my-skill --platforms claude-code,openclaw,codex
Inspired by CLI-Anything's methodology, adapted for Skill generation:
| Phase | Name | What It Does | Output |
|---|---|---|---|
| 1 | Analyze | Auto-detect target type, extract capabilities | analysis.json |
| 2 | Design | Map capabilities to skill architecture | architecture.json |
| 3 | Implement | Generate SKILL.md + scripts + references | Complete skill directory |
| 4 | Test Plan | Auto-generate eval cases + trigger queries | evals.json |
| 5 | Evaluate | Benchmark with/without skill, grade results | benchmark.json |
| 6 | Optimize | Improve description via train/test loop | Optimized SKILL.md |
| 7 | Package | Multi-platform distribution packages | dist/ |
| Target Type | Detection Method | Example |
|---|---|---|
| CLI Tool | which <name> + --help parsing | jq, httpie, ffmpeg |
| REST API | URL with OpenAPI/Swagger spec | Stripe API, GitHub API |
| Library | Package name via pip/npm | pandas, lodash |
| Workflow | Step-by-step description | ETL pipeline, CI/CD flow |
| Service | URL with web docs | Slack, Notion |
SkillAnything/
โโโ SKILL.md # Main entry point (< 500 lines)
โโโ METHODOLOGY.md # Full 7-phase pipeline spec
โโโ config.yaml # Pipeline configuration
โ
โโโ agents/ # Subagent instructions
โ โโโ analyzer.md # Phase 1: Target analysis
โ โโโ designer.md # Phase 2: Skill design
โ โโโ implementer.md # Phase 3: Content writing
โ โโโ grader.md # Phase 5: Eval grading
โ โโโ comparator.md # Blind A/B comparison
โ โโโ optimizer.md # Phase 6: Description optimization
โ โโโ packager.md # Phase 7: Multi-platform packaging
โ
โโโ scripts/ # Python automation core
โ โโโ analyze_target.py # [NEW] Target auto-detection
โ โโโ design_skill.py # [NEW] Architecture generation
โ โโโ init_skill.py # [NEW] Skill scaffolding
โ โโโ generate_tests.py # [NEW] Auto test generation
โ โโโ package_multiplatform.py # [NEW] Multi-platform packaging
โ โโโ obfuscate.py # [NEW] PyArmor wrapper
โ โโโ run_eval.py # Trigger evaluation
โ โโโ improve_description.py # AI-powered optimization
โ โโโ run_loop.py # Eval + improve loop
โ โโโ aggregate_benchmark.py # Benchmark statistics
โ โโโ ... # + validators, reporters
โ
โโโ references/ # Documentation
โ โโโ platform-formats.md # Platform-specific specs
โ โโโ schemas.md # JSON schemas
โ โโโ pipeline-phases.md # Phase details
โ
โโโ templates/ # Generation templates
โ โโโ skill-scaffold/ # Skill directory template
โ โโโ platform-adapters/ # Platform-specific adapters
โ
โโโ eval-viewer/ # Interactive eval review UI
โโโ generate_review.py
> Create a skill for the jq CLI tool
Phase 1: Analyzing jq... detected as CLI tool (confidence: 0.95)
Phase 2: Designing skill architecture... tool-augmentation pattern
Phase 3: Generating SKILL.md + 2 scripts + 1 reference
Phase 4: Created 5 test cases + 20 trigger queries
Phase 5: Benchmark: 87% pass rate (vs 42% baseline)
Phase 6: Description optimized: 18/20 trigger accuracy
Phase 7: Packaged for claude-code, openclaw, codex, generic
Done! Skill at: sa-workspace/dist/
> Generate a skill for the Stripe API, focus on payments
Phase 1: Fetching Stripe OpenAPI spec... 247 endpoints found
Phase 2: Focusing on payment_intents, customers, charges
Phase 3: Generated SKILL.md with auth setup + endpoint references
...
> Turn this into a skill: fetch from Postgres, clean with pandas, upload to S3
Phase 1: Detected workflow with 3 steps
Phase 2: workflow-orchestrator pattern, 3 dependencies
Phase 3: Step-by-step SKILL.md with error handling guidance
...
Edit config.yaml:
pipeline:
auto_mode: true # Full automation or interactive
skip_eval: false # Skip phases 5-6 for rapid prototyping
platforms:
enabled: [claude-code, openclaw, codex, generic]
primary: claude-code
eval:
max_optimization_iterations: 5
runs_per_query: 3
obfuscation:
enabled: false # PyArmor protection for core scripts
SkillAnything supports code obfuscation for commercial distribution:
# Obfuscate original scripts (Apache 2.0 derived files are excluded)
python -m scripts.obfuscate --config config.yaml
# Output: dist-protected/ with PyArmor-protected core + readable adapted scripts
| Category | Files | Protection |
|---|---|---|
| SkillAnything Original | 6 scripts | PyArmor obfuscated |
| Anthropic Adapted | 9 scripts | Source (Apache 2.0 requires it) |
| Agent Instructions | 7 .md files | Readable (required by agents) |
Built on the shoulders of giants:
| Project | License | What We Used |
|---|---|---|
| CLI-Anything | MIT | 7-phase pipeline methodology |
| Dazhuang Skill Creator | Apache 2.0 | Project structure pattern |
| Anthropic Skill Creator | Apache 2.0 | Eval/benchmark system, agent instructions |
See NOTICE for complete attribution details.
We welcome contributions! Areas where help is needed:
MIT License -- see LICENSE for details.
.github/
profile/
README.md
.gitignore
agents/
analyzer.md
comparator.md
designer.md
grader.md
implementer.md
optimizer.md
packager.md
assets/
eval_review.html
config.yaml
eval-viewer/
generate_review.py
evals/
evals.json
LICENSE
METHODOLOGY.md
NOTICE
promo/
chinese-social-media.md
community-announcement.md
product-hunt-pitch.md
twitter-launch-thread.md
README.md
references/
obfuscation-guide.md
pipeline-phases.md
platform-formats.md
schemas.md
scripts/
__init__.py
aggregate_benchmark.py
analyze_target.py
design_skill.py
generate_report.py
generate_tests.py
improve_description.py
init_skill.py
obfuscate.py
package_multiplatform.py
package_skill.py
quick_validate.py
run_benchmark.py
run_eval.py
run_loop.py
utils.py
SKILL.md
templates/
platform-adapters/
claude-code.md.tmpl
codex.md.tmpl
generic.md.tmpl
openclaw.md.tmpl
skill-scaffold/
config.yaml.tmpl
evals/
evals.json.tmpl
SKILL.md.tmplFAQ
skillanything is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes SkillAnything. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.