ai-agent-session-center AGENTS.md

ai-agent-session-center AGENTS.md is an instructions file for Codex, OpenCode from coding-by-feng/ai-agent-session-center. It costs 3,993 tokens per session, scanned B, original, MIT.

A repository guide for AI coding agents working on a local dashboard that monitors coding sessions.

In plain words
What is it for?
Use it when working on the dashboard, its React interface, Node.js server, desktop app, terminals, hooks, or stored session data.
Why use it?
It gives agents the project background, architecture, commands, and development conventions they need before changing the code.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/coding-by-feng/ai-agent-session-center/agents-md
Clone the repo
git clone --depth 1 https://github.com/coding-by-feng/ai-agent-session-center

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-session-center AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/coding-by-feng/ai-agent-session-center/agents-md.svg)](https://agentmods.dev/instructions/coding-by-feng/ai-agent-session-center/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/coding-by-feng/ai-agent-session-center/agents-md"><img src="https://agentmods.dev/badge/instructions/coding-by-feng/ai-agent-session-center/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,993 This file is loaded in full into every session.
When invoked 3,993 The same file — it is already loaded in full.
Security scan B 1 finding. 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 $0.03993 $0.03993
Opus 5 $0.01997 $0.01997
Sonnet 5 $0.00799 $0.00799
Haiku 4.5 $0.00399 $0.00399

Measured 5d ago against content hash 83fd64939bdc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

ai-agent-session-center AGENTS.md scanned grade B 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Never modify `~/.claude/settings.json` without an atomic temp-write and rename.
AGENTS.md · 299 lines

How it starts

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

AI Agent Session Center: Agent Guidance

This file is the durable coding-agent entrypoint for this repository. It is based on CLAUDE.md; read CLAUDE.md for the full architecture notes and keep the two files aligned when project guidance changes.

Project Snapshot

AI Agent Session Center is a localhost dashboard on port 3333 for monitoring AI coding agent sessions from Claude Code, Codex, and related tools. It uses hooks to ingest session events, visualizes sessions as 3D robots, supports SSH terminals, team/subagent tracking, prompt queuing, workspace snapshots, and session resume.

Core stack:

  • Backend: Node.js 18+, ESM, Express 5, ws 8, tsx
  • Frontend: React 19, Three.js / @react-three/fiber, Zustand 5, Vite 7
  • Desktop: Electron 34, electron-builder 25
  • Terminal: node-pty through Electron IPC, WebSocket fallback in browser
  • Hooks: Bash hook script with JSONL file queue and HTTP POST fallback
  • Persistence: SQLite / better-sqlite3 on the server, IndexedDB / Dexie in the browser

Common Commands

npm run dev              # Vite + tsx watch
npm run build            # Production build
npm start                # Start production server
npm test                 # Vitest
npm run test:e2e         # Playwright E2E
npm run test:coverage    # Coverage report
npm run typecheck        # tsc --noEmit (src/ only)
npm run typecheck:server # tsc --noEmit -p tsconfig.server.json (server/ + src/types)
npm run typecheck:all    # both, in sequence
npm run lint             # ESLint src/
npm run format           # Prettier
npm run electron:dev     # Build and launch Electron app
npm run electron:build   # Build distributables
npm run install-hooks    # Install CLI hooks
npm run uninstall-hooks  # Remove dashboard hooks
npm run setup            # Interactive setup wizard
npm run reset            # Remove hooks, clean config, backup

Use the smallest verification command that fits the change. For shared contracts, state shape, server routes, Electron IPC, terminal behavior, or feature-doc work, prefer at least npm run typecheck:all (plain typecheck only covers src/server/ has its own tsconfig.server.json and nothing runs it automatically, so a server-only change checked with plain typecheck can still ship a type error) plus any targeted tests that cover the touched area.

Read the full file on GitHub · 299 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. 5d ago First seen · 299 lines · 3,993 tokens per session scan B 83fd64939bdc

Subscribe to this mod's changes

ai-agent-session-center AGENTS.md is an instructions file published in the GitHub repository coding-by-feng/ai-agent-session-center (82 stars, last pushed 8d ago), licensed MIT. It adds 3,993 tokens to every session, about $0.0200 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.