ai-agent-board: Instructions file for Codex

AGENTS.md

ai-agent-board AGENTS.md is an instructions file for Codex, OpenCode from DanWahlin/ai-agent-board. It costs 2,948 tokens per session, scanned A, original, MIT.

Project instructions for a drag-and-drop Kanban board, a task board with columns, that sends coding work to different AI agents. It is a monorepo, meaning several related packages live in one repository.

In plain words
What is it for?
Developing the board interface, task and group handling, agent sessions, REST and WebSocket communication, authentication, and database support.
Why use it?
They describe the client, server, storage, and agent-session structure so contributors know where features and integrations belong.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ai-agent-board AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/danwahlin/ai-agent-board/agents-md.svg)](https://agentmods.dev/instructions/danwahlin/ai-agent-board/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/danwahlin/ai-agent-board/agents-md"><img src="https://agentmods.dev/badge/instructions/danwahlin/ai-agent-board/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,948 This file is loaded in full into every session.
When invoked 2,948 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.02948 $0.02948
Opus 5 $0.01474 $0.01474
Sonnet 5 $0.00590 $0.00590
Haiku 4.5 $0.00295 $0.00295

Measured 6d ago against content hash 54df743d77fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ai-agent-board 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 6d 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 · 160 lines

How it starts

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

AGENTS.md

Project Overview

Agentic AI Kanban Board — a drag-and-drop Kanban board that delegates coding tasks to AI coding agents (GitHub Copilot, Claude Code, OpenAI Codex, OpenCode, Hermes, OpenClaw). Monorepo with npm workspaces.

Architecture

ai-agent-board/
├── packages/
│   ├── client/          # React 19 + Vite + Tailwind 4 + Framer Motion + xterm.js
│   │   └── src/
│   │       ├── components/  # Board, Column, TaskCard, TaskGroupCard, GroupPanel, AgentPanel, TerminalView, FilterChips, Header, dialogs
│   │       ├── hooks/       # useTasks, useTaskGroups, useTheme, useDebounce, useKeyboardShortcuts
│   │       ├── lib/         # api.ts (REST + WebSocket), agent-config.ts, priority-config.ts, columns.ts, utils
│   │       └── types/       # Client-side type re-exports
│   ├── server/          # Express + @codewithdan/agent-sdk-core + better-sqlite3/pg + ws
│   │   └── src/
│   │       ├── middleware/  # auth.ts (Bearer token auth)
│   │       ├── routes/      # tasks.ts, agent.ts, git.ts, templates.ts, groups.ts, helpers.ts
│   │       ├── services/    # agent-manager.ts (session orchestration, event caching)
│   │       ├── repositories/# sqlite.ts, postgres.ts, sqlite-templates.ts, postgres-templates.ts, sqlite-groups.ts, postgres-groups.ts, types.ts, template-types.ts, group-types.ts
│   │       ├── db.ts        # SQLite + PostgreSQL init + migrations
│   │       ├── websocket.ts # WebSocket broadcast
│   │       └── index.ts     # Express app setup + graceful shutdown
│   └── e2e/             # Playwright tests
├── shared/              # Shared types (Task, TaskGroup, TaskTemplate, AgentEvent, ColumnId, AgentType, etc.) + validation constants
├── scripts/             # required gate, hook install, and E2E process helpers
└── k8s/                 # Kubernetes manifests (namespace, deployments, services, ingress)

Key Technical Decisions

  • Multi-agent support — pluggable AgentProvider/AgentSession interfaces from @codewithdan/agent-sdk-core. Six providers: copilot (@github/copilot-sdk), claude (@anthropic-ai/claude-agent-sdk), codex (@openai/codex-sdk), opencode (@opencode-ai/sdk), hermes, and openclaw. Auto-detected at startup via detectAgents().
  • Agent SDK abstraction — all provider implementations live in the external @codewithdan/agent-sdk-core package. The server imports providers and the detection function from this package.
  • Dual database backends — SQLite via better-sqlite3 (default, zero config) or PostgreSQL via pg (set DATABASE_URL). Both implement the TaskRepository and TemplateRepository interfaces.
  • Route splitting — REST API is split across tasks.ts (CRUD), agent.ts (start/stop/events/follow-up), git.ts (merge-local, create-pr, worktree cleanup, git-info), templates.ts (task template CRUD), and groups.ts (group CRUD + run/stop/archive).
  • API key auth — optional Bearer token via API_KEY env var. When set, all API and WebSocket requests require Authorization: Bearer <key>. Middleware in middleware/auth.ts.
  • Task Groups — parent entity with N child tasks, concurrency-controlled execution via GroupQueue in agent-manager. Groups move as a single card on the board; auto-advance to review when all children complete. Parallelism slider locked once running.
  • Event streaming — SDK events mapped to AgentEvents, persisted to database, broadcast via WebSocket. In-memory LRU cache (200 tasks max, 100 events per task).
  • Git worktrees — optional per-task branch isolation. Agent works in worktree directory, path rewriting via onPreToolUse hook. Worktrees auto-cleaned after successful merge or PR creation.
  • Local mergemergeLocal() merges worktree branch into base branch locally with per-repo mutex to prevent concurrent checkout races. Auto-aborts on conflict.
  • Smart PR/merge buttonsGET /api/tasks/:id/git-info checks for remote; UI shows "Create PR" only when remote exists, "Merge to main" always available.
  • Vite proxy — client proxies /api and /ws to the server.
  • Shared validationshared/constants.ts exports validators (isValidPriority, isValidColumnId, etc.) and limits (MAX_TITLE_LENGTH, MAX_DESCRIPTION_LENGTH) used by both client and server.

Read the full file on GitHub · 160 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. 6d ago First seen · 160 lines · 2,948 tokens per session scan A 54df743d77fc

Subscribe to this mod's changes

ai-agent-board AGENTS.md is an instructions file published in the GitHub repository DanWahlin/ai-agent-board (57 stars, last pushed 11d ago), licensed MIT. It adds 2,948 tokens to every session, about $0.0147 per session on Opus 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

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens