document-with-evidence
Skill2 starsChanged 3 months agoApache-2.0View on GitHub
Use when recording a new piece of curated knowledge -- a finding, a decision, a measured fact worth keeping and later re-checking for freshness. Triggers on requests like "record this as knowledge", "write a knowledge unit for X", "capture this finding with evidence", or "add this to curated knowledge". Do not use for a quick personal or project preference; that belongs to the keep-agent-memory-accurate skill instead.
In this repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- block-dangerous-git-commandsSkill
- break-work-into-ticketsSkill
- build-a-domain-modelSkill
- build-a-throwaway-prototypeSkill
- check-if-data-is-safe-to-deleteSkill
- check-the-licence-before-you-copySkill
- choose-the-right-code-reviewSkill
- debug-a-silent-failureSkill
- deploy-to-production-safelySkill
- design-deep-modulesSkill
- detect-stale-documentationSkill
- diagnose-a-hard-bugSkill
- edit-a-live-config-safelySkill
- find-architecture-improvementsSkill
- generate-a-setup-wizardSkill
- get-a-second-model-opinionSkill
- implement-from-a-specSkill
- investigate-an-unfamiliar-systemSkill
- keep-agent-memory-accurateSkill
- keep-secrets-out-of-the-repositorySkill
- know-what-a-change-costsSkill
- look-at-the-rendered-pageSkill
- make-the-next-failure-loudSkill
- map-an-undocumented-systemSkill
- map-the-attack-surfaceSkill
- pick-the-right-skillSkill
- plan-work-too-big-for-one-sessionSkill
- research-with-primary-sourcesSkill
- resolve-merge-conflictsSkill
- review-a-plan-before-you-buildSkill
- review-changes-against-spec-and-standardsSkill
- review-code-you-did-not-writeSkill
- root-cause-analysis-firstSkill
- route-work-to-the-right-modelSkill
- set-up-pre-commit-hooksSkill
- set-up-the-issue-trackerSkill
- set-up-verified-documentationSkill
- stress-test-a-decisionSkill
- stress-test-a-plan-with-docsSkill
- supersede-outdated-docsSkill
- survive-someone-elses-breaking-changeSkill
- tddSkill
- teach-a-conceptSkill
- triage-issues-and-prsSkill
- turn-a-decision-into-a-questionnaireSkill
- validate-your-validatorSkill
- verify-before-saying-doneSkill
- write-a-handover-that-worksSkill
- write-a-spec-from-a-conversationSkill
- write-docs-for-agentsSkill
- write-docs-people-can-findSkill
- write-the-rollback-plan-firstSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Never promote a unit's evidence state by editing it in place because you have grown more confident.
- Very specific: line 60
Run it over the whole knowledge/ directory, not a single file: supersedes resolves against the validated set, so validating one file in …
- Very specific: line 67
If the project declares an extension (knowledge-extension.md), your unit may also carry the fields it declares, on top of the base contract.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
Document with evidence
A curated-knowledge unit is one Markdown file under knowledge/, with
frontmatter carrying the base contract. Write the file directly (or via your
usual editing tools) -- there is no validated_memory subcommand that
creates one; validate only checks what you wrote.
The base contract, field by field
---
id: kb-0001 # required; stable, unique; matches the adopter's id_prefix
evidence: measured # required; measured | verifiable | hypothesis
supersedes: [] # optional; ids this unit supersedes (see supersede-outdated-docs)
anchors: # optional; without anchors a unit cannot expire
- system: <system-name>
kind: <probe-kind> # must match a kind registered in validated-memory.md
captured_at: 2026-08-12T00:00:00Z
payload: {} # interpreted by the probe, not by validate
provenance: [] # optional; where the native artifact lives
---id-- checkid_prefixinvalidated-memory.mdfor the scheme this project follows. Never reuse an id once written; a correction is a new unit (seesupersede-outdated-docs).evidence-- pick the state the knowledge actually has right now, not the state you hope to reach (canonical definitions: the README's "Base contract" section):measured-- directly observed or computed, with a way to re-check it.verifiable-- not directly measured, but checkable by someone who follows the provenance.hypothesis-- a claim not yet checked.
Never promote a unit's evidence state by editing it in place because you have grown more confident. Promotion is not a state change on the same file; it is a new unit with better evidence that supersedes this one (
supersede-outdated-docs). Evidence state moves forward only by writing new knowledge, never by conviction.anchorsvsprovenance-- do not mix the two planes:- An anchor is a probeable claim: "system X, of kind K, was true as of
captured_at, described by this payload" -- exactly whatdetect-stale-documentationre-checks later. A unit with no anchors can never be checked for freshness (a WARNING, not an ERROR). - Provenance is not probed: it records where the native artifact (a query, a document, a conversation) lives, for a human to go look. Put a link or a citation there, not something you expect a probe to check.
- An anchor is a probeable claim: "system X, of kind K, was true as of
Verify
python3 -m validated_memory validateRun it over the whole knowledge/ directory, not a single file:
supersedes resolves against the validated set, so validating one file in
isolation reports a real supersedes target as missing. See the README's
"Base contract" section for the exact rules validate enforces (required
fields, id form, anchor envelope shape, and so on) -- this skill only covers
the data discipline, not the validator's error conditions.
If the project declares an extension (knowledge-extension.md), your unit
may also carry the fields it declares, on top of the base contract; an
undeclared field is an ERROR. See the README's "Declared extension" section.
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.

