AgentIssueTracker: Instructions file for Claude Code

CLAUDE.md

AgentIssueTracker CLAUDE.md is an instructions file for Claude Code from Rhynier/AgentIssueTracker. It costs 1,705 tokens per session, scanned A, original, MIT.

Project instructions for AgentIssueTracker, an issue-tracking service that lets coding agents share and coordinate work. They document the server's commands, source-file layout, issue statuses, and available tools.

In plain words
What is it for?
Use them when developing, testing, or maintaining AgentIssueTracker, especially when an agent needs to choose commands, find relevant files, or update issue status.
Why use it?
They give agents the project context needed to work consistently and understand how issues move through their lifecycle. They also make the codebase easier to navigate.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is Rhynier/AgentIssueTracker's own configuration. It tells Claude Code how to work on AgentIssueTracker 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 AgentIssueTracker configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Rhynier/AgentIssueTracker. 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/Rhynier/AgentIssueTracker/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Rhynier/AgentIssueTracker

Made for: Claude Code.

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 AgentIssueTracker CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rhynier/agentissuetracker/claude-md/github.svg)](https://agentmods.dev/instructions/rhynier/agentissuetracker/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rhynier/agentissuetracker/claude-md"><img src="https://agentmods.dev/badge/instructions/rhynier/agentissuetracker/claude-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 AgentIssueTracker CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rhynier/agentissuetracker/claude-md"><img src="https://agentmods.dev/badge/instructions/rhynier/agentissuetracker/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,705 This file is loaded in full into every session.
When invoked 1,705 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.01705 $0.01705
Opus 5.5 $0.00682 $0.00682
Sonnet 5.5 $0.00341 $0.00341
Haiku 4.5 $0.00170 $0.00170

Measured 2mo ago against content hash 14a40d61596b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AgentIssueTracker CLAUDE.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 2mo 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.

CLAUDE.md · 144 lines

How it starts

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

AgentIssueTracker — Agent Context

This is an MCP server that lets AI agents track and coordinate work on shared issues. It exposes eight MCP tools over HTTP (StreamableHTTP transport) and a read-only web UI, both served from the same Node.js process on a single port.

Commands

npm run dev          # Run directly with tsx (no build step, recommended for development)
npm run dev:watch    # Same, with auto-restart on file changes
npm run build        # Compile TypeScript to dist/
npm start            # Run compiled output (requires build first)
npm run bundle       # Bundle everything into a single dist/agent-issue-tracker.cjs
npm run start:bundle # Run the single-file bundle
npm test             # Run unit tests (vitest, single pass)
npm run test:watch   # Run tests in watch mode

File Map

src/types.ts            Shared interfaces — Issue, HistoryEntry, Comment, IssueStore
src/storage.ts          JSON file persistence — loadIssues() and saveIssues()
src/issueStore.ts       Business logic — in-memory store + all eight operations (incl. read-only listIssues, peekNextIssue)
src/mcpServer.ts        MCP tool registrations — delegates to issueStore
src/webServer.ts        Express web UI — HTML table with ?status= filter
src/index.ts            Entry point — mounts MCP HTTP transport at /mcp, starts combined HTTP server
src/storage.test.ts     Tests for loadIssues() and saveIssues()
src/issueStore.test.ts  Tests for all issue store operations (incl. listIssues)
src/webServer.test.ts   Tests for HTTP routes and HTML rendering
vitest.config.ts        Vitest configuration

esbuild.config.mjs esbuild bundler configuration for single-file packaging


Runtime artefacts (not in source control):

issues.json Live data store, auto-created on first write dist/ Compiled JavaScript, produced by npm run build dist/agent-issue-tracker.cjs Single-file bundle, produced by npm run bundle


## Issue Status Lifecycle

"created" → "in_progress" → "completed" → "in_review" → "closed" │ │ │ → "rejected" │ │ │ └────────────────┴────────────────┴──(return_issue)──→ "created"


Closed states (`closed`, `rejected`) are terminal — no tool transitions out of them.

## MCP Tools

| Tool | Key inputs | What it does |
|---|---|---|
| `add_issue` | title, description, classification, agent | Creates issue with status `created` |
| `list_issues` | status?, classification?, skip?, take? | Lists issues matching optional filters with pagination (read-only, no state change) |
| `peek_next_issue` | classifications (ordered array) | Returns oldest `created` issue matching first classification with results; falls through to next classification if none found (read-only, no state change) |
| `get_next_issue` | agent, classification? | Takes oldest `created` issue (FIFO, optionally filtered by classification), sets it `in_progress`, returns full JSON |
| `return_issue` | issue_id, comment, agent | Puts issue back to `created`; appends comment |
| `complete_issue` | issue_id, comment, agent | Sets issue to `completed` (ready for review); appends comment |
| `get_next_review_item` | agent | Takes oldest `completed` issue (FIFO), sets it `in_review`, returns full JSON |
| `close_issue` | issue_id, resolution, comment, agent | Sets `closed` or `rejected`; appends comment |

All mutating tools append to the issue's `history[]` array (timestamp + agent + action description). Read-only tools (`list_issues`, `peek_next_issue`) do not.

## Environment Variables

| Variable | Default | Purpose |
|---|---|---|
| `PORT` | `3000` | HTTP port for both the web UI and MCP endpoint |
| `ISSUES_FILE` | `<cwd>/issues.json` | Path to the JSON data file |

## Critical Conventions

**Prefer `console.error` for diagnostic output.** The codebase consistently uses `console.error` for all logging. (With HTTP transport stdout is no longer reserved for MCP protocol bytes, but keeping `console.error` is still good practice to avoid surprises.)

**All mutations go through `issueStore.ts`.** The web server is read-only; it calls only `getAllIssues()` and `getIssuesByStatus()`. Never add write paths to `webServer.ts`.

**Atomic saves.** `saveIssues()` in `storage.ts` writes to `issues.json.tmp` then renames it. Do not replace this with a direct `writeFile` to `issues.json` — the rename is what prevents corruption on crash.

**Module resolution requires `.js` extensions.** The project uses `"module": "NodeNext"` in tsconfig. All internal imports must end in `.js` even though the source files are `.ts`. The MCP SDK also ships as native ESM and requires this setting.

**`issueStore.ts` is a singleton.** The store is loaded once at module initialisation (`let store = loadIssues()`). Do not call `loadIssues()` again elsewhere — it reads from disk and would overwrite in-memory state.

**Test isolation for the singleton.** Because the store is module-level state, tests use `vi.doMock('./storage.js', ...)` + `vi.resetModules()` in `beforeEach` to get a fresh module (and therefore a fresh empty store) for each test. Do not add a `resetStore()` export to production code — the test pattern already handles this cleanly.

## MCP Client Configuration

The server runs independently and clients connect to it over HTTP. Start the server first:

```bash

Read the full file on GitHub · 144 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. 2mo ago First seen · 144 lines · 1,705 tokens per session scan A 14a40d61596b

Subscribe to this mod's changes

AgentIssueTracker CLAUDE.md is an instructions file published in the GitHub repository Rhynier/AgentIssueTracker (0 stars, last pushed 8mo ago), licensed MIT. It adds 1,705 tokens to every session, about $0.0068 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

AgentIssueTracker CLAUDE.md compared with instructions from other repositories

AgentIssueTracker CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgentIssueTracker CLAUDE.mdRhynier/AgentIssueTrackerInstructions file08mo agoMITA1,705Claude Code
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