mastermind-cross-client-setup

mastermind-cross-client-setup is a skill for Claude Code, Codex from xcrft/mastermind. It costs 79 tokens per session (509 once invoked), scanned A, original, MIT.

A setup tool for installing the Mastermind workflow in coding clients such as Claude Code, Cursor, Codex, Continue, or a custom configuration.

In plain words
What is it for?
Use it to install, preview, update, inspect, or remove Mastermind workflow and MCP settings at the supported user or project scope.
Why use it?
It avoids hand-editing client settings and helps check what was installed before changing configuration.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xcrft/mastermind/mastermind-cross-client-setup
Any agent
npx skills add xcrft/mastermind --skill mastermind-cross-client-setup
Clone the repo
git clone --depth 1 https://github.com/xcrft/mastermind

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 mastermind-cross-client-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-cross-client-setup.svg)](https://agentmods.dev/skills/xcrft/mastermind/mastermind-cross-client-setup)
Your own site
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-cross-client-setup"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-cross-client-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00079 $0.00509
Opus 5 $0.00039 $0.00254
Sonnet 5 $0.00016 $0.00102
Haiku 4.5 $0.00008 $0.00051

Measured 3d ago against content hash b38b62316041, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mastermind-cross-client-setup 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 3d 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.

skills/workflow/mastermind-cross-client-setup/SKILL.md · 46 lines

What it actually says

Mastermind Cross-Client Setup

Use the built-in adapter. Do not hand-edit client configuration unless the adapter reports an unsupported case.

Workflow

  1. Separate the workflow bundle from MCP registration. For Claude or Codex workflow skills, use mastermind install --client CLIENT; use --client all for both. Claude also receives spawnable subagents. Verify installed ownership and SHA-256 content parity with mastermind doctor --workflow --client CLIENT.

  2. Resolve MCP client and scope from the request. Respect the capability matrix: Codex is user-scope only; Generic requires an explicit config path; Continue owns its standalone Mastermind YAML file.

  3. Run an MCP dry-run first:

    mastermind setup CLIENT --scope SCOPE --root . [--config PATH]
    
  4. Explain only the redacted action summary. Never print existing config, environment values, unknown fields, or subprocess output.

  5. If the user authorized installation/update/removal and the preview matches, repeat with --write. Add --remove only for removal.

  6. Use --force only after explicitly showing that a customized Mastermind entry will be backed up and replaced/removed. Never use force to imply write.

  7. Run mastermind doctor ROOT, using the same root passed to setup, and report structural config status separately from the trusted current-binary MCP handshake. On a new project without .mastermind/mmcg.db, explain that the config can be canonical while the overall doctor exits nonzero and skips the handshake; index the project before requiring an all-green doctor.

Preserve unrelated servers/settings. Stop on malformed/duplicate configs, symlinks, concurrent edits, unsupported scope, missing native CLI, or unsafe path resolution. Do not execute the command stored in client configuration.

Files

What ships with it

1 file 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. 3d ago First seen · 46 lines · 79 tokens per session scan A b38b62316041

Subscribe to this mod's changes

mastermind-cross-client-setup is a skill published in the GitHub repository xcrft/mastermind (11 stars, last pushed 9d ago), licensed MIT. It adds 79 tokens to every session and 509 once invoked, about $0.0004 per session on Opus 5. 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.

Related

Other skills, from other repositories

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

orchestrate

Tree-aware multi-agent GitHub-issue pool. Conductor manages task-tree from task-splitting-evaluation, executing depth-first per branch while parallelizing roots/orphans. Each worker agent owns its subtree lifecycle. Conductor tracks state (pending/started/in-progress/completed/halted) in GitHub +…

MercurieVV/ScalaSemantic · 101 tokens

bonsai-ninja

Use bonsai-ninja as compiler-backed structural evidence when mapping a codebase, finding symbols, tracing behavior, inspecting dataflow, debugging across files, reviewing change impact, exporting graph facts, or running SAST.

gromhacks/bonsai-ninja · 48 tokens

task-splitting-evaluation

Recursive pre-implementation GitHub task splitting and evaluation flow. Use when the user wants Claude agents to evaluate unhandled tasks, skip already-processed tasks, mark easy leaves with detailed executor-ready comments, split broad tasks into GitHub subtasks, and keep recursing until every leaf is well described…

MercurieVV/ScalaSemantic · 73 tokens

gh-task

Run a GitHub issue end-to-end in this repository using the committed isolated-worktree workflow. Use when the user invokes $gh-task, asks to run a GitHub task, or provides a GitHub issue number.

MercurieVV/ScalaSemantic · 47 tokens

stacklit-navigator

Use stacklit.json to navigate codebases without burning tokens on file exploration.

glincker/stacklit · 19 tokens