MD-Ticket: Instructions file for Codex

AGENTS.md

MD-Ticket AGENTS.md is an instructions file for Codex, OpenCode from wate/MD-Ticket. It costs 2,178 tokens per session, scanned A, original, MIT.

A set of instructions for using MD-Ticket, a file-based system for recording and managing software tickets, with AI agents.

In plain words
What is it for?
Use it to create and organize ideas, requests, tasks, and bug reports in an MD-Ticket project.
Why use it?
It helps agents choose ticket types, follow templates, track ticket lifecycles, and ask for confirmation when important details or scope are unclear.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is wate/MD-Ticket's own configuration. It tells Codex and OpenCode how to work on MD-Ticket itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MD-Ticket configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wate/MD-Ticket. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wate/MD-Ticket/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/wate/MD-Ticket

Made for: Codex, OpenCode.

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 MD-Ticket AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wate/md-ticket/agents-md/github.svg)](https://agentmods.dev/instructions/wate/md-ticket/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/wate/md-ticket/agents-md"><img src="https://agentmods.dev/badge/instructions/wate/md-ticket/agents-md/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 MD-Ticket AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wate/md-ticket/agents-md"><img src="https://agentmods.dev/badge/instructions/wate/md-ticket/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,178 This file is loaded in full into every session.
When invoked 2,178 The same file — it is already loaded in full.
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.02178 $0.02178
Opus 5.5 $0.00871 $0.00871
Sonnet 5.5 $0.00436 $0.00436
Haiku 4.5 $0.00218 $0.00218

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

Security

Grade A, and why

MD-Ticket AGENTS.md 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 19d 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.

AGENTS.md · 169 lines

How it starts

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

AIエージェント向けガイド

AIエージェントがMD-Ticketを効果的に利用するためのガイドラインです。 詳細な手順は_guide/配下のドキュメントを参照してください。

前提条件

AGENTS.md統合

プロジェクトルートのAGENTS.mdにMD-Ticketへの参照を追加することで、AIエージェントがチケット管理の存在を認識できます。 統合方法はREADME.mdの「AGENTS.md統合ガイド」を参照してください。

バージョン管理について

Git管理は任意です。 エージェントはGit管理の有無を意識する必要はありません。

基本原則

  1. 明確性の優先: 不明点はユーザーに確認する(推測で補わない)
  2. テンプレート遵守: 各チケット種別のテンプレートを使用する
  3. 段階的詳細化: アイデア→要望→タスクの流れを尊重する
  4. ライフサイクル管理: チケットの状態に応じてファイルを移動・削除する
  5. 関連性の記録: チケット間の関連を明確にする

ユーザー確認が必要なケース

以下に該当する場合は、実施前に必ずユーザーへ確認します。

  • 情報不足: 必須項目、種別判断の根拠、背景・理由が不明
  • 判断の曖昧性: 複数種別への該当、優先度・緊急度不明、重複の可能性
  • 重要な決定: 大幅な変更、種別変更、削除、複数タスクへの分割
  • 未対応項目の削除: チケット内の未対応項目(将来対応の課題、未対応のレビュー指摘など)をAIの判断だけで削除せず、予防・防御目的の項目は未発現でも残す
  • スコープ外の修正: 変更ファイルが3つ以上、既存機能の動作変更、テストが複数コマンドにまたがる、主目的から外れる修正
  • 技術的・業務的判断: セキュリティ・パフォーマンス影響、他システム・チームへの影響

スコープ外と判断した場合

以下を提示して承認を得ます。

  • 本チケットの主目的と指示内容の関係
  • 範囲外である理由と影響範囲
  • 推奨アクション(別チケット化/今すぐ実施/見送り)

複数の修正は1つずつ提案・実施・テストし、デグレ発生時に該当変更を特定可能にします。

設定ファイル

チケット種別は.ticket/config.ymlで管理されます(任意)。 設定ファイルがある場合は種別情報(label、template、description)を参照し、ない場合はデフォルト4種別(bug, task, idea, request)を使用します。

チケット種別の判断

ユーザーの依頼内容から適切なチケット種別を判断します。 迷った場合はユーザーに確認してください。

  • アイデア(idea/): 発想・構想段階のメモ。実現可能性が未検証
  • 要望(request/): 実現してほしい希望。背景と期待する結果が明確
  • タスク(task/): 実行すべき作業。前提条件と具体的な内容が定まっている
  • バグ(bug/): 不具合の報告。再現手順と期待/実際の動作が記載可能

各種別の詳細な判断基準はチケット種別の判断基準を参照してください。

チケットライフサイクル

チケットの作成・管理・クローズの概要です。 詳細な手順はチケットライフサイクルを参照してください。

チケット作成

  1. 種別判断: ユーザーの依頼内容から種別を判断し、承認を得る
  2. 情報収集: 種別に応じた必須項目を収集する
  3. ファイル名決定: brief-description.md形式で命名する
  4. テンプレート取得と作成: _template/{type}.mdを使用して作成する
  5. 作成完了の報告: パス・種別・ファイル名を報告する

チケット管理

  • 追加情報や進捗があればチケットを更新する
  • 成熟度に応じて種別変更(ディレクトリ移動)を提案する
  • 関連チケットは種別(関連/前提/派生/重複)とリンクで記述する

チケットクローズ

  1. クローズ確認: ユーザーに明示的に確認する
  2. 記録状況の確認: 実施内容・成果物の記録を確認する
  3. ファイル処理: 参考資料と関連チケットの参照を処理する
  4. 処理の実行: 削除またはアーカイブを実行する
  5. ADR記録の提案: 重要な技術判断がある場合に提案する

Read the full file on GitHub · 169 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. 19d ago Changed · +1 lines · +44 tokens per session c55d758bc416
  2. 1mo ago Changed · +1 lines · +61 tokens per session 47d772960b7a
  3. 2mo ago First seen · 167 lines · 2,073 tokens per session scan A 63c7a7444664

Subscribe to this mod's changes

MD-Ticket AGENTS.md is an instructions file published in the GitHub repository wate/MD-Ticket (2 stars, last pushed 3d ago), licensed MIT. It adds 2,178 tokens to every session, about $0.0087 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

MD-Ticket AGENTS.md compared with instructions from other repositories

MD-Ticket AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MD-Ticket AGENTS.mdwate/MD-TicketInstructions file23d agoMITA2,178Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode