all-clear

all-clear is a skill for Codex from jason21wc/ai-governance-mcp. It costs 99 tokens per session (1,553 once invoked), scanned A, original, Apache-2.0.

A read-only close-out checklist for checking every worktree and branch in a coding project. A worktree is a separate working copy of a repository, and a branch is a separate line of changes.

In plain words
What is it for?
Checking whether work is committed, pushed, merged, and cleaned up at the end of a coding session.
Why use it?
It finds unfinished work, missing remote backups, changes not merged into the default branch, and leftover worktrees without running the cleanup commands.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Checking whether work is committed, pushed, merged, and cleaned up at the end of a coding session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jason21wc/ai-governance-mcp/all-clear
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 jason21wc/ai-governance-mcp --skill all-clear
Clone the repo
git clone --depth 1 https://github.com/jason21wc/ai-governance-mcp

Made for: Codex.

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 all-clear

README.md
[![agentmods](https://agentmods.dev/badge/skills/jason21wc/ai-governance-mcp/all-clear/github.svg)](https://agentmods.dev/skills/jason21wc/ai-governance-mcp/all-clear)
Your own site
<a href="https://agentmods.dev/skills/jason21wc/ai-governance-mcp/all-clear"><img src="https://agentmods.dev/badge/skills/jason21wc/ai-governance-mcp/all-clear/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 all-clear

Your own site · 80×15
<a href="https://agentmods.dev/skills/jason21wc/ai-governance-mcp/all-clear"><img src="https://agentmods.dev/badge/skills/jason21wc/ai-governance-mcp/all-clear.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,553 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.
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.00099 $0.01553
Opus 5 $0.00049 $0.00776
Sonnet 5 $0.00020 $0.00311
Haiku 4.5 $0.00010 $0.00155

Measured 11d ago against content hash 4ca22f6cfcdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

all-clear 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (allclear.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

global-skills/all-clear/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instructions

Read procedure.md in this skill folder and follow it in order.

Resolve the date, repository, and worktree list with ordinary read-only commands when needed. Do not use Claude Code's bang-backtick inline-injection syntax here (an exclamation mark immediately followed by a backtick-quoted command); Codex renders it as literal text, and Claude Code EXECUTES it at load — including inside a code span, which is why this sentence describes the syntax rather than showing it. Writing it out, even quoted, arms it.

The load-bearing step is allclear.sh, which ships beside procedure.md. Run it and report its exit code. Do not substitute your own reasoning for it — the entire reason this skill exists is that a hand-written "nothing pending" rots the moment it is written, and an agent re-deriving the checks from memory reproduces exactly that failure.

AC=~/.claude/skills/all-clear/allclear.sh
[ -f "$AC" ] || AC=~/.codex/skills/all-clear/allclear.sh
bash "$AC"
#   0 = all clear — every check ran, nothing outstanding
#   1 = findings — something is uncommitted, unpushed, unlanded, or left behind
#   2 = undetermined — a check could not run. NOT clear. The human decides.
#   3 = not a git repository
#   anything else (127 = script not found) — stop and say so

If allclear.sh cannot be found, stop and tell the user. Do not improvise the checks by hand.

Key Principles

  • Three axes, and conflating any two is the defect this exists to catch. Clean = nothing uncommitted. Durable = the commits exist off this disk. Landed = the commits reached the branch everyone else reads. None implies another. cleanup.sh once checked durability and reported it as safe-to-remove, so a branch that was pushed and never merged was removed with its local branch deleted — the work survived only on a remote ref nothing tracked.
  • Durability is nearly free here, so it is the weakest signal. start-worktree step 4c publishes every branch at creation to reserve the name. Every worktree branch is therefore durable from birth, which is precisely why durability alone could never fail for the workflow it was supposed to guard.
  • Compute it; never recall it. Every finding is derived from git at the moment you ask. This repo's scar is a memory file reading "ACTION ON RESUME: nothing pending" while two stale branches, an orphan worktree, two unpushed tags, an open PR and five unpushed commits accumulated behind it.
  • Presence is not a finding. A worktree whose lock PID is alive belongs to a session that is still working. It is reported, it is counted in the summary, and it does not make the verdict red. A checker that flags a busy teammate as residue gets tuned out.
  • Duplicate task intent is a fleet finding, not a deletion license. V2 journals expose task keys across otherwise-isolated worktrees. Unexpected duplicates make the report non-green; explicit parallel intent remains visible. Neither case authorizes cleanup, and legacy same-slug candidates are labelled ambiguous rather than guessed.
  • Ancestry lies — so report evidence, never a verdict. After a rebase or squash, --no-merged will call a fully-landed branch unmerged. This skill offers a merge command and a git log handle for unlanded work. It never offers a delete command, in either direction.
  • An unrun check is not a passed check — but say which checks you claim. Failure to resolve a default branch makes merge state unknown for everything, so that returns 2. Open PRs and unpushed tags are surfaces repo_hygiene.py owns; where that script is absent the report says so out loud and scopes its verdict, rather than either pretending it looked or refusing to ever go green.
  • It must be possible to go green. A check that can never pass stops being read, and then the one time it matters nobody looks.

Read the full file on GitHub · 97 lines

Files

What ships with it

2 files 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. 11d ago First seen · 97 lines · 99 tokens per session scan A 4ca22f6cfcdf

Subscribe to this mod's changes

all-clear is a skill published in the GitHub repository jason21wc/ai-governance-mcp (0 stars, last pushed 11d ago), licensed Apache-2.0. It adds 99 tokens to every session and 1,553 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens