metagit-campaign
Skill4 starsChanged 13 days agoMITView on GitHub
Plan and track cross-project multi-repo campaigns — YAML overlays, repo rollups, objective fan-out, and MR status. Use for umbrella-scale coordinated work.
In this repository62 other files it gives its agents.
- agentsAGENTS.md
- docs/agents.mdAGENTS.md
- agentsAGENTS.md
- agentsCopilot instructions
- .cursor/rules/github-cli.mdcCursor rule
- .cursor/rules/project-level.mdcCursor rule
- llms.txtllms.txt
- gitnexus-cliSkill
- gitnexus-debuggingSkill
- gitnexus-exploringSkill
- gitnexus-guideSkill
- gitnexus-impact-analysisSkill
- gitnexus-refactoringSkill
- humanizerSkill
- metagit-agent-accessSkill
- metagit-agent-coordinationSkill
- metagit-aosSkill
- metagit-bootstrapSkill
- metagit-campaignSkill
- metagit-cliSkill
- metagit-config-refreshSkill
- metagit-context-packSkill
- metagit-control-centerSkill
- metagit-gatingSkill
- metagit-gitnexusSkill
- metagit-graph-maintainSkill
- metagit-mcp-resourcesSkill
- metagit-multi-repoSkill
- metagit-projectsSkill
- metagit-release-auditSkill
- metagit-repo-impactSkill
- metagit-rewrite-campaignSkill
- metagit-sharing-stateSkill
- metagit-stampSkill
- metagit-upstream-scanSkill
- metagit-upstream-triageSkill
- metagit-workspace-scopeSkill
- metagit-workspace-syncSkill
- metagit-agent-accessSkill
- metagit-agent-coordinationSkill
- metagit-aosSkill
- metagit-bootstrapSkill
- metagit-cliSkill
- metagit-cliSkill
- metagit-config-refreshSkill
- metagit-context-packSkill
- metagit-control-centerSkill
- metagit-gatingSkill
- metagit-gitnexusSkill
- metagit-graph-maintainSkill
- metagit-mcp-resourcesSkill
- metagit-multi-repoSkill
- metagit-projectsSkill
- metagit-release-auditSkill
- metagit-repo-impactSkill
- metagit-rewrite-campaignSkill
- metagit-sharing-stateSkill
- metagit-stampSkill
- metagit-upstream-scanSkill
- metagit-upstream-triageSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use when coordinating many repos under one intent (rollout, migration, tier stamp) with a committed, diffable status overlay.
- Distinctive: line 76
When operating on a campaign:
- Very specific: line 80
Check whether an EverRoom provider is attached (campaign everroom status).
- Distinctive: line 82
Use MetaGit for topology, Git state, and relationships.
- Distinctive: line 83
Use EverRoom for rationale, evidence, decisions, and historical context.
- Distinctive: line 84
Do not treat generated summaries as authoritative over source material.
- Distinctive: line 86
Do not retrieve unrelated Room/global context through MetaGit.
- Very specific: line 98
If EverRoom is down, campaign context still returns MetaGit-only data with a warning.
- Very specific: line 100
Never store tokens in _campaigns/*.yml.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Metagit campaign skill
<!-- modality:native_campaigns --><!-- modality:campaign_everroom_context --><!-- modality:campaign_board_link --><!-- modality:objective_mr_approval_binding --><!-- modality:coordination_events_scope -->Use when coordinating many repos under one intent (rollout, migration, tier stamp) with a committed, diffable status overlay.
Docs: campaigns.md · campaign-everroom.md · Registry: modality-feature-registry.md
When to use
- One selection query → frozen repo list → per-repo status/MR tracking
- Fan-out spine objectives for parallel agents (
campaign expand) - Rollup: merged vs open MR vs blocked without manual spreadsheets
- Combined Campaign Context from MetaGit topology plus optional EverRoom evidence
Configuration
# metagit.config.yaml
workspace:
campaigns_path: _campaigns # default; or knowledge/campaignsEnv: METAGIT_WORKSPACE_CAMPAIGNS_PATH
Lifecycle
export METAGIT_AGENT_MODE=true
metagit campaign new --slug tier-full --title "Full-tier rollout" \
--query "platform" --tag agent_tier=full
metagit campaign validate
metagit campaign expand --slug tier-full --dry-run
metagit campaign expand --slug tier-full
metagit campaign set --slug tier-full --repo platform/api --status merged --mr "https://…"
metagit campaign status --slug tier-full --json --limit 40--json on new/status/set/expand returns counts + a page, not the overlay YAML. Page with --offset. Freeze up to 2000 matches on disk; never paste _campaigns/*.yml into the conversation.
Board linking (Azure DevOps)
<!-- modality:campaign_board_link -->Pointer on the campaign or a repo row (provider, id, url, organization, project, kind). Tokens stay in AppConfig / METAGIT_AZURE_DEVOPS_*.
metagit campaign new --slug payments --title "Payments" --query payments \
--work-item azure_devops:12345 --json
metagit campaign board-sync --slug payments --organization myorg --ado-project platform \
--dry-run --json
metagit campaign board-sync --slug payments --organization myorg --ado-project platform \
--limit 40 --offset 0 --jsonMCP: metagit_campaign_status, metagit_campaign_board_sync (dry_run: true first). Docs: context-reduction.md.
Campaign Context (optional EverRoom)
<!-- modality:campaign_everroom_context -->A campaign is the technical/work boundary. An EverRoom Room is the context/evidence boundary.
- MetaGit answers: "What exists and what is affected?"
- EverRoom answers: "What do we know, why did we decide it, and what context surrounds it?"
When operating on a campaign:
- Identify the campaign slug.
- Inspect MetaGit technical scope (
campaign status/campaign context). - Check whether an EverRoom provider is attached (
campaign everroom status). - Retrieve Campaign Context (
campaign context --jsonor MCPmetagit_campaign_context). - Use MetaGit for topology, Git state, and relationships.
- Use EverRoom for rationale, evidence, decisions, and historical context.
- Do not treat generated summaries as authoritative over source material.
- Cite
source=metagitvssource=everroom. - Do not retrieve unrelated Room/global context through MetaGit.
export METAGIT_EVERROOM_URL=http://127.0.0.1:3210
export METAGIT_EVERROOM_TOKEN=… # never put this in YAML, Git, or prompts
metagit campaign everroom attach --slug terraform-hcp-migration --room room_01J…
metagit campaign context --slug terraform-hcp-migration --json
metagit campaign everroom sync --slug terraform-hcp-migration
metagit campaign everroom detach --slug terraform-hcp-migrationIf EverRoom is down, campaign context still returns MetaGit-only data with a warning. attach/sync fail instead of mutating blindly.
Never store tokens in _campaigns/*.yml. Room id ≠ campaign slug.
Agent posture before repo work
metagit agent profile show -p platform -n api --json
metagit agent apply --vendor claude_code --project platform --repo apiOrchestrator polling
metagit context events --campaign tier-full --since "<iso-cursor>" --jsonRelated skills
metagit-multi-repo·metagit-control-center·metagit-context-pack
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

