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/alphabravo-oss/guildWrote 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/commands/alphabravo-oss/guild/apply)<a href="https://agentmods.dev/commands/alphabravo-oss/guild/apply"><img src="https://agentmods.dev/badge/commands/alphabravo-oss/guild/apply.svg" alt="Measured on agentmods" 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.00010 | $0.00685 |
| Opus 5 | $0.00005 | $0.00342 |
| Sonnet 5 | $0.00002 | $0.00137 |
| Haiku 4.5 | $0.00001 | $0.00068 |
Grade A, and why
apply 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 3d 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tidy Apply
Apply the HIGH-confidence changes from a previous --dry-run invocation.
RUN_ID="$ARGUMENTS"
If $ARGUMENTS is empty, list recent runs with status inspection_complete and ask which to apply.
Steps
-
Verify
.tidy/runs/$RUN_ID/state.jsonexists. If not, fail with helpful message. -
Read state.json. Check
status— must beinspection_completeorcancelled_at_review. If anything else, tell user the run is in an unexpected state (point them at the run dir). -
Verify the working tree is still clean:
git status --porcelain
If dirty: refuse, instruct user to stash/commit/branch first.
- Verify the pre_tidy_sha is still reachable (in case they merged or rebased):
git rev-parse "$PRE_TIDY_SHA" >/dev/null 2>&1
If not, the historical baseline is gone — tell the user the run cannot be applied because the baseline was rewritten. Suggest re-running /tidy:run --apply fresh.
- Read each track's
assessment.md. Present a brief summary to the user:
Tidy run <RUN_ID> inspection found:
- HIGH-confidence (will apply): <X> total across N tracks
- MEDIUM-confidence (will skip — needs review): <Y>
- LOW (will skip — flagged): <Z>
Last inspected: <created_at>
Tracks: <list>
Proceed with apply?
-
Call
AskUserQuestion:- Apply — proceed
- Review HIGH list first — render the HIGH-confidence items from each assessment, then re-ask
- Cancel — stop, no changes made
-
On Apply: invoke the apply phase from
commands/run.mdPHASE 4 onward — same logic, same track-application order, same reviewer pass. The orchestrator code in run.md is the canonical implementation; this command is a re-entry point. -
Update state.json:
mode: "apply",applied_at: "<ISO>".
Rules
- Same refuse-on-dirty-tree rule as
run.mdPHASE 0.2. - Same track-application order (deprecated-slop → dead-code → dedup → type-consolidate → type-strengthen → error-cleanup → circular-deps).
- Reviewer pass is mandatory.
- If the user runs
applyon a completed run, refuse. They should run/tidy:runagain for a fresh pass.
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.
- 3d ago First seen · 68 lines · 10 tokens per session scan A dde159c195bd
apply is a command published in the GitHub repository alphabravo-oss/guild (2 stars, last pushed 5d ago), licensed MIT. It adds 10 tokens to every session and 685 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-09-04.
Other commands, from other repositories
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
release-notes
Generate consistent, well-structured release notes from git history. Triggered on release tags following semver patterns (v..) to produce categorized changelog with breaking changes, features, fixes, and contributor attribution.
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
repo-audit
Audit a codebase (local or remote GitHub/GitLab) against architecture principles and requirements, surfacing drift, risk, and missing decisions.
handoff
Export a Waybill Bundle by default, or import one when requested.