Graph-It-Live: Instructions file for Codex

AGENTS.md

Graph-It-Live AGENTS.md is an instructions file for Codex, OpenCode from magic5644/Graph-It-Live. It costs 1,210 tokens per session, scanned A, original, MIT.

Repository instructions for Graph-It-Live, a VS Code extension, command-line tool, and MCP server that analyses dependencies and call relationships in code. They define commands, coding rules, testing requirements, and architecture constraints.

In plain words
What is it for?
They are for maintaining Graph-It-Live, running its unit and end-to-end tests, checking coverage, packaging it, and making safe changes to its analyzer, MCP server, extension, or web view.
Why use it?
They give an agent the project's expected workflow and guardrails before it changes code, including how to build, test, format paths, and keep related components consistent.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 Graph-It-Live AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/magic5644/graph-it-live/agents-md/github.svg)](https://agentmods.dev/instructions/magic5644/graph-it-live/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/magic5644/graph-it-live/agents-md"><img src="https://agentmods.dev/badge/instructions/magic5644/graph-it-live/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 Graph-It-Live AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/magic5644/graph-it-live/agents-md"><img src="https://agentmods.dev/badge/instructions/magic5644/graph-it-live/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,210 This file is loaded in full into every session.
When invoked 1,210 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.01210 $0.01210
Opus 5.5 $0.00484 $0.00484
Sonnet 5.5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

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

Security

Grade A, and why

Graph-It-Live 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 yesterday.

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

How it starts

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

Graph-It-Live Agent Guide

VS Code extension, standalone CLI, and MCP server for dependency and call-graph analysis. Develop on Node.js 24 (.nvmrc); the runtime supports Node.js >= 22 (engines). Requires npm.

Commands

  • Build: npm run build; one test: npx vitest run <test-file>; unit suite: npm test.
  • Quality: npm run lint, npm run check:types, npm run test:coverage; E2E: npm run test:vscode.
  • Package: npm run package && npm run package:verify.

Prefix shell commands with rtk; use rtk proxy <command> when no optimized wrapper exists.

Core Principles

  • Simplicity First: make every change as simple as possible with minimal code impact.
  • No Laziness: find root causes; do not use temporary workarounds.
  • Minimal Impact: change only what is necessary and avoid introducing unrelated risk.

Universal Rules

  • Keep src/analyzer/** and src/mcp/** Node.js-only: never import vscode.
  • Keep imports compliant with graphit.architecture.json: run graph-it check-architecture after source changes (0 violations, 0 unmatched files). New src/ folder or layer relationship = update that config in the same change; never weaken a rule to pass.
  • Define extension↔webview messages in src/shared/types.ts; update sender and receiver together.
  • Build paths with node:path; call normalizePath() before path keys enter Sets or Maps.
  • Keep TypeScript strict. Avoid any; ESLint decides style.
  • User-facing behavior (CLI, MCP, VS Code) follows .claude/rules/user-contract.md: no silent fallback, no empty success, and a black-box check as a user before the pull request.
  • New functions/modules need success and edge/failure unit tests. User-facing behavior also needs VS Code E2E coverage. Touched files must stay at or above 80% coverage.
  • Never delete empty maps eagerly in ReverseIndex.removeDependenciesFromSource(); cleanup is query-time to avoid re-index races.
  • Build/dependency/package changes require production package validation: zero .map files and required WASM/query assets present.
  • After source changes, run targeted tests, lint, typecheck, and configured SonarQube analysis; fix findings caused by change.

Read the full file on GitHub · 69 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. yesterday Changed · +4 lines · +46 tokens per session eb72d63bfcc9
  2. 11d ago Changed · +2 lines · +77 tokens per session f61a51dad19b
  3. 18d ago Changed · +46 tokens per session bb3cd0332043
  4. 23d ago Changed · +19 tokens per session b65f72d3a4e7
  5. 1mo ago Changed · +1 lines · +66 tokens per session b7e697758754
  6. 1mo ago Changed · +4 tokens per session 61b09f71999a
  7. 1mo ago Changed · +1 lines · +23 tokens per session b50b867fc92c
  8. 2mo ago Changed · +1 lines · +77 tokens per session cd0e2115cc83
  9. 2mo ago Changed · +5 lines · +48 tokens per session 5ef0d4c9cd28
  10. 2mo ago First seen · 55 lines · 804 tokens per session scan A 98ef3b79d1d9

Subscribe to this mod's changes

Graph-It-Live AGENTS.md is an instructions file published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 1,210 tokens to every session, about $0.0048 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-09-11.

Related

Graph-It-Live AGENTS.md compared with instructions from other repositories

Graph-It-Live AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Graph-It-Live AGENTS.mdmagic5644/Graph-It-LiveInstructions file63yesterdayMITA1,210Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode