hames: Instructions file for Codex

AGENTS.md

hames AGENTS.md is an instructions file for Codex, OpenCode from baek-labs/hames. It costs 285 tokens per session, scanned A, original, MIT.

An entry guide for Hames that redirects coding agents to CLAUDE.md and several rule files before work begins. Those files define the project's prompt, context, agent, harness, and enforcement rules.

In plain words
What is it for?
Starting work in the Hames repository, loading its operating rules, interpreting natural-language triggers, and following its handoff and scope constraints. It is an entry point rather than a description of the application's features.
Why use it?
It makes the correct startup reading order explicit, including rules that are not automatically imported by Codex. It also states boundaries such as working only inside the Hames root and following the project's enforcement rules.

Instructions file for CodexOpenCode

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

This is baek-labs/hames's own configuration. It tells Codex and OpenCode how to work on hames 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 hames configures →

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/baek-labs/hames/agents-md"><img src="https://agentmods.dev/badge/instructions/baek-labs/hames/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 285 This file is loaded in full into every session.
When invoked 285 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.00285 $0.00285
Opus 5.5 $0.00114 $0.00114
Sonnet 5.5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade A, and why

hames 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 · 13 lines

What it actually says

Hames repository guidance

This repository builds the Hames plugin for Codex and Claude Code.

  • src/ is the only human-edited source of truth for skills, hooks, runtime code, schemas, and templates.
  • packages/codex and packages/claude are generated. Do not edit them directly; run node scripts/build.mjs.
  • Core provides /setup, /ready, /go, /index, and /doctor. Preserve the same-session present-to-go approval contract, dependency-aware progress, proportional independent review, and approved durable-knowledge destinations. Optional packs belong behind documented extension points.
  • Use project-relative paths and provider-neutral contract semantics. Do not add a fixed user, workspace list, role team, host path, or personal integration.
  • Write a failing test before risky behavior changes. Run node --test, node scripts/build.mjs, node scripts/verify.mjs, and git diff --check before handoff.
  • Do not commit, push, release, publish, or submit a marketplace listing unless the user explicitly requests it.

Hames includes adapted DryForge intent and execution workflows. Ordinary work requires no Git, and Git mutations require an explicit user request. Workspace roles are user-defined; long-lived docs are shared at the chosen root and loaded selectively. Index auditing is read-only; observed file changes update managed index blocks.

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 · +2 lines · +60 tokens per session d5ebd11e6dd2
  2. 2mo ago Changed · +25 tokens per session e5a0ebe03137
  3. 3mo ago Changed · -61 lines · -680 tokens per session d92ab05061dc
  4. 3mo ago First seen · 72 lines · 880 tokens per session scan A 35ea047f3029

Subscribe to this mod's changes

hames AGENTS.md is an instructions file published in the GitHub repository baek-labs/hames (5 stars, last pushed 2mo ago), licensed MIT. It adds 285 tokens to every session, about $0.0011 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

hames AGENTS.md compared with instructions from other repositories

hames AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hames AGENTS.mdbaek-labs/hamesInstructions file52mo agoMITA285Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot