mastermind-change-impact

mastermind-change-impact is a skill for Codex from xcrft/mastermind. It costs 61 tokens per session (470 once invoked), scanned A, original, MIT.

A change-impact analysis guide for tracing how modified code may affect callers, components, APIs, and other consumers.

In plain words
What is it for?
Use it before editing, while planning work, or during pull-request review to identify changed symbols, downstream users, boundary crossings, and public-surface risks.
Why use it?
It replaces guessed or text-search-based impact lists with evidence tied to a chosen Git baseline and the repository’s code graph.

Skill for Codex

Written for Codex: agents/openai.yaml present.

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-change-impact
Any agent
npx skills add xcrft/mastermind --skill mastermind-change-impact
Clone the repo
git clone --depth 1 https://github.com/xcrft/mastermind

Made for: 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-change-impact

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-change-impact.svg)](https://agentmods.dev/skills/xcrft/mastermind/mastermind-change-impact)
Your own site
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-change-impact"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-change-impact.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 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.1 $0.00061 $0.00470
Opus 5 $0.00030 $0.00235
Sonnet 5 $0.00012 $0.00094
Haiku 4.5 $0.00006 $0.00047

Measured 6d ago against content hash 45d0f3941565, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mastermind-change-impact 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 6d 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-change-impact/SKILL.md · 50 lines

What it actually says

Mastermind Change Impact

Base the brief on the deterministic change-impact response, not a grep-derived caller list.

Workflow

  1. Select an explicit trusted baseline such as the merge base or target branch. Do not silently substitute HEAD~1.

  2. Run mastermind status as a read-only preflight. Ensure the current working tree is indexed when local changes are in scope. If the backend returns index_stale, stop unless the request authorizes mastermind index .; do not downgrade confidence and continue with a partial graph.

  3. Run:

    mastermind impact --since REF --format json --depth 3 --top 100
    

    Use mmcg_change_impact through MCP when appropriate.

  4. Verify full baseline/head object IDs and whether worktree/untracked files are included. Check every limit and precision note before ranking risk.

  5. Report changed symbols, direct then transitive consumers, component/API crossings, and public-surface implications. Attach each conclusion to the response's changed-symbol seeds and repository-relative evidence.

Confidence rules

Downgrade confidence when names collide, edge precision is weak, the index is stale, a work limit skipped expansion, or dynamic/reflection boundaries are likely. Removed symbols can still have old-side evidence; do not require them to exist in the live index.

Do not convert syntactic impact into a semantic guarantee. Do not say an unlisted consumer is safe. If the backend is unavailable, report the missing capability rather than inventing an impact graph.

For a blocked result, state the trusted baseline, the stable failure code, the required remediation, and that affected symbols/components/consumers are unknown until a fresh deterministic response exists.

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. 6d ago First seen · 50 lines · 61 tokens per session scan A 45d0f3941565

Subscribe to this mod's changes

mastermind-change-impact is a skill published in the GitHub repository xcrft/mastermind (11 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 470 once invoked, about $0.0003 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

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

toon

Token-Oriented Object Notation is a compact, human-readable encoding of the JSON data model that minimizes tokens and makes structure easy for models to follow. It's intended for LLM input as a drop-in, lossless representation of your existing JSON.

butttons/dora · 51 tokens