craft: Instructions file for Codex

AGENTS.md

craft AGENTS.md is an instructions file for Codex, OpenCode from Data-Wise/craft. It costs 336 tokens per session, scanned A, original, MIT.

Development instructions for the Craft plugin, including its coding conventions and commands for building, checking, linting, and testing. They also explain how to run unit and integration tests.

In plain words
What is it for?
Use them when changing the Craft plugin, running its tests, checking documentation, validating counts, or building its documentation site.
Why use it?
They give a coding agent the repository-specific steps needed to make changes without skipping required checks.

Instructions file for CodexOpenCode

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

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/davood/.codex/reference/repos/dev-tools-craft/AGENTS-detail-2026-10-12.md.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/data-wise/craft/agents-md"><img src="https://agentmods.dev/badge/instructions/data-wise/craft/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 336 This file is loaded in full into every session.
When invoked 336 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.00336 $0.00336
Opus 5.5 $0.00134 $0.00134
Sonnet 5.5 $0.00067 $0.00067
Haiku 4.5 $0.00034 $0.00034

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

Security

Grade A, and why

craft 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 1mo 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

AGENTS.md - Development Guidelines for Craft Plugin

Working contract

Commands/skills/agents use YAML frontmatter; keep counts, public interfaces, README, examples, breaking-change notices, and documentation synchronized. Python: explicit types, specific exceptions, pathlib, public API docstrings; validate paths and inputs, mock external dependencies, clean test artifacts. Coverage target: 90%+, including critical paths and edge/error cases. Required gates: python3 -m pytest tests/ -v, bash tests/test_dependency_management.sh, ./scripts/validate-counts.sh, configured Markdown lint, documentation build and link checks. Read the reference's Build/Lint/Test Commands and CI/CD Integration before committing or releasing.

On-demand requirements

The exact pre-condensation instructions are preserved in /Users/davood/.codex/reference/repos/dev-tools-craft/AGENTS-detail-2026-10-12.md. Before a task, read only its applicable sections: scientific/model changes, builds/tests, source conventions, dependency/API changes, packaging/releases, configuration/imports, deployment, or workflow cleanup. Every applicable requirement and verification gate there remains binding; this shorter file does not waive any. Do not load the whole reference for unrelated tasks. Historical versions, counts, results and completed-work snapshots are not live status: check the owning source and .STATUS. Current user instructions and project holds take precedence.

Preserve unrelated changes and concurrent sessions. Required checks must pass before claiming completion; inspect actual rendered artifacts where applicable. Author review/submission holds remain active until explicitly lifted. Passing checks never authorizes submission, merge, release, deployment, email sending or privacy changes.

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. 1mo ago Changed · -338 lines · -1,782 tokens per session d752e193b12a
  2. 3mo ago First seen · 351 lines · 2,118 tokens per session scan A 4bec3b23db92

Subscribe to this mod's changes

craft AGENTS.md is an instructions file published in the GitHub repository Data-Wise/craft (4 stars, last pushed 7d ago), licensed MIT. It adds 336 tokens to every session, about $0.0013 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

craft AGENTS.md compared with instructions from other repositories

craft AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
craft AGENTS.mdData-Wise/craftInstructions file47d agoMITA336Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot