m1nd-operator

m1nd-operator is a skill for Claude Code, Codex from maxkle1nz/m1nd. It costs 111 tokens per session (16,554 once invoked), scanned A, original, MIT.

A repository-investigation workflow built around m1nd, a tool for connecting code, documents, and related context.

In plain words
What is it for?
Use it for codebase investigation, reviews, documentation and specification work, risky-change preparation, and linking documents to code.
Why use it?
It helps locate relevant information and understand how a change may affect the wider project before manual searching or editing.

Skill for Claude CodeCodex

Written for Claude Code and Codex: SubagentStop hook event, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/mcp_agent_smoke.py --repo . --handshake-only --json.

Good fit Use it for codebase investigation, reviews, documentation and specification work, risky-change preparation, and linking documents to code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/maxkle1nz/m1nd
agentmods
npx agentmods add skills/maxkle1nz/m1nd/m1nd-operator

Made for: Claude Code, Codex.

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 m1nd-operator

README.md
[![agentmods](https://agentmods.dev/badge/skills/maxkle1nz/m1nd/m1nd-operator.svg)](https://agentmods.dev/skills/maxkle1nz/m1nd/m1nd-operator)
Your own site
<a href="https://agentmods.dev/skills/maxkle1nz/m1nd/m1nd-operator"><img src="https://agentmods.dev/badge/skills/maxkle1nz/m1nd/m1nd-operator.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 514
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 285
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Data Exfiltration · line 949
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00111 $0.16554
Opus 5 $0.00056 $0.08277
Sonnet 5 $0.00022 $0.03311
Haiku 4.5 $0.00011 $0.01655

Measured 8d ago against content hash 8360cdd21bf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

m1nd-operator scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/probe_m1nd.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:1338/mcp \
skills/m1nd-operator/SKILL.md · 1,036 lines

How it starts

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

m1nd Operator

This is the deep execution manual that complements the short m1nd-first doctrine.

Use this skill when m1nd should be the first layer of truth for the task.

m1nd is strongest when structure, connected context, blast radius, continuity, docs/code bindings, or multi-agent coordination are the bottleneck. It is not the replacement for rg, the compiler, runtime logs, or the test runner.

Default Stance

Default to m1nd before grep, glob, or manual file reads.

The first question is not "which shell command should I run?" It is "can m1nd answer or narrow this directly from graph structure, connected context, docs, or cross-domain bindings?"

Only skip the m1nd first pass when:

  • the user already gave the exact file and exact lines
  • the question is pure compiler/test/runtime truth
  • the task is a trivial local file action with no search or structural uncertainty

Trust-first is calibrated-first, not blind-first. Default to m1nd, AND hold its honest ruler in the same hand: it narrows and connects, never replaces the compiler/tests/runtime; and it still has live stumbles measured in the field — federated seek/federate can hang past 60s (bound-timeout it or fall back), a freshly-memorized claim can lag its own semantic recall for a tick (the write is durable — re-seek or widen, don't conclude absence), and the runner naming lane can fall back to heuristics under load. In each case WORK AROUND + one field-report line; never blind insistence. The reason to still go first: the calibrated absence (abstain/caller_root_mismatch/gathering) is itself the answer that most often changes the decision — the counterfactual test for attribution.

Trained Agent Loop

For unfamiliar repo work, audits, bug hunts, reviews, and risky changes, the measured high-signal pattern starts by never starting cold:

  1. Call north(task) FIRST, before reading or editing anything. It is the in-session front door. One round-trip returns binding trust (trust_mode; repair travels with it when degraded), task context (focus nodes + PageRank anchors), prior cross-session memory (each claim with real age + author — absent, never faked, when unknown), a sufficiency signal, one next_move, and honest_gaps (what m1nd does NOT know) — plus code, the real SOURCE of the top focus nodes (the symbol's own lines, or the file head when a node names no symbol) for up to 3 files inside a ~2,000-char budget, each slice declaring total_lines vs lines_returned and truncated. Read that payload instead of grepping or re-opening what north just named; widen the first call with code_budget_chars rather than paying a second round-trip, and pass code: false when you want orientation only. north composes trust_selftest + orient + boot_memory + focus + surgical_context/batch_view; reach for the pieces directly only when you need just one. 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[]. Generic cross-root ingest remains withdrawn (project_root absent from the published schema), and over the wire brain.bootstrap.birth answers every client with human_gesture_required. The way forward for a brainless repo is the human's one-time ceremony m1nd init --birth <repo>: offer that command and stop. Until the human runs it, continue only against the bound graph with the mismatch warning intact, or reconnect to an owner that already hosts the intended repo. Absent/null = your root matches the brain serving you. Reception governs WRITES too, not only reads: a read under mismatch is a warning, a WRITE under mismatch is prohibited (see Write-Mode Laws below) — and no public bootstrap lifts it. VERSION SKEW: this skill describes the CURRENT product; check binding.fingerprint.binary_version (and its binary_drift warning) in the same packet before trusting either era's rule. A legacy 1.4.x served owner still HAS the one-call bootstrap, and there ingest {project_root: <your repo root>} is the correct foreign-repo gesture — it mints a SEPARATE per-project brain, never replacing the bound one. A plain ingest {path} from a foreign root is wrong in EVERY era: on a legacy owner it wholesale-REPLACES the bound brain (2026-07-24 incident — a 29k-node brain swapped for a foreign graph, restored the same day).
  2. If north returns needs_ingest (empty/unbound graph), re-scan and call north again. needs_ingest is a REAL answer, not a failure. On a brain that already DECLARES your root, the repair is yours to run and needs no human: ingest {mode:"refresh", path: <your root>} from exactly that root (Law 3 below). On a root no brain declares, it is not a refresh — no agent mints a brain on any transport — and the honest move is to OFFER the human their one-time ceremony, m1nd init --birth <repo>, and stop (or reconnect to an owner that already hosts the repo). A plain ingest {path} (mode replace) remains refused, and its refusal now names that same command.
  3. Act on verdicts, do not override them (see below).
  4. Prove final truth with direct source reads, tests, compiler/runtime output, and focused probes.
  5. Before edits/reviews, run impact, validate_plan, and usually surgical_context_v2.
  6. Record the investigation path: m1nd calls, recovery decisions, files inspected, commands run, and fallback reason.

Read the full file on GitHub · 1,036 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 1,036 lines · 111 tokens per session scan A 8360cdd21bf7

Subscribe to this mod's changes

m1nd-operator is a skill published in the GitHub repository maxkle1nz/m1nd (22 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 16,554 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.