maxkle1nz/m1nd/m1nd-first
Claude Code and agent skill by maxkle1nz/m1nd
- community
Checking that the SKILL.md file is still in the repository.
Use when investigating a repository, searching for implementation, reviewing changes, working from specs/docs, or preparing a risky code change in an environment where m1nd is available. This doctrine makes m1nd the first investigative layer before grep, glob, or manual file reads, except when the task is pure compiler/runtime truth or the exact file and lines are already known.
Install
npx vskill@latest install maxkle1nz/m1nd/m1nd-firstSKILL.md
The same SKILL.md was published earlier as maxkle1nz/m1nd/m1nd-first.
m1nd-first
This is a doctrine, not a manual.
Published 1.6.5 startup boundary
With a matching 1.6.5 wrapper/native runtime, agent first-minute --repo <repo> can prepare only the exact launcher-granted repository in an external private cache when no covering owner is found. Source files remain inputs. Only when reusing the automatic isolated cache does the CLI refresh the declared root before retrieval. Attached-owner freshness follows the owner's own semantics; inspect its version, binding, and freshness separately. Direct stdio also requires that explicit workspace grant and an existing safe external runtime. See agent autonomy. The human-birth guidance below applies to shared-brain and legacy launchers outside that contract, or the recovery actually returned by the installed runtime. A prompt, tool path, or reception mismatch never grants bootstrap authority; generic replace/merge and the human-only ceremony remain unavailable to agents.
Rules
- Start with
m1nd. In an MCP session, the front door is one call:north(task)— it
composes trust, task context, prior cross-session memory, a sufficiency signal, one next_move, and honest_gaps into a single packet before you read or edit anything. If it returns needs_ingest (empty/unbound graph), do not call generic ingest: that mutation surface is policy-disabled. Say the door out loud instead — a repo with no brain gets one from the HUMAN's one-time ceremony, m1nd init --birth <repo>: offer that command and stop, then re-north only after the human has run it. Meanwhile use the isolated m1nd agent ... --repo CLI path for investigation, or the exact authority flow plus external_mutation_service for a governed existing-brain mutation.
- Before
rg, shell globbing, or manual file reads,m1ndanswers or narrows FIRST — that is the default, not a question you ask only when convenient. The one exception is the Skip Conditions below (exact file+lines already known, or pure compiler/runtime truth); everything else earns anorth/seek/impactpass first. - Prefer the cheapest
m1ndsurface that preserves truth: - exact text ->
search - path pattern ->
glob - known purpose, unknown location ->
seek - topic, subsystem, or connected neighborhood ->
activate - unfamiliar repo orientation ->
north(panoramicwhen you only want module-level risk) - stacktrace or runtime error text ->
trace - For docs/specs/knowledge, do not advertise generic ingest adapters while the
mutation route is policy-disabled. Read the supplied artifacts directly or use an owner-internal indexing path; label graph ingestion NOT_AVAILABLE unless an exact typed consumer and authority receipt are present.
- Before risky edits or change reviews, pass through
impact,validate_plan, and usuallysurgical_context_v2. - Keep
agent_idstable across one investigation unless intentionally splitting roles.
Trust-First Stance
Trust m1nd as the first layer because reading structure first catches what surface reads miss — proven repeatedly: graph-grounded confrontations reversed designs before a line was written (a watcher mis-aimed at documents, a "sacred" law that was 80% doctrine, a spec verb that did not exist), each with the exact file:line. The trust is CALIBRATED, not blind, and that is WHY it comes first: a calibrated absence — caller_root_mismatch, abstain, gathering, insufficient_evidence — is the high-value answer that stops you editing the wrong repo, not a failure to route around. The counterfactual attribution law (below, in The m1nd Voice) is the same discipline pointed at credit: name m1nd's help only when, without it, you would have decided worse. And the ruler that keeps trust honest: m1nd narrows and connects — the compiler, tests, and runtime still decide truth; when a verb hangs (federated seek/federate can exceed 60s), when freshly-memorized claims lag semantic recall, or when a runner-named scan falls back to heuristics, WORK AROUND and file one field-report line — never insist blindly, never conclude "m1nd is broken".
Trained Agent Loop
For unfamiliar repo work, audits, bug hunts, reviews, and risky changes, use this loop by default:
- Orient in one round-trip:
north(task). The default answer is lean: a
one-word state (sufficient means stop gathering) and one path:lines symbol line per focus node — open those spans. detail: true returns the full packet: binding trust, task context (focus nodes + PageRank anchors), prior cross-session memory (each claim with its real age + author), a sufficiency signal, one next_move, and honest_gaps (what m1nd does NOT yet know); an abnormal answer (mismatch, needs_ingest, degraded trust, graph_drift) returns it without being asked. If it returns needs_ingest, do not call generic ingest; OFFER the human m1nd init --birth <repo> (the one-time ceremony that mints a brain and ingests it for real) and stop, or use the isolated CLI investigation path / the exact typed authority consumer for an existing brain. needs_ingest is a real answer, not a failure. north composes trust_selftest + orient + boot_memory + focus + surgical_context/view; reach for the pieces directly only when you need just one. With `detail: true` (or `code: true`) the packet carries `code` — the real source of its top focus nodes (always a symbol's own lines, never a file head), up to 3 files inside a ~2,000-char budget. Read it instead of going out to grep or re-open what north just named; each slice declares total_lines vs lines_returned and truncated, so widen the FIRST call with code_budget_chars rather than paying a second round-trip. Heed reception: reception.match == "caller_root_mismatch" means the bound graph does NOT cover your current repo — do not trust retrieval for it; read reception.options[]. Under that mismatch north answers FAST and marks the packet proof_state: "reception_mismatch" with context: null: it returns the reception and the human-voice card WITHOUT orienting over a graph that is not yours (a mismatch is a millisecond answer, not a spread-activation). Heed graph_drift too: it is present only when the graph was built at another commit than your checkout (indexed, head, behind, files_changed), and its refresh field is the exact ingest call that brings the graph to HEAD. Until it runs, read line numbers as of indexed; verify against local files. Absent means the graph is at your HEAD (or no commit was recorded). Generic cross-root ingest remains withdrawn: never add project_root or allow_overlap, and never treat the internal owner bootstrap as an executable repair. A brainless repo now has ONE real path — the human-only ceremony m1nd init --birth <repo>: offer the command and stop. Over the wire the birth verb answers human_gesture_required with this same path; writes into a brainless root still refuse brain_bootstrap_consumer_not_installed. Until the human answers, connect to an owner that already hosts the intended brain or continue only with explicit mismatch caveats. Reception governs WRITES, not just reads: a read under mismatch is a warning, but a WRITE under mismatch is PROHIBITED by doctrine — any write verb (memorize, skeleton_candidate, candidate_edit, system_blocks_*, mission_post) would land in the WRONG brain. That is exactly how a foreign skeleton once overwrote a bound brain. Do not write from that session. Absent/null reception = your root matches the brain serving you. An empty memory beat is NOT proof of an empty store: the packet carries memory_exists: N (the on-disk claim count) plus an honest note when recall found no task-relevant match over a non-empty store — never conclude "no memory" without checking the stamp; widen the task text or seek the store directly instead.
- If trust is degraded or retrieval comes back
blocked/empty unexpectedly,
drop to the recovery path: follow recovery_playbook before interpreting absence. wrong_workspace_binding means rebind, intentional ingest, or real federation; it is not stale graph proof.
- Follow the
next_move, or route focused questions through
search/seek/activate. Obey the evidence verdict — do not override it:
- current source treats every v1 calibration row as
legacy_evidence_unqualified: prediction returns abstain, and the seek trust envelope stays at reverify or unprovable. Scores and rankings remain available for inspection. calibrate_predict and calibrate_envelope are diagnostic handlers; running them does not enable act. abstain is a STOP, not a weak yes.
whycarries a `closure` verdict —blockedmeans the path rests on an
unresolved (guessed/dropped) edge; verify that edge before relying on it.
seekcarries a `trust_envelope` + a sufficiency stop-signal —
sufficient means stop gathering; gathering/saturated mean widen.
seekrows are lean by default: file, line span,symbols, score.
detail: true adds each row's diagnostics (connections, heuristic_signals, score_breakdown) without changing ids, order, or scores — ask for it only to inspect a ranking.
- `trust_band: insufficient_evidence` means NO evidence, not medium risk —
the honest cold-start answer.
- Read the compact runtime envelope on retrieval responses. Empty results are
not final truth until workspace, graph identity, and recovery state are coherent.
- Verify with direct source, tests, compiler/runtime output, and focused
probes. m1nd narrows and connects; execution truth still comes from the repo.
- Before edits or reviews, run
impact,validate_plan, and usually
surgical_context_v2. Ask impact about a function, never a whole file: causal_chains comes capped at the strongest 20 (causal_chains_truncated says when; raise it with max_causal_chains). impact also carries co_change: files that historically changed together. In tests it did not beat "most-changed files", so it is a hint, not evidence — never a done-check.
- Close warmer than you found it:
memorizeevery durable finding (with
confidence and repo-relative evidence paths) so the next session starts ahead. Generic learn stays authority-blocked; its internal correct/wrong feedback changes relevance weights only, never defect history, observed co-change, or automatic antibodies. partial refuses without mutation; strength must be finite/nonnegative and zero is a no-op. When m1nd itself misbehaves, leave one JSON line in ~/.m1nd/field-reports.jsonl (local-only; never fix m1nd mid-mission — report). A memory-delivery fault is class:"memory_misdelivery". Letters distribute LOCALLY into per-project boxes (<repo>/.m1nd/inbox.jsonl) + a medulla box; triage is m1nd-mcp --inbox-sweep / GET /api/inbox_sweep (CLI/REST, not MCP).
- Near a PR or merge, price the handoff:
soul_checkverifies a repo's soul
(docs/PATHOS.md) claim-by-claim and returns a one-line freshness receipt ("N fresh · M stale · declared intact, checked <date> @<sha>") — the line a cold context reads to know how much to trust the handoff; soul_read pulls the verified body. Details under Compounding Memory below.
This is the m1nd-trained behavior measured in internal bug-hunt rounds: graph plus operating doctrine, not graph alone.
The menu is a core, not the surface
tools/list advertises about fifteen verbs by default — the owner-ratified core plus the host-binding floor — while 140+ are registered:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/m1nd-first/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/maxkle1nz/m1nd/m1nd-first)