index

index is a command for Claude Code from 404-not-found/mindlink. It costs 0 tokens per session (811 once invoked), scanned A, original, MIT.

A reference for the MindLink command-line tool, which keeps project memory in a .brain directory. It documents commands for setup, status, summaries, history, changes, health checks, and synchronization between sessions.

In plain words
What is it for?
Use it to initialize project memory, inspect session state, review history and changes, verify memory health, or watch for updates from other active sessions.
Why use it?
It helps an AI session recover project context and makes changes from other sessions visible. It also provides checks for whether the project's memory files are complete and current.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions Claude Code.

Good fit Use it to initialize project memory, inspect session state, review history and changes, verify memory health, or watch for updates from other active sessions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/404-not-found/mindlink/index
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/404-not-found/mindlink

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for index

README.md
[![agentmods](https://agentmods.dev/badge/commands/404-not-found/mindlink/index/github.svg)](https://agentmods.dev/commands/404-not-found/mindlink/index)
Your own site
<a href="https://agentmods.dev/commands/404-not-found/mindlink/index"><img src="https://agentmods.dev/badge/commands/404-not-found/mindlink/index/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for index

Your own site · 80×15
<a href="https://agentmods.dev/commands/404-not-found/mindlink/index"><img src="https://agentmods.dev/badge/commands/404-not-found/mindlink/index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00811
Opus 5.5 $0.00000 $0.00324
Sonnet 5.5 $0.00000 $0.00162
Haiku 4.5 $0.00000 $0.00081

Measured 1mo ago against content hash d70340b22b2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

index scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/index.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Full command reference for the MindLink CLI. Each command page includes synopsis, options, output examples, and error cases.


Commands

Commands are grouped by when and how you run them.

Run once — in your terminal, before first AI session

Command Description
init Set up .brain/ memory for the current project

Ask your AI to run — or run yourself in any terminal

Command Description
status Show last session summary and what's next
summary Full briefing — everything MindLink knows, in one view
log View full session history
diff Show what changed in .brain/ since the current session started
verify Health check — are memory files filled in and up to date?

Keep running in a background terminal tab (while sessions are active)

Command Description
sync Watch for changes from other sessions and surface them automatically

mindlink sync runs in watch mode by default — it stays alive and prints a notification whenever another session appends to .brain/SHARED.md. Use --once to check a single time and exit.

Launched automatically by Claude Code — not by hand

Command Description
mcp Start the MindLink MCP server (stdio transport for AI tool integration)

mindlink mcp is started automatically when Claude Code launches a session. It exposes 4 MCP tools (mindlink_read_memory, mindlink_write_memory, mindlink_session_update, mindlink_verify) for schema-validated memory reads and writes.

Run in your terminal between sessions — not via AI

These commands are interactive, change settings, or modify files. Keep human hands on them.

Command Description
clear Reset SESSION.md for a fresh session start (keeps memory and history)
reset Wipe all .brain/ memory back to blank templates
config Change agents, git tracking, or auto-sync after init

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 94 lines · 0 tokens per session scan A d70340b22b2f

Subscribe to this mod's changes

index is a command published in the GitHub repository 404-not-found/mindlink (10 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 811 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.