clawmetry: Instructions file for Codex

AGENTS.md

clawmetry AGENTS.md is an instructions file for Codex, OpenCode from vivekchand/clawmetry. It costs 1,921 tokens per session, scanned A, original, MIT.

A short set of instructions for coding agents working in the ClawMetry repository. It explains the product, repository layout, required preparation, and important project rules.

In plain words
What is it for?
Use it when modifying ClawMetry, an observability dashboard for AI agents, especially when planning, implementing, testing, and releasing changes.
Why use it?
It gives agents the project context they need before changing code and helps them choose the correct repository area.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; positional $N argument; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vivekchand/clawmetry/agents-md"><img src="https://agentmods.dev/badge/instructions/vivekchand/clawmetry/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,921 This file is loaded in full into every session.
When invoked 1,921 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.01921 $0.01921
Opus 5.5 $0.00768 $0.00768
Sonnet 5.5 $0.00384 $0.00384
Haiku 4.5 $0.00192 $0.00192

Measured 4d ago against content hash 6382620da001, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clawmetry 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 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.

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

How it starts

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

AGENTS.md — For AI Coding Agents

Before code: write and review the versioned product record (FLYWHEEL.md section 0c and docs/PRODUCT_RECORDS.md). Requirements and blueprints live in the private clawmetry-cloud records; independent review checks the exact candidate. The requirement is where a change is justified, the blueprint is where it is designed, the code is where it is built -- in that order.

Read FLYWHEEL.md first. It is how you ship a change end to end in this repo (code → PR → green CI → [RELEASE] → PyPI → cloud → verified live) and the non-negotiable "done" bar. Then CLAUDE.md for the architecture deep-dive. This file is the short "what to do"; those two carry the detail.

Quick context

ClawMetry is an open-source, real-time observability and governance layer for 32 AI agent runtimes (OpenClaw, NemoClaw, Goose and Qwen Code free in OSS; Claude Code, Codex, Cursor and 25 more with the Pro plugin). The catalogue is entitlements.FREE_RUNTIMES | PAID_RUNTIMES, exported to SUPPORTED_RUNTIMES.txt — the single file every marketing surface and sibling repo reads. Never hardcode the list or the count; regenerate with python3 scripts/sync_runtime_count.py. pip install clawmetry && clawmetry — zero config, observation by default. It's a Flask app with an embedded, no-build vanilla-JS frontend; a sync daemon ingests filesystem/gateway/OTLP data into a local DuckDB store, and the app reads from DuckDB to serve the UI.

Where new code goes (open-core split)

ClawMetry is open-core — there are four repos. Pick the right one before writing code; see FLYWHEEL.md §1b for the full decision tree.

  • clawmetry (this repo, public OSS) — the FREE runtime adapters (OpenClaw, NemoClaw, Goose, Qwen Code) + NeMo governance + 24 chat channels + entitlement gate (clawmetry/entitlements.py) + license client (clawmetry/license.py) + Enterprise feature endpoints (entitlement-gated; impl may defer to clawmetry-pro). Examples: routes/otel_export.py, routes/audit.py.
  • clawmetry-pro (private; not on public PyPI; shipped via the license-server wheel download) — the 27 gated runtime adapters (Claude Code, Codex, Cursor, …), Pro paid CLI capabilities, advanced-feature implementations. Plugs in via clawmetry.extensions entry point.
  • clawmetry-cloud (private) — cloud SaaS app + license server (clawmetry-cloud/routes/license.py) + Stripe + admin + closed-wheel hosting (wheels/).
  • clawmetry-landing (private, public site) — marketing + pricing page + Buy buttons. No gated code.

Read the full file on GitHub · 50 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 Changed · +56 tokens per session 6382620da001
  2. 1mo ago Changed 7d08a5919ba6
  3. 1mo ago Changed · +1 lines · +75 tokens per session 784e01a143e7
  4. 1mo ago Changed · +8 tokens per session a3c07197752c
  5. 1mo ago Changed 8a9fa938483c
  6. 1mo ago Changed d48db17787c4
  7. 1mo ago Changed · +42 tokens per session e414641fb6d9
  8. 1mo ago Changed · +3 tokens per session df7e5c57482e
  9. 2mo ago Changed · +129 tokens per session 439c8f115b00
  10. 2mo ago First seen · 49 lines · 1,608 tokens per session scan A 53279963fd3e

Subscribe to this mod's changes

clawmetry AGENTS.md is an instructions file published in the GitHub repository vivekchand/clawmetry (436 stars, last pushed yesterday), licensed MIT. It adds 1,921 tokens to every session, about $0.0077 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

clawmetry AGENTS.md compared with instructions from other repositories

clawmetry AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clawmetry AGENTS.mdvivekchand/clawmetryInstructions file436yesterdayMITA1,921Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode