The baseline skill for Claude Code, Hermes and Pi (and any agent that loads
SKILL.md): a zero-dependency project-readiness checker packaged as an installable skill.
One script over repo files, every rule deterministic and AND-gated into one exit code.
The premise: don't trust a written promise — make something check it.
git clone https://github.com/AdarGit008/baseline-skill
cd baseline-skill
./install.sh # Claude Code -> ~/.claude/skills/baseline
./install.sh --hermes # Hermes -> ~/.hermes/skills/software-development/baseline
./install.sh --pi # Pi -> ~/.pi/agent/skills/baseline
./install.sh /custom/path # any custom skills dir
./install.sh --with-session-hook # also ship hooks/orient-session-start.sh (opt-in; wiring stays by hand)Then in any repo say "run baseline" / "score this repo" (Claude Code: /baseline;
Pi: /skill:baseline). Restart Claude Code or Pi, or start a new Hermes session, for
the skill to appear.
node baseline.mjs --repo /path/to/repo # score — exit 1 on any finding
node baseline.mjs check --self-check # validate the rule set and print its derived size
node baseline.mjs orient --repo /path/to/repo # five lines: repo · work · graph · knowledge · score
node baseline.mjs trust setup --repo . # what this repo trusts, and what to wireNeeds only Node ≥ 18 and git. baseline.mjs help lists every verb.
The code is the authority. check.mjs, rules/*.json and src/ decide what baseline
does; test/red/ pins what may never change. Every document below is a view of those
files — where a document and the code disagree, the code is right and the document is a bug.
All prose lives in one folder, docs/:
| document | what it is | its authority |
|---|---|---|
docs/start-here.md |
the map — read this first | — |
docs/REFERENCE.md |
full reference; the rule table is generated | rules/*.json, src/evaluators.mjs |
docs/GLOSSARY.md |
the DevOps/supply-chain terms, in plain language | — |
docs/CONTRACT.md |
the plain-git twin: what baseline expects, no tool required | schema/, templates/ |
docs/MIGRATION.md |
moving an older repo onto the current shapes | baseline gen migrate-claims |
docs/SECURITY.md |
the security policy and how to report privately | — |
docs/CHANGELOG.md |
what changed, per release | git log |
docs/v4/PLAN.md |
v4 as built | test/red/ |
docs/v4/rule-review.md |
why the v4 cut deleted what it deleted (history) | — |
The runner itself is check.mjs + rules.json + rules/ + src/, co-located — keep them
together and invoke by absolute path. SKILL.md is the agent manifest and stays at the
repo root because the skill loader looks for it there.
AdarGit008/baseline-demo is this standard applied to a real repo, end to end — the dogfood, so this repo can stay the tool.
MIT