mastermind-project-history

mastermind-project-history is a skill for Codex from xcrft/mastermind. It costs 79 tokens per session (1,611 once invoked), scanned A, original, MIT.

A project-history lookup workflow for decisions, failed approaches, audits, reports, lessons, and release notes stored in specific Markdown files. It weighs whether a decision is active or superseded and checks it against current code when needed.

In plain words
What is it for?
Use it when asking why a feature was designed a certain way, whether an approach was already tried, what decision replaced it, or what earlier evidence should inform new work.
Why use it?
It helps recover why a design exists without treating search ranking or an old note as proof. This reduces the risk of repeating rejected approaches or following outdated guidance.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when asking why a feature was designed a certain way, whether an approach was already tried, what decision replaced it, or what earlier evidence should inform new work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xcrft/mastermind/mastermind-project-history
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.

Any agent
npx skills add xcrft/mastermind --skill mastermind-project-history
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-project-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-project-history/github.svg)](https://agentmods.dev/skills/xcrft/mastermind/mastermind-project-history)
Your own site
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-project-history"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-project-history/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 mastermind-project-history

Your own site · 80×15
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-project-history"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-project-history.svg" alt="Reviewed on agentmods" width="80" 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 1,611 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00079 $0.01611
Opus 5.5 $0.00032 $0.00644
Sonnet 5.5 $0.00016 $0.00322
Haiku 4.5 $0.00008 $0.00161

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

Security

Grade A, and why

mastermind-project-history 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/document_graph.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.

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-project-history/SKILL.md · 154 lines

How it starts

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

Mastermind Project History

Recover decision context without inventing institutional memory. Markdown artifacts are authoritative; mmcg_history is a rebuildable retrieval index.

Sources

The history corpus admits only:

  • CONTEXT.md
  • root-level CONTEXT-archive-*.md
  • .mastermind/tasks/<task>/spec.md
  • .mastermind/tasks/<task>/executor-report.md
  • .mastermind/tasks/<task>/audit.md
  • .mastermind/releases/<name>.md
  • legacy .mastermind/tasks/<task>/release-notes.md
  • .mastermind/tasks/_lessons.md
  • Markdown files, including nested directories, under docs/adr/, docs/adrs/, docs/decisions/, adr/, adrs/, or .mastermind/decisions/ (kind: architecture_decision)

Arbitrary scratch files are not history. Git history and current runtime code may contradict or supersede a record, so inspect them when the answer is load-bearing.

Workflow

  1. Query mmcg_history with the narrowest useful terms and optional kind. If the caller supplies a saved document graph, pass its path as document_graph so the history retrieval and live graph check share one response without importing the graph into SQLite. Read freshness_error before interpreting an empty result: unknown means the live corpus was not checked, while incomplete means a known admission or work limit omitted evidence. Resolve the reported root or scan error before treating absence as evidence.
  2. Read the returned Markdown around each relevant match. Search rank is not confidence, and co-occurrence is not causality.
  3. Resolve explicit status and supersession links. An accepted or active record can constrain the plan; a proposed record remains a proposal. Follow Supersedes links in both directions and inspect the replacement's status. A newer date or filename alone does not replace an accepted decision. If status is absent or records conflict, say so. A lesson with status candidate is an audit signal awaiting semantic review, not active guidance and not proof of a reusable root cause.
  4. Preserve negative history: a relevant rejected alternative, failed attempt, audit defect, or gotcha must constrain the new plan unless new evidence directly addresses its failure mode.
  5. Verify technical claims against current code, tests, or runtime evidence. Provenance answers "where did this claim come from?"; it does not answer "is this claim true?" User approval proves authorization, not correctness.
  6. If evidence is thin for a security, runtime-boundary, migration, money, idempotency, or compatibility conclusion, return insufficient evidence and name the missing proof.

Read the full file on GitHub · 154 lines

Files

What ships with it

3 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. 1mo ago Changed · +4 lines 88c7c8c8ee08
  2. 1mo ago Changed · +31 lines f6295cd288a1
  3. 1mo ago Changed · +29 lines · +12 tokens per session 5caa8f746ba0
  4. 1mo ago First seen · 90 lines · 67 tokens per session scan A 8468497fb5fe

Subscribe to this mod's changes

mastermind-project-history is a skill published in the GitHub repository xcrft/mastermind (13 stars, last pushed yesterday), licensed MIT. It adds 79 tokens to every session and 1,611 once invoked, about $0.0003 per session on Opus 5.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

mempalace-task

Create, hand off, claim, execute, and close agent tasks through the MemPalace logstream. Use when the user wants to delegate work, prepare a ready-to-paste task for another agent, receive a MemPalace task id, or explicitly launch a supported headless agent in controlled mode.

MemPalace/mempalace · 67 tokens

knowledge-meeting-ingest

Ingest meeting transcripts from any recorder into Knowledge with attendee enrichment, timeline merge, supported decisions and commitments, and verification of substance and sequence. Summary-only input is not a verified meeting ingestion.

openclaw/openclaw · 44 tokens

knowledge-automation

Create scheduled Knowledge ingestion automations with a verified worker, private-vault authority, and an end-to-end scheduled run. Use when asked to schedule or repair recurring ingestion from any source.

openclaw/openclaw · 41 tokens

knowledge-base

Create and maintain a Markdown knowledge base that any AI agent can read, search, and update. Use when the user wants to start a knowledge base, add or update notes, organize docs/notes for an agent or LLM to consume, build an index of notes, or run a cleanup/maintenance pass on an existing MD knowledge base. Triggers…

wonderwhy-er/DesktopCommanderMCP · 112 tokens

obsidian-vault

Organize Obsidian vaults with MOCs, wikilinks, frontmatter/properties, dashboards, orphan-note checks, and cleanup workflows. Use ONLY when the user explicitly refers to Obsidian — by naming "Obsidian", an Obsidian "vault", or an Obsidian-specific feature such as wikilinks ("[[ ]]"), the Dataview or Bases plugins, or…

wonderwhy-er/DesktopCommanderMCP · 171 tokens

neat-freak

Knowledge and governance closeout: reconcile project docs, rule files (CLAUDE.md/AGENTS.md), authorized agent memory, and workspace residue with what the code and runtime actually do, so the next session or the next person starts from one current answer. Trigger when the user names "neat-freak", "洁癖", or "/neat" — and…

KKKKhazix/khazix-skills · 202 tokens