getspecstory / lore
AGENTS.md1.3k starsChanged 6 months agoApache-2.0View on GitHub
You are working ON the lore engine/skill, not running it. Read CONTRIBUTING.md first; these are the rules that bite: - Zero dependencies, ever. Plain Node only (node:sqlite, node:fs, node:crypto). If a change seems to need an npm package, stop and ask. - The engine is deterministic; the agent judges. Parsing/counting/fingerprinting/rendering live in scripts/ and must be byte-reproducible. Judgment (naming, themes, verification) belongs in SKILL.md's contract or the workflow scripts. - Fixtures are the spec. Every parsing or rendering claim needs…
Trending
More talk lately.thin dataabout the whole repository
Who's talking about specstoryai/getspecstory
- A Hacker News story“Why Git is no "good" for AI-generated code”Hacker News · Apr 2, 2025 · 35 points
- @mikestaub2.bsky.social“If you are using coding agents, I highly recommend you use this asap. It is very obvious that in the future …”Bluesky · Jan 13, 2026 · 2 likes
- UfoMiao/zcf“Miscellaneous set of tools”GitHub · Aug 18, 2025 · 2 reactions
- sudosubin/agents.nix“agent-skills.github.specstoryai.getspecstory: 2.14.1 → 2.15.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.specstoryai.getspecstory: init at 2.14.1”GitHub · Oct 2, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub, Hacker News and Bluesky (8 times).
On GitHub · 6
- Aug 18, 2025Miscellaneous set of tools — UfoMiao/zcf2 reactions · 1 comment
- Oct 4, 2026agent-skills.github.specstoryai.getspecstory: 2.14.1 → 2.15.1 — sudosubin/agents.nix0 reactions
- Oct 2, 2026agent-skills.github.specstoryai.getspecstory: init at 2.14.1 — sudosubin/agents.nix0 reactions
- Sep 30, 2026chore(pkg): bump specstory-cli-bin to 2.15.1 — abstraction/custom-pkgbuilds0 reactions
- Sep 13, 2026feat(hygiene): add guarded UTF-8 repair and encoding diagnostics — daviddwlee84/dev-cli0 reactions
1 more on GitHub
- Jul 20, 2026Add specstory kit — docker/sbx-kits-contrib0 reactions · 1 comment
On Hacker News · 1
- Apr 2, 2025Why Git is no "good" for AI-generated code35 points · 11 comments
On Bluesky · 1
- Jan 13, 2026If you are using coding agents, I highly recommend you use this asap. It is very obvious that in the future the session data will be… — @mikestaub2.bsky.social2 likes and reposts
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- lore/CLAUDE.mdCLAUDE.md
- specstory-cli/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- loreSkill
- workthreadsSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 11
Fixtures are the spec: Every parsing or rendering claim needs a fixture (should-flag/should-pass style).
- Very specific: line 15
The golden file is intentional: If fixtures/golden/forge-plan.md fails, either your change is wrong or the layout change is deliberate - …
- Very specific: line 23
Use a scratch corpus while developing: --db /tmp/dev-lore.db.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
Agent Rules for the Lore Repo
You are working ON the lore engine/skill, not running it. Read CONTRIBUTING.md first; these are the rules that bite:
- Zero dependencies, ever. Plain Node only (
node:sqlite,node:fs,node:crypto). If a change seems to need an npm package, stop and ask. - The engine is deterministic; the agent judges. Parsing/counting/fingerprinting/rendering live
in
scripts/and must be byte-reproducible. Judgment (naming, themes, verification) belongs in SKILL.md's contract or the workflow scripts. - Fixtures are the spec. Every parsing or rendering claim needs a fixture
(should-flag/should-pass style). New provider formats use REAL bytes verified against
specstory-cli's writers - never invented. Parser behavior changes bump
PARSER_VERSIONinscripts/lib/db.mjs. - The golden file is intentional. If
fixtures/golden/forge-plan.mdfails, either your change is wrong or the layout change is deliberate - regenerate withUPDATE_GOLDEN=1 npm testand say so in the commit body. - Never weaken the output contract. PASS-THROUGH markers, sentinels, and the named failure modes in SKILL.md are enforcement and institutional memory; do not soften or delete them.
- No em dashes anywhere - docs, comments, or engine-emitted strings. Use " - ".
- Run
npm testafter every change (29+ tests; Node >= 22.5). Conventional commits with a why-body:type(scope): subject. - Use a scratch corpus while developing:
--db /tmp/dev-lore.db. Never write to the user's real~/.specstory/lore.dbfrom tests or experiments.
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.

