martinloop-govern

martinloop-govern is a skill for Claude Code, Codex from Keesan12/martin-loop. It costs 29 tokens per session (298 once invoked), scanned A, original, Apache-2.0.

A workflow for controlling coding-agent implementation with MartinLoop, including planning, limits, preflight checks, recovery, and evidence from verifiers. It treats a verified result, a stop, and unresolved review as different outcomes.

In plain words
What is it for?
Use it to check the environment, estimate and plan work, validate the execution contract, run the bounded task, and inspect the final evidence dossier or handoff.
Why use it?
It prevents an agent from being treated as successful without evidence and keeps the requested work within an agreed scope and budget.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the martinloop plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to check the environment, estimate and plan work, validate the execution contract, run the bounded task, and inspect the final evidence dossier or handoff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keesan12/martin-loop/martinloop-govern
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 Keesan12/martin-loop --skill martinloop-govern
Clone the repo
git clone --depth 1 https://github.com/Keesan12/martin-loop

Made for: Claude Code, Codex.

Or install martinloop, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 martinloop-govern

README.md
[![agentmods](https://agentmods.dev/badge/skills/keesan12/martin-loop/martinloop-govern/github.svg)](https://agentmods.dev/skills/keesan12/martin-loop/martinloop-govern)
Your own site
<a href="https://agentmods.dev/skills/keesan12/martin-loop/martinloop-govern"><img src="https://agentmods.dev/badge/skills/keesan12/martin-loop/martinloop-govern/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for martinloop-govern

Your own site · 80×15
<a href="https://agentmods.dev/skills/keesan12/martin-loop/martinloop-govern"><img src="https://agentmods.dev/badge/skills/keesan12/martin-loop/martinloop-govern.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 298 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00029 $0.00298
Opus 5.5 $0.00012 $0.00119
Sonnet 5.5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 1mo ago against content hash ab2b753f79bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

martinloop-govern 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 1mo 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.

plugins/martinloop/skills/martinloop-govern/SKILL.md · 31 lines

What it actually says

Govern With MartinLoop

Use MartinLoop as the execution-control and evidence layer around the coding agent. Preserve the user's requested scope and never replace verifier evidence with an agent assertion.

Workflow

  1. Call martin_doctor to confirm the environment is ready.
  2. Call martin_estimate to expose budget and cost posture before spend.
  3. Call martin_plan to define the bounded objective, files, and verification.
  4. Call martin_preflight and resolve blocking contract issues before execution.
  5. Call martin_run only after preflight accepts the contract.
  6. Call martin_dossier after the run and inspect its evidence.

Outcome Rules

  • Report VERIFIED only with verifier-backed completion evidence.
  • Treat STOPPED as a real enforced boundary and report its recorded reason.
  • Treat NEEDS_REVIEW as unresolved evidence, never successful completion.
  • Preserve the dossier or Verified Handoff as the completion record.
  • Never weaken a gate, increase a budget, or approve protected work without authorization.
  • Let the coding agent or provider select its model unless the user explicitly overrides it.

First Task

For a low-risk trial, govern a small repository change with a real verifier and inspect the resulting dossier.

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. 1mo ago First seen · 31 lines · 29 tokens per session scan A ab2b753f79bd

Subscribe to this mod's changes

martinloop-govern is a skill published in the GitHub repository Keesan12/martin-loop (394 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 298 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

decision-rubric

Apply a rigorous decision rubric when asking the user for a non-trivial design, architectural, or policy choice via AskUserQuestion. Replaces shallow "do you agree with the author's recommendation?" prompts with a full problem statement → industry research → 3-4 options with tradeoffs → recommendation +…

ai-sdlc-framework/ai-sdlc · 168 tokens

runtime-admissibility-review

Determines whether a specific AI-agent action, output, recommendation, or proposed commitment remains admissible for execution or institutional reliance under current authority, delegated scope, evidence, facts, policy, risk, escalation, and revocation conditions. Use this Skill before an enterprise or regulated AI…

lawve-ai/awesome-legal-skills · 90 tokens

agent-authority-charter-builder-arkadiy-miteiko

Creates an Agent Authority Charter for enterprise or regulated AI agents before deployment. Use this Skill when a user needs to define what an AI agent is allowed to do, who delegated authority to it, what actions are permitted or prohibited, when human approval is required, what evidence must be preserved, and how…

lawve-ai/awesome-legal-skills · 85 tokens

Create /new-project Claude Code skill

Claude Code skill wrapping fw init/setup for in-session guided onboarding. Agent says /new-project, skill walks through setup interactively. Source: T-294 Phase 3 item T-N, uncaptured during dialogue.

DimitriGeelen/agentic-engineering-framework · 51 tokens

aef-assistant

Expert guide and operational workflows for the Agentic Engineering Framework (AEF). Use when interacting with AEF tasks, governance gates (Tier 0, task focus), inceptions, BVP scoring, component fabric, memory recall, subagents, and TermLink mesh.

DimitriGeelen/agentic-engineering-framework · 59 tokens

governance

Validates actions, generates receipts, enables rollback.

dingdawg/dingdawg-governance · 13 tokens