compass
Reviewed
at commit 867b81f
KOZMOS Compass: the single most useful hint under the prompt. In order: the 5-hour limit near its end with its reset, a context window near full, agents still…
0 upvotes
Log in to upvote or save- Made by
- KOZMOS
- Pinned commit
-
867b81f5651059bb0c22563c8b175475787c84ae - What we checked
-
Adds one short hint to the line under the prompt: 5-hour limit nearly used with its reset time, context almost full, subagents still working, uncommitted changes after edits, or a draft left waiting. After your first file edit it runs git status in your project every 10 seconds. It makes no network calls; it stores only whether it is on.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, command.run (/compass on|off), turn.start, turn.complete, tool.call and a ui.render hook for PromptHint. A 2 s ticker reads $.session.usage and $.agent.list; once an Edit, Write, NotebookEdit or MultiEdit call has succeeded it runs the fixed argv git status --porcelain=v2 --branch --show-stash through $.process.run in the session cwd every 10 s (timeout 5 s, errors swallowed) and counts changed files. The tool.call hook calls next and returns the result unchanged, only counting successful edit tools. The PromptHint render hook adds the chosen hint to the tail (terminal) or hint (other surfaces) props. $.store keeps the on/off flag. No network, no file writes, no model calls. The unresolved ../types import is the plugin's type declaration file; kz.ts and probe.ts are pure helpers shared with the other KOZMOS mods (probe.ts also holds argv constants for other mods that this one does not run). Plain git status in the opened project honours that repository's own git config. No npm dependencies.
- 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: yes
- Shows something on screen: yes
KOZMOS Compass: the single most useful hint under the prompt. In order: the 5-hour limit near its end with its reset, a context window near full, agents still working, uncommitted changes after edits, a draft left waiting; otherwise the engine's own hint. /compass toggles it.
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/compass/)