homie-persona-cognition
Reviewed
at commit cc820e6
Host-bound cognitive lifecycle events for The Homie.
0 upvotes
Log in to upvote or save- Made by
- TheSmokeDev
- Pinned commit
-
cc820e6e19ee41ad515456e856468dff51260073 - What we checked
-
Does nothing unless two environment variables name a Python program and a script. If they are set, it tells that program when a session starts, a prompt is sent, a turn ends and after each tool call, passing the first 12,000 characters of each tool result, and adds any text the program returns to your prompt as context.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, tool.call, turn.complete and prompt.submit. Reads HOMIE_COGNITION_HOOK_PYTHON and HOMIE_COGNITION_HOOK_COMMAND with $.env.get and runs them with $.process.run (8 s timeout), sending a JSON event on stdin. The tool.call handler runs after the tool finishes, skips tools starting with mcp__homie, passes tool name and the result truncated to 12,000 characters, and ignores failures. The prompt.submit handler sends only an event id, not the prompt text, and appends the program's stdout context string to the prompt. The program that is run is whatever the environment names and is not part of the mod. No network calls in the mod itself.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: no
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/homie-persona-cognition/)