next-role CLAUDE.md

next-role CLAUDE.md is an instructions file for coding agents from tam159/next-role. It costs 1,560 tokens per session, scanned A, original, MIT.

A CLAUDE.md instruction file for NextRole, a generative-AI career assistant. It explains the repository layout, including separate backend and frontend applications in a monorepo—a single repository containing multiple related apps—and rules for handling project documentation and generated files.

In plain words
What is it for?
Use it to guide local development and code changes in NextRole, especially across its Python backend, Next.js frontend, Docker setup, and checked-in project documents.
Why use it?
It gives Claude Code project-specific rules and prevents it from reading a large generated code graph that is considered stale or unsuitable as a source of truth.

Instructions file

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.

agentmods
npx agentmods add instructions/tam159/next-role/claude-md
Clone the repo
git clone --depth 1 https://github.com/tam159/next-role

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 next-role CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tam159/next-role/claude-md.svg)](https://agentmods.dev/instructions/tam159/next-role/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tam159/next-role/claude-md"><img src="https://agentmods.dev/badge/instructions/tam159/next-role/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,560 This file is loaded in full into every session.
When invoked 1,560 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.01560 $0.01560
Opus 5 $0.00780 $0.00780
Sonnet 5 $0.00312 $0.00312
Haiku 4.5 $0.00156 $0.00156

Measured 5d ago against content hash 620307fdbe14, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

next-role CLAUDE.md scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Use the `agent-browser` skill for visual verification, or `curl` for API checks.
CLAUDE.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 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 code in this repository.

NextRole is a GenAI career assistant. See README.md for product overview.

Layout

Monorepo with two top-level apps. Each has its own CLAUDE.md with stack-specific guidance:

  • backend/ — Python 3.13, uv, FastAPI-style agents (LangChain / LangGraph / DeepAgents). See @backend/CLAUDE.md.
  • frontend/ — Next.js 16, React 19, TypeScript, Tailwind, pnpm. See @frontend/CLAUDE.md.
  • docker-compose.yml runs the full local stack.

.ua/ — generated codebase graph (never read)

.ua/ holds a generated Understand-Anything knowledge graph that humans browse in a dashboard (README → "Explore the codebase graph"). Never read, grep, glob, or index anything under .ua/ — it is megabytes of generated JSON that wastes context and goes stale. Answer from the real source code and the checked-in *.md docs instead. Claude Code additionally hard-blocks it via the Read(/.ua/**) deny rule in .claude/settings.json, and Cursor via .cursorignore; for tools with no enforced ignore mechanism (e.g. Codex, which loads this file through project_doc_fallback_filenames), this instruction is the only guard.

docs/prd/ — feature PRDs (OKF knowledge bundle)

Per-feature design docs are an OKF bundle: markdown + YAML frontmatter (type, title, description, tags, status, …). Read them with progressive disclosure to save tokens:

  1. Start at docs/prd/index.md — one line per PRD (title + description). Don't bulk-read the folder.
  2. Open only the PRDs relevant to your task; follow their relative Extends:/Supersedes: links for lineage.
  3. Never read docs/prd/viz.html — the generated human-facing graph (guarded like .ua/ via a deny rule and .cursorignore; for tools without an enforced ignore, this instruction is the guard). Humans view/regenerate it per docs/prd/README.md.

Read the full file on GitHub · 90 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. 5d ago First seen · 90 lines · 1,560 tokens per session scan A 620307fdbe14

Subscribe to this mod's changes

next-role CLAUDE.md is an instructions file published in the GitHub repository tam159/next-role (49 stars, last pushed 2d ago), licensed MIT. It adds 1,560 tokens to every session, about $0.0078 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.