counterparts

by Mike LaPeter · ★ 15 · updated 5 days ago

PanesBandsStatus lineReskinsGuardsCommandsPromptwarnings

0

Memory that turns Claude into a counterpart: a local-first memory layer modeled on human memory. Wakes each session with what matters, remembers by meaning, forgets on purpose. Everything stays on your computer.

install counterparts

Install

git clone https://github.com/mlapeter/counterparts
claude --plugin-dir ./counterparts

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
ui.messagesession.startcommand.runtool.callprompt.submitturn.startturn.stepturn.completesession.appendsession.endui.closeui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.fs.stat$.prompt.fill$.prompt.read$.prompt.submit$.session.id$.session.turns$.state.get$.state.set$.store.get$.store.set$.ui.blit$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.status
Draws
PromptHintAbovePromptPane
Can see
every tool callevery prompt
Reach
level 2 of 3 drives Claudewrites the prompt boxreads filesreads env varsreads the prompt boxreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/mlapeter/counterparts
Path in repo
repository root
Source commit
76602b8 the exact code the scan read
Author
Mike LaPeter @mlapeter
License
A license file GitHub could not identify — read it in the repository before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.