mastermind-audit-attestation

mastermind-audit-attestation is a skill for Codex from xcrft/mastermind. It costs 66 tokens per session (545 once invoked), scanned A, original, MIT.

A guide for creating and checking signed audit records and GitHub attestations, which are verifiable statements about a repository and its changes.

In plain words
What is it for?
Use it to generate or verify audit bundles, check repository and Git revision claims, work with Ed25519 signatures, and explain integrity, provenance, and policy results.
Why use it?
It helps distinguish whether an audit was altered, who authenticated it, and whether it meets the verifier’s repository and revision rules.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to generate or verify audit bundles, check repository and Git…

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-audit-attestation.svg)](https://agentmods.dev/skills/xcrft/mastermind/mastermind-audit-attestation)
Your own site
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-audit-attestation"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-audit-attestation.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 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.
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.00066 $0.00545
Opus 5 $0.00033 $0.00272
Sonnet 5 $0.00013 $0.00109
Haiku 4.5 $0.00007 $0.00055

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

Security

Grade A, and why

mastermind-audit-attestation 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 7d 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-audit-attestation/SKILL.md · 69 lines

How it starts

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

Mastermind Audit Attestation

Always keep three questions separate: is the content internally intact, who or what authenticated it, and does the verifier's policy accept those claims?

Generate

Create a sealed bundle from an actual spec audit, using an explicit baseline and repository-relative output path:

mastermind audit-spec SPEC --since REF \
  --executor-report REPORT --bundle audit-bundle.json

Generation is not verification. Record the resolved repository, full baseline and HEAD OIDs, clean-worktree expectation, and bundle path so verification can use independently trusted values.

Verify

Run with independently trusted expectations:

mastermind audit verify BUNDLE \
  --expected-repository OWNER/REPO \
  --expected-baseline FULL_OID \
  --expected-head FULL_OID \
  --root . --json

When a detached signature is required, add both --signature and --public-key plus --require-signature. Treat a present but invalid signature as failure; never ignore it.

Explain content_integrity, provenance_authenticity, and policy_acceptance independently. An unsigned hash is tamper-evident only relative to trusted expected inputs; it does not prove authorship. A valid key signature proves control of that key, not identity outside key policy. A GitHub attestation proves only the issuer/workflow/repository/ref accepted by the verification policy.

Sign and CI

Sign only when the user explicitly requests it and the private key has safe permissions:

mastermind audit sign BUNDLE --private-key KEY --signature OUT.json

Never display or copy a private key into the repository. For GitHub Actions, require full commit pins, exact head/repository checks, no secrets or OIDC in the PR analysis job, and no PR checkout/execution in privileged workflow_run jobs. Treat downloaded artifacts as hostile until digest, workflow identity, and envelope policy are verified.

Never call an artifact tamper-proof. Report key rotation, revocation, verifier time, or GitHub-plan limitations when they affect acceptance.

Read the full file on GitHub · 69 lines

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. 7d ago First seen · 69 lines · 66 tokens per session scan A 3a7275f39141

Subscribe to this mod's changes

mastermind-audit-attestation is a skill published in the GitHub repository xcrft/mastermind (11 stars, last pushed 6d ago), licensed MIT. It adds 66 tokens to every session and 545 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.