cc-thinking-skills: Instructions file for Codex

AGENTS.md

cc-thinking-skills AGENTS.md is an instructions file for Codex, OpenCode from tjboudreaux/cc-thinking-skills. It costs 1,046 tokens per session, scanned A, original, MIT.

Repository instructions for developing and evaluating 28 Claude Code thinking skills, with a focus on improving task success and reducing token use.

In plain words
What is it for?
They help maintain agent guidelines, design skills, run evaluations, and judge whether changes benefit different model sizes without unnecessary instructions.
Why use it?
They keep skill changes tied to measurable performance or cost goals and require evaluation evidence for claims about improvements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code.

This is tjboudreaux/cc-thinking-skills's own configuration. It tells Codex and OpenCode how to work on cc-thinking-skills 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 cc-thinking-skills configures →

About the project

Claude Code Thinking Skills is a catalogue of 28 portable skills that give coding agents structured procedures for reasoning about decisions, diagnosis, risk, strategy, and related problems. It is intended for Claude Code, GitHub Copilot, Codex, Cursor, and other tools that support Agent Skills.

tjboudreaux/cc-thinking-skills · 1,293 stars · on GitHub

Reuse

Borrowing it

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

Made for: 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 cc-thinking-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tjboudreaux/cc-thinking-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/tjboudreaux/cc-thinking-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,046 This file is loaded in full into every session.
When invoked 1,046 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.01046 $0.01046
Opus 5 $0.00523 $0.00523
Sonnet 5 $0.00209 $0.00209
Haiku 4.5 $0.00105 $0.00105

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

Security

Grade A, and why

cc-thinking-skills 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 9d 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 · 52 lines

How it starts

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

Agent Guidelines

This repository packages 28 Claude Code thinking skills. Treat it as a plugin marketplace project first and an eval research project second.

First Principles

Every change to this project must serve at least one of these goals, and any major change should state which one:

  1. Maximize model performance per task — raise measured task success of the skills and harness, across frontier SoTA models and smaller/cheaper models alike.
  2. Reduce token usage / cost per task — at equal or better measured performance.

A change that does neither is noise. A change that trades one goal against the other must say so and show the measurement. Treat every token in a skill description or body as a cost charged against these goals: descriptions are paid on every model invocation, bodies on every skill trigger. Performance claims must name the model class measured; a win on a frontier model that harms a smaller model (or the reverse) is not a proven win.

Skill Authoring & Eval Standards

Distilled from "Don't Ship Skills Without Evals" (Philipp Schmid, Google DeepMind) and "How I deleted 95% of my agent skills and got better results" (Nick Nisi, WorkOS):

  • Never ship a skill change without eval evidence. Run the relevant evals on every skill diff; merge only when evals improve or coverage grows. Current post-edit evidence only — historical pre-edit results are context, not proof.
  • Measure, don't assume. More tokens and more instructions do not imply better performance; a loaded skill can actively hurt (documented case: 97% correct without a skill, 77% with it). Trust is a pass rate, not a vibe.
  • Run ablations. Evaluate with and without the skill. Retire a capability skill (one that teaches what the base model can't yet do) when the model matches it unaided — models improve and evals tell you when. Preference skills (this project's conventions) are durable; protect them with regression evals. Keep the eval after retiring the skill as the guard that says when to reintroduce it.
  • Guide, don't prescribe. Skills encode gotchas, landmines, and decision boundaries — not documentation summaries. Reference point: 10,000 generated lines cut to 553 hand-written gotcha lines raised accuracy and cut eval runtime from 68 to 6 minutes.
  • Write directives, not essays. Tell the agent when to use the skill and when not to; keep the required "When NOT to Use" boundary sharp and back it with negative trigger evals.
  • Keep skills lean and layered. Target under 500 words per SKILL.md; push depth into reference files (progressive disclosure). The frontmatter description is the always-paid cost — every word must change routing behavior.
  • Kill no-ops. Delete any instruction that does not change agent behavior ("write clean code", "be thorough"). Every retained line must pay for its tokens.
  • Scripts for deterministic work. If a workflow is always the same, make it a script the agent calls — not prompt content the model re-derives at token cost.
  • Enforce, don't instruct. Put must-happen checks in code — validators, gates, hashes, state machines — not in prose the model can skip or fake. Require verifiable artifacts (output hashes, logs, recorded runs) for claimed results.
  • Test outcomes, not paths; test early. A handful of positive plus negative prompts per skill beats none. Prefer cheap deterministic asserts (regex/exact match) over LLM judges; run multiple trials before trusting a result (agents are non-deterministic); isolate eval runs so agents cannot mine prior state.
  • Every failure becomes harness data. Feed eval failures back into skill gotchas, datasets, or gates — fix the harness, not just the output.

Read the full file on GitHub · 52 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. 9d ago First seen · 52 lines · 1,046 tokens per session scan A 780706479953

Subscribe to this mod's changes

cc-thinking-skills AGENTS.md is an instructions file published in the GitHub repository tjboudreaux/cc-thinking-skills (1,293 stars, last pushed 1mo ago), licensed MIT. It adds 1,046 tokens to every session, about $0.0052 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-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens