PJTemplate: Instructions file for Claude Code

AGENTS.md

PJTemplate AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from atebites-hub/PJTemplate. It costs 5,355 tokens per session, scanned A, original, MIT.

Project instructions for turning atebites-hub/PJTemplate into a real repository. They cover setup decisions, documentation, project memory, reasoning workflows, and rules for coding agents.

In plain words
What is it for?
Setting up the template, recording project choices, updating its documentation, and configuring it for multiple coding tools.
Why use it?
They explain which template parts must be replaced and help prevent commits while the project is still an unconfigured scaffold.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is atebites-hub/PJTemplate's own configuration. It tells Claude Code, Codex and OpenCode how to work on PJTemplate 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 PJTemplate configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 PJTemplate AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/atebites-hub/pjtemplate/agents-md"><img src="https://agentmods.dev/badge/instructions/atebites-hub/pjtemplate/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,355 This file is loaded in full into every session.
When invoked 5,355 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.05355 $0.05355
Opus 5.5 $0.02142 $0.02142
Sonnet 5.5 $0.01071 $0.01071
Haiku 4.5 $0.00536 $0.00536

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

Security

Grade A, and why

PJTemplate 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 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.

AGENTS.md · 293 lines

How it starts

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

AGENTS.md - Project Rules

Guidelines for Filling Out This Template

  • Start with docs/agents/template_setup_checklist.md — it is the exhaustive manifest of every feature/decision this template ships, and it drives the setup gate (scripts/check-template-setup.sh) that blocks commits until the scaffold is fully transformed. Step 1 is rm .template-scaffold (activates the gate); record every decision in config/setup.toml.
  • Replace [Project Name] with your project's name (e.g., "My API Service" or "Game App").
  • Set [Number] to the count of core docs (default 10; adjust if needed).
  • Customize consultation/quality gates for your domain (e.g., add "API rate limits" for server-heavy projects).
  • For multi-agent use: Ensure links work across tools (e.g., mdc: for Markdown previews); test in Cursor/Claude.
  • Reference repo structure: Store this as root/AGENTS.md; link to /file_structure.md for agent file impacts.
  • When transforming this template repository into the user's desired repository, first consult with the user in detail their project requirements.
  • For each template file being updated, iterate in detail with the user over each section, ensuring that the document matches the user's preferences.

Memory System

Task memory tracking is handled by the memory-system skill. See .agents/skills/memory-system/SKILL.md for workflow.

Requirement: Sprint tasks live in docs/agents/implementation_plan.md. That a task memory accompanies source changes — with its reasoning fields filled — is enforced by scripts/check-task-compliance.sh (checks C1/C3) via the git pre-commit hook and CI, not by prose. See docs/agents/enforcement_matrix.md.

Reasoning System

Structured reasoning before implementation is handled by the reasoning-system skill. See .agents/skills/reasoning-system/SKILL.md for workflow and bindings.

Read the full file on GitHub · 293 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 Changed · -1 lines · -29 tokens per session 21891ad1b89a
  2. 2mo ago First seen · 294 lines · 5,384 tokens per session scan A 91f4fa385e35

Subscribe to this mod's changes

PJTemplate AGENTS.md is an instructions file published in the GitHub repository atebites-hub/PJTemplate (2 stars, last pushed 16d ago), licensed MIT. It adds 5,355 tokens to every session, about $0.0214 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

PJTemplate AGENTS.md compared with instructions from other repositories

PJTemplate AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PJTemplate AGENTS.mdatebites-hub/PJTemplateInstructions file216d agoMITA5,355Claude Code, Codex, 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