metagit-context-pack

metagit-context-pack is a skill for Claude Code, Codex from metagit-ai/metagit-cli. It costs 48 tokens per session (3,045 once invoked), scanned A, original, MIT.

A workspace onboarding tool for Metagit, a system that manages awareness across related code repositories. It creates small context summaries instead of requiring the agent to read every file.

In plain words
What is it for?
Starting work, returning after a pause, scoping a bug fix, checking repository boundaries, and coordinating work across repositories.
Why use it?
It helps an agent understand repository locations, changes, health, objectives, and approvals with less context.

Skill for Claude CodeCodex

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

Good fit Starting work, returning after a pause, scoping a bug fix, checking repository boundaries, and coordinating work across repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metagit-ai/metagit-cli/metagit-context-pack
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-context-pack
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-context-pack

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-context-pack"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-context-pack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,045 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.00048 $0.03045
Opus 5.5 $0.00019 $0.01218
Sonnet 5.5 $0.00010 $0.00609
Haiku 4.5 $0.00005 $0.00304

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

Security

Grade A, and why

metagit-context-pack 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.

.agents/skills/metagit-context-pack/SKILL.md · 285 lines

How it starts

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

Metagit context packs

Use this skill for the most token-efficient way to onboard into a metagit workspace. Prefer metagit context pack --tier N --json over reading raw trees or full manifests.

Umbrella .metagit.yml stays on disk. Do not inject it: no config show --json without --confirm-full, no workspace list --include-workspace, no metagit://workspace/config?view=full without confirm=1. Maps default to 80 repos; check truncated. 500+ repos: metagit prompt workspace -k large-workspace --text-only and context-reduction.md.

Set non-interactive defaults:

export METAGIT_AGENT_MODE=true

Run from the umbrella repo that contains .metagit.yml (or pass -c path/to/.metagit.yml).

When to use

  • Session start in any metagit-managed workspace
  • Before editing — need project/repo boundaries and health without cloning everything
  • Returning after idle — tier 2 digest shows what changed since last session
  • Scoping a bugfix — tier 1 cards + repomix profile instead of whole-repo dumps
  • Coordinating humans and agents — objectives and approval queue state

Do not skip context packs and grep the filesystem when a manifest exists.

Tier workflow

Tier Command Typical tokens Contents
0 metagit context pack --tier 0 --json ~100–400 Workspace map: projects, repos, paths, clone status
1 metagit context pack --tier 1 --json +200–600/repo Tier 0 + repo cards (git state, stack hints, health flags)
2 metagit context pack --tier 2 --json +digest Tier 1 + session digest; updates session boundary

Escalate tiers only when needed. Narrow tier 1/2 with --project and/or --repo.

Primary session command

metagit context pack --tier 0 --json --project P -c .metagit.yml   # large umbrellas
metagit context pack --tier 2 --json --project P --repo R -c .metagit.yml

Read the full file on GitHub · 285 lines

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 Changed · +7 lines c039c1154e97
  2. 1mo ago First seen · 278 lines · 48 tokens per session scan A fea6dbf939ae

Subscribe to this mod's changes

metagit-context-pack is a skill published in the GitHub repository metagit-ai/metagit-cli (4 stars, last pushed 23d ago), licensed MIT. It adds 48 tokens to every session and 3,045 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

memory-commit

Use when the user explicitly says "remember this", "save this", "ghi nho", "luu lai", "save for next time", or otherwise asks to persist the immediately preceding context. Captures with the appropriate contexttype (decision, preference, fact, skill, task, conversation) so future sessions can retrieve it accurately.

n24q02m/mnemo-mcp · 72 tokens

aget-record-lesson

Record lessons learned from sessions as persistent, searchable, committable artifacts. Classifies each lesson as Framework (help other AGETs) or Domain (help principal).

aget-framework/template-advisor-aget · 39 tokens

gh

GitHub CLI skill for interacting with GitHub via the gh command line tool. Use when Bub needs to (1) Create, view, or manage GitHub repositories, (2) Work with issues and pull requests, (3) Create and manage releases, (4) Run and monitor GitHub Actions workflows, (5) Create and manage gists, (6) Install and manage…

bubbuild/bub · 96 tokens

release

MUST READ before preparing a release commit or GitHub release -- the blocking GitHub preflight (dev/releasepreflight.py), project.save() versioning, changelog, README, template sync verification, fresh-install smoke, and the post-push GitHub release procedure (references/github-release.md).

dylanroscover/Embody · 63 tokens

memorix-git-memory

Use when the task depends on commit history, what changed, when a fix shipped, or linking engineering evidence to reasoning memory.

AVIDS2/memorix · 31 tokens

merge-divergent-tox

Merge or compare two divergent TouchDesigner .tox/.toe binaries that git cannot three-way-merge. Load when a merge/rebase conflicts on a .tox or .toe, when asked to merge, port, reconcile, or diff two versions of a TD component, or when comparing a component across branches, machines, or TD builds.

dylanroscover/Embody · 74 tokens