skill-forge
Skill0 starsChanged 15 days agoMITView on GitHub
Use when starting in a new job's environment, or when asked to find the operational questions that keep coming up, inventory the systems that answer them, turn one into a skill, or lint a skill. Drafts one skill per recurring question from an archetype with the read-only, provenance and fault-injection guards built in. Not for a library of per-system skills (one per database or tool), and not for answering the question itself; the drafted skill does that.
64 other projects use a version of this.
Adopted by
Most recently taken up by
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- Folken2/skillstheir own version, first seen Nov 29, 2026
- HackingU0/skill-forgetheir own version, first seen Nov 29, 2026
- trelmitt/claude-skillstheir own version, first seen Nov 29, 2026
- edwardjgriggs/skill-forgetheir own version, first seen Nov 29, 2026
- abduallahJamal/qalam-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use crypto-intelligence, heart and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Arcanea-LabsSkillcrypto-intelligence
Vertical-tier skill for Crypto Intelligence Domain Sub-Stack. Auto-activates inside verticals/crypto-intelligence/ or on /crypto-* commands. Enforces R5 non-advisory clause, voice (architect), refusal patterns, composition with Wealth IS umbrella per Board 2026-05-17. Loads verticals/crypto-intelligence/SKILL.md wrapper for full doctrine.
Also in 3 projects that use this
Arcanea-LabsSkillheart
Ops health monitor for the machine substrate. Checks Memory Bus, brain_watchdog, Voice Operator, dashboard, audit-log freshness, and scheduled tasks. Cross-cutting skill that any repo can invoke when daemons feel off or before starting a heavy work session.
Also in 3 projects that use this
- +10 more from Arcanea-Labs
Other versions64 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 64
- sanyuan0704/code-review-expert★ 3.9ksame name
- sanyuan0704/sanyuan-skills★ 3.9ksame name
- AgriciDaniel/skill-forge★ 166same name
- Rune-kit/rune★ 96same name
- danilokhury/Synabun★ 76same name
- svy04/ballast★ 73same name
- motiful/skill-forge★ 45same name
- WilliamSaysX/skill-forge★ 43same name
- bjcoombs/ai-native-toolkit★ 32same name
- GodModeAI2025/skill-forge★ 18same name
54 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- comms-hubSkill
- harness-checkupSkill
- memory-archiveSkill
- memory-auditSkill
- pr-reviewSkill
- slack-draftSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 55 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 61
Maintain: When a session hits a new trap with a drafted skill, the fix goes into its engine as a guard with a test and a mutation, plus one …
- Very specific: line 110
Every output opens with # lines: target, window (UTC, with bounds), command, rows, partial.
“Common” is measured: kept by at least 6 in 10 of the 55 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
skill-forge: one skill per recurring question
A skill earns its keep when it answers ONE recurring question end to end ("why is this job slow", "which tenant drove the volume", "is this flag on for X"), crossing whatever systems that takes. Never draft one skill per system.
In the commands below, PY is the interpreter that
bash ~/.claude/skills/skill-forge/bin/python.sh prints and F is
~/.claude/skills/skill-forge/bin. Write both out in full in every command
(/usr/bin/python3.12 ~/.claude/skills/skill-forge/bin/discover.py): shell
variables do not survive between calls. The config is
~/.config/skill-forge/config.toml (start from
~/.claude/skills/skill-forge/config.example.toml); state, inventory.md
included, is in ~/.local/state/skill-forge/.
The protocol, one skill per run
- Discover, read-only.
PY F/discover.pywritesinventory.md: access (contexts, profiles, SSO and secret CLIs, each with its re-login command and what an expired session looks like), services (MCP and API names), observability, data stores, control planes, the skills already here with an archetype guess, and repos by origin, each line with the command that found it. Names only. A bastion's databases and apps are listed only when its session is already live.--probe-localreads local containers.--probe-context CTXlists one cluster's cronjobs and services; ask the user before--yes-prod, and never port-forward or connect to production without that yes. - Find demand.
PY F/demand.py --top 10ranks repeated command sequences, repeated questions and repeated failures from transcripts and shell history. Evidence is counts and sessions by date, never content. Re-login loops rank apart as access friction (fix the session, not a skill), andcovered by <skill>means an installed skill already runs there. - Choose. Show the ranked list; the user picks one. One skill per run.
- Draft.
PY F/forge.py list, thenPY F/forge.py draft ARCHETYPE NAME --question "..."renders into~/.local/state/skill-forge/drafts/NAME. Edit for this job: the trigger phrasings people actually type, what it does not cover and the sibling that does, and the engine's queries. Gotchas starts empty. - Verify on the real target, with the user present.
PY F/forge.py verify DIRruns the skill's tests, each listed mutation (every one must go red) and skill_lint, all offline. Then run the engine for a real instance of the question, and inject each required guard's fault on the real system: a misspelled metric for ABSENT, a tiny cap for PARTIAL, an expired login for AUTH, a wrong context for the target check. A skill that only passed against fakes is not done. When a skill already answers the question,PY F/forge.py compare DIR EXISTING --run 'ARGS'lints both side by side, lists the guards and subcommands each has, and runs both engines on the same question: the same numbers are the real pass. A required guard the existing skill lacks is that skill's finding; one only it has is the template's.compare --archetype ARCH EXISTINGback-tests a template against an existing skill without keeping the draft. - Install.
PY F/forge.py install DIRprints the copy;--applycopies to~/.claude/skills/NAME(or--dest, a work repo the user names) and records the question ininventory.md. It refuses the public harness clone and any skill the lint fails. - Maintain. When a session hits a new trap with a drafted skill, the fix goes into its engine as a guard with a test and a mutation, plus one Gotchas line. A memory alone is not a fix.
Archetypes
| archetype | answers through | required guards |
| sql-readonly | one read-only statement, layered checks, --self-test | absent, partial, expired auth, wrong target |
| metrics-query | a Prometheus-compatible API; ab and volume-step analyses | absent, partial, expired auth, window, wrong target |
| logs-fetch | a log store, with the stream selector computed, not guessed | absent, partial, expired auth, window, wrong target |
| cluster-probe | a throwaway pod with a workload identity, always deleted | incomplete capture, leftover probe, expired auth, wrong target |
| job-run | a Job from a CronJob's own template, per-cluster results | absent, partial, expired auth, wrong target, incomplete capture |
| api-readonly | any REST API, GET only, paginated with a cap | absent, partial, expired auth, wrong target |
| runbook | an alert payload to deep links and the next skill | absent, wrong target, window |
| local-repro | Docker on production's exact image tag, synthetic seed data | wrong target, absent, incomplete capture |
metrics-query, logs-fetch and api-readonly reach their API through access.py:
<ENV>_ACCESS is direct (the URL variable), port-forward SVC[:PORT] in NS,
or pod SVC[:PORT] in NS (it creates a pod, so it needs --apply; with
--apply, a refused port-forward falls back to the pod), with
<ENV>_CONTEXT named. metrics-query and logs-fetch probe the path prefix;
api-readonly does when <ENV>_API_PROBE names a path. The header names the route.
The conventions skill_lint checks
PY F/skill_lint.py SKILL_DIR lints any skill, drafted or hand-written, with
its scripts in bin/ or at the skill root (*.py, *.sh) and its tests in
tests/ or at the root. Fix a finding, or waive it in the skill's
lint-waivers.toml with a reason. A waiver without a reason fails, and so does
one for a check that now passes. WARN means every engine check was N/A: the
lint saw nothing to judge, and its note says what SKILL.md runs that it did not
read. That is not a pass.
| # | convention | the check |
| C1 | read-only by default; a write needs --apply, and without it prints what would change | a write verb needs --apply and a dry-run test |
| C2 | SQL read-only in layers: role, READ ONLY, allowlist, nested-write scan | --self-test exists and passes |
| C3 | no stored credentials; borrowed identity; secrets by env or stdin | no secret-named flag, argv secret or secret shape |
| C4 | a write and its audit row in one transaction | a test says so |
| C5 | guards against confident wrong answers | each required guard has a test_guard_<id> |
| C6 | a provenance header opens every output | the engine calls header() (shell: prints # target:); a golden test |
| C7 | every print goes through the masker | no print in an engine (shell: pipes through mask.py --filter); a planted-pattern test |
| C8 | thin SKILL.md, thick engine, literal trigger phrasings | Use when in the description; line budget; --help |
| C9 | a test file per script; mutations listed; no real clients in tests | the files, the lists, a quoting test where shell or SQL is built |
| C10 | a self-contained folder | anything outside goes through a declared env var; every script of its own SKILL.md runs is one the lint read |
Reading the output
Every output opens with # lines: target, window (UTC, with bounds), command,
rows, partial. Exit 0 is an answer (or EMPTY, which is a real zero), 2 ABSENT
(the instrument does not exist, so not zero), 3 PARTIAL or VOID, 4 AUTH (an
expired login, never "no data"), 5 REFUSED or BLOCKED.
Gotchas
- macOS
python3is 3.9 and has no TOML reader; use the interpreterpython.shprints. forge.py verifyproves the draft against fakes only. Step 5's live fault injection is what proves the guards on this job's systems.
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.

