PlanExe: Instructions file for Codex

AGENTS.md

PlanExe AGENTS.md is an instructions file for Codex, OpenCode from PlanExeOrg/PlanExe. It costs 1,637 tokens per session, scanned A, original, MIT.

Repository instructions for PlanExe, a system made of services and shared packages that runs planning pipelines through web interfaces, workers, databases, and MCP connections. They map the architecture and define compatibility rules for APIs, database models, and task identifiers.

In plain words
What is it for?
Use them to modify PlanExe services, preserve shared contracts, update workers or interfaces, and verify changes across the system.
Why use it?
They help developers change one service without breaking shared data models, existing API clients, or saved planning workflows.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; built for openclaw.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/planexeorg/planexe/agents-md"><img src="https://agentmods.dev/badge/instructions/planexeorg/planexe/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,637 This file is loaded in full into every session.
When invoked 1,637 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01637 $0.01637
Opus 5.5 $0.00655 $0.00655
Sonnet 5.5 $0.00327 $0.00327
Haiku 4.5 $0.00164 $0.00164

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

Security

Grade A, and why

PlanExe AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Prefer unit tests over manual curl/server checks.
AGENTS.md · 127 lines

How it starts

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

PlanExe agent instructions

Scope: repo-level guardrails for PlanExe services and shared packages. Always check the package-level AGENTS.md for file-specific rules (use rg --files -g 'AGENTS.md' if you are unsure).

Repo architecture map

  • database_api: shared SQLAlchemy models for DB-backed services.
  • worker_plan/worker_plan_api: shared API types/helpers (must stay lightweight).
  • worker_plan: FastAPI service that runs the pipeline.
  • frontend_multi_user: Flask UI (hosted mode) + Postgres.
  • worker_plan_database: DB-backed worker that polls tasks.
  • mcp_cloud: MCP stdio server + HTTP wrapper; primary cloud deployment, secondary Docker setup for advanced users, tertiary venv workflow for developers; bridges MCP tools to PlanExe DB/worker_plan.

Shared contracts

  • Keep worker_plan HTTP endpoints and response shapes backward compatible.
  • Preserve shared SQLAlchemy models in database_api (nullable defaults for new columns).
  • Run directory naming defaults live in worker_plan/worker_plan_api/generate_run_id.py. Verify in code before changing run-id formats.
  • Keep prompt catalog UUIDs stable when used as defaults; they live in worker_plan/worker_plan_api/prompt/data/*.jsonl.

Hard rules (agent safety)

  • Never commit directly to main. Always create a feature branch (e.g. feat/short-description, fix/short-description) and commit there. Push the branch and open a PR so CI can verify the changes.
  • Do not add real API keys or passwords to .env, .env.*, or any llm_config/*.json file.
  • Treat track_activity.jsonl as sensitive (may contain API keys/tokens). Never expose it to end users. Store track_activity.jsonl in PlanItem.run_track_activity_jsonl and keep it out of downloadable zips at artifact creation time. Legacy snapshots may be sanitized at download time, but new snapshots should be served directly without unzip/recompress.
  • Shared packages (database_api, worker_plan_api) must not import service apps (frontend_*, worker_plan_database, worker_plan.app).
  • If a service needs shared logic, move it into a shared package rather than importing across service boundaries.

Read the full file on GitHub · 127 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 · 127 lines · 1,637 tokens per session scan A 2aeed8bd37a2

Subscribe to this mod's changes

PlanExe AGENTS.md is an instructions file published in the GitHub repository PlanExeOrg/PlanExe (403 stars, last pushed 6d ago), licensed MIT. It adds 1,637 tokens to every session, about $0.0065 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

PlanExe AGENTS.md compared with instructions from other repositories

PlanExe AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PlanExe AGENTS.mdPlanExeOrg/PlanExeInstructions file4036d agoMITA1,637Codex, 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