AgenticGPT: Instructions file for Codex

AGENTS.md

AgenticGPT AGENTS.md is an instructions file for Codex, OpenCode from slhaf/AgenticGPT. It costs 2,152 tokens per session, scanned A, original, MIT.

Repository instructions for AgenticGPT, a software project with Rust services and a Kotlin-based console. They describe the project's folders, commands, coding rules, and testing practices.

In plain words
What is it for?
Use them when changing AgenticGPT code, checking or testing its Rust workspace, working on the console, or preparing changes for review.
Why use it?
They give a coding agent the project's working rules in one place, reducing mistakes about where code belongs, which commands to run, and what files to keep out of commits.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/slhaf/agenticgpt/agents-md"><img src="https://agentmods.dev/badge/instructions/slhaf/agenticgpt/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,152 This file is loaded in full into every session.
When invoked 2,152 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.02152 $0.02152
Opus 5.5 $0.00861 $0.00861
Sonnet 5.5 $0.00430 $0.00430
Haiku 4.5 $0.00215 $0.00215

Measured 24d ago against content hash 250e7e8160ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AgenticGPT 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 24d 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 · 89 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

The root Cargo workspace contains five Rust crates: crates/agentic-gpt (Linux local-agent CLI), crates/agentic-gpt-hub (HTTP/WebSocket hub), crates/agentic-gpt-protocol (shared wire types), crates/agentic-apply-patch, and crates/agentic-browser-host. API contracts live in openapi/; operational and development notes are in docs/; release helpers are in scripts/.

console/ is a separate Kotlin Multiplatform/Compose project. Shared UI and domain code belongs in console/shared/src/commonMain; platform integrations belong in androidMain, jvmMain, jsMain, or wasmJsMain. Host applications live in androidApp, desktopApp, and webApp. Keep generated output (target/, console/build/, dist/) out of commits.

开发指南与使用时机

新增功能或模块、修改现有实现,或审查涉及状态所有权、并发、配置、权限及公开契约的变更前,先阅读 docs/development/README.zh-CN.md(English),按相关章节核对代码放置、消费者、验证入口和完成标准。归档架构资料只供历史追溯,不作为当前任务清单。

准备发布预检、Linux 打包或推送发布标签时,阅读 docs/development/releasing.md,区分本地验证和实际发布的副作用。

Build, Test, and Development Commands

本地开发和主 CI 使用根目录 rust-toolchain.toml 指定的 Rust 版本与组件;在仓库中运行 rustup show 可安装并确认。该版本是可复现的开发/CI 基线,不是 MSRV 承诺,Cargo.toml 不因此新增 rust-version。升级时修改工具链文件并运行下方完整验证链。独立 Latest stable Rust workflow 每周一及手动运行严格 Clippy;其显式 cargo +stable 绕过锁定,失败应作为升级待办处理,不放宽主 CI 门禁。

  • cargo check --workspace: type-check all Rust crates quickly.
  • cargo test --workspace: run the full Rust test suite.
  • cargo fmt --all -- --check: enforce CI formatting.
  • python3 scripts/check_contract_parity.py: run the live cross-surface contract gate after building the Agent/Hub binaries and installing its Python dependencies; see docs/operations.md for the isolated environment setup.
  • cargo run -p agentic-gpt-hub -- init: initialize a development hub.
  • cargo run -p agentic-gpt -- run: launch the local agent.
  • cd console && ./gradlew :desktopApp:run: run the desktop console.
  • cd console && ./gradlew :shared:jvmTest: run shared JVM tests. Android, JS, and Wasm tasks are listed in console/README.md.
  • ./scripts/dist-linux.sh: create multi-architecture Linux release artifacts using cross.

Read the full file on GitHub · 89 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. 24d ago Changed · +8 lines · +136 tokens per session 250e7e8160ba
  2. 26d ago Changed · +9 lines · +346 tokens per session b80c5fa4db9e
  3. 27d ago Changed · +4 lines · +124 tokens per session 4aafd9eec7a9
  4. 29d ago Changed · +14 lines · +135 tokens per session 1586ac1f7cfe
  5. 1mo ago Changed · +2 lines · +135 tokens per session 3c2cba5c668b
  6. 1mo ago Changed · +12 lines · +324 tokens per session 15ea578064ff
  7. 1mo ago Changed · +5 lines · +263 tokens per session dca5fd7506cd
  8. 2mo ago First seen · 35 lines · 689 tokens per session scan A cd20dcb08f98

Subscribe to this mod's changes

AgenticGPT AGENTS.md is an instructions file published in the GitHub repository slhaf/AgenticGPT (6 stars, last pushed 23d ago), licensed MIT. It adds 2,152 tokens to every session, about $0.0086 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

AgenticGPT AGENTS.md compared with instructions from other repositories

AgenticGPT AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgenticGPT AGENTS.mdslhaf/AgenticGPTInstructions file623d agoMITA2,152Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode