create-ticket

create-ticket is a command for coding agents from MadaraUchiha-314/the-loop. It costs 32 tokens per session (518 once invoked), scanned A, original, MIT.

A command for turning an existing requirements.md file into a tracked work item in GitHub or Jira. A requirements file describes what a piece of software should do, while the ticket records and tracks that work.

In plain words
What is it for?
Use it to create an issue from requirements, apply the initial workflow label, and move a draft specification folder into the project's standard docs/specs location.
Why use it?
It removes the manual steps of copying requirements into a ticket and organizing the related specification files.

Command

Part of the the-loop plugin — 2 skills, 37 commands, 2 hooks 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/madarauchiha-314/the-loop/create-ticket
Clone the repo
git clone --depth 1 https://github.com/MadaraUchiha-314/the-loop

Or install the-loop, the plugin that ships this one along with the rest of its 2 skills, 37 commands, 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 create-ticket

README.md
[![agentmods](https://agentmods.dev/badge/commands/madarauchiha-314/the-loop/create-ticket.svg)](https://agentmods.dev/commands/madarauchiha-314/the-loop/create-ticket)
Your own site
<a href="https://agentmods.dev/commands/madarauchiha-314/the-loop/create-ticket"><img src="https://agentmods.dev/badge/commands/madarauchiha-314/the-loop/create-ticket.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 518 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.00032 $0.00518
Opus 5 $0.00016 $0.00259
Sonnet 5 $0.00006 $0.00104
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

create-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 4d 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.

commands/create-ticket.md · 42 lines

What it actually says

the-loop: create-ticket $ARGUMENTS

Turn an already-drafted requirements.md into a tracked work item. RULE: everything the harness works on must have a ticket — this command creates it and wires the spec to it.

Read the the-loop skill, reference/collaboration.md and reference/workflow.md. Load .the-loop/harness-config.yaml for ticketing (github | jira).

Steps

  1. Read the requirements at $ARGUMENTS. Use its introduction/user-stories to form the ticket title and body.

  2. Create the ticket in the configured ticketing system using the available integration (GitHub via gh/GitHub MCP, or Jira via MCP):

    • Title from the requirement's summary; body links to the spec (do not paste the whole file — reference it, single source of truth).
    • Apply the initial phase label <workflow.phaseLabelPrefix>requirements-definition (labels are created by /the-loop:init).
  3. Promote the folder. Derive the canonical id from the new ticket (e.g. issue-42, PROJ-42). If the requirements live under docs/specs/draft-<slug>/, rename that folder to docs/specs/<id>/ — this carries any sibling brainstorm.md (the root artifact) along with it. Update the front-matter of every promoted file (brainstorm.md included): workItem: <id>, status as appropriate.

  4. Reference on the ticket. Post/confirm a comment or description link pointing to the checked-in docs/specs/<id>/requirements.md (single source of truth; later changes are edits to the file, not new comments).

  5. Report the ticket id/URL and the next step: /the-loop:create-design <id>.

If the ticket already exists, do not duplicate it — reference it and just promote/link the spec.

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. 4d ago First seen · 42 lines · 32 tokens per session scan A 3df48d7887a7

Subscribe to this mod's changes

create-ticket is a command published in the GitHub repository MadaraUchiha-314/the-loop (4 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 518 once invoked, about $0.0002 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-08-31.