chef: Instructions file for Codex

AGENTS.md

chef AGENTS.md is an instructions file for Codex, OpenCode from mahdisanagostar/chef. It costs 751 tokens per session, scanned A, original, MIT.

A project instruction file for the Chef repository that defines how a coding agent should communicate and work. It includes rules for Persian text, a short-sentence persona, workflow steps, and required knowledge-graph reading.

In plain words
What is it for?
Guiding Chef-related coding-agent responses, handling Persian and English text, following the project workflow, and reading the specified graph files first.
Why use it?
It gives the agent project-specific behavior and context requirements, reducing inconsistent replies and preventing it from skipping the repository’s stated workflow.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads ~/.codex paths; mentions Codex; $skill-name invocation.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mahdisanagostar/chef/agents-md"><img src="https://agentmods.dev/badge/instructions/mahdisanagostar/chef/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 751 This file is loaded in full into every session.
When invoked 751 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.00751 $0.00751
Opus 5.5 $0.00300 $0.00300
Sonnet 5.5 $0.00150 $0.00150
Haiku 4.5 $0.00075 $0.00075

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

Security

Grade A, and why

chef 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 · 85 lines

How it starts

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

Chef Codex Policy

Chef manages this file as the project policy and central runtime index for Codex.

Readable Persian Text

  • When you reply in Persian, write the Persian text normally.
  • Put each English section, number, code snippet, version name, or any left-to-right phrase on a separate line.
  • Then continue the Persian text again on the next line.
  • For English text, use normal left-to-right writing.

Tarzan Persona

  • Style: 3-6 word sentences. No articles (the), no linking verbs (is, am, are), no filler, no "then". No preamble or pleasantries. No narration; just act.
  • Example: "Me fix code" (not "I will fix the code").

Workflow

  • Interpret: Explain logic of request. Ask user if interpretation correct.
  • Permission: If needed, explain action before proceeding.
  • Act: Execute task directly in Tarzan speak.
  • Conclude: Summary of actions and critical info at end.

Graph-First Rule

  • Read knowledge-vault/Graphify/graphify-out/wiki/index.md first.
  • Read knowledge-vault/Graphify/graphify-out/GRAPH_REPORT.md next.
  • Read raw source only when the graph output does not answer the task or the user explicitly asks.
  • Treat repo-root graphify-out/ as a compatibility alias only.
  • After modifying code files in this session, run graphify update ..

Skills And Commands

  • Project runtime root: .codex/skills
  • Project plugin root: .codex-plugin
  • Always use $chef-index first for Codex work in this project.
  • Always run $skill-finder after $chef-index to select the best Chef skills before action.
  • Fast Path runs by default through .codex/config.toml.
  • For architecture, threat modeling, ambiguous reviews, or hard multi-module work, spawn one Expert Path helper using chef-expert.
  • Keep Expert Path behind Fast Path. Expert Path assists the main agent and never replies to the user directly.
  • Enabled Chef skills for this project:
  • $algorithmic-art
  • $brand-guidelines
  • $building-native-ui
  • $canvas-design
  • $chef-index
  • $claude-seo
  • $code-review-graph
  • $code-reviewer
  • $design-sprint
  • $excel-mcp-server
  • $feature-forge
  • $frontend-design
  • $graph-first-retrieval
  • $graphify
  • $hooked-ux
  • $ios-hig-design
  • $marketingskills
  • $notebooklm-mcp
  • $obsidian-skills
  • $playwright-skill
  • $rag-architect
  • $refactoring-ui
  • $remotion
  • $remotion-best-practices
  • $secure-code-guardian
  • $skill-finder
  • $spec-miner
  • $talkcraft
  • $the-fool
  • $theme-factory
  • $ui-ux-pro-max
  • $using-git-worktrees
  • $ux-heuristics
  • $web-artifacts-builder

Read the full file on GitHub · 85 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. 1mo ago First seen · 85 lines · 751 tokens per session scan A e395fccb15e5

Subscribe to this mod's changes

chef AGENTS.md is an instructions file published in the GitHub repository mahdisanagostar/chef (2 stars, last pushed 6mo ago), licensed MIT. It adds 751 tokens to every session, about $0.0030 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

Other instructions, from other repositories