metagit-upstream-triage

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

A read-only workflow for finding the repository and files most likely responsible for a problem that crosses project boundaries.

In plain words
What is it for?
Use it to search workspace repositories, rank likely causes, check evidence, and produce a short fix path.
Why use it?
It helps when fixing the current repository does not resolve an issue and the real cause may be upstream in another repository.

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 search workspace repositories, rank likely causes, check evidence, and produce a short fix path.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-upstream-triage"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-upstream-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 196 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.00037 $0.00196
Opus 5 $0.00018 $0.00098
Sonnet 5 $0.00007 $0.00039
Haiku 4.5 $0.00004 $0.00020

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

Security

Grade A, and why

metagit-upstream-triage 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-upstream-triage/SKILL.md · 32 lines

What it actually says

Triaging Upstream Blockers

Use this skill for failures likely rooted in another repository.

Workflow

  1. Run workspace index and search with issue-specific terms.
  2. Run upstream hint ranking to prioritize repositories/files.
  3. Open the top candidates and validate root-cause evidence.
  4. Return a short fix path (repo, file, next action).

Command Wrapper

  • ./skills/metagit-upstream-scan/scripts/upstream-scan.sh [root_path] "<query>" [preset] [max_results]

Output Contract

Return:

  • ranked candidate repositories
  • probable root-cause files
  • confidence and assumptions

Safety

  • Keep this flow read-only unless sync is explicitly requested.
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 · 32 lines · 37 tokens per session scan A 91f158c54acf

Subscribe to this mod's changes

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

hunk-extensions

Maps the hunkdiff/extension authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked panes, alternate file views, commands and key bindings, dialogs, workspace writes, themes, syntax languages, VCS backends, lifecycle events. Use when writing, debugging, or installing a Hunk…

modem-dev/hunk · 105 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

triaging-merge-queue-failures

Decision procedure for a PR that failed or was removed from the Trunk merge queue: classify the kick (superseded by a newer commit, not mergeable, a gate that failed on a cancelled run, real failure, one-off flake, or repo-wide flaky/infra issue) and take the matching action (wait, hold and fix, requeue once, or…

PostHog/posthog · 180 tokens

issue-assessment

Use when triaging a GitHub issue for gflow-cli — a reporter's bug claim, a freshly-filed issue, or deciding whether and how to act on one. Also use when an autonomous agent (hermes-ops) picks up a labelled issue. Read-only: produces a verdict, an end-to-end-verifiability judgment, and a reporter-facing reply. Does not…

ffroliva/gflow-cli · 90 tokens

triage

Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

activeing123/mcptoon · 30 tokens

pixiv-cli-ci

Diagnose, verify, monitor, and safely operate pixiv-cli GitHub Actions runs and local CI gates, including PR Quality gate, workflow policy, platform smoke, native/browser evidence, release handoffs, and approved reruns. Use when checks fail or hang, a PR needs readiness verification, a workflow run needs root-cause…

FlanChanXwO/pixiv-cli · 82 tokens