Skip to Content
MeowKit

Generated Files

Every file mewkit init writes into a project, per runtime: what reads it, when it changes, whether to commit or edit it, and what breaks without it.

mewkit init --target <runtime> writes two kinds of files into a project. The first is the runtime's own content (agents, skills, hooks, rules) in the folder that runtime reads. The second is bookkeeping: the files mewkit and the hooks read to know what was installed, which kit it came from and how the project is set up.

This page lists both, for a project-scope install of kit 3.1.0. Paths are relative to the project root. A global install (--global) writes a smaller set into your home directory and is not covered here.

Each file is described by five questions:

  • Written by: the command that creates it and rewrites it.
  • Commit: whether it belongs in git. For Claude Code installs, .meowkit/.gitignore already encodes the answer.
  • Edit: whether you may change it by hand. An edited kit file is kept on upgrade and reported as edited; upgrade --force replaces it.
  • Read by: what uses it.
  • If deleted: what stops working.

Files every runtime gets

Every runtime writes its install record under .meowkit/state/, whatever else it installs.

PathWritten byCommitEditRead byIf deleted
.meowkit/state/ownership/<runtime>.jsoninit, upgrade, uninstall, pack add/removeYesNoupgrade, uninstall, doctor, packThe CLI can no longer tell the kit's files from yours. upgrade and uninstall act only on what this file lists. init can rebuild it (An install whose record is gone)
.meowkit/state/ownership/skill-store.jsoninit, upgrade, mewkit skillYesNomewkit skill, upgrade, doctorThe next mewkit skill status rebuilds the records from the ownership index. Each skill's history, overlays and rollback points are lost
.meowkit/state/skill-store/init, upgrade, mewkit skillNoNomewkit skill rollback, upgrade mergesRebuilt for the current files on the next mewkit skill command. A rollback to an older digest has no files to restore
.meowkit/state/mewkit.lockevery command that changes an installNoNomewkit, so two runs never change the same install at onceNothing. The next run creates it again
.meowkit/cache/kits/init, upgradeNoNoupgrade (compares against the old kit), --offlineupgrade downloads the old kit again. Offline, it keeps the files the new kit dropped instead of removing them
.meowkit/backups/init, upgrade, uninstall, before any changeNoNomewkit backups list/restoreThose restore points are gone. Backups may hold credentials copied from your config files, so keep them out of git

skill-store.json and the ledger beside it are described in Customising and Upgrading Skills.

Every runtime except Claude Code also adds a block to AGENTS.md, between <!-- mewkit:begin meowkit --> and its end marker. That block holds the always-on working rules. Your text outside the markers is kept, and uninstall removes only the block, and only once no installed runtime still reads it. Commit AGENTS.md; do not edit inside the markers.

Ignoring state outside a Claude Code install

Only a Claude Code install writes .meowkit/.gitignore. In a project with Codex, Cursor, Grok, Pi, OMP or Antigravity and no Claude Code, add these lines to your own .gitignore, so the local state stays out of git while the install record and team memory are shared:

.meowkit/*
!.meowkit/memory/
!.meowkit/state/
.meowkit/state/*
!.meowkit/state/ownership/

Claude Code

A Claude Code install copies the kit's .claude/ tree and writes the shared project files under .meowkit/. Of the .meowkit/ files on this page, a Codex, Cursor, Grok, Pi, OMP or Antigravity install writes only state/, cache/ and backups/; the rest appear only when Claude Code is installed.

The runtime's content

PathWhat it is
.claude/agents/*.mdThe specialist agents
.claude/skills/<name>/The skills, each with its SKILL.md, references and scripts
.claude/hooks/The hook scripts (Node .cjs), their libraries and handlers.json
.claude/rules/*.mdThe six always-on rules (Configuration)
.claude/settings.jsonHook registrations, env entries and the status line. The kit's entries are merged into yours, and uninstall removes only what the kit added
.claude/statusline.cjsThe status line script

Commit all of them. Edit a skill through Customising and Upgrading Skills so an upgrade can merge your change.

Bookkeeping files under .claude/

PathWritten byCommitEditRead byIf deleted
.claude/kit-contract.jsoncopied from the kit by init and upgradeYesNoinit, to name the release the files came from when the ownership index is missingA clone without an ownership index needs init --adopt-from <tag> to sort the kit's files from yours
.claude/shared-families.jsoncopied from the kit by init and upgradeYesOnly if your own skills share textmewkit validate --skill-rubricThe rubric's duplicate check counts the kit's intentional copies as duplicates

kit-contract.json holds three facts: the kit version (kitVersion), the kit contract number and the oldest mewkit that can install it (requires.mewkitMin). When init downloads a kit it checks the release's own copy; the installed copy is what a later init reads in a clone that has the kit's files but no install record.

shared-families.json names the files, or marked sections of files, that the kit copies into several skills and keeps identical on purpose. In the kit's own repository, mewkit validate fails when a copy drifts from its canonical file.

An install made by mewkit 0.2.0 or earlier also has .claude/runtime.json, which recorded the launcher's absolute path for the orientation hook. The hook now runs .meowkit/bin/mewkit by its project path, and the next upgrade removes the old file unless you edited it.

Project files under .meowkit/

PathWritten byCommitEditRead byIf deleted
.meowkit/config.yamlinit, when absentYesYesthe hooks and the CLI (Configuration)Every setting falls back to ~/.meowkit/config.yaml or the built-in default. The next init writes the stub again
.meowkit/.gitignoreinitYesYes, carefullygitEverything under .meowkit/ shows up as untracked, including the kit cache and backups, which may hold credentials
.meowkit/bin/mewkitinit, upgradeYesNothe hooks that run the CLI, and the bare mewkit in an agent's shellThose hooks cannot reach the CLI, so session orientation falls back to the last checkpoint and the ship-time memory check cannot run. The next init or upgrade writes it again
.meowkit/pack-manifest.jsoncopied from the kitNoNoinit --profile, mewkit pack, mewkit budget context, retired-skill removalmewkit pack refuses to run and asks for an upgrade
.meowkit/harness-inventory.jsoncopied from the kitNoNomewkit pack, init --profile, mewkit validateRules and hooks lose their pack owner, so mewkit pack list undercounts each pack and pack removal decides on less information
.meowkit/gitignore.meowkitcopied from the kitNoYesmewkit setup --only gitignore, which appends it to the project's .gitignoresetup appends its built-in default instead
.meowkit/mcp.json.examplecopied from the kitYesYesmewkit setup --only mcp, which copies it to .mcp.jsonsetup writes .mcp.json from its built-in default
.meowkit/.env.examplecopied from the kitYesYesyou, and the Jira and Confluence helpers, which point to it when .meowkit/.env is missingNothing breaks; the list of supported keys is gone. mewkit setup --only env writes .meowkit/.env from a built-in template

.meowkit/.gitignore denies everything under .meowkit/ and then re-includes what a team shares: config.yaml, the two example files, bin/mewkit, memory/*.md and state/ownership/*.json. A new kind of state stays ignored until someone decides to share it.

pack-manifest.json defines the packs, the profiles --profile accepts, the files every install keeps, the skills a release retired and the patterns a release leaves out. harness-inventory.json is the registry behind it: for each rule, hook and other artifact it records the owning pack, how critical it is and its status.

Files you create later, such as .meowkit/.env, memory/, telemetry/ and envs/, are described in Installation.

Codex

PathWhat it isCommit
.agents/skills/mk-<name>/The skills, in the folder Codex readsYes
.codex/agents/*.tomlThe agents in Codex's agent formatYes
.codex/hooks.jsonHook registrations; the kit's handlers are merged into yoursYes
.codex/hooks/The privacy block, the ship check, the completion check, their libraries and hook-runtime-config.jsonYes
.codex/config.tomlSets project_doc_max_bytes so Codex reads all of AGENTS.md; merged by key into yoursYes
.codex/rules/default.rulesStarter exec-policy rules that ask before high-impact commands such as a force-push. Codex loads them only in a trusted projectYes
.codex/rubrics/The grading rubrics skills name by pathYes
.codex/scripts/Helper scripts skills name by pathYes
AGENTS.mdThe always-on blockYes

hook-runtime-config.json names the runtime the hook scripts run under ({ "runtime": "codex" }), so the shared scripts answer in that runtime's format. Every runtime with a hooks/ folder has one.

Cursor

PathWhat it isCommit
.cursor/skills/mk-<name>/The skillsYes
.cursor/agents/*.mdThe agents, with only the frontmatter fields Cursor acceptsYes
.cursor/hooks.jsonHook registrations; the kit's handlers are merged into yours, and a handler on a blocking event fails closedYes
.cursor/hooks/The gate scripts (shell, MCP, privacy read, tool), the ship check, session context, telemetry and their librariesYes
.cursor/rules/*.mdcFive rule files Cursor loads by topic: planning, security, testing, advice supervision and runtime invariantsYes
.cursor/rubrics/, .cursor/scripts/Rubrics and helper scripts skills name by pathYes
AGENTS.mdThe always-on blockYes

With --mcp-profiles, init also merges the chosen MCP servers into .cursor/mcp.json. Without it, no MCP file is written.

Grok

PathWhat it isCommit
.grok/skills/mk-<name>/The skillsYes
.grok/hooks/meowkit.jsonHook registrations for the privacy block and the ship checkYes
.grok/meowkit/hooks/The scripts that file runsYes
.grok/meowkit/agents/, rubrics/, scripts/Agent prompts, rubrics and helper scripts skills name by pathYes
AGENTS.mdThe always-on blockYes

Pi, OMP and Antigravity

These three, and Codex, read skills from .agents/skills/. They share that folder and .agents/meowkit/, write the same bytes to the files they both install, and a shared file leaves with the last of them to be uninstalled.

PathWritten forWhat it is
.agents/skills/mk-<name>/Codex, Pi, OMP, AntigravityThe skills
.agents/meowkit/agents/, rubrics/, scripts/Pi, OMP, AntigravityAgent prompts, rubrics and helper scripts skills name by path
.agents/meowkit/hooks/Pi, OMP; Antigravity in partguard.cjs, the one script the Pi extension and the OMP hook module run, with its libraries. Antigravity installed alone writes only lib/project-root.cjs, which skill scripts load
.pi/extensions/meowkit.tsPiThe extension that runs the guard before a tool call
.omp/hooks/pre/meowkit.tsOMPThe pre-tool hook module that runs the guard
.omp/agents/OMPThe agents in OMP's format
.agents/agents/*.mdAntigravityThe agents, with the tools and model fields Antigravity takes
.agents/rules/*.mdAntigravityTwo rule files that load on demand; the always-on rules stay in AGENTS.md
.agents/hooks.jsonAntigravityHook registrations for the privacy block and the ship check
.agents/meowkit-antigravity/hooks/AntigravityThe scripts that file runs
AGENTS.mdall threeThe always-on block

An Antigravity install from mewkit 0.2.0 or earlier wrote the whole .agents/meowkit/hooks/ folder; the next upgrade removes the files it no longer writes unless you edited them.

Commit all of them. Antigravity's guards were written from its documentation and have not yet been seen to deny in a live run; init says so when it installs them. Enforcement lists what each runtime enforces.

On this page