metagit-bootstrap

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

A setup workflow that creates or improves a local .metagit.yml configuration file, which describes how a project is organized and operated.

In plain words
What is it for?
Use it to discover project details, draft or create .metagit.yml, validate the file, and review a proposed configuration before writing it.
Why use it?
It removes the need to build that configuration by hand and checks that the result follows the expected format. It can work with an MCP host or fall back to command-line-only operation.

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 discover project details, draft or create .metagit.yml, validate the file, and review a proposed configuration before writing it.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-bootstrap.svg)](https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-bootstrap"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 911 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.00027 $0.00911
Opus 5 $0.00014 $0.00456
Sonnet 5 $0.00005 $0.00182
Haiku 4.5 $0.00003 $0.00091

Measured 7d ago against content hash 152d8dcd2bac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

metagit-bootstrap 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/bootstrap-config.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.

.agents/skills/metagit-bootstrap/SKILL.md · 122 lines

How it starts

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

Metagit MCP Bootstrap Skill

Use this skill to create a local .metagit.yml using discovery-driven prompts and MCP sampling.

Purpose

Generate schema-compliant .metagit.yml files with high contextual quality while preserving safety and explicit user control.

Bundled scripts (optional)

Helper scripts require the full skill tree or the PyPI package copy. Hermes skill_manage (SKILL.md only) does not include scripts/.

SKILL_ROOT="$(python3 -c "import metagit, pathlib; print(pathlib.Path(metagit.__file__).parent / 'data/skills/metagit-bootstrap')")"
"$SKILL_ROOT/scripts/bootstrap-config.sh" [root_path] [force]

Behavior:

  • Writes .metagit.yml when missing (minimal application scaffold)
  • Validates via Metagit config models
  • Returns a compact status line for agents

Execution modes

Mode When
CLI-only Shell agent, no MCP host, Hermes without sampling
MCP sampling Host supports sampling/createMessage
Plan-only Sampling unavailable; return draft for human/agent review

CLI-only fallback (no MCP sampling)

Use this path when sampling/createMessage is unavailable — common in CLI-only agent sessions or Hermes installs without MCP sampling.

  1. Discover evidence from the target repository:
export METAGIT_AGENT_MODE=true
metagit detect repository -p . -o json
metagit detect repo -p . -o yaml
metagit detect project -p . -o yaml
metagit detect repo_map -p . -o json
  1. Minimal manifest when none exists:
metagit init --kind application --no-prompt
# or: "$SKILL_ROOT/scripts/bootstrap-config.sh" .
metagit config validate -c .metagit.yml
  1. Richer draft — agent composes YAML from detect output + schema reference:
metagit config example          # full annotated exemplar
metagit config tree -c .metagit.yml --json   # after minimal init

Write draft to .metagit.generated.yml, validate, then promote on confirmation:

metagit config validate -c .metagit.generated.yml
mv .metagit.generated.yml .metagit.yml   # only after explicit operator approval
metagit config validate -c .metagit.yml

Read the full file on GitHub · 122 lines

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. 7d ago First seen · 122 lines · 27 tokens per session scan A 152d8dcd2bac

Subscribe to this mod's changes

metagit-bootstrap is a skill published in the GitHub repository metagit-ai/metagit-cli (3 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 911 once invoked, about $0.0001 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

perseus

Use when you need a bounded, local Perseus context render before an assistant reads project state. Perseus resolves selected workspace inputs such as git, services, sessions, and task notes into markdown. Use for deterministic session starts, workspace audits, and explicit context handoffs.

Perseus-Computing-LLC/perseus · 58 tokens

pypi-release

This skill should be used when releasing tunacode-cli to PyPI. It keeps the existing local release checks, then hands the actual PyPI upload to a GitHub Actions workflow that uses the repository's PYPIAPITOKEN secret.

alchemiststudiosDOTai/tunacode · 52 tokens

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

agentic-preflight

Use when shipping a branch — reviewing, documenting, linting, testing, and pushing work behind a quality gate. Also use when a push is blocked by the agentic-preflight pre-push hook or when the user says agentic-preflight:uninstall to remove this tool from the current project.

elanthus/agentic-preflight · 66 tokens

daf-git

GitHub/GitLab issue operations (update, link) with Markdown syntax reference and gh/glab CLI guide.

itdove/devaiflow · 26 tokens

daf-workflow

DevAIFlow session context loader — reads session metadata, issue tracker tickets, and context files. Auto-activates when DAFSESSIONNAME is set. Also useful when asked about current task, session status, or workflow steps for daf open, daf new, daf git new, daf jira new, and daf investigate.

itdove/devaiflow · 68 tokens