tickets-refine

tickets-refine is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 35 tokens per session (614 once invoked), scanned A, original, MIT.

A workflow for turning open software tickets into clearly scoped, actionable work or documented decisions. It checks each ticket, splits mixed issues, finds duplicates, and routes the result.

In plain words
What is it for?
Use it to review tickets in specified queues, verify the reported problem, assess affected parts of the codebase, and move each ticket toward technical work, a decision, or rejection.
Why use it?
It prevents vague, overlapping, or unverified tickets from reaching implementation. It also makes unresolved user decisions and rejected requests visible.

Skill for Claude CodeCodex

Part of the mainframe plugin — 19 skills, 12 hooks shipped together

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.

agentmods
npx agentmods add skills/catwillgh/mainframe/tickets-refine
Any agent
npx skills add CATWILLgh/MAINFRAME --skill tickets-refine
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

Or install mainframe, the plugin that ships this one along with the rest of its 19 skills, 12 hooks.

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 tickets-refine

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/tickets-refine.svg)](https://agentmods.dev/skills/catwillgh/mainframe/tickets-refine)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/tickets-refine"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/tickets-refine.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00614
Opus 5 $0.00017 $0.00307
Sonnet 5 $0.00007 $0.00123
Haiku 4.5 $0.00003 $0.00061

Measured 5d ago against content hash fa2b896ea438, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 5d 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.

adapters/claude-code/plugin/skills/tickets-refine/SKILL.md · 47 lines

What it actually says

Refine open tickets

Do not start refinement in the invocation turn. Return only this copyable block, with the invocation argument preserved as written:

/goal Follow the loaded tickets-refine workflow. Scope: "$ARGUMENTS"; an empty scope means every eligible ticket in open/observations and open/needs-scope-review. Continue one ticket at a time until every eligible ticket has been verified, atomized, checked for meaningful duplicates, scoped across its known blast radius, and moved to ready with an evidenced execution route, needs-decision, or archive/rejected; or stop when the user asks to pause or cancel, or with an evidenced external blocker that prevents any eligible work from continuing. Before finishing, surface the checked queue, ticket outcomes, execution routes, unresolved decision boundaries, and completion evidence in the conversation.

When that goal starts, first read ticket-autonomous-runs.md and ticket-format.md.

Work from open/observations and open/needs-scope-review. A plain-language argument may narrow the queue by ticket id, path, component, or concern but grants no new authority. For each ticket:

  1. Restate a falsifiable problem and verify it against current repository evidence and, where relevant, current authoritative external contracts.
  2. Find affected locations and meaningful consequences far enough to establish the blast radius. Separate independent problems into separate tickets while preserving the original history and links.
  3. Compare plausible semantic duplicates, not only matching words. Keep the clearest canonical open ticket; update it with material evidence, then move confirmed duplicates to archive/rejected with a link and reason.
  4. Move a disproved or superseded ticket to archive/rejected. Move work to ready with execution: autonomous only when current cited evidence fixes the expected behavior and no product, business-logic, material infrastructure, destructive-action, data, authority, or irreducible preference choice remains. Add the required autonomous boundary section. Move every genuine or uncertain user-owned choice to needs-decision with the exact decision stated plainly. Never infer autonomous eligibility merely from an existing ready path or confidence in a proposed solution.

Do not run tests, servers, containers, migrations, benchmarks, or external environments, and do not implement a fix. Existing tests and saved outputs may be read as evidence. Do not invent certainty when a claim requires a new measurement: preserve the missing evidence and route the ticket according to the actual decision boundary rather than guessing.

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. 5d ago First seen · 47 lines · 35 tokens per session scan A fa2b896ea438

Subscribe to this mod's changes

tickets-refine is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 14d ago), licensed MIT. It adds 35 tokens to every session and 614 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

cc-hooks

Multi-agent hook system: author hooks once as rulesync-canonical hooks.json (HookDefinitionSchema), deploy via superskill install / superskill hook emit to Claude Code, Codex, OpenCode, Pi (pi-hooks), and Gemini CLI. Covers command, prompt, and http hooks, cross-platform event mapping, and safety invariants.

gobing-ai/superskill · 71 tokens

merchant-pain-prevention

Use when designing, building, reviewing, or shipping a Shopify app to avoid the patterns that get merchants angry (1-2 star reviews, uninstalls, churn). Covers theme injection / leftover code on uninstall, surprise billing, fake urgency, slow scripts, cancel friction, scope creep, bot-only support, broken on platform…

khadinakbarlabs/shopify-app-builder · 162 tokens

app-pricing-strategy

Use when designing Shopify app pricing, choosing a pricing model (flat tiered / usage-based / freemium / hybrid), setting trial length (7/14/30 days), structuring 3-4 tier plans, sizing capped usage, raising prices on existing customers, or writing pricing copy for the App Store listing. Triggers: 'shopify app…

khadinakbarlabs/shopify-app-builder · 146 tokens

built-for-shopify-standards

Prepare a Shopify app for Built for Shopify status. Covers current quality criteria, performance, accessibility, Shopify admin integration, compliance webhooks, observability, support, application readiness, and ongoing eligibility.

khadinakbarlabs/shopify-app-builder · 47 tokens

dev-troubleshooting

Use when a Shopify dev workflow is failing — shopify app dev cryptic errors, Cloudflare tunnel not starting, App Bridge v3→v4 migration 'No AppBridge context provided', GraphQL 200 OK with throttle errors, webhook 401, double-subscribed webhooks, app proxy 404, REST 302 loops, Rust function wasm-validator errors…

khadinakbarlabs/shopify-app-builder · 175 tokens

ux-modern-app-feel

Use when you want a Shopify embedded app to feel modern, fast, and opinionated like Linear, Notion, Vercel, or Cron — speed-first, keyboard-first, calm UI, opinionated defaults, no-config success path. Covers keyboard shortcuts inside App Bridge, command palette patterns, micro-interactions Polaris allows, density vs…

khadinakbarlabs/shopify-app-builder · 162 tokens