claude-code-my-workflow CLAUDE.md

claude-code-my-workflow CLAUDE.md is an instructions file for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 2,238 tokens per session, scanned A, original, MIT.

A set of instructions for using Claude Code on academic projects. It defines project boundaries, planning and verification steps, file responsibilities, quality checks, and lessons learned.

In plain words
What is it for?
Use it to guide Claude Code while developing academic projects with Beamer, Quarto, code, and research artefacts.
Why use it?
It gives an AI coding assistant consistent rules for what to change, how to plan work, and how to verify the result.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code.

About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,562 stars · on GitHub · psantanna.com

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/pedrohcgs/claude-code-my-workflow/claude-md
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

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 claude-code-my-workflow CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pedrohcgs/claude-code-my-workflow/claude-md.svg)](https://agentmods.dev/instructions/pedrohcgs/claude-code-my-workflow/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pedrohcgs/claude-code-my-workflow/claude-md"><img src="https://agentmods.dev/badge/instructions/pedrohcgs/claude-code-my-workflow/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,238 This file is loaded in full into every session.
When invoked 2,238 The same file — it is already loaded in full.
Security scan A 0 findings. 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.1 $0.02238 $0.02238
Opus 5 $0.01119 $0.01119
Sonnet 5 $0.00448 $0.00448
Haiku 4.5 $0.00224 $0.00224

Measured 2d ago against content hash 98855aa3b751, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

claude-code-my-workflow 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 2d 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 · 165 lines

How it starts

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

CLAUDE.MD -- Academic Project Development with Claude Code

Project: [YOUR PROJECT NAME] Institution: [YOUR INSTITUTION] Branch: main


Scope Discipline

Do exactly what was asked — nothing adjacent. Do not add README files, build scripts, .gitignore edits, helper utilities, or extra tooling that was not requested. If an addition looks valuable, list it as a suggestion at the end and let the user decide.

A request for a codebook is a request for a codebook. Delivering a codebook plus a README plus build scripts plus gitignore edits means the user now has to review four things to accept one, and the usual outcome is that all four get thrown away.

Before adding anything not named in the request, ask. One line is cheaper than a revert.


Core Principles

  • Plan first -- enter plan mode before non-trivial tasks; save plans to quality_reports/plans/
  • Verify after -- compile/render and confirm output at the end of every task
  • Single source of truth -- Beamer .tex is authoritative; Quarto .qmd derives from it
  • Quality gates -- nothing ships below 80/100
  • [LEARN] tags -- when corrected, save [LEARN:category] wrong → right to MEMORY.md

Cross-session context lives in MEMORY.md; past plans, specs, and session logs are in quality_reports/.

How we verify — the references and rules that carry the verification discipline:

  • verification-ladder.md — the seven rungs, from qualify the checker to the external oracle, and how the review loop converges.
  • external-oracle-process.md — running an independent frontier-model referee (Claude Code → GPT-5.6 Sol Pro) and adjudicating what it returns.
  • provenance-and-ground-truth.md — naming and pinning your oracles, classifying divergence, and the clean-room boundary.
  • review-fencing.md — reviewer independence is a property of the environment, not an instruction: a neutral copy outside the checkout, prior verdicts withheld, and the answer keys the repo already commits fenced off.
  • release-engineering.md — shipping research software: message and silent-resolution censuses, frozen feature matrices for ports, hash-claimed inherited tests, and downstream consumers pinned by commit SHA.

Read the full file on GitHub · 165 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. 2d ago First seen · 165 lines · 2,238 tokens per session scan A 98855aa3b751

Subscribe to this mod's changes

claude-code-my-workflow CLAUDE.md is an instructions file published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,562 stars, last pushed 12d ago), licensed MIT. It adds 2,238 tokens to every session, about $0.0112 per session on Opus 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-09-03.

Related

Other instructions, from other repositories

finai-research CLAUDE.md

Claude Code instructions for csmar432/finai-research, covering 论文-研报工作流 · finresearch agent, 一句话, 快速开始, 写作轨 and 实证轨(现代 did).

csmar432/finai-research · 5,979 tokens

finai-research AGENTS.md

AGENTS.md instructions for csmar432/finai-research, covering agents.md — codex / copilot / claude code entry point, project: 论文-研报工作流 · finresearch agent, quick start (3 commands), 1. install (one of:) and 2. configure llm (deepseek is free for chinese use).

csmar432/finai-research · 2,870 tokens

finai-research copilot-instructions.md

Copilot instructions for csmar432/finai-research, covering copilot instructions for 论文-研报工作流, 项目概述, 自动启动流程(每次对话必须执行), 诊断交互(三平台统一) and 项目结构.

csmar432/finai-research · 2,745 tokens

statsclaw CLAUDE.md

Instructions for statsclaw/statsclaw, a project described as: A workflow framework for statistical package development.

statsclaw/statsclaw · 25 tokens

economics-paper-reviewer CLAUDE.md

Instructions for viplee110/economics-paper-reviewer: This repository is a portable English-only economics paper pre-review skill.

viplee110/economics-paper-reviewer · 203 tokens

causal-powers AGENTS.md

Instructions for lancegui/causal-powers, a project described as: Economist's discipline for data analysis, causal inference, and econometrics — reduced-form and structural. A Claude Code plugin whose name is a homage to superpowers; it makes the silent failures of data work loud.

lancegui/causal-powers · 4 tokens