MindAttic/MindAttic Agent Standard
Framework

MindAttic Agent Standard.

One rulebook for every AI coding agent in every repo.

MindAttic.Agency is the single source of the rules, commands, hooks and roles that Claude Code, OpenAI Codex, Kimi Code and Google Antigravity all follow, written once and rendered into each CLI's own format.

Active development PowerShell Python Markdown GitHub Actions Claude Code Codex Kimi Code Antigravity

What it is

Write the rule once. Every agent follows it.

Run more than one AI coding CLI across more than one repo and the instructions drift: a fix lands in one copy, a command exists for one tool and not another, and every repo grows its own slightly different workflow. Agency ends that by being the one place the workflow lives.

Commands are plain Markdown files in shared/abilities/. render-abilities.ps1 turns each one into a Claude Code slash command, a Codex skill, a Kimi skill and an Antigravity skill, so /commit, /quicksave, /allocate or /test behave the same whichever CLI you open. Hooks follow the same pattern: one Python or PowerShell script, wired into each CLI's own settings by install-hooks.ps1.

Where a mechanism genuinely has no equivalent on another CLI, the standard says so in writing instead of pretending. Claims about how Codex, Kimi or Antigravity behave are confirmed by running them, and the results live in a hook contract matrix alongside the rules.

Per-repo files shrink to thin pointers. A repo's AGENTS.md names the standard and adds only what is specific to that project, so a new repo gets every command and every guard rail on day one with no setup.

Who it's for

  • Developers running several AI CLIsKeep Claude Code, Codex, Kimi and Antigravity on the same commands and the same rules without maintaining four copies.
  • Teams with many repositoriesChange a rule in one place and have every repo and every agent pick it up, with a drift check that proves the copies match.
  • Anyone letting agents commit codeCommit and test gates stop agents from sweeping up each other's work, skipping the ticket, or burning hours on test runs nobody asked for.

Features

What you get

01

Write once, render everywhere

render-abilities.ps1 turns each ability in shared/abilities/ into a Claude command, a Codex skill, a Kimi skill and an Antigravity skill, plus a readable catalog Codex loads from AGENTS.md.

02

A full command set on day one

More than thirty shared commands, including /commit, /deploy, /publish, /allocate, /bughunt, /quicksave, /quickload, /test and /flush, available in every repo with no per-project copy.

03

Commit gate

Records which agent touched which file for which ticket, and refuses a commit that would carry another live agent's changes for a different ticket. A commit-msg hook refuses any commit whose subject lacks a real ticket ID.

04

Test gate

Blocks agents from launching test runners and soaks on their own. Tests run when the person asks with /test; the runner list is data, extendable per repo.

05

Portable handoffs

/quicksave stores the task, decisions and next steps under a short code like lively-oxen; /quickload <code> resumes it from any login's CLI in any folder.

06

Pace and context guards

Shared hooks read each login's usage window and context size so long-running agents slow down before they hit a hard limit instead of after.

07

Subagent roles

Ready-made role definitions such as architect, implementer, reviewer, planner, researcher, doc-writer and build-fixer, each with a narrow, stated job.

08

One deploy and launch menu

shared/deploy-lib.ps1 and a templated run.ps1 give every app the same Redeploy, Run Debug and Run Release menu, with per-repo differences kept in one override block.

09

Shared docs and brochure pipelines

Reusable GitHub Actions workflows publish each repo's docs site or marketing page to GitHub Pages from one generator and one theme, with a secret scan before anything goes out.

How it works

How the standard reaches every agent

  1. Write it once

    Rules go in AGENTS.md, commands in shared/abilities/*.md, guard rails in shared/hooks/.

  2. Render and install

    render-abilities.ps1 and install-hooks.ps1 place each piece in Claude Code, Codex, Kimi and Antigravity's own extension points.

  3. Point every repo at it

    install.ps1 writes thin pointer files into sibling repos, so each one inherits the full workflow.

  4. Check for drift

    sync-workspace-copy.ps1 -Check reports any file that differs between the source and the workspace copy.

Quick start

Install the pointers

From the workspace root, refresh the thin pointers for every sibling repository.

The full setup guide lives in the documentation.

powershell
> powershell -File mindattic-agent-standard/install.ps1

Part of MindAttic

One piece of a bigger workshop

Agency is the rulebook the rest of the MindAttic agent tooling runs on. MindAttic.Orchestrator hosts and paces the CLIs that read it, MindAttic.Tickets holds the tickets every commit must name, and MindAttic.Launcher starts the CLIs in each repo.

It ships no app of its own: it is the shared layer of rules, commands, hooks and scripts those apps and agents depend on.

Status

Where it stands

Active development

Working toward Agent standard 1.0

Cross-CLI rendering, the commit and test gates, portable handoffs and the shared deploy library are in place. The remaining work is making the source and its workspace copy identical, keeping every written rule true to what the hooks and scripts do, and finishing the move of every app onto the shared deploy.

Current milestone: Agent standard 1.0: one coherent source.

Next step

Give every agent the same rulebook

Guides, reference and design notes are in the searchable MindAttic documentation. The source, issues and history are on GitHub.