/charm-os:rdrfrom CharmOS
Three-step loop (recall, research, decide) that queries a local TurnState SQLite ledger for past session context, generates deep-research prompts, and scaffolds decision memos. Useful before strategic choices or when revisiting past decisions.
Ships in CharmOS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
RDR is a three-step loop backed by modules/rdr/rdr.py (Python 3 standard library only). It reads
the TurnState SQLite ledger that this plugin's Stop hook fills, so recall works on past sessions.
Run the script with the plugin root that Claude Code provides:
RDR="${CLAUDE_PLUGIN_ROOT}/modules/rdr/rdr.py"
Recall. See what past sessions already said about the question.
python3 "$RDR" recall "<question>"
Read the hits before doing anything else. If they already answer the question, say so and stop.
Research. Print a deep-research prompt with the recall hits injected as context, so the research covers only the gaps.
python3 "$RDR" research "<question>"
This only prints text. Give it to the user, or run it in a research tool only if the user asks.
Memo. Create a decision memo scaffold to fill with recall, research, options, risks and the decision.
python3 "$RDR" memo "<topic>"
It writes a new file under CHARMOS_MEMO_DIR (default ./decisions) and never overwrites an
existing memo. Tell the user the path it printed.
| variable | default | meaning |
|---|---|---|
CHARMOS_TURNSTATE_DB | ~/.charmos/turnstate/turnstate.db | ledger to recall from |
CHARMOS_NOTES_DIR | unset | extra folder of .md/.txt notes searched by recall |
CHARMOS_MEMO_DIR | ./decisions | where memo writes |
CHARMOS_TURNSTATE_DB path. Say which one you checked.recall reads every .md/.txt file under CHARMOS_NOTES_DIR recursively; point it only at a
folder the user intends.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub tonydzi/charm-os --plugin charm-os