how2claude AGENTS.md

how2claude AGENTS.md is an instructions file for Codex, OpenCode from cresslank/how2claude. It costs 69 tokens per session, scanned C, original, Apache-2.0.

Project instructions for how2claude, a starter kit and guide for people learning to use coding assistants such as Claude Code and Codex CLI.

In plain words
What is it for?
Making changes within the how2claude project while following its instructions. The input does not include the detailed rules in CLAUDE.md.
Why use it?
They give the coding agent project-specific context and conventions when working in this learning resource.

Instructions file for CodexOpenCode

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/cresslank/how2claude/agents-md
Clone the repo
git clone --depth 1 https://github.com/cresslank/how2claude

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 how2claude AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cresslank/how2claude/agents-md.svg)](https://agentmods.dev/instructions/cresslank/how2claude/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/cresslank/how2claude/agents-md"><img src="https://agentmods.dev/badge/instructions/cresslank/how2claude/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 This file is loaded in full into every session.
When invoked 69 The same file — it is already loaded in full.
Security scan C 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.00069 $0.00069
Opus 5 $0.00034 $0.00034
Sonnet 5 $0.00014 $0.00014
Haiku 4.5 $0.00007 $0.00007

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

Security

Grade C, and why

how2claude AGENTS.md scanned grade C 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- This file is for AI coding tools other than Claude Code. Tools that read this file include: Codex CLI, Cursor, Windsurf, and others. The first line points these tools to CLAUDE.md, which contains the actual project
AGENTS.md · 10 lines

What it actually says

CLAUDE.md

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 · 10 lines · 69 tokens per session scan C fa51be2d3e6e

Subscribe to this mod's changes

how2claude AGENTS.md is an instructions file published in the GitHub repository cresslank/how2claude (3 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 69 tokens to every session, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

model-mondays AGENTS.md

Instructions for microsoft/model-mondays, covering agent guidelines for model mondays repository, 📋 repository overview, content structure, 🎯 key conventions and file naming patterns.

microsoft/model-mondays · 3,385 tokens

academic-writing-toolkit AGENTS.md

AGENTS.md instructions for yha9806/academic-writing-toolkit, covering academic writing project, skill discovery, project overview, directories and targets.

yha9806/academic-writing-toolkit · 387 tokens

hahow-mentor-agent CLAUDE.md

Claude Code instructions for htlin222/hahow-mentor-agent, covering hahow mentor agent — project notes for claude, auto-relay: hahow-watcher channel (research preview), --dangerously-skip-permissions, routine: batch-draft outstanding student questions and project layout reminders.

htlin222/hahow-mentor-agent · 987 tokens

academic-writing-toolkit GEMINI.md

Gemini CLI instructions for yha9806/academic-writing-toolkit, covering academic writing project, skill discovery, project overview, directories and targets.

yha9806/academic-writing-toolkit · 377 tokens

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 tokens

open-dictionary AGENTS.md

Instructions for ahpxex/open-dictionary, covering open dictionary rewrite charter, product framing, core workflow, technical framework and 1. raw ingestion layer.

ahpxex/open-dictionary · 1,906 tokens