pm: Instructions file for Claude Code

CLAUDE.md

pm CLAUDE.md is an instructions file for Claude Code from dtannen/pm. It costs 1,118 tokens per session, scanned A, original, MIT.

Project instructions for developing the PM Dashboard with Claude Code, including environment setup, tests, formatting, linting, type checking, and database guidance. Claude Code is a coding assistant that follows repository instructions.

In plain words
What is it for?
Use it when setting up the project, running its test and quality checks, understanding its structure, or changing its database and application code.
Why use it?
It gives the assistant and developers a shared reference for how this project is organized and how changes should be checked. This reduces inconsistent commands and development practices.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

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

View source ↗ dtannen/pm
Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dtannen/pm/claude-md"><img src="https://agentmods.dev/badge/instructions/dtannen/pm/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,118 This file is loaded in full into every session.
When invoked 1,118 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.01118 $0.01118
Opus 5.5 $0.00447 $0.00447
Sonnet 5.5 $0.00224 $0.00224
Haiku 4.5 $0.00112 $0.00112

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

Security

Grade A, and why

pm 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 · 116 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with the PM Dashboard project.

Development Environment Setup

Virtual Environment:

  • source activate.sh - Activate the Python virtual environment (uses venv/bin/activate)
  • deactivate - Deactivate the virtual environment

Dependencies:

  • pip install -e ".[dev]" - Install project in editable mode with development dependencies
  • pip install -e ".[test]" - Install with test dependencies only
  • pip install -e ".[lint]" - Install with linting dependencies

Development Commands

Testing:

  • python -m pytest - Run all tests
  • python -m pytest test/project_manager/ - Run project manager tests
  • python -m pytest test/project_manager/test_database.py -v - Run database tests with verbose output
  • python -m pytest test/project_manager/test_mcp_server.py -v - Run MCP server tests
  • python -m pytest -m "not slow" - Skip slow tests
  • python -m pytest --cov=task_manager - Run tests with coverage

Code Quality:

  • black --check . - Check code formatting
  • black . - Format code
  • ruff check . - Lint code
  • ruff check . --fix - Lint and auto-fix issues
  • mypy src/ - Type checking

Running the Application:

  • python -m task_manager.cli - Run CLI interface
  • python -m task_manager.mcp_server - Start MCP server
  • python -m task_manager.api - Start REST API server

Project Structure

src/task_manager/
├── __init__.py
├── api.py              # REST API endpoints
├── cli.py              # Command-line interface  
├── database.py         # SQLite database layer
├── mcp_server.py       # FastMCP server
├── models.py           # Data models
├── tools.py            # MCP tools implementation
└── static/
    └── index.html      # Frontend dashboard

Database Management

Fresh Schema Initialization:

  • The database supports clean slate initialization
  • Schema includes: projects, epics, tasks, task_logs tables
  • JSON validation constraints for RA metadata
  • Performance indexes for optimal queries

Read the full file on GitHub · 116 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 · 116 lines · 1,118 tokens per session scan A 89efd41900ff

Subscribe to this mod's changes

pm CLAUDE.md is an instructions file published in the GitHub repository dtannen/pm (0 stars, last pushed 1y ago), licensed MIT. It adds 1,118 tokens to every session, about $0.0045 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

pm CLAUDE.md compared with instructions from other repositories

pm CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pm CLAUDE.mddtannen/pmInstructions file01y agoMITA1,118Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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