pi-agent-dashboard: Instructions file for Codex

AGENTS.md

pi-agent-dashboard AGENTS.md is an instructions file for Codex, OpenCode from BlackBeltTechnology/pi-agent-dashboard. It costs 2,273 tokens per session, scanned A, original, MIT.

Project instructions for PI Dashboard, a web dashboard that monitors and controls pi AI-agent sessions remotely. They define the system architecture and require agents to consult the project's knowledge tools before searching code or reading files.

In plain words
What is it for?
Working on the dashboard's bridge, server, and React web client; looking up file purposes and exports; tracing documented relationships; and following the project's investigation and documentation-update rules.
Why use it?
They enforce a documentation-first investigation process, so agents learn a file or feature's purpose before tracing implementation details. This reduces blind searches and helps keep changes aligned with the documented design.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 pi-agent-dashboard AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/blackbelttechnology/pi-agent-dashboard/agents-md"><img src="https://agentmods.dev/badge/instructions/blackbelttechnology/pi-agent-dashboard/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,273 This file is loaded in full into every session.
When invoked 2,273 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.02273 $0.02273
Opus 5.5 $0.00909 $0.00909
Sonnet 5.5 $0.00455 $0.00455
Haiku 4.5 $0.00227 $0.00227

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

Security

Grade A, and why

pi-agent-dashboard 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 14d 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.

curl -s http://localhost:8000/api/health | jq .mode # dev | production
AGENTS.md · 110 lines

How it starts

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

PI Dashboard

Web dashboard to monitor + control pi agent sessions remotely. Three components: bridge extension + Node server + React client. Full architecture: docs/architecture.md.

Retrieval pointers (repo-specific)

The kb-first READ doctrine is injected per turn by the kb extension. Two repo-specific pointers the canonical doctrine leaves out:

  • build / run / install / setup / release / "how do I X" → grep -i <kw> docs/faq.md README.md docs/ — then quote.
  • reproduce the kb retrieval-quality numbers → tsx packages/kb/eval/run-fixtures.ts.

Code Instructions (per-turn doctrine)

Behavioral guidelines to reduce common LLM mistakes. Bias toward caution over speed. Trivial tasks → judgment.

  1. Think before coding. State assumptions; if uncertain, ask via ask_user. Present multiple interpretations, don't pick silently. Push back when a simpler approach exists. Never speculate about code you haven't opened. Confirm the plan before any major change.
  2. Simplicity first. Minimum code that solves the problem. No speculative features/abstractions/flexibility/error-handling for impossible cases. DRY: extract a shared helper when a pattern repeats (not for a single call site). "Would a senior engineer call this overcomplicated?" If yes, simplify.
  3. Surgical changes. Touch only what you must. Don't improve/refactor/reformat adjacent code. Match existing style. Mention unrelated dead code, don't delete it. Remove only orphans YOUR change created. Every changed line traces to the request.
  4. Goal-driven (TDD). Turn tasks into verifiable goals. Write/update tests first, verify they fail, then minimal implementation to pass. State a brief plan for multi-step tasks (step → verify).
  5. Communication. High-level summary of what changed each step. Use ask_user (not plain text) for clarification/choices.

Docs delegation (project-specific)

The generic WRITE discipline (doc routing, the | File | Purpose | row schema, the size-split rule, root-lean) is injected per turn. Repo-specific additions:

Read the full file on GitHub · 110 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. 14d ago Changed · +13 tokens per session cf0c1ad88b2b
  2. 1mo ago Changed · -4 lines · -100 tokens per session a43c4330ed2c
  3. 1mo ago Changed · -32 lines · -1,319 tokens per session 605a49df9e48
  4. 2mo ago Changed · +1 lines · +39 tokens per session e46f3425a1e1
  5. 2mo ago Changed · +23 tokens per session 72daa9044e2b
  6. 2mo ago First seen · 145 lines · 3,617 tokens per session scan A a9b26055cc26

Subscribe to this mod's changes

pi-agent-dashboard AGENTS.md is an instructions file published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (341 stars, last pushed 2d ago), licensed MIT. It adds 2,273 tokens to every session, about $0.0091 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

pi-agent-dashboard AGENTS.md compared with instructions from other repositories

pi-agent-dashboard AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pi-agent-dashboard AGENTS.mdBlackBeltTechnology/pi-agent-dashboardInstructions file3412d agoMITA2,273Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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