retention-probe
Skill2 starsChanged 7 days agoMITView on GitHub
Tests if this session still holds the always-on instruction file. Use when a repo rule seems missing, in a new subagent or after compaction.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- niksavis/handilyword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- niksavis/handily★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- councilSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- hill-climbSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- swarmSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- councilSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- hill-climbSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- swarmSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Test one thing: is the always-on instruction file in the context of this session?
- Distinctive: line 13
Answer from memory only: Do not read, search or list files first, because the probe detects whether you already have the file.
- Distinctive: line 21
Write every rule, convention and constraint that you believe governs this repository to a scratch file, one per line.
- Distinctive: line 50
Read the instruction file to correct each of these:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Retention Probe
Test one thing: is the always-on instruction file in the context of this session?
Rules
- Answer from memory only. Do not read, search or list files first, because the probe detects whether you already have the file.
- Answer exhaustively. A short answer scores as a missing file.
- Run it when you suspect a problem, not on a schedule. The probe output repeats every rule, so each run puts the rules back into context.
- Do not read the score as adherence. A recited rule is not an obeyed rule. A gate or a
PreToolUsehook enforces a rule. - Do not read a high score as memory. While the file is in context you read it. You do not recall it.
Procedure
- Write every rule, convention and constraint that you believe governs this repository to a scratch file, one per line.
Score the file:
uv run basicly retention <scratch-file>Flag Effect --verboseLists each rule that did not come back, beside the nearest line of your answer --baseline <path>Scores against another file. The default is the first of .claude/CLAUDE.md,CLAUDE.mdandAGENTS.md--strictExits non-zero when the verdict is absent Pass
-in place of the file to read the answer from stdin.- Act on the verdict.
Verdicts
| Verdict | Meaning | Action |
LOADED | 80% or more. The file is in context. | None. |
PARTIAL | Between 30% and 80%. Not decisive. | Run again once, with a fuller answer. |
ABSENT | 30% or less. The file is not in context. | Read the instruction file, then continue. |
UNDERSAMPLED | Fewer lines than the file has rules. | You stopped early. Answer exhaustively and probe again. |
A session that holds the file returns most of its rules. A session with no file returns almost none. So the probe is reliable for presence and useless for finer questions.
Causes of a real ABSENT
Read the instruction file to correct each of these:
- A subagent that did not get the project instructions.
- A session that started outside the repository root.
- A
claudeMdExcludespattern that matches too much. - A consumer repository where
basicly installhas not run.
A compaction is not a cause. Claude Code reads the project-root instruction file from disk again after /compact.
Trend file
Each run appends one line with the rate and the verdict to .basicly/usage/retention.jsonl. Compare runs with each other. Do not read one number as absolute. The score is lexical and misses a distant paraphrase, so the rate is a lower limit.
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.

