Communitygithub.com

unix0linux/skill-forge

Skill Forge: build, validate, publish and keep growing a collection of agent skills for anyone on any topic. Finds demand and gaps across GitHub, interviews the owner, writes expert SKILL.md files, packages a GitHub repo with plugin marketplace, publishes, then proposes the next skills itself. Use for make me skills, skill collection, publish skills, what skills should exist.

¿Qué es skill-forge?

skill-forge is a Claude Code agent skill that skill Forge: build, validate, publish and keep growing a collection of agent skills for anyone on any topic. Finds demand and gaps across GitHub, interviews the owner, writes expert SKILL.md files, packages a GitHub repo with plugin marketplace, publishes, then proposes the next skills itself. Use for make me skills, skill collection, publish skills, what skills should exist.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/unix0linux/sasan-skills/tree/HEAD/skills/skill-forge

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Skill Forge

An end-to-end factory for agent skills: from "I want skills about X" to a published, installable, growing GitHub collection. Reply in the user's language. Work in stages, show progress, and ask only where a wrong guess is costly.

Stage 0. Guardrails (check first, every time)

  • Refuse skills whose purpose is harm: malware or attacking systems the user does not own, weapons, surveillance or profiling of private people, fraud, scams, evading law enforcement or sanctions, sexual content involving minors. Defensive, educational and authorised versions are fine (e.g. "antivirus engine", "authorised pentest").
  • Do not copy other people's skills without a compatible licence. Adapt MIT/Apache content with attribution; write everything else from scratch.
  • Never invent facts inside a skill: anything about tools, versions, laws or prices is verified by search before it is written.
  • Never push, publish or create accounts without the user's explicit yes; never handle their passwords or tokens.

Stage 1. Understand the owner (2-5 questions max, one at a time with a guess)

Who will use the skills, in what language, which domains (work, hobbies, country-specific needs), which agents (Claude apps, Claude Code, other agents), and the owner's name or brand for authorship. Write a one-paragraph brief and confirm it.

Stage 2. Find demand and gaps (evidence, not taste)

