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.
npx agentmods add commands/fprochazka/claude-code-plugins/ticket-attach-docsgit clone --depth 1 https://github.com/fprochazka/claude-code-pluginsWrote 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/fprochazka/claude-code-plugins/ticket-attach-docs)<a href="https://agentmods.dev/commands/fprochazka/claude-code-plugins/ticket-attach-docs"><img src="https://agentmods.dev/badge/commands/fprochazka/claude-code-plugins/ticket-attach-docs.svg" alt="Measured on agentmods" 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.00024 | $0.01317 |
| Opus 5 | $0.00012 | $0.00659 |
| Sonnet 5 | $0.00005 | $0.00263 |
| Haiku 4.5 | $0.00002 | $0.00132 |
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 2d 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 — 68 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
- 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 branch name or the MR title, 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. If you do not know which tracker that is, invoke
sdlc:team-workflow-identifyfirst. - 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. - 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.
- 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. - 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.
- 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. 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.
- Report what landed where, with URLs, and one line per skipped file saying why.
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.
- 2d ago First seen · 68 lines · 24 tokens per session scan A 04810d014d4e
ticket-attach-docs is a command published in the GitHub repository fprochazka/claude-code-plugins (13 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 1,317 once invoked, about $0.0001 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-09-04.
Other commands, from other repositories
pm-export
Export desensitized governance summary markdown for sharing or machine switch.
confluence-publish
Publicar documentación del proyecto en Confluence. Convierte markdown a formato Confluence y crea/actualiza páginas en el espacio del proyecto.
requirements
Manage project requirements registry (status, sync, add, update).
glossary
Generate a consolidated project glossary of terms, acronyms, and definitions from existing artifacts.
presentation
Generate MARP presentation slides from existing project artifacts for governance boards and stakeholder briefings.
dump-workflow
Dump a workflow run's per-agent outputs to markdown (recovers findings even if the final report crashed).