metagit-aos

metagit-aos is a skill for Claude Code, Codex from metagit-ai/metagit-cli. It costs 67 tokens per session (501 once invoked), scanned A, original, MIT.

A coordination workflow for Metagit’s agent operating system, which combines access rules, task tracking, scheduling, worktree management, and merge coordination.

In plain words
What is it for?
Use it to inspect or diagnose coordination state, preview or record the next scheduling decision, compile task context, apply access hints, complete tasks, and queue merges.
Why use it?
It gives an operator one view of coordination health and the next suggested work item without starting an AI model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to inspect or diagnose coordination state, preview or record the next scheduling decision, compile task context, apply access hints, complete tasks, and queue merges.

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

Made for: Claude Code, 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 metagit-aos

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-aos"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-aos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 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.00067 $0.00501
Opus 5 $0.00034 $0.00251
Sonnet 5 $0.00013 $0.00100
Haiku 4.5 $0.00007 $0.00050

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

Security

Grade A, and why

metagit-aos 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 12d 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.

.agents/skills/metagit-aos/SKILL.md · 59 lines

What it actually says

Metagit Agent Operating System (AOS)

Use when you need a composed view of coordination state, or a preview of what should run next across ACL + task graph + optional 0009–0012.

Day-1 control loop (start here): docs/agents-quickstart.md

Full reference: docs/reference/aos.md Run ledger: docs/reference/run-ledger.md

Minimal practice workspace: examples/agent-aos-loop/

Control loop

export METAGIT_AGENT_MODE=true

metagit context pack --tier 2 --json
metagit prompt workspace --kind session-start --text-only

metagit aos status --json
metagit aos doctor --json
metagit aos next --json                 # preview (no schedule record)
metagit aos next --commit --json        # record schedule decision
# then compile / ACL / work / complete / merge enqueue as separate steps
metagit context compile --project P --repo R --task-id NODE --json
metagit aos next --apply-hints --agent-id agent-1 --json   # ACL APIs only
metagit task complete --node-id NODE --json

Alias: metagit coord … is identical to metagit aos ….

Rules

  • Doctor --fix requires --yes and only runs lease expire-on-list + worktree gc.
  • next --apply-hints never launches models and never runs compile.
  • Prefer aos next preview before --commit when exploring.
  • ACL primitives: skill metagit-agent-coordination
  • Scheduler alone: metagit schedule next
  • Quickstart: docs/agents-quickstart.md
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. 12d ago First seen · 59 lines · 67 tokens per session scan A 704bf9980eb8

Subscribe to this mod's changes

metagit-aos is a skill published in the GitHub repository metagit-ai/metagit-cli (3 stars, last pushed 3d ago), licensed MIT. It adds 67 tokens to every session and 501 once invoked, about $0.0003 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