What is companion?
companion is a Claude Code mod by alvaris924 that your Claude Code companion: your last prompt in view, suggested next messages you pick with a click or a key, the right model for each task, notes and a queue for each project, and meters. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | alvaris924 |
| Repository | alvaris924/claude-companion |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (44/100) |
| Rank | #4,858 of 9,397 Claude Code mods; #846 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-16 |
| Hooks | 13 events |
| Sees | every prompt |
| Draws on | AbovePrompt, PromptHint, SessionMode, TurnDuration, Pane, AssistantMessage |
Is companion safe to install?
companion scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.prompt.submit | drives Claude |
$.prompt.suggest | writes the prompt box |
$.session.compact | drives Claude |
$.session.messages | reads the transcript |
$.session.model | |
$.session.root | |
$.session.surfaces | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.turn.abort | drives Claude |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.focus | draws interface |
$.ui.notify | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.selection | draws interface |
$.ui.toast | draws interface |
How do I install companion?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/alvaris924/claude-companion claude plugin validate ./claude-companion/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add alvaris924/claude-companion && claude plugin install companion@claude-companion
Or ask Claude to set it up
Paste this into Claude Code and it installs companion for you:
Install the "companion" Claude Code mod from https://github.com/alvaris924/claude-companion. Run claude plugin validate on it first and show me what it can access before you enable it.