ticket

ticket is a skill for Claude Code from mthines/agent-skills. It costs 122 tokens per session (1,442 once invoked), scanned A, original, MIT.

A repository skill that connects code changes to a ticket tracker such as Linear or GitHub Issues. It stores tracker rules in the repository and can create, link, or move tickets and connect them to pull requests.

In plain words
What is it for?
Use it during development pipelines to decide whether to link, create, skip, or ask about a ticket, link a ticket to a pull request, and update its state.
Why use it?
It prevents work from becoming detached from the ticket that requested it and avoids creating duplicate tickets. Repositories without tracker configuration do not receive newly created tickets.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit Use it during development pipelines to decide whether to link, create, skip, or ask about a ticket, link a ticket to a pull request, and update its state.

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

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 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 ticket

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/ticket"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/ticket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,442 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.
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.00122 $0.01442
Opus 5.5 $0.00049 $0.00577
Sonnet 5.5 $0.00024 $0.00288
Haiku 4.5 $0.00012 $0.00144

Measured 7d ago against content hash 00fa2210726a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ticket.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/delivery/ticket/SKILL.md · 99 lines

How it starts

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

ticket

Ties work to a ticket in the repo's tracker, so every PR points at the ticket that asked for it and the ticket follows the PR. scripts/ticket.mjs makes every decision: link, ask, create, or skip; which state a stage maps to; which PR line links. This skill does the tracker calls the script cannot make. Config format: rules/config.md.

T="${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/ticket}/scripts/ticket.mjs"
node "$T" --decide --request "<the request>" [--ticket <id|url>] [--unattended]   # TICKET: link <id> | ask | create | skip — <why>
--decide prints Do
TICKET: link <id> Use that ticket; never create a second one
TICKET: ask Ask once: "Create a <provider> ticket for this?" — yes → create; no → no ticket, and say so
TICKET: create Run create without asking (require: always)
TICKET: skip — <why> No ticket; repeat <why> to the caller

A repo without tracker.yml never gets a ticket created: the script links a ticket the request names and skips otherwise, because creating one is visible to other people and there is no team to put it in.

✗ no tracker.yml, "add a dark-mode toggle" → create a Linear ticket in the first team the MCP lists
✓ no tracker.yml, "add a dark-mode toggle" → TICKET: skip — no .agents/aw/tracker.yml; /atelier setup configures a tracker

A request names a ticket by a Linear or GitHub issue URL, by #n under provider: github, or by a bare key only under the configured linear.team; --ticket links any key.

✗ no tracker.yml, "add SHA-256 checksums" → TICKET: link SHA-256
✓ no tracker.yml, "add SHA-256 checksums" → TICKET: skip; team AI, "fix AI-3112" → TICKET: link AI-3112

Modes

setup

Interactive only. Writes .agents/aw/tracker.yml once, validates it on re-runs.

  1. Detect: Linear MCP tools present (save_issue, list_teams), gh authenticated for the repo's origin, and an existing tracker.yml.
  2. Ask in one batched question: the provider (linear, github, none); for Linear the team (from list_teams) and an optional project; require (ask recommended, always when every change must have a ticket, never); labels; and an optional skills.create pointer (for example project-management:linear-planning).
  3. Write tracker.yml per rules/config.md with only the keys that differ from the defaults; put a personal value (another workspace's team, a token variable) in ~/.agents/aw/config.yml → repos.<owner/repo>.tracker.
  4. Validate: node "$T" --check prints tracker.yml ok: …. Commit nothing; print the path for the user to review.

Read the full file on GitHub · 99 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 99 lines · 122 tokens per session scan A 00fa2210726a

Subscribe to this mod's changes

ticket is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 1,442 once invoked, about $0.0005 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-11-26.

Related

ticket compared with skills from other repositories

ticket next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ticketmthines/agent-skillsSkill22yesterdayMITA122Claude Code
skill-bodycitrolabs/ego-liteSkill26kyesterdayMITA0Claude Code, Codex
ego-browsercitrolabs/ego-liteSkill26kyesterdayMITA125Claude Code, Codex
temporal-developertemporalio/skill-temporal-developerSkill2439d agoMITA216Claude Code, Codex
creating-explainersanalyticalmonk/explain-thisSkill241mo agoMITA98Claude Code, Codex
fact-checking-explainersanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex
explaining-codebasesanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex