mdt-cli

mdt-cli is a skill for Claude Code, Codex from andkirby/markdown-ticket. It costs 100 tokens per session (2,597 once invoked), scanned A, original, MIT.

A command-line skill for working with Markdown Tickets, a ticket system that stores project work in Markdown files. It supports looking up projects and tickets and viewing their details.

In plain words
What is it for?
Use it to view, list, search, create, or update tickets and their attributes from the terminal.
Why use it?
It provides quick terminal access to ticket information without needing a separate tool connection for each lookup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to view, list, search, create, or update tickets and their attributes from the terminal.

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

Made for: Claude Code, Codex.

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 mdt-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/andkirby/markdown-ticket/mdt-cli"><img src="https://agentmods.dev/badge/skills/andkirby/markdown-ticket/mdt-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,597 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.00100 $0.02597
Opus 5.5 $0.00040 $0.01039
Sonnet 5.5 $0.00020 $0.00519
Haiku 4.5 $0.00010 $0.00260

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

Security

Grade A, and why

mdt-cli 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 28d 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.

cli/mdt-cli/SKILL.md · 234 lines

How it starts

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

mdt-cli CLI

Terminal tool for Markdown Ticket management. Binary: mdt-cli.

Project Resolution

Commands resolve the project from the cwd: the nearest .mdt-config.toml walking up from the current directory, with a registry fallback. Inside a project, omit -p — cwd detection is the default and the recommended path. Use -p <code> only to target a different project than cwd, and mdt-cli project ls only for cross-project work or when cwd is not inside a project. Do not list all projects just to orient — run bare mdt-cli project for the current project's info.

Key Resolution

All ticket commands accept flexible key forms:

Input Resolves to
12 {PROJECT}-012 (from detected project)
ABC-12 ABC-012 (normalized, cross-project)

Bare numbers and full keys can be used directly: mdt-cli 12 views the ticket.

View

mdt-cli <key>                 # Bare shortcut
mdt-cli ticket get <key>      # Canonical form
mdt-cli ticket get -p <code> <key>   # Resolve within an explicit project (any cwd)

Prints ticket title, labeled metadata (status, type, priority, phase, assignee, dates), and path. If the ticket has a CR directory with subdocuments, lists them below the path.

-p, --project <code> — resolve the ticket within the given project instead of the cwd-detected one; explicit project wins over key-embedded codes. Unknown project → Project <code> not found, exit 1. Useful for non-interactive consumers running outside a project root.

List

mdt-cli list                  # Shortcut
mdt-cli ls                    # Shortcut
mdt-cli ticket list           # Canonical form
mdt-cli ticket list --project <code>  # List another project's tickets

Shows up to 10 tickets sorted newest-first. Each ticket shows key + title on one line, then an indented metadata row.

Options:

  • --all — show every ticket
  • --limit N — override default count
  • --files — file paths only
  • --info — ticket info without paths
  • --json — parseable output for LLM consumption
  • -p, --project <code> — list tickets from a different project

Read the full file on GitHub · 234 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. 28d ago Changed · +17 lines ce7deb4954ff
  2. 1mo ago First seen · 217 lines · 100 tokens per session scan A eac1c3bd285f

Subscribe to this mod's changes

mdt-cli is a skill published in the GitHub repository andkirby/markdown-ticket (7 stars, last pushed 3d ago), licensed MIT. It adds 100 tokens to every session and 2,597 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories