init
Skill4 starsChanged 32 days agoMITView on GitHub
Audit a repository's checks and set it up for Foreman unattended runs. It inventories linters and test suites, proves each can fail, proposes fixes and writes .foreman.toml. Use when the user invokes /foreman:init, asks to set a project up for the harness, or the doctor reports a missing or stale audit.
156 other projects use a version of this.
Adopted by
Most recently taken up by
- kendrick/working-memory-kittheir own version, first seen Nov 29, 2026
- guhcostan/claude-mega-braintheir own version, first seen Nov 29, 2026
- flegars/greenlyttheir own version, first seen Nov 29, 2026
- nuncaeslupus/doc-controltheir own version, first seen Nov 29, 2026
- mentealterne/GYOStheir own version, first seen Nov 29, 2026
- Ian-Louw/potiontheir own version, first seen Nov 26, 2026
Used with
Projects with it also use daily-arxiv, exp-eval 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.
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
skyllwtSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
skyllwtSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 4 projects that use this
gaebalaiSkilldesign-tracker
PROACTIVELY track and document project design decisions without being asked. Activate automatically when detecting architecture discussions, implementation decisions, pattern choices, library selections, or any technical decisions. Also use when user explicitly says "記録して", "設計どうなってる", "record this". Do NOT wait for user to ask - record important decisions immediately.
Also in 4 projects that use this
- +5 more from Lambenthan
- +1 more from skyllwt
Other versions156 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 156
- microsoft/vscode★ 196ksame name
- mcollina/skills★ 2ksame name
- skyllwt/OmegaWiki★ 1.7ksame name
- DAIR-AutoResearch/AutoSci★ 1.7ksame name
- PKU-DAIR/AutoSci★ 1.7ksame name
- skyllwt/AutoSci★ 1.7ksame name
- TokenRollAI/cc-plugin★ 487same name
- pipecat-ai/gradient-bang★ 420same name
- AlexPEClub/ai-coding-starter-kit★ 382same name
- dannysmith/tauri-template★ 317same name
146 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.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 143 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read the Makefile, package.json files, pyproject.toml, the pre-commit config and the CI pipeline.
- Distinctive: line 20
Every gate in the proposed check gets a canary: test suites and type checkers, and also linters, formatter checks, migration checks and …
- Distinctive: line 32
Run the proposed check command.
- Distinctive: line 33
Remove the canary and confirm git status shows no trace of it.
- Distinctive: line 46
Wait for the user's answer.
- Distinctive: line 51
Create the decisions log and the parked file if they do not exist.
- Very specific: line 52
Add .foreman/ to .gitignore.
- Very specific: line 55
Write .foreman.toml with today's date, that fingerprint and that file list under [audit].
- Very specific: line 56
Ask the user to read .foreman.toml, then approve it.
- Very specific: line 59
Run the doctor: uv run --no-project --python 3.12 "${CLAUDE_PLUGIN_ROOT}/hooks/doctor.py" --cli.
- Very specific: line 60
If the project publishes through an allow-list or similar, confirm .foreman.toml is not published.
“Common” is measured: kept by at least 6 in 10 of the 143 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
Foreman init
The goal is a check command that is complete and has been seen to fail. Propose everything; apply only what the user approves.
1. Inventory
Read the Makefile, package.json files, pyproject.toml, the pre-commit config and the CI pipeline. List every linter, formatter check, type checker and test suite the repo has, and the command that runs each.
2. Compare
Decide which single command should be the project check (often make check). Trace what it actually runs. List every item from the inventory that it does not run, and anything CI or pre-commit runs that it does not.
3. Prove each gate can fail
Every gate in the proposed check gets a canary: test suites and type checkers, and also linters, formatter checks, migration checks and docs or site builds. Plant one at a time, because a check often stops at its first failure and would hide the rest.
| Gate | Canary |
| test suite | a test asserting 1 == 2 |
| type checker | a line with a deliberate type error |
| linter | an unused import, or another rule the config enforces |
| formatter check | a few lines in a format it rewrites |
| migration check | a model change with no migration |
| docs or site build | a page with a broken link or reference |
- Put the canary in a new file named
foreman_canarywith the gate's extension, where that gate looks (inside its test paths or include globs). Where only a change to a tracked file can trip the gate, as with most migration checks, pick a file with no uncommitted changes and restore it withgit checkout -- <file>afterwards. - Run the proposed check command. It must exit non-zero and name the canary.
- Remove the canary and confirm
git statusshows no trace of it.
A gate whose canary does not turn the check red is a no-op gate: report it as a gap. A gate you could not trip without touching something the user would mind is "not proven": say which and why. Never call the check proven while a gate is in neither list nor turned red.
4. Propose
Show the user one list:
- each gate with its canary result: red, no-op, or not proven
- each gap, and the change that closes it (for example, adding a frontend test target to
check) - the drafted
.foreman.toml: check command and timeout, working and protected branches, frontend path prefixes, decisions log, parked file - anything you left out on purpose and why (a slow suite, for instance)
Wait for the user's answer. Apply only what they approve.
5. Write
- Apply the approved build-file changes and re-run the check to confirm it passes.
- Create the decisions log and the parked file if they do not exist.
- Add
.foreman/to.gitignore. - Compute the audit fingerprint from the project root, over every build file you read:
uv run --no-project --python 3.12 "${CLAUDE_PLUGIN_ROOT}/hooks/audit.py" <file> <file> ... - Write
.foreman.tomlwith today's date, that fingerprint and that file list under[audit]. The guard will ask the user to approve this write; that is expected. - Ask the user to read
.foreman.toml, then approve it. The guard will prompt them; only a person approves:uv run --no-project --python 3.12 "${CLAUDE_PLUGIN_ROOT}/hooks/trust.py" approveUntil it is approved, and again after any later change to it, every gate is off for this project. - Run the doctor:
uv run --no-project --python 3.12 "${CLAUDE_PLUGIN_ROOT}/hooks/doctor.py" --cli. It must printforeman: ok. - If the project publishes through an allow-list or similar, confirm
.foreman.tomlis not published.
Declaration format
[check]
command = "make check"
timeout_seconds = 900
[branches]
protected = ["test", "main"]
[frontend]
paths = ["frontend/src/"]
[plan]
decisions_log = ".planning/DECISIONS-LOG.md"
parked = ".planning/PARKED.md"
[audit]
date = "YYYY-MM-DD"
fingerprint = "sha256:..."
files = ["Makefile", "frontend/package.json"]frontend.paths are path prefixes. Keep timeout_seconds at 1100 or below.
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.

