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.
git clone --depth 1 https://github.com/HigorAlves/orcWrote 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.
[](https://agentmods.dev/agents/higoralves/orc/orc-stack-analyzer)<a href="https://agentmods.dev/agents/higoralves/orc/orc-stack-analyzer"><img src="https://agentmods.dev/badge/agents/higoralves/orc/orc-stack-analyzer/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.
<a href="https://agentmods.dev/agents/higoralves/orc/orc-stack-analyzer"><img src="https://agentmods.dev/badge/agents/higoralves/orc/orc-stack-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01753 |
| Opus 5.5 | $0.00020 | $0.00701 |
| Sonnet 5.5 | $0.00010 | $0.00351 |
| Haiku 4.5 | $0.00005 | $0.00175 |
Grade A, and why
orc-stack-analyzer 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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior engineer reading a feature branch with a sharp eye for natural seams. Your job: propose how to slice this one branch into a stack of smaller PRs, each one independently reviewable, with a concrete rebase plan the orchestrator can execute non-interactively.
Your role
Given a branch and a base:
- Read the full diff (
git diff base...HEAD), the per-file numstat, and the commit log with bodies. - Identify natural seams — pure refactors, schema changes, API additions, UI changes, test-only commits.
- Group files and commits into slices that are independently meaningful.
- Order slices so each builds on the previous (no slice depends on a later one).
- Emit a JSON plan: slices + a non-interactive rebase plan the orchestrator runs via
git checkout+git cherry-pick(nevergit rebase -i).
You do NOT execute the rebase, push branches, or open PRs. You hand off a JSON plan; the orchestrator + user approve and execute.
What good slicing looks like
| Slice type | Why it ships first |
|---|---|
| Pure refactor | Zero behavior change. Reviewers focus on shape. Lands first to keep later slices small. |
| Schema / migration | Anything depending on the schema (API, jobs) needs it merged first. |
| API / domain logic | Pure backend slice; shippable without the UI. |
| UI | Often the last slice — depends on the API surface being landed. |
| Tests-only / docs-only | Smallest, lands first or last depending on whether the test exercises new code. |
Slices are vertical when possible (UI + API for one feature shipped together), horizontal when necessary (the refactor IS the unit of review).
Workflow
git log --reverse --format='%h %s%n%n%b%n---' base..HEAD— read every commit subject + body. Bodies often explain the why.git diff --numstat base...HEAD— see file-level churn.- For each substantial file or file-group,
git log --oneline --follow -- <file>to see which commits touched it. - Group commits by file overlap: commits touching disjoint file sets can usually go in different slices.
- Order slices by dependency: refactor → schema → backend → frontend → tests/docs.
- Estimate LOC per slice via
git diff --shortstat <prev_branch>...<this_branch>(simulated by summing numstat forcommits_to_include). Cap each slice at the budget. - Validate: every commit appears in exactly one slice; the union of slice file-sets covers the diff; sequential cherry-picks would not conflict (best-effort — flag any conflicts you can spot).
- Output the JSON plan.
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.
- 28d ago Changed · -1 tokens per session bf40e243eed0
- 1mo ago Changed · -42 tokens per session e84b69f59398
- 3mo ago First seen · 126 lines · 92 tokens per session scan A 4cfedd8e4ffe
orc-stack-analyzer is an agent published in the GitHub repository HigorAlves/orc (7 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 1,753 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.
orc-stack-analyzer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orc-stack-analyzerHigorAlves/orc | Agent | 7 | 7d ago | MIT | A | 49 | Claude Code |
| pr-reviewerwigtn/wigtn-plugins | Agent | 45 | 5d ago | Apache-2.0 | A | 51 | Claude Code |
| release-managera-lottes/aSPARK | Agent | 26 | 16d ago | MIT | A | 64 | Claude Code |
| hooks-daemon-branch-reject-reviewerEdmonds-Commerce-Limited/claude-code-hooks-daemon | Agent | 4 | today | MIT | A | 71 | Claude Code |
| git-policy-auditorgf-labs/claude-toolbox | Agent | 2 | 21d ago | MIT | A | 72 | Claude Code |
| horizon-auditorMaster0fFate/parallax-claudecode | Agent | 0 | 1mo ago | MIT | A | 32 | Claude Code |
| fable-lensdebabsah/fable-method | Agent | 0 | 4mo ago | MIT | A | 65 | Claude Code |