ticket-attach-docs

ticket-attach-docs is a skill for Claude Code from fprochazka/claude-code-plugins. It costs 30 tokens per session (1,598 once invoked), scanned A, original, MIT.

A tool for putting existing research and plan files onto a software ticket. A ticket is a tracked work item, and the tool uses the project's issue tracker when possible.

In plain words
What is it for?
Use it to attach plans, research notes, query results, or session exports to a ticket as documents, attachments, or comments.
Why use it?
It keeps important documents with the work after the current coding session ends. This helps the next person find the plan and supporting research without searching a local computer.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the sdlc plugin — 8 skills shipped together

Good fit Use it to attach plans, research notes, query results, or session exports to a ticket as documents, attachments, or comments.

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

Made for: Claude Code.

Or install sdlc, the plugin that ships this one along with the rest of its 8 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 ticket-attach-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fprochazka/claude-code-plugins/ticket-attach-docs"><img src="https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/ticket-attach-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 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.00030 $0.01598
Opus 5.5 $0.00012 $0.00639
Sonnet 5.5 $0.00006 $0.00320
Haiku 4.5 $0.00003 $0.00160

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

Security

Grade A, and why

ticket-attach-docs 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.

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.

plugins/sdlc/skills/ticket-attach-docs/SKILL.md · 71 lines

How it starts

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

Attach Documents to the Ticket

Put the work's durable documents where the next person looks: on the ticket. The plan and the research behind it live in ./.claude/plans/ in one worktree on one machine; the ticket outlives both. Attach only what already exists.

Scope

$ARGUMENTS

Process

  1. Resolve the ticket. Take it from the session; this command usually runs at the end of the work, so the ticket is already in the conversation. The scope above only narrows or overrides that. Fall back to the MR title, the branch name or the MR description the way teamwork:workflow-identify says, and ask the user only when the session covered several tickets. Load the skill for the tracker in play if it is not loaded yet; invoke teamwork:workflow-identify first when you do not know which tracker that is.

  2. Collect the candidates. Every file in ./.claude/plans/, plus any dump this session wrote elsewhere (a chat thread export, a query result, a dashboard reading). Match them to the ticket by ID or slug. Where the slugs do not line up, use what the session knows about which files it wrote.

  3. Judge each candidate by the rules under "What is worth attaching". Read a file before you attach it; you are copying it to a place other people read.

  4. Inventory the ticket through one subagent (model: sonnet). Open its prompt with the skill-load instruction so it does not guess CLI syntax: First, invoke the <skill-name> skill to load its usage guidance before running any commands. Ask it for what the ticket already holds: its documents with their identifiers and titles, its attachments, and any comment that carries an earlier copy of the same material. Name the candidate files' titles so it can compare. Ask it also which carriers the tracker offers: documents, file attachments, comments. It returns the inventory as a list, nothing else. Keep this subagent; step 6 resumes it.

    The auto mode classifier reads this first prompt as the user's instruction and the step 6 message as a coordinator's, so the first prompt carries the whole task. Quote the user's request verbatim (the command as they typed it, with its arguments), name the later writes by action and target, and scope the turn: The user asked: "<their words>". The task: attach this session's documents to <ticket> as documents, attachments or comments, after an inventory. This turn: take the inventory, return it, and end your turn. A later message will ask you to create or update those documents on <ticket>; that is part of the request above. When the caller has writes of its own for this subagent, /sdlc:wrap-up for example, name them in the same way. Never write "read-only", "change nothing" or "inventory only": a later message cannot lift that boundary, and the classifier then blocks the upload.

  5. Decide and propose once. The inventory decides create, update, or skip per file, and it shows which carrier the ticket already uses. Show the user one list: per file, the verdict, the carrier, and whether it creates or updates. Confirm before anything is uploaded.

  6. Resume the same subagent for the upload. Message it the confirmed list, not a fresh subagent: it already holds the ticket state and the skill, and a new one would load both again. Open the message by pointing back to the first prompt — Next step of the task in your first prompt: upload these files to <ticket> — and add no approval claim such as "confirmed" or "the user approved". When the user changed the list in step 5, quote their words verbatim instead. Per file give the path, the title, the carrier, and create or update with the identifier from its own inventory. It reads each file into the command from disk, never pastes content into the prompt or the reply. It returns one line per file: what it did and the URL. It does not judge, reorder, or edit anything. If an upload fails, it reports the failure; it does not retry with another carrier.

  7. Report what landed where, with URLs, and one line per skipped file saying why.

Read the full file on GitHub · 71 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. 7d ago Changed · +2 lines fbaa34074abc
  2. 25d ago Changed 1f18a495a787
  3. 1mo ago First seen · 69 lines · 30 tokens per session scan A 2aa6a5c61450

Subscribe to this mod's changes

ticket-attach-docs is a skill published in the GitHub repository fprochazka/claude-code-plugins (15 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 1,598 once invoked, about $0.0001 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-09-12.