Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tonydzi Verifiedv0.5.3Apache-2.0In 1 marketplace
Recalls past Claude Code session context from a local SQLite ledger and scaffolds decision memos before strategic choices. A Stop hook records every turn's prompt, reply summary, files and shell commands on each response. Says nothing is sent over the network.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An open-source toolkit that keeps your notes, your contacts and your AI agents in one local place, and gives you a loop for making decisions: recall what you know, research the gaps, then decide.
Who it's for: founders, researchers and engineers who want a memory system they own and can repair themselves.
What you get: three small Python tools: a memory ledger, a decision-loop command (rdr), and a scorer that checks whether your agents broke safety rules.
git clone https://github.com/tonydzi/charm-os and cd charm-os/modules/eval-harness.python eval.py benchmarks/public-live-v0/fixture.jsonl.python ../rdr/rdr.py memo "my question".Done when: step 3 prints a table of safety checks, a line TOTAL FAILED CHECKS: 3 and, below it, the three failures it found (only self-verified - no independent verifier before commit). Seeing failures here is the success: the sample file is built to fail on purpose, to show the scorer catches it. Step 4 prints memo scaffolded -> ...decision-my-question.md and creates that file in ./decisions (inside the folder you are in).
Want an AI agent to do it for you? Paste this to Claude Code / Codex / Cursor: "Read the 'For AI agents' section of https://github.com/tonydzi/charm-os and set it up for me."
pip install step exists. Use python on Windows, python3 elsewhere.AGENTS.md first. Key rules: examples must stay fictional; do not weaken sanitize.py; do not add or remove scoring invariants without a human; do not change the expected score to make a failing run pass.As a Claude Code plugin (TurnState hook + rdr + agent-trace-eval), see docs/PLUGIN.md:
/plugin marketplace add tonydzi/charm-os
/plugin install charm-os@charm-os
git clone https://github.com/tonydzi/charm-os
cd charm-os
There is no package to install; each module under modules/ is run as a script.
All optional environment variables:
CHARMOS_TURNSTATE_DB (default ~/.charmos/turnstate/turnstate.db): ledger used by rdr recall and the turnstate hook.CHARMOS_NOTES_DIR (unset): extra folder of .md/.txt notes that rdr recall reads recursively. Ask the human before pointing it anywhere.CHARMOS_MEMO_DIR (default ./decisions): where rdr memo writes.CHARMOS_TRANSCRIPTS_GLOB (default ~/.claude/projects/*/*.jsonl): where turnstate backfill finds session transcripts.
The turnstate hook is registered as a Claude Code Stop hook; see modules/turnstate/README.md. Ask the human before editing their settings.json.cd modules/eval-harness
python eval.py benchmarks/public-live-v0/fixture.jsonl # prints a scorecard; exit code 3 (the number of failed checks)
python eval.py benchmarks/consensus-safety-v0/fixture.jsonl # 64 proposals, 317 events; exit code 42
python test_degrade_visibly.py # ends with OK, exit 0
The exit code of eval.py is the number of failed checks, and these two fixtures fail on purpose, so 3 and 42 are the expected results. Do not "fix" them. Turnstate test: cd modules/turnstate && python test_gap_backfill.py ends with OK (about 10 s). eval.py prints TOTAL FAILED CHECKS: N and then lists the failing proposals below it. A result of 0 on these fixtures, or a different number, means the scorer or the fixture was changed.
rdr is not exercised by the commands above. Check it separately, writing to a scratch folder so nothing is left behind:
CHARMOS_MEMO_DIR=/tmp/charm-memo python modules/rdr/rdr.py memo "verify" ; ls /tmp/charm-memo
PowerShell: $env:CHARMOS_MEMO_DIR="$env:TEMP\charm-memo"; python modules\rdr\rdr.py memo "verify"; dir $env:TEMP\charm-memo. Expected: memo scaffolded -> .../decision-verify.md; running it again prints memo: already exists, not overwriting. rdr recall "x" reads the turnstate ledger and prints nothing useful until one exists (~/.charmos/turnstate/turnstate.db), so an empty recall result is not a failure.
Delete the cloned folder. If you ran rdr memo, also delete the decisions/ folder it created (or the scratch folder from Verify), and ~/.charmos/ if turnstate was used (ask the human first).
sanitize.py; never invent real people's names.CHARMOS_NOTES_DIR and CHARMOS_MEMO_DIR only at folders the human named. rdr memo never overwrites an existing memo; keep it that way.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub tonydzi/charm-os --plugin charm-osPlugins from other owners that cover similar ground