A
afaraha8403/mental
Local-first continuity for coding agents
View on GitHub ↗Link checked 2026-11-12 · automated check blocked (HTTP 429), status unconfirmed
Official descriptionLocal-first continuity for coding agents. Resume, decisions, and residue git cannot see — CLI, MCP, and Agent Skills for Cursor, Claude Code, and Copilot.
Install & config
Install command from the repository
npm i -g @balacode/mental
Parsed from the README we fetched on 2026-10-29; we have not executed it.
This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
- Star count
- 5 ★ · afaraha8403/mental · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-10-29 · last seen 2026-11-14 · seen 17× · listed by 1 sources
- Score
- score 103 · 5 ★ · 1 sources · repo
- Install
npm i -g @balacode/mental
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npm i -g @balacode/mental. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
afaraha8403/mental;first catalogued 2026-10-29;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.Mental CLI
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
I type mental
Never reconstruct where you left off.
Local-first continuity for you and your coding agents.
CLI · MCP · Agent Skills — Cursor, Claude Code, Copilot, Codex, OpenCode.
Quick start ·
Docs ·
Research ·
Skill ·
FAQ
Git records what changed. Mental CLI records the rest: the resume, the decision git cannot explain, and what’s still in the air. Your agents write it for you. You type mental when you want the pulse.
text
$ mental
🧠 Ship the pointer, not the dump — open loops: none
Against PLAN.md
Now Resolver landed (today)
Git main (dirty)
feat: UUID bindings survive a repo move
Hops 2
Needs eyes
[verify] Resolver tests not reviewed
In the air
[direction] Tom said ship the pointer
Later
[thread] Come back to MCP
Unsettled
[open] Heartbeat only, no standing TUI
Settled
UUID bindings survive a repo move
One shot. Then exit. Not a menu. Not a todo app. Optional mental dashboard opens a localhost page over the same files.
## Quick start
PowerShell, cmd.exe, Windows Terminal, Git Bash, macOS, and Linux:
text
npm i -g @balacode/mental
mental install
mental doctor
Then cd your-repo and type mental. npm owns the executable on every
platform; mental install copies the agent skill/rule and creates the local data
skeleton. Strict PowerShell policy: use npm.cmd / mental.cmd.
Upgrading from Mental 0.8.1 or older on Windows? Run mental-repair.cmd once
after npm i -g; it quarantines only fingerprinted Mental-owned launchers that
can shadow npm. Journals stay. Upgrade.
After install, agents journal, decide, and record residue while you work. You do not keep a second journal.
The unscoped npm package mental is a different project. Install @balacode/mental. The binary is mental.
### Paste this into your agent
Works in Cursor, Claude Code, Copilot, Codex, and anything that can install a plugin or run a shell:
text
Install Mental CLI with npm. Do not clone the GitHub repo to install. Do not install from a git clone or plugin cache. Never run a .mjs file — Windows will ask what to open it with.
Fresh install (PowerShell, cmd, Windows Terminal, Git Bash, macOS, Linux):
npm i -g @balacode/mental
mental install
mental doctor
Existing Windows install from Mental 0.8.1 or older (one-time migration):
npm i -g @balacode/mental
mental-repair.cmd
mental install
mental doctor
(If PowerShell blocks scripts, use npm.cmd and mental.cmd explicitly.)
Mental CLI is a local-first continuity layer. Git records what changed; Mental records where we left off, why a decision was made, and what is still in the air. After install, you write it on my behalf — I do not journal by hand.
The repo is an Agent Plugins 1.0.0 package (https://agent-plugins.org/specification): plugin.json at the repo root, skills-only. Hosts load skills/mental-setup (install the CLI). The full procedure lives in skill/mental and is copied by mental install — not plugin-discovered. Native plugin does not start MCP. Do not start a plugin MCP server.
If this client has a native plugin install, use only that host's flow (do not run other hosts' /plugin, copilot plugin, or Command Palette steps from this session). npm owns the executable; mental install only refreshes the copied skill/rule/config. Run the fresh-install block, or the Windows migration block for an existing 0.8.1-or-older install.
Never reconstruct where you left off.
Local-first continuity for you and your coding agents.
CLI · MCP · Agent Skills — Cursor, Claude Code, Copilot, Codex, OpenCode.
Quick start ·
Docs ·
Research ·
Skill ·
FAQ
Git records what changed. Mental CLI records the rest: the resume, the decision git cannot explain, and what’s still in the air. Your agents write it for you. You type mental when you want the pulse.
text
$ mental
🧠 Ship the pointer, not the dump — open loops: none
Against PLAN.md
Now Resolver landed (today)
Git main (dirty)
feat: UUID bindings survive a repo move
Hops 2
Needs eyes
[verify] Resolver tests not reviewed
In the air
[direction] Tom said ship the pointer
Later
[thread] Come back to MCP
Unsettled
[open] Heartbeat only, no standing TUI
Settled
UUID bindings survive a repo move
One shot. Then exit. Not a menu. Not a todo app. Optional mental dashboard opens a localhost page over the same files.
## Quick start
PowerShell, cmd.exe, Windows Terminal, Git Bash, macOS, and Linux:
text
npm i -g @balacode/mental
mental install
mental doctor
Then cd your-repo and type mental. npm owns the executable on every
platform; mental install copies the agent skill/rule and creates the local data
skeleton. Strict PowerShell policy: use npm.cmd / mental.cmd.
Upgrading from Mental 0.8.1 or older on Windows? Run mental-repair.cmd once
after npm i -g; it quarantines only fingerprinted Mental-owned launchers that
can shadow npm. Journals stay. Upgrade.
After install, agents journal, decide, and record residue while you work. You do not keep a second journal.
The unscoped npm package mental is a different project. Install @balacode/mental. The binary is mental.
### Paste this into your agent
Works in Cursor, Claude Code, Copilot, Codex, and anything that can install a plugin or run a shell:
text
Install Mental CLI with npm. Do not clone the GitHub repo to install. Do not install from a git clone or plugin cache. Never run a .mjs file — Windows will ask what to open it with.
Fresh install (PowerShell, cmd, Windows Terminal, Git Bash, macOS, Linux):
npm i -g @balacode/mental
mental install
mental doctor
Existing Windows install from Mental 0.8.1 or older (one-time migration):
npm i -g @balacode/mental
mental-repair.cmd
mental install
mental doctor
(If PowerShell blocks scripts, use npm.cmd and mental.cmd explicitly.)
Mental CLI is a local-first continuity layer. Git records what changed; Mental records where we left off, why a decision was made, and what is still in the air. After install, you write it on my behalf — I do not journal by hand.
The repo is an Agent Plugins 1.0.0 package (https://agent-plugins.org/specification): plugin.json at the repo root, skills-only. Hosts load skills/mental-setup (install the CLI). The full procedure lives in skill/mental and is copied by mental install — not plugin-discovered. Native plugin does not start MCP. Do not start a plugin MCP server.
If this client has a native plugin install, use only that host's flow (do not run other hosts' /plugin, copilot plugin, or Command Palette steps from this session). npm owns the executable; mental install only refreshes the copied skill/rule/config. Run the fresh-install block, or the Windows migration block for an existing 0.8.1-or-older install.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/afaraha8403-mental/)
- Source
- github · https://github.com/afaraha8403/mental
- Browse by field
- Open source
- Traction
- 5 ★
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.