Skip to content

Cheatsheet

Slash Commands

CommandPhaseWhat it does
/mk:meow [task]0Entry point — classifies and routes to right agent
/mk:breakdown <source>pre-1Spec/PRD → user stories + optional Jira tickets + tech breakdown — stops before plan
/mk:plan [feature]1Premise challenge + two-lens plan + Gate 1
/mk:cook [feature]1→5Full pipeline: plan → test → build → review → ship
/mk:fix [bug]variesAuto-detect complexity, route to fix strategy
/mk:review4Multi-pass code review + adversarial analysis
/mk:ship5Pre-ship → commit → PR → CI verify → rollback doc
/mk:test2TDD enforcement — write or run tests
/mk:audit4Full security scan across all platforms
/mk:validateanyRun deterministic Python validation scripts
/mk:arch [action]1Generate, list, or analyze ADRs
/mk:design [system]1System design consultation (docs only)
/mk:docs-init6Initial codebase scan → doc skeleton
/mk:docs-sync6Diff-aware doc updates after feature work
/mk:canary5Staged deployment with monitoring
/mk:retro6Sprint retrospective with trend tracking
/mk:budgetanyToken cost tracking report
/mk:party [topic]1Multi-agent deliberation — 2-4 agents debate, forced synthesis
/mk:spawn [agent]anyLaunch parallel agent session
/mk:statusanyDelivery status report via project-manager
/mk:upgradeanySelf-update MeowKit
/mk:helpanyScan project state, recommend next pipeline step
/mk:autobuild "build a X"0→5Autonomous green-field build with generator/evaluator loop
/mk:evaluate4Behavioral rubric grading with active verification
/mk:sprint-contract3Draft contract before harness sprint
/mk:rubric4Load/compose rubric preset
/mk:trace-analyzeanyScatter-gather analysis of trace log
/mk:benchmarkanyCanary suite (quick tier default; --full for 6-task tier)

Agents Quick Reference

AgentAuto-activates whenPhaseKey output
orchestratorEvery task0Routing decision + model tier
plannerStandard/complex tasks1Plan file at tasks/plans/
brainstormerExplicit or complex planning1Trade-off analysis
researcherResearch tasks0,1,4Structured findings
architectSchema/API/infra changes1ADR + system design
testerWhen invoked (always in --tdd mode, on-request otherwise)2Tests (failing tests in --tdd mode)
securityAuth/payments/security changes2,4BLOCK/PASS verdict
developerAfter planner (TDD off) or tester (TDD on)3Implementation
reviewerAfter implementation45-dimension verdict
shipperAfter Gate 25PR + rollback docs
documenterAfter ship6Updated docs + changelog
analystSession start/end0,6Cost report + patterns
journal-writerOn failure/escalation6Root cause documentation

Workflow Phases

PhaseNameGate?What happens
0OrientRead memory, load skills, route model tier
1Plan✋ Gate 1Challenge premises, create plan, human approval
2TestWrite failing tests first (TDD mode --tdd/MEOWKIT_TDD=1); optional otherwise
3BuildImplement per plan; in TDD mode, until tests pass
4Review✋ Gate 25-dimension audit, human approval
5ShipCommit, PR, CI verify, rollback docs
6ReflectUpdate docs, memory, retrospective

Execution Modes

ModeWhenAgentsGate behavior
Sequential (default)All tasks1 per phaseFull gates
ParallelCOMPLEX + independent subtasksUp to 3, worktree isolationGates always sequential
PartyArchitecture decisions2-4 deliberation agentsNo code, synthesis only

Model Routing

TierExamplesModel
TRIVIALRename, typo, formatCheapest (Haiku)
STANDARDFeature, bug fix, testsDefault (Sonnet)
COMPLEXArchitecture, security, authBest (Opus)

Domain override: mk:scale-routing at Phase 0. Fintech, healthcare, auth → force COMPLEX regardless of manual classification.

Modes

ModeGatesSecurityUse for
defaultBothFullMost work
strictBoth (no WARN)Every fileProduction, auth, payments
fastGate 1 onlyBLOCK onlyPrototypes
architectN/AN/ADesign-only sessions
auditN/AComprehensiveSecurity reviews

Hooks

HookTypeWhat it doesBlocks?
post-write.shPostToolUseSecurity scan on Edit/WriteYes
post-session.shStopCapture session to memoryNo
pre-task-check.shSkill-invokedInjection pattern detectionYes
pre-implement.shSkill-invokedTDD gate — opt-in via --tdd / MEOWKIT_TDD=1; no-op otherwiseOnly when TDD enabled
pre-ship.shSkill-invokedTest + lint + typecheckYes
privacy-block.shPreToolUseBlock .env / *.key / credential readsYes
gate-enforcement.shPreToolUseBlock source writes before Gate 1 approvalYes
project-context-loader.shSessionStartAuto-load project-context.md into contextNo

Key Skills

SkillTriggerOutput
mk:cook"build feature"Full pipeline execution
mk:fix"fix bug", "debug"Root cause + fix + regression test
mk:ship"ship", "deploy", "create PR"PR URL + rollback docs
mk:review"review", "check diff"Verdict: APPROVE/BLOCK
mk:scout"find files", "search codebase"File map + architecture fingerprint
mk:investigate"debug this", "why broken"Root cause + evidence
mk:docs-finder"docs for [lib]"Structured documentation
mk:multimodalImage/video/audio fileAnalysis via Gemini
mk:qa-manual"test this flow"QA report or Playwright .spec.ts
mk:cso"security audit"OWASP + STRIDE findings
mk:party"decide architecture"Multi-agent decision brief
mk:scale-routingPhase 0 (automatic)Domain complexity level
mk:worktreeParallel execution setupIsolated git worktree
mk:autobuild"build a X from scratch"Autonomous generator/evaluator build loop
mk:evaluateHarness Phase 4Rubric-graded behavioral verdict with evidence
mk:sprint-contractHarness FULL densityAcceptance criteria contract before sprint
mk:rubricEvaluator setupLoad/compose rubric preset
mk:trace-analyzeTrace log availableRoot cause analysis across trace spans
mk:benchmarkCanary testingQuick or full canary suite with scored output

Planning (Phase 1)

CommandPurposeEnds with
mk:plan-creatorCreate plan from scratchPrint & Stop
mk:plan-ceo-reviewProduct lens reviewPrint & Stop
mk:plan-ceo-reviewEngineering lens reviewPrint & Stop
/mk:cook [path]Begin implementationRuns pipeline

All three review skills stop after printing — you control when to run /mk:cook [plan path].

CommandWhat it does
/mk:plan "feature"Create plan via mk:plan-creator
npx mewkit task new --type feature "desc"Create task from template
npx mewkit task listList active tasks

Task Templates

TemplateUse whenCreate with
featureAdding new functionalitynpx mewkit task new --type feature
bug-fixFixing broken behaviornpx mewkit task new --type bug-fix
refactorRestructuring codenpx mewkit task new --type refactor
securitySecurity reviewnpx mewkit task new --type security
guidelineTeam standardsCopy from tasks/templates/guideline.md

Task status flow

draftin-progressblockedreviewdone

Non-trivial rule

Create a task file for any change affecting > 2 files OR > 30 minutes.

Harness Env Vars

Source of truth: .claude/.env.example. Most defaults live in .claude/settings.json env block (team-shared, git-committed); override here per-project / per-user. Uncommented values in .claude/.env win over settings.json; shell exports win over both.

Density + budget

VariableValuesEffect
MEOWKIT_AUTOBUILD_MODEMINIMAL | FULL | LEANOverride auto-detected scaffolding density
MEOWKIT_MODEL_HINTe.g. opus-4-6Tell harness which model is running (enables LEAN auto-detect)
MEOWKIT_BUDGET_WARNe.g. 30USD warn threshold (prints warning, continues)
MEOWKIT_BUDGET_BLOCKe.g. 100USD hard-block threshold (halts the run, sets final_status=TIMED_OUT)
MEOWKIT_BUDGET_CAPe.g. 50User-set cap; overrides BUDGET_BLOCK (can be lower OR higher)

Core runtime

VariableValuesEffect
MEOWKIT_TDD0 | 11 = strict red-green-refactor (pre-implement.sh enforces failing-test-first); 0 = optional (default)
MEOWKIT_HOOK_PROFILEstandard | fast | strictHook profile selector. Legacy alias MEOW_HOOK_PROFILE still accepted; new name wins if both set

Memory loader

VariableValuesEffect
MEOWKIT_MEMORY_BUDGETchars (default 4000, ~1K tokens)Max memory injected by memory-loader per prompt
MEOWKIT_MEMORY_STALENESS_MONTHSmonths (default 6)Skip memory entries older than N months

Hook controls

Set to off to disable an individual hook; default on.

VariableEffect
MEOWKIT_BUILD_VERIFYPhase 4 build / lint / typecheck verification hook
MEOWKIT_LOOP_DETECTLoop / regression detection hook
MEOWKIT_PRECOMPLETIONPre-completion guard hook
MEOWKIT_TDD_FLAG_DETECTORDetects --tdd flag and toggles strict mode
MEOWKIT_PM_AUTOoff disables silent project-manager post-phase fires; /mk:status still works

Precedence reminder

shell export  >  .claude/.env  >  .claude/settings.json "env" block

Unquoted values strip inline comments after #. Quote values that contain a literal # (e.g. API keys): VAR="abc#123".

Released under the MIT License.