agentsview: Instructions file for Codex

AGENTS.md

agentsview AGENTS.md is an instructions file for Codex, OpenCode from kenn-io/agentsview. It costs 2,662 tokens per session, scanned A, original, MIT.

Repository instructions for agentsview, including general rules for coding-agent work and a map from task types to focused guides. It also covers Git workflow and keeping related instruction files linked correctly.

In plain words
What is it for?
Use it before implementing features, fixing bugs, changing tests, storage, watchers, build files, S3 support, or frontend code.
Why use it?
It prevents agents from editing the wrong area without first reading the rules for testing, storage, background work, builds, providers, or the frontend.

Instructions file for CodexOpenCode

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

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

About the project

AgentsView is a local application that collects coding-agent sessions into a searchable database and web interface, including usage and cost statistics. Developers use it to browse, analyze, and track sessions from Claude Code, Codex, and other supported agents, while the catalogue add-ons help operate it.

kenn-io/agentsview · 6,376 stars · on GitHub · agentsview.io

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kenn-io/agentsview/agents-md"><img src="https://agentmods.dev/badge/instructions/kenn-io/agentsview/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,662 This file is loaded in full into every session.
When invoked 2,662 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.02662 $0.02662
Opus 5.5 $0.01065 $0.01065
Sonnet 5.5 $0.00532 $0.00532
Haiku 4.5 $0.00266 $0.00266

Measured today against content hash 537d27009d1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentsview 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 today.

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 · 233 lines

How it starts

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

Agent Instructions

Scope

  • These rules apply to all agent work in this repository.
  • Requests to review, analyze, or explain are read-only unless the user also asks for changes.
  • Read every focused guide whose route matches the task before editing files.
  • More specific instructions override broader ones.
  • Keep CLAUDE.md as a symlink to this file. Record new durable rules here or in the matching focused guide.

Task Routes

Task or path Read before editing
Features, bug fixes, tests, or test helpers docs/agents/testing.md
SQLite, PostgreSQL, CockroachDB, DuckDB, ClickHouse, archive resync, or storage queries docs/agents/storage.md
Watchers, polling, sync scheduling, background work, or memory investigations docs/agents/background-work.md
Build commands, toolchains, CI build tags, or dependencies docs/agents/build.md
S3 ingest, S3Provider, or Source.S3Discovery docs/agents/s3-providers.md
Any frontend file frontend/AGENTS.md
Frontend controls, styling, or reusable components frontend/AGENTS.md and DESIGN.md

The README.md and Makefile are the sources for project facts, setup, and commands. Do not copy their catalogues into this file.

For CI runner selection and caching, read the CI runner policy.

Roborev

  • Never run roborev review unless the user asks for it.
  • Never invoke a roborev skill, including roborev-fix or roborev-design-review-branch, unless the user asks for that skill.
  • Other roborev commands may be used when they fit the task.

Read the full file on GitHub · 233 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. today Changed · +29 lines · +274 tokens per session 537d27009d1e
  2. yesterday Changed · +8 lines · +160 tokens per session 357c2551e96b
  3. 2d ago Changed · +24 lines · +346 tokens per session 0f591fa03461
  4. 15d ago Changed · +1 lines · +9 tokens per session 9c2c9df2a19d
  5. 23d ago Changed · +1 lines · +12 tokens per session a9bdd7d90a7b
  6. 24d ago Changed · +1 tokens per session 439d744c4d70
  7. 27d ago Changed · +2 tokens per session b20258b1d987
  8. 29d ago Changed · +1 lines · +14 tokens per session 8dfdaed4782d
  9. 1mo ago Changed · +2 lines · +25 tokens per session 9b4e427726a6
  10. 1mo ago First seen · 167 lines · 1,819 tokens per session scan A 2da628e6ff4a

Subscribe to this mod's changes

agentsview AGENTS.md is an instructions file published in the GitHub repository kenn-io/agentsview (6,376 stars, last pushed today), licensed MIT. It adds 2,662 tokens to every session, about $0.0106 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-30.

Related

agentsview AGENTS.md compared with instructions from other repositories

agentsview AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentsview AGENTS.mdkenn-io/agentsviewInstructions file6.4ktodayMITA2,662Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode