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/CATWILLgh/MAINFRAMEWrote 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/catwillgh/mainframe/mainframe-tickets-refine)<a href="https://agentmods.dev/commands/catwillgh/mainframe/mainframe-tickets-refine"><img src="https://agentmods.dev/badge/commands/catwillgh/mainframe/mainframe-tickets-refine/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/commands/catwillgh/mainframe/mainframe-tickets-refine"><img src="https://agentmods.dev/badge/commands/catwillgh/mainframe/mainframe-tickets-refine.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.00000 | $0.02165 |
| Opus 5.5 | $0.00000 | $0.00866 |
| Sonnet 5.5 | $0.00000 | $0.00433 |
| Haiku 4.5 | $0.00000 | $0.00216 |
Grade A, and why
mainframe-tickets-refine 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 13d 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refine project tickets
This is a user-invocable command. Execute it only because the current invocation explicitly selected it. It takes no arguments: every invocation processes the complete current project queue that is eligible for refinement.
Investigate each eligible ticket deeply: establish its code execution path, cause or supported mechanism, blast radius, and relationship to other tickets. Consolidate the evidence, route it to the correct next state, and continue until no ticket remains that this command can further process. Do not search the project broadly for new problems or implement fixes during this command.
When the user first starts a native goal and then invokes this command in a separate message, perform the campaign under that existing goal. Do not create a second goal or interpret the command as a request to investigate just one ticket.
Read the initialized ticket contract
Use only the current project's docs/tickets/. Before writing, read its
AGENTS.md and check layout, record format, and lifecycle. If missing or
conflicting, report the need for explicit mainframe-tickets-init.
Directories own state. Use no YAML status field. Preserve string IDs,
required YAML, evidence, and links. Exclude .campaigns/ and .migration/
from scans.
Select from docs/tickets/open/observations/ and open/needs-scope-review/. Investigate one record at a time, adding Investigation (trace, mechanism, alternatives and blast radius), Acceptance, and any applicable Relationships, User decision or Blocker sections. Consolidate evidence before moving or retiring records. Route to open/ready/ with execution: autonomous and an evidence-backed Autonomous implementation boundary only when no user-owned decision remains; otherwise use open/needs-decision/, retain open/needs-scope-review/ for unavailable evidence, or use archive/rejected/ for a proved rejection, supersession or duplicate. Preserve an existing execution: user-approved route when a re-investigated ticket returns to ready; do not convert it to autonomous queue work without explicit authority. Assign autonomous only to work without that preserved route and with the demonstrated autonomous boundary. Do not fabricate user approval. Save campaign progress under .campaigns/ and validate each record's required YAML fields and links after moves.
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.
- 13d ago Changed · -4 lines 024e8de941f3
- 1mo ago Changed d8810b6b3bcc
- 1mo ago Changed · +17 lines 5a5bf4c385c4
- 1mo ago First seen · 77 lines · 0 tokens per session scan A 02d839e3da81
mainframe-tickets-refine is a command published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,165 tokens. 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-10-02.
mainframe-tickets-refine compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mainframe-tickets-refineCATWILLgh/MAINFRAME | Command | 2 | 13d ago | MIT | A | 0 | Claude Code |
| docs-builderhamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 20 | Claude Code |
| live-canvashamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 46 | Claude Code |
| releasehamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 17 | Claude Code |
| root-causehamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 52 | Claude Code |
| self-reviewhamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 17 | Claude Code |
| securityhamr0/liteagents | Command | 28 | 3d ago | Apache-2.0 | A | 12 | Claude Code |