coograph AGENTS.md

coograph AGENTS.md is an instructions file for Codex, OpenCode from paullukic/coograph. It costs 663 tokens per session, scanned C, original, MIT.

Repository instructions for Coograph that describe how agents are started, which rules they follow, and when its code graph and change proposal process are required.

In plain words
What is it for?
Use them when initializing Coograph, inspecting its code, checking unfinished proposals, or making repository changes.
Why use it?
They provide the session-start checks and workflow for navigating the project and handling changes safely.

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/paullukic/coograph/agents-md
Clone the repo
git clone --depth 1 https://github.com/paullukic/coograph

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/paullukic/coograph/agents-md.svg)](https://agentmods.dev/instructions/paullukic/coograph/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/paullukic/coograph/agents-md"><img src="https://agentmods.dev/badge/instructions/paullukic/coograph/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 663 This file is loaded in full into every session.
When invoked 663 The same file — it is already loaded in full.
Security scan C 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.00663 $0.00663
Opus 5 $0.00331 $0.00331
Sonnet 5 $0.00133 $0.00133
Haiku 4.5 $0.00066 $0.00066

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

Security

Grade C, and why

coograph AGENTS.md scanned grade C 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 4d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Quick summary for AI agents that auto-read AGENTS.md (VS Code Copilot, OpenAI Codex CLI, OpenCode, generic AGENTS.md-aware agents). Other tools have native config files: .cursor/rules/, .windsurfrules, CONVENTIONS.m
AGENTS.md · 42 lines

How it starts

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

Agent Context

Invocation

If the user types /coograph-init, $coograph-init, or asks to "initialize the project" / "set up coograph" / "wire up coograph in this repo", follow .github/skills/coograph-init/SKILL.md exactly. That single procedure is the source of truth across every tool.

Note for Codex CLI: / is reserved for built-in commands. The Codex skill at .agents/skills/coograph-init/SKILL.md auto-triggers from description match, or invoke explicitly with $coograph-init.

Conventions

When working on this codebase:

  • Rules: Follow .github/copilot-instructions.md.
  • Pre-flight: On session start, call get_minimal_context to verify code-graph availability. Code-graph is MANDATORY for ALL navigation — fall back to grep/glob ONLY when the DB is genuinely absent. Check openspec/changes/ for in-progress work.
  • OpenSpec gate: Any change that modifies 2+ files, touches a spec, alters a public interface, or adds new behavior MUST go through openspec/changes/<date>-<slug>/ with user approval before code. Exemptions are narrow and literal: typo fix, comment-only edit, user-dictated config bump, or follow-up on an approved in-progress OpenSpec. "Trivial", "obvious", "small" are NOT exemptions.
  • Stack:
  • Structure:
  • Communication: Read .github/instructions/brutal-honesty.instructions.md at session start and apply throughout. Direct, evidence-based, severity-rated. Every finding cites file:line with verbatim quotes.
  • Workflow: Plan → Propose (OpenSpec) → Apply → Quality Gates → Review Gate → Archive. Skip only for exemptions above. After 3 failed attempts, stop and ask.

Read the full file on GitHub · 42 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. 4d ago First seen · 42 lines · 663 tokens per session scan C 6f57b1a53ba0

Subscribe to this mod's changes

coograph AGENTS.md is an instructions file published in the GitHub repository paullukic/coograph (17 stars, last pushed 29d ago), licensed MIT. It adds 663 tokens to every session, about $0.0033 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). 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