ticket-creation

ticket-creation is a command for coding agents from andkirby/markdown-ticket. It costs 0 tokens per session (1,368 once invoked), scanned A, original, MIT.

A workflow for turning a request into a project ticket. It determines whether the ticket needs concrete implementation details or should describe only the desired outcome, then fills in the relevant fields.

In plain words
What is it for?
Use it to create feature, bug-fix, architecture, technical-debt, documentation, or research tickets from project context.
Why use it?
It reduces incomplete tickets and unnecessary back-and-forth about type, scope, motivation, and affected areas. It also keeps vague requests from locking in technical solutions too early.

Command

Part of the mdt plugin — 1 skill, 16 commands, 5 agents, 1 hook 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 commands/andkirby/markdown-ticket/ticket-creation
Clone the repo
git clone --depth 1 https://github.com/andkirby/markdown-ticket

Or install mdt, the plugin that ships this one along with the rest of its 1 skill, 16 commands, 5 agents, 1 hook.

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-creation

README.md
[![agentmods](https://agentmods.dev/badge/commands/andkirby/markdown-ticket/ticket-creation.svg)](https://agentmods.dev/commands/andkirby/markdown-ticket/ticket-creation)
Your own site
<a href="https://agentmods.dev/commands/andkirby/markdown-ticket/ticket-creation"><img src="https://agentmods.dev/badge/commands/andkirby/markdown-ticket/ticket-creation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,368 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.00000 $0.01368
Opus 5 $0.00000 $0.00684
Sonnet 5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

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

Security

Grade A, and why

ticket-creation 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 3d 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.

prompts/mdt/commands/ticket-creation.md · 122 lines

How it starts

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

CR Creation Workflow (v9)

Pattern: Analyze context → Infer all parameters → Confirm/Refine → Execute

Core distinction: full mode = concrete artifacts (files, endpoints, methods); requirements mode = outcomes only (defer HOW to /mdt:architecture)

$ARGUMENTS

Use {TICKETS_PATH} from .mdt-config.toml for file paths. {PROJECT_CODE} is provided by the hook (mdt-project-vars) and should be available in session context.


Parameter Schema

Infer ALL parameters from context before asking user:

Parameter Valid Values Default Logic
SPEC_MODE requirements, full requirements if vague/complex; full if specific files mentioned
CR_TYPE Feature Enhancement, Bug Fix, Architecture, Technical Debt, Documentation, Research Infer from keywords (fix→Bug, add→Feature, refactor→Debt, investigate→Research)
REQUIREMENTS_SCOPE full, brief, preservation, none See defaults table below
MOTIVATION User requirement, Technical limitation, Bug/defect, Performance issue, Maintenance burden, Architectural gap Infer from context
AREAS Infer from project structure (e.g., src/, lib/, tests/, api/) Scan top-level dirs + mentioned paths
VERIFICATION Files exist, Tests pass, Endpoints work, Performance met, Manual, Docs updated Based on CR_TYPE

REQUIREMENTS_SCOPE defaults:

CR_TYPE Default
Feature Enhancement full
Bug Fix brief
Architecture / Technical Debt / Documentation / Research none

Workflow

1. Analyze & Infer

Analyze user input, conversation history, and codebase context. Infer values for ALL parameters above.

For AREAS: List top-level directories in the project (e.g., ls -d */) and use actual folder names. Do NOT use generic terms like "Frontend/Backend/Shared" unless those folders exist.

2. Confirm Settings

Read the full file on GitHub · 122 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. 3d ago First seen · 122 lines · 0 tokens per session scan A 52194ea2a221

Subscribe to this mod's changes

ticket-creation is a command published in the GitHub repository andkirby/markdown-ticket (5 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,368 tokens. 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.