skill-forge-publish
Skill177 starsChanged 9 months agoMITView on GitHub
Package and distribute Claude Code skills for sharing via GitHub, Claude.ai uploads, or team deployment. Creates install scripts, documentation, and .skill packages. Use when user says "publish skill", "share skill", "package skill", "distribute skill", or "release skill".
- Reads credentials
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skill-forgeSkill
- skill-forge-benchmarkSkill
- skill-forge-buildSkill
- skill-forge-convertSkill
- skill-forge-evalSkill
- skill-forge-evolveSkill
- skill-forge-planSkill
- skill-forge-reviewSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Run the full review before publishing:
- Distinctive: line 19
Test with at least 5 trigger queries
- Distinctive: line 20
Verify all cross-references resolve
- Very specific: line 121
Run python scripts/package_skill.py <path> <output-dir> to create a .skill zip file.
- Distinctive: line 124
Create repository with README.md at root
- Very specific: line 128
Add .gitignore (exclude .tmp/, __pycache__/, *.pyc)
- Distinctive: line 162
Test installation from scratch on a clean environment
- Distinctive: line 163
Run all trigger test queries
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Publishing & Distribution
Process
Step 1: Pre-Publish Validation
Run the full review before publishing:
- Execute
/skill-forge review <path>and ensure score >= 80/100 - Fix any critical or high-priority issues
- Test with at least 5 trigger queries
- Verify all cross-references resolve
Step 2: Create Install Script
Generate install.sh that handles:
#!/usr/bin/env bash
# Install script for [skill-name]
# Usage: bash install.sh
set -euo pipefail
SKILL_DIR="$HOME/.claude/skills"
AGENT_DIR="$HOME/.claude/agents"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Installing [skill-name] skill..."
# Create directories
mkdir -p "$SKILL_DIR" "$AGENT_DIR"
# Copy main skill
cp -r "$SCRIPT_DIR/skill-name" "$SKILL_DIR/"
echo " Installed: skill-name"
# Copy sub-skills
for skill in "$SCRIPT_DIR/skills"/skill-name-*/; do
if [ -d "$skill" ]; then
skill_basename=$(basename "$skill")
cp -r "$skill" "$SKILL_DIR/"
echo " Installed: $skill_basename"
fi
done
# Copy agents (if any)
if [ -d "$SCRIPT_DIR/agents" ]; then
cp "$SCRIPT_DIR/agents"/*.md "$AGENT_DIR/" 2>/dev/null || true
echo " Installed agents"
fi
echo ""
echo "Installation complete!"
echo "Test with: /skill-name"Step 3: Create README.md (repo-level, NOT inside skill folder)
# [Skill Name]
[1-2 sentence description focusing on outcomes, not features]
## What it does
[Bullet list of key capabilities]
## Installation
### Claude Codegit clone https://github.com/[user]/[repo] cd [repo] bash install.sh
### Claude.ai
1. Download the latest release (.zip)
2. Go to Settings > Capabilities > Skills
3. Click "Upload skill"
4. Select the downloaded .zip file
## Commands
| Command | Description |
|---------|-------------|
| `/skill-name` | [description] |
| `/skill-name cmd` | [description] |
## Examples
### [Example 1 title]User: "[example input]"
[Description of what happens and expected output]
## Architecture
[file tree diagram]
## License
[License type]Step 4: Package for Distribution
For Claude.ai upload:
Run python scripts/package_skill.py <path> <output-dir> to create a .skill zip file.
For GitHub:
- Create repository with README.md at root
- Skill folder(s) at root level
- install.sh at root level
- Add LICENSE file
- Add .gitignore (exclude .tmp/, pycache/, *.pyc)
For team deployment (Claude.ai admin):
- Skills can be deployed workspace-wide by admins
- Package as .skill zip and upload through admin console
Step 5: Create .gitignore
__pycache__/
*.pyc
*.pyo
.tmp/
*.egg-info/
dist/
build/
.env
*.skillStep 6: Release Checklist
- All files validated (score >= 80)
- install.sh tested on clean system
- README.md covers installation, usage, and examples
- LICENSE file included
- .gitignore configured
- No secrets or API keys in any file
- Test queries documented
- Version tagged (if using git)
Step 7: Post-Publish
After publishing:
- Test installation from scratch on a clean environment
- Run all trigger test queries
- Collect initial user feedback
- Plan first iteration based on feedback
- Set up issue templates for bug reports
Distribution Channels
| Channel | Best For | Format |
| GitHub | Open source, community | Repository + install.sh |
| Claude.ai upload | Personal use | .skill zip |
| Team admin | Organization-wide | .skill zip via admin console |
| Claude Plugin Marketplace | Wide distribution | .claude-plugin/ manifest |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