Pick the depth that fits the request:

  • Quick: search the web and the user's plugin/skill directory for the topic; list what exists and how good it is.
  • Full census (when the user wants "the best" or "everything"), where a shell and git are available:
    1. gh api -X GET search/repositories -f q='topic:agent-skills stars:>=1000' -f sort=stars -f per_page=100 -f page=N over several queries (topic:claude-skills, topic:claude-code-plugin, "agent skills" in:name,description) to list repositories.
    2. For each repo: git clone --depth 1 --filter=blob:none --no-checkout URL dir && git -C dir ls-tree -r HEAD --name-only to list every SKILL.md without downloading contents.
    3. Download each SKILL.md from raw.githubusercontent.com/OWNER/REPO/BRANCH/PATH in parallel, parse frontmatter, deduplicate by normalised body hash, group by name.
    4. Classify each skill: self-contained (works as a single SKILL.md), needs reference files, or needs scripts/runtime.
    5. Count supply per topic with careful regexes (test them: "tle" matches "title", "token" matches "design token", "iso" matches "ISO 27001"). A gap = real demand (the user's needs, popular repos, frequent questions) with few or only low-quality, non-self-contained skills.
  • Report: a short table of topics → existing count → self-contained count → verdict, and a published searchable catalog page if the owner wants it.

Stage 3. Design the collection

  • 5-15 skills, each one job, no overlaps; one optional orchestrator skill that routes to the others.
  • For each: name (kebab-case, ≤64 chars, no "claude"/"anthropic"), one-sentence trigger description, sections, sources to verify, safety rules. Show the plan; adjust on feedback.

Stage 4. Write each skill to an expert bar

Structure that works:

---
name: kebab-name
description: "What it does and when to use it, with trigger words (≤1024 chars, quoted)."
license: MIT
metadata:
  author: OWNER
  version: "1.0.0"
---
# Title
One-paragraph purpose + "Reply in the user's language".
## Hard rules (safety, legality, honesty)
## Numbered workflow the agent follows
## Concrete specifics: commands, formulas, tables, checklists, decision trees
## Output format / final checklist

Rules: self-contained (no hidden scripts or reference files unless the target is Claude Code only); specific over generic (exact commands, thresholds, standards); instructions in English for reliability, examples in the user's language where useful; verify every tool name, flag and URL by search before writing it; 2-8 KB per skill.

Stage 5. Validate (run it, don't eyeball it)

Write and run a validator (Python + PyYAML) over skills/*/SKILL.md:

  • frontmatter parses as YAML: always quote description (a ": " inside an unquoted value breaks YAML and silently breaks installs);
  • name equals the folder name and matches ^[a-z0-9-]{1,64}$;
  • description ≤1024 chars; no reserved words;
  • for Persian/Arabic text: no Arabic ي/ك or Arabic-Indic digits unless shown deliberately as "wrong" examples;
  • every JSON manifest parses (python3 -m json.tool). Then have a fresh-context reviewer (subagent) try to find factual errors in each skill; fix what is real.

Stage 6. Package

REPO/
├── .claude-plugin/plugin.json        # name, version, description, author, license, keywords
├── .claude-plugin/marketplace.json   # name, owner, plugins: [{name, source: "./", description, version}]
├── skills/<name>/SKILL.md
├── README.md   # bilingual if needed: why (gap table), skills table, install, structure
└── LICENSE

Also build one zip per skill (zip -r name.zip name from inside skills/) for claude.ai uploads, and one zip of the whole repo.

Stage 7. Publish (guide or do)

  • If the session can push to the owner's repo: show the exact changes, get a yes, commit with a clear message, push, then fetch and verify the tree on GitHub.
  • Otherwise guide the owner step by step, avoiding the known traps:
    • GitHub's web drag-and-drop often skips dot-folders: create .claude-plugin/plugin.json and .claude-plugin/marketplace.json with Add file → Create new file (typing / in the name creates the folder).
    • Drag the folder's contents, not the folder; "choose your files" cannot pick folders.
    • A nested .claude-plugin/.claude-plugin/ or an empty plugin.json breaks /plugin marketplace add: verify after upload.
    • Tag names like v1.0.0 must be typed on an English keyboard with no spaces, or GitHub reports invalid characters.
    • Some agent sessions cannot create Releases: then the owner creates the release, or zips go in a downloads/ folder.
  • Install lines to give users: /plugin marketplace add OWNER/REPO then /plugin install PLUGIN@MARKETPLACE; npx skills add OWNER/REPO; claude.ai: upload a skill zip under Settings → Capabilities → Skills.
  • Discovery: repo description and topics (agent-skills, claude-skills, claude-code, language/domain tags), a release, a pull request to well-known awesome lists, and a short launch post.

Stage 8. Keep growing (the forge thinks for itself)

After each release, propose the next 3 skills with evidence:

  • gaps still open from the census, adjacent topics the existing skills keep touching, questions users ask that no skill answers, and outdated facts in existing skills (re-verify versions, laws, prices every few months). For each proposal: why now, demand evidence, overlap check, effort. On approval, loop back to Stage 4, bump versions (semver: new skill = minor, fix = patch), update README and a CHANGELOG, validate, publish.

Final report to the owner

What was built (skills table), validation results, where it is published and how to install, what could not be done and why, and the next 3 proposed skills.

Verified tooling

Runnable: python3 tools/skillcheck.py skills/ validates every skill, and --new NAME scaffolds one that passes its own validator. 7/7 rules verified, each written because something actually broke: an unquoted description containing ": " that broke YAML after publishing, a name that does not match its directory, an over-length description, a skill prescribing a tool that does not exist, and missing frontmatter. The whole repository currently passes with 0 fatal issues.

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

Skills relacionados