Foreman: Instructions file for Claude Code

AGENTS.md

Foreman AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from Turki-Sh/Foreman. It costs 1,285 tokens per session, scanned A, original, MIT.

A build playbook made of instructions and reference files that tells a coding agent how to run a website build. It is not a software library and has no code, dependencies, or build step of its own.

In plain words
What is it for?
Use it to guide an agent through a website build, including the required user interview, reference reading, and message-format rules.
Why use it?
It makes the agent gather requirements and follow the project's prescribed process before writing code.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; reads ~/.codex paths.

This is Turki-Sh/Foreman's own configuration. It tells Claude Code, Codex and OpenCode how to work on Foreman 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 Foreman configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 Foreman AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/turki-sh/foreman/agents-md"><img src="https://agentmods.dev/badge/instructions/turki-sh/foreman/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,285 This file is loaded in full into every session.
When invoked 1,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.01285 $0.01285
Opus 5.5 $0.00514 $0.00514
Sonnet 5.5 $0.00257 $0.00257
Haiku 4.5 $0.00128 $0.00128

Measured yesterday against content hash 4c6fb3e3c61e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Foreman 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 yesterday.

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 · 77 lines

How it starts

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

AGENTS.md

Instructions for any coding agent that reads this repository.

Foreman is a build playbook, not a library. It contains no code to run, no dependencies to install, and no build step. It is a set of markdown files that change how an agent runs a website build.

If you are an agent reading this repo

The entire product is one file plus the files it reads when they are needed:

plugins/foreman/skills/foreman/SKILL.md
plugins/foreman/skills/foreman/references/    14 files, read when the step arrives
plugins/foreman/skills/foreman/toolbelt/      4 tools: board, punch list, palette, launch
plugins/foreman/skills/foreman/assets/        7 fillable templates
plugins/foreman/skills/{board,punch-list,palette,launch}/SKILL.md
                                              thin wrappers that make the tools slash commands in Claude Code

Read SKILL.md and follow it. It tells you to interview the user before writing any code. That instruction is the product, and skipping to the build is the one failure that makes the rest of the file pointless.

Do not summarize the playbook back to the user and do not explain what a step is for. Mark each message with the step stamp SKILL.md defines, and nothing else.

No em dashes and no en dashes anywhere in this repository or in anything a session produces. CI fails the build on one. Use a comma, a full stop, or two sentences.

Installing it for your human

Foreman needs no adapter. Copy one folder, plugins/foreman/skills/foreman/, to wherever your tool looks for skills, rules, or instructions. The toolbelt and the modes are inside it. The four wrapper folders beside it are optional: copy them next to it if your tool turns skills into commands.

Tool Destination
Claude Code /plugin marketplace add Turki-Sh/Foreman then /plugin install foreman@alshuaibi. Outside an interactive terminal, /plugin does not exist: use claude plugin marketplace add Turki-Sh/Foreman then claude plugin install foreman@alshuaibi
Claude apps Upload dist/foreman.skill in the skills settings
Universal skills directory ~/.agents/skills/foreman/
Cursor ~/.cursor/rules/ or .cursor/rules/ in the project
Codex ~/.codex/skills/foreman/ or reference it from AGENTS.md
GitHub Copilot .github/copilot-instructions.md, or point it at SKILL.md
Windsurf .windsurfrules, or the workspace rules directory
Gemini CLI GEMINI.md, or the extensions directory
Cline, Continue, Roo The custom instructions or rules field
Anything else Paste SKILL.md into the conversation

Read the full file on GitHub · 77 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. yesterday Changed · +8 lines · +254 tokens per session 4c6fb3e3c61e
  2. 1mo ago First seen · 69 lines · 1,031 tokens per session scan A 7d5299c866df

Subscribe to this mod's changes

Foreman AGENTS.md is an instructions file published in the GitHub repository Turki-Sh/Foreman (32 stars, last pushed yesterday), licensed MIT. It adds 1,285 tokens to every session, about $0.0051 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-30.

Related

Other instructions, from other repositories