using-mek
Use when starting any conversation in a project where MEK is installed - announces the three guardrails (compliance, drift, ledger) and how to invoke them.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when starting any conversation in a project where MEK is installed - announces the three guardrails (compliance, drift, ledger) and how to invoke them.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use after PR-sized work completes (or on /mek-drift) to compare auto scores against .mek/drift-baseline.json and surface divergences > 0.15.
Use when the agent is about to perform a risky operation (destructive shell, deploy, schema migration, money write, force-push). Reminds to record HITL approval and points at compliance/ templates.
STUB. Future v0.2.0 feature — a mini-SQLite ledger so the agent can record/query journal entries for any context (token spend, invoicing, etc.). Not active in v0.1.0.
Use when the agent encounters money-shaped identifiers (amount, price, balance, total, cost), performs arithmetic across monetary fields, or writes/reads money to a database. Enforces Decimal-only math.
| name | using-mek |
| description | Use when starting any conversation in a project where MEK is installed - announces the three guardrails (compliance, drift, ledger) and how to invoke them. |
MEK ships three guardrails that activate automatically in projects where it's installed:
| Guardrail | When it fires | What it does |
|---|---|---|
compliance | Before risky ops (rm -rf, deploy, money writes, force-push) | Injects an HITL reminder and points at applicable compliance docs. |
drift | After PR-sized work (Stop hook) or /mek-drift | Compares auto scores (tests/lint/coverage/security) against .mek/drift-baseline.json. |
ledger | When the agent touches money-shaped identifiers (amount_*, price_*, balance_*) | Enforces Decimal-only math; warns on float arithmetic. |
/mek-init — drop mek.toml + compliance/ templates into the current project./mek-status — show active guardrails and source-app detection./mek-drift — run a drift check on demand./mek-compliance-audit — audit compliance artifacts for staleness./mek-books, /mek-soc2 — Layer 2 stubs; light up when BookKeeper / CosmicTasha are installed.Project-level config lives in mek.toml. See docs/concepts.md for the schema.
Quiet. Skills nudge; hooks WARN, never block. Escalate per-op to block via mek.toml > [compliance.gates].