refine-ticket

refine-ticket is a skill for Claude Code from eai-org/agent-toolkit. It costs 40 tokens per session (3,786 once invoked), scanned A, original, MIT.

A process for turning a rough development idea or ticket into a complete requirements document, checked against the existing codebase.

In plain words
What is it for?
Use it to define the goal and scope, verify what the code already supports, identify dependencies, and surface unanswered questions before planning implementation.
Why use it?
It removes ambiguity and prevents requirements from being based on guesses or conflicting with the current project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the agent-toolkit plugin — 31 skills shipped together

Good fit Use it to define the goal and scope, verify what the code already supports, identify dependencies, and surface unanswered questions before planning implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eai-org/agent-toolkit/refine-ticket
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 eai-org/agent-toolkit --skill refine-ticket
Clone the repo
git clone --depth 1 https://github.com/eai-org/agent-toolkit

Made for: Claude Code.

Or install agent-toolkit, the plugin that ships this one along with the rest of its 31 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/eai-org/agent-toolkit/refine-ticket/github.svg)](https://agentmods.dev/skills/eai-org/agent-toolkit/refine-ticket)
Your own site
<a href="https://agentmods.dev/skills/eai-org/agent-toolkit/refine-ticket"><img src="https://agentmods.dev/badge/skills/eai-org/agent-toolkit/refine-ticket/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 refine-ticket

Your own site · 80×15
<a href="https://agentmods.dev/skills/eai-org/agent-toolkit/refine-ticket"><img src="https://agentmods.dev/badge/skills/eai-org/agent-toolkit/refine-ticket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,786 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 28
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00040 $0.03786
Opus 5.5 $0.00016 $0.01514
Sonnet 5.5 $0.00008 $0.00757
Haiku 4.5 $0.00004 $0.00379

Measured today against content hash aa49e26d6924, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

refine-ticket 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 today.

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.

skills/refine-ticket/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refine ticket

The Refine phase of Refine → Plan → Act: turn a raw ticket — or an idea to brainstorm — into a validated requirements document a fresh session can plan from. Analysis only — it defines what must be true when the work is done, never how to build it, and never touches code.

An idea is a ticket that doesn't exist yet: treat the user's words as the ticket text, and grill to shape the idea itself — goal, in vs out of scope — before closing the branches that block implementation.

Input

A .TICKET.md path, a ticket URL or bare id, or an idea in words. When the harness has subagents and fetch-ticket is available (../fetch-ticket/SKILL.md beside this skill), a URL or id is fetched first by a subagent per fetch-ticket's delegate.md — one ticket per run; several → point at a fetch session instead, which handles sets. A non-empty warn list stops for one question: supply the files now (/attach-to-ticket when available; answered by running it → resume with the supplied files once it reports) or refine without them. The fetched file is then the local ticket file. No subagents, or fetch-ticket not available → read the ticket from its tracker and refine with no local ticket file.

An existing .REQUIREMENTS.md (a re-run, e.g. once a blocking answer is in): read it and its ticket file (.REQUIREMENTS → .TICKET, or its latest -vN re-fetch, file or directory) first — none for a tracker ticket → re-read it there, asking for its URL or id when the file doesn't name it; grill only on what changed since, and update it in place.

What, not how — but verified against the code

You cannot define the "what" in a vacuum. Every requirement must be checked against the actual code, config, and design — a ticket may be stale, ambiguous, contradicted by the codebase, or depend on upstream work that isn't implemented yet (e.g. a prerequisite ticket still open). Reading the code here is for validating requirements, not for designing the solution.

Read the full file on GitHub · 265 lines

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. today Changed · +5 lines aa49e26d6924
  2. 8d ago Changed · -9 lines 2ebe18f81f25
  3. 26d ago Changed · +6 lines 0e7b39ce2aa4
  4. 1mo ago Changed · +27 lines d015da5ce5ea
  5. 1mo ago Changed · +5 lines e9beb3be916c
  6. 1mo ago Changed · +18 lines 6369c67e1629
  7. 1mo ago Changed · +21 lines ed15467ff74c
  8. 1mo ago Changed · +11 lines ab2ace2afec5
  9. 1mo ago Changed · +3 lines 089ede5bd592
  10. 1mo ago First seen · 178 lines · 40 tokens per session scan A 16795f9b3227

Subscribe to this mod's changes

refine-ticket is a skill published in the GitHub repository eai-org/agent-toolkit (116 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 3,786 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-30.

Related

refine-ticket compared with skills from other repositories

refine-ticket next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refine-ticketeai-org/agent-toolkitSkill116yesterdayMITA40Claude Code
persona-authorpilotspace/ADDSkill197d agoMITA179Claude Code
wikispec-wikichristianb93/WikiSpecSkill46mo agoMITA34Claude Code, Codex
wikispec-proposechristianb93/WikiSpecSkill46mo agoMITA37Claude Code, Codex
wikispec-planchristianb93/WikiSpecSkill46mo agoMITA29Claude Code, Codex
wikispec-applychristianb93/WikiSpecSkill46mo agoMITA18Claude Code, Codex
wikispec-archivechristianb93/WikiSpecSkill46mo agoMITA9Claude Code, Codex