eigent: Instructions file for Codex

AGENTS.md

eigent AGENTS.md is an instructions file for Codex, OpenCode from eigent-ai/eigent. It costs 608 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for working on the Eigent application, including its product terms, design system, and user-interface code.

In plain words
What is it for?
Use them when planning, reviewing, generating, or modifying Eigent UI, components, styles, tokens, or design documentation.
Why use it?
They keep interface changes consistent with the documented design rules and help agents inspect the right project context before editing.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

About the project

Eigent is an open-source desktop application for creating and running teams of AI agents that automate complex workflows locally. It supports focused tasks and coordinated multi-agent work for people who want a free, customizable AI workforce.

eigent-ai/eigent · 15,751 stars · on GitHub · eigent.ai

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eigent-ai/eigent/agents-md"><img src="https://agentmods.dev/badge/instructions/eigent-ai/eigent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 608 This file is loaded in full into every session.
When invoked 608 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.00608 $0.00608
Opus 5.5 $0.00243 $0.00243
Sonnet 5.5 $0.00122 $0.00122
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

eigent 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 · 67 lines

How it starts

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

Eigent Agent Instructions

UI work

Before planning, generating, reviewing, or modifying any user-facing UI, read docs/design-system/design.md completely. Treat it as the active product design contract for all UI work in this repository.

Use docs/design-system/index.html as the visual reference. The Markdown guideline remains authoritative when the two formats differ.

For UI implementation:

  1. Inspect the nearest existing product surface for behavior and layout context.
  2. Reuse primitives from src/components/ui before creating a new component.
  3. Use the semantic tokens and supported component axes documented in the guideline.
  4. Treat src/style/tokens, src/style/generated, and shared UI primitives as the executable source of truth. Never edit generated token files by hand.
  5. Do not introduce raw colors, arbitrary standard-control geometry, stock shadows, new compatibility aliases, or local icon sizing when an approved semantic role or recipe exists.
  6. When the design guideline and implementation disagree, inspect both and report the discrepancy instead of silently inventing a new rule.

Before handing off UI work, report the reused primitives, selected semantic tokens or component axes, verified states and themes, any registered exception, and the validation commands that passed or were not run.

Product terminology

Before planning, generating, reviewing, or modifying user-facing terminology, presentation component names, or presentation-oriented file and folder names, read docs/product-terminology.md completely. Treat it as the authoritative match between UI wording and the backend terms and identifiers that must remain unchanged.

For terminology work:

  1. Use the document's UI wording for visible copy, accessibility labels, and presentation-oriented names.
  2. Preserve the matched backend/API/database terms, identifier values, routes, commands, event fields, translation keys, and persisted keys. Do not create new serialized aliases for a UI rename.
  3. Classify presentation files and components by the surface they own: Space, Session, or shared. A Space-owned container may contain Session-named child components.
  4. Inspect each occurrence at its presentation or compatibility boundary. Do not use an unrestricted search-and-replace across Product terms.
  5. When terminology documentation and implementation disagree, inspect both and report the discrepancy instead of silently changing a frozen contract.

Read the full file on GitHub · 67 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 · 67 lines · 608 tokens per session scan A 3d28142d6774

Subscribe to this mod's changes

eigent AGENTS.md is an instructions file published in the GitHub repository eigent-ai/eigent (15,751 stars, last pushed yesterday), licensed Apache-2.0. It adds 608 tokens to every session, about $0.0024 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

eigent AGENTS.md compared with instructions from other repositories

eigent AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eigent AGENTS.mdeigent-ai/eigentInstructions file16kyesterdayApache-2.0A608Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode