Adds skill_registry.py CLI tool with 7 subcommands (init, publish, list, search, install, info, remove) for managing a git-friendly shared skill catalog. No new dependencies — stdlib only. Integrates with existing validate.py and security_scan.py for publish-time checks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .clarity | ||
| .claude-plugin | ||
| article-to-prototype | ||
| docs | ||
| exports | ||
| integrations | ||
| references | ||
| scenarios | ||
| scripts | ||
| .gitignore | ||
| MIGRATION.md | ||
| README.md | ||
| SKILL.md | ||
Agent Skill Creator
Create cross-platform agent skills from natural language workflow descriptions.
What Is This?
Agent Skill Creator is a meta-skill -- a skill that creates other skills. Describe a repetitive workflow in plain English and it generates a complete, validated, cross-platform agent skill through an autonomous 5-phase pipeline.
Input: "Every day I download stock data, analyze trends, and create reports" Output: A ready-to-install skill directory with functional scripts, documentation, cross-platform installer, and spec-compliant SKILL.md.
Quick Start
Claude Code
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git ~/.claude/skills/agent-skill-creator
GitHub Copilot
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .github/skills/agent-skill-creator
Cursor
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .cursor/rules/agent-skill-creator
After installing, open your agent and type:
Create a skill for analyzing CSV files
The skill creator activates and walks you through the full pipeline.
For Windsurf, Cline, Codex CLI, Gemini CLI, and other platforms see Setup by Platform below.
Usage
Trigger Phrases
Say any of these to your agent:
"Create a skill for analyzing stock market data"
"Every day I process CSV files manually, automate this"
"Create a cross-platform skill for weather alerts"
"Automate this workflow"
"I need to automate [repetitive task]"
"Validate this skill"
"Export this skill for Cursor and Copilot"
"Migrate this skill to v4"
What Happens
The creator runs a 5-phase autonomous pipeline:
Phase 1: DISCOVERY Research APIs, data sources, and domain knowledge
|
Phase 2: DESIGN Define use cases, methodologies, and outputs
|
Phase 3: ARCHITECTURE Structure skill directory (simple vs. complex suite)
|
Phase 4: DETECTION Generate description + keywords for reliable activation
|
Phase 5: IMPLEMENTATION Create all files, run validation, run security scan
Output: a complete skill directory you can install on any supported platform.
Setup by Platform (Complete Guide)
Each platform installs with a single git clone directly into the right location. Replace agent-skill-creator with the skill name when installing generated skills.
Claude Code
# Personal skill (available in all projects)
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git ~/.claude/skills/agent-skill-creator
# Per-project (scoped to one repo)
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .claude/skills/agent-skill-creator
GitHub Copilot (CLI + VS Code)
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .github/skills/agent-skill-creator
Cursor
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .cursor/rules/agent-skill-creator
Cursor reads SKILL.md natively alongside its .mdc rules.
Windsurf
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .windsurf/skills/agent-skill-creator
Cline
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .clinerules/agent-skill-creator
OpenAI Codex CLI
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .codex/skills/agent-skill-creator
Gemini CLI
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .gemini/skills/agent-skill-creator
Claude Desktop / claude.ai (Export)
These platforms use .zip upload instead of directory copying:
- Export:
python3 scripts/export_utils.py ./agent-skill-creator/ --variant desktop - Open Claude Desktop or claude.ai
- Go to Settings > Skills > Upload skill
- Select the generated
.zipfile
Claude API (Programmatic)
python3 scripts/export_utils.py ./agent-skill-creator/ --variant api
import anthropic
client = anthropic.Anthropic()
with open("agent-skill-creator-api-v4.0.0.zip", "rb") as f:
skill = client.skills.create(file=f, name="agent-skill-creator")
response = client.messages.create(
model="claude-sonnet-4",
messages=[{"role": "user", "content": "Your query here"}],
container={"type": "custom_skill", "skill_id": skill.id},
betas=["code-execution-2025-08-25", "skills-2025-10-02"],
)
Note: API sandbox has no network access, no pip install at runtime, and an 8 MB size limit.
Updating
To update an installed skill, just git pull from inside the skill directory:
cd ~/.claude/skills/agent-skill-creator && git pull
How It Works
| Phase | What Happens | Key Output |
|---|---|---|
| Discovery | Researches the domain, identifies APIs and data sources | Domain model, API list |
| Design | Defines use cases, analysis methods, output formats | Use case specs, methodology docs |
| Architecture | Decides simple skill vs. complex suite, plans directory structure | Architecture decision, file plan |
| Detection | Crafts SKILL.md description and activation keywords | SKILL.md frontmatter, trigger phrases |
| Implementation | Generates all code, docs, installer; validates and scans | Complete skill directory |
For full pipeline documentation, see references/pipeline-phases.md.
Generated Skill Format
Every generated skill follows the Agent Skills Open Standard:
skill-name/
SKILL.md # Main skill file (<500 lines, spec-compliant)
scripts/ # Functional Python code
references/ # Detailed documentation (progressive disclosure)
assets/ # Templates, schemas, config files
install.sh # Cross-platform installer
README.md # Multi-platform install instructions
SKILL.md Frontmatter
---
name: skill-name
description: >-
Concise description of what the skill does (<=1024 chars).
Includes activation trigger phrases.
license: MIT
metadata:
author: Your Name
version: 1.0.0
compatibility: >-
Works on Claude Code, GitHub Copilot, Cursor, Windsurf,
Cline, Codex CLI, Gemini CLI.
---
Followed by sections: When to Use, Overview, Workflow, Implementation Guidelines, and References.
Naming rules: kebab-case, 1-64 characters, pattern ^[a-z][a-z0-9-]*[a-z0-9]$, must match directory name.
Tools
Validate a Skill
Check spec compliance against the Agent Skills Open Standard:
python3 scripts/validate.py ./my-skill/
# JSON output (for CI/CD)
python3 scripts/validate.py ./my-skill/ --json
Checks: SKILL.md existence, valid frontmatter, kebab-case name (1-64 chars), description under 1024 chars, body under 500 lines, required directory structure, install.sh exists and is executable.
Exit codes: 0 = valid (may have warnings), 1 = invalid (errors found).
Security Scan
Scan for common security issues before sharing or deploying:
python3 scripts/security_scan.py ./my-skill/
# JSON output
python3 scripts/security_scan.py ./my-skill/ --json
Detects: hardcoded API keys (OpenAI, AWS, GitHub, GitLab), tokens and secrets, command injection patterns, unsafe file operations, credential exposure in config files.
Exit codes: 0 = clean, 1 = issues found.
Export for Other Platforms
Package skills for distribution:
# Desktop/Web (.zip for Claude Desktop, claude.ai)
python3 scripts/export_utils.py ./my-skill/ --variant desktop
# API (.zip for Claude API, <=8MB)
python3 scripts/export_utils.py ./my-skill/ --variant api
# All variants
python3 scripts/export_utils.py ./my-skill/
Output goes to exports/. See references/export-guide.md for full documentation.
Skill Registry
Manage a shared skill catalog for teams using a git-based registry:
# Initialize a registry
python3 scripts/skill_registry.py init --registry ./my-registry --name "Team Skills"
# Publish a skill (validates and security-scans first)
python3 scripts/skill_registry.py publish ./my-skill/ --registry ./my-registry --tags data,csv
# List all published skills
python3 scripts/skill_registry.py list --registry ./my-registry
# Search for skills
python3 scripts/skill_registry.py search "finance" --registry ./my-registry
# Show full details about a skill
python3 scripts/skill_registry.py info stock-analyzer --registry ./my-registry
# Install a skill for a specific platform
python3 scripts/skill_registry.py install stock-analyzer --registry ./my-registry --platform claude-code
# Install at project level instead of user level
python3 scripts/skill_registry.py install stock-analyzer --registry ./my-registry --project
# Remove a skill from the registry
python3 scripts/skill_registry.py remove stock-analyzer --registry ./my-registry --force
All commands support --json for machine-readable output. The registry is a plain directory with registry.json and skills/ — commit it to git for version history, access control via repo permissions, and review workflow via PRs.
Exit codes: 0 = success, 1 = error.
Architecture Decisions
The creator automatically decides simple vs. complex based on scope:
| Factor | Simple Skill | Complex Suite |
|---|---|---|
| Workflows | 1-2 | 3+ distinct |
| Code size | <1000 lines | >2000 lines |
| Structure | Single SKILL.md | Multiple component SKILL.md files |
For detailed decision logic, see references/architecture-guide.md.
For AI Agents (Machine-Readable Reference)
This section provides structured metadata for AI agents ingesting this README as context.
Activation Triggers
create an agent for [objective]
create a skill for [domain]
develop a custom skill
automate this workflow
every day I [task]
I repeatedly need to [process]
I need to automate [task]
create a cross-platform skill for [objective]
validate this skill
check if this skill is spec-compliant
export this skill for [platform]
package this skill for [platform]
migrate this skill to v4
update this skill to the new standard
create a multi-agent suite for [objective]
create a skill from the [name] template
Install Commands
# Claude Code (personal)
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git ~/.claude/skills/agent-skill-creator
# GitHub Copilot
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .github/skills/agent-skill-creator
# Cursor
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .cursor/rules/agent-skill-creator
# Windsurf
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .windsurf/skills/agent-skill-creator
# Cline
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .clinerules/agent-skill-creator
# Codex CLI
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .codex/skills/agent-skill-creator
# Gemini CLI
git clone https://github.com/FrancyJGLisboa/agent-skill-creator.git .gemini/skills/agent-skill-creator
# Update
cd <install-path>/agent-skill-creator && git pull
Tool Commands
# Validate
python3 scripts/validate.py PATH # Human output
python3 scripts/validate.py PATH --json # Machine output
# Security scan
python3 scripts/security_scan.py PATH
python3 scripts/security_scan.py PATH --json
# Export
python3 scripts/export_utils.py PATH --variant desktop
python3 scripts/export_utils.py PATH --variant api
# Registry
python3 scripts/skill_registry.py init --registry PATH --name NAME
python3 scripts/skill_registry.py publish SKILL_PATH --registry PATH --tags T1,T2
python3 scripts/skill_registry.py list --registry PATH [--json]
python3 scripts/skill_registry.py search QUERY --registry PATH [--json]
python3 scripts/skill_registry.py install SKILL_NAME --registry PATH --platform PLATFORM
python3 scripts/skill_registry.py info SKILL_NAME --registry PATH [--json]
python3 scripts/skill_registry.py remove SKILL_NAME --registry PATH --force
Platform Paths
| Platform | Path | Scope |
|---|---|---|
| Claude Code | ~/.claude/skills/ |
User-level |
| Claude Code | .claude/skills/ |
Project-level |
| GitHub Copilot | .github/skills/ |
Project-level |
| Cursor | .cursor/rules/ |
Workspace |
| Windsurf | .windsurf/skills/ |
Workspace |
| Cline | .clinerules/ |
Workspace |
| Codex CLI | .codex/skills/ |
Workspace |
| Gemini CLI | .gemini/skills/ |
Workspace |
| Claude Desktop | .zip upload |
App-level |
| claude.ai | .zip upload |
Web |
| Claude API | .zip via API |
Programmatic |
SKILL.md Spec (Required Fields)
---
name: kebab-case-name # 1-64 chars, ^[a-z][a-z0-9-]*[a-z0-9]$
description: >- # 1-1024 chars, include activation keywords
What this skill does...
license: MIT
metadata:
author: Author Name
version: X.Y.Z
---
# Body: <500 lines. Move detailed content to references/.
Pipeline Phases
DISCOVERY -> DESIGN -> ARCHITECTURE -> DETECTION -> IMPLEMENTATION
Each phase is documented in references/phase{1..5}-*.md.
Migration from v3.x
Key changes in v4.0:
-cskillsuffix removed from skill names (use standard kebab-case)- SKILL.md body limited to 500 lines (move detail to
references/) install.shcross-platform installer added- Spec validation and security scanning tools added
marketplace.jsonsimplified (optional for simple skills)
Quick migration:
mv my-skill-cskill/ my-skill/
# Update SKILL.md name field to remove -cskill suffix
python3 scripts/validate.py ./my-skill/
For the complete migration guide, see MIGRATION.md.
Troubleshooting
Skill not activating: Ensure SKILL.md description field contains the trigger phrases you expect. The description is the primary activation mechanism.
Validation fails on name: Names must be kebab-case, 1-64 characters, no consecutive hyphens, no leading/trailing hyphens. Pattern: ^[a-z][a-z0-9-]*[a-z0-9]$.
SKILL.md too long: Body must be under 500 lines. Move detailed documentation to references/ and link from the main SKILL.md.
Export fails with size error: API exports have an 8 MB limit. Reduce asset sizes or exclude large files.
install.sh not executable: Run chmod +x install.sh before executing.
Platform not auto-detected: Use ./install.sh --platform <name> to specify explicitly.
Project Structure
agent-skill-creator/
SKILL.md # Meta-skill definition
README.md # This file
MIGRATION.md # v3.x to v4.0 migration guide
scripts/
validate.py # Spec compliance validator
security_scan.py # Security scanner
export_utils.py # Cross-platform export tool
skill_registry.py # Git-based shared skill registry
install-template.sh # Template for generated install.sh
references/
pipeline-phases.md # Full 5-phase pipeline docs
architecture-guide.md # Simple skill vs. complex suite
cross-platform-guide.md # Platform-specific details
export-guide.md # Export system documentation
phase1-discovery.md # Phase 1 deep dive
phase2-design.md # Phase 2 deep dive
phase3-architecture.md # Phase 3 deep dive
phase4-detection.md # Phase 4 deep dive
phase5-implementation.md # Phase 5 deep dive
phase6-testing.md # Testing guide
quality-standards.md # Quality standards reference
templates-guide.md # Template system guide
templates/ # Skill templates
tools/ # Validation and scanning tools
examples/ # Example configurations
integrations/
agentdb_bridge.py # AgentDB integration bridge
fallback_system.py # Graceful degradation system
learning_feedback.py # Learning loop integration
validation_system.py # Integration validation
article-to-prototype/ # Example generated skill
exports/ # Export output directory
docs/
CHANGELOG.md # Version history
NAMING_CONVENTIONS.md # Naming rules reference
PIPELINE_ARCHITECTURE.md # Pipeline internals
DECISION_LOGIC.md # Architecture decision logic
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Run validation:
python3 scripts/validate.py ./ - Run security scan:
python3 scripts/security_scan.py ./ - Submit a pull request
License
MIT License.