FrontAgent: Instructions file for Codex

AGENTS.md

FrontAgent AGENTS.md is an instructions file for Codex, OpenCode from ceilf6/FrontAgent. It costs 1,175 tokens per session, scanned A, original, MIT.

A set of project instructions for FrontAgent, an open-source coding harness. It explains which documents define the project, how to handle changes, and how to check their impact.

In plain words
What is it for?
Use it when contributing to FrontAgent: prepare the project, review a change’s impact, keep edits focused, run tests, and inspect the final diff.
Why use it?
It reduces guesswork when project documents disagree or a code change may affect other parts of the project. It also sets checks to run before and after editing.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ceilf6/frontagent/agents-md"><img src="https://agentmods.dev/badge/instructions/ceilf6/frontagent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,175 This file is loaded in full into every session.
When invoked 1,175 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.01175 $0.01175
Opus 5.5 $0.00470 $0.00470
Sonnet 5.5 $0.00235 $0.00235
Haiku 4.5 $0.00118 $0.00118

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

Security

Grade A, and why

FrontAgent 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 83 lines

How it starts

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

FrontAgent OSS Harness

Documents

  1. README.md is the public product and command overview.
  2. docs/architecture.md and docs/design.md define architecture and SDD behavior.
  3. CONTRIBUTING.md, docs/workflow.md, and docs/knowledge-contract.md define OSS contribution, Harness, and GitNexus contract rules.
  4. Issue or PR text defines the specific change request.
  5. Existing code is evidence, but it does not override the documents above.

When documents conflict or expected behavior is unclear, ask the maintainer instead of silently choosing a new architecture.

Work

  1. Run pnpm agent:bootstrap and pnpm quality:predev before code changes when feasible.
  2. Before editing a function, class, or method, run GitNexus impact analysis and report the blast radius.
  3. Keep changes focused and independently reviewable.
  4. Run focused tests for the touched area, then broader gates as risk increases.
  5. Before final review, run pnpm quality:precommit at minimum and use GitNexus detect_changes to inspect the final diff.
  6. For critical skeleton changes, fill the PR GitNexus impact summary with concrete detect_changes plus query, context, or impact results.

Harness Loop

For non-trivial repository changes, use this loop:

  1. Start from an Issue, Discussion, or maintainer-approved task description.
  2. Create a short-lived branch from develop using feat/, fix/, docs/, or chore/.
  3. Run pnpm agent:bootstrap and pnpm quality:predev.
  4. Implement the smallest reviewable change with focused tests.
  5. Run pnpm quality:local before pushing when feasible.
  6. Open a PR to develop with the PR template filled in, including the GitNexus impact summary for critical skeleton changes.
  7. Wait for GitHub Actions, Contract Guard, Repo Guard, Codex, Copilot, and maintainer review comments.
  8. Address actionable review comments with follow-up commits, then rerun the relevant gates.
  9. Let maintainers decide merge readiness; do not add comment-triggered auto-merge behavior.

Read the full file on GitHub · 83 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. 2mo ago First seen · 83 lines · 1,175 tokens per session scan A 03ba21d21c48

Subscribe to this mod's changes

FrontAgent AGENTS.md is an instructions file published in the GitHub repository ceilf6/FrontAgent (120 stars, last pushed 9d ago), licensed MIT. It adds 1,175 tokens to every session, about $0.0047 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

FrontAgent AGENTS.md compared with instructions from other repositories

FrontAgent AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
FrontAgent AGENTS.mdceilf6/FrontAgentInstructions file1209d agoMITA1,175Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode