protoc-gen-psql: Instructions file for Codex

AGENTS.md

protoc-gen-psql AGENTS.md is an instructions file for Codex, OpenCode from Intrinsec/protoc-gen-psql. It costs 3,967 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for protoc-gen-psql, a Go command-line tool that generates PostgreSQL database-definition files from Protocol Buffers message definitions. It also specifies the project’s required workflow and writing rules.

In plain words
What is it for?
Developing, testing, planning, and documenting changes to the Go generator and its Protocol Buffers-to-PostgreSQL output.
Why use it?
It gives coding agents the project’s expected language, planning process, build details, and boundaries before they change the generator.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to Intrinsec/protoc-gen-psql. 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/Intrinsec/protoc-gen-psql/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Intrinsec/protoc-gen-psql

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 protoc-gen-psql AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/intrinsec/protoc-gen-psql/agents-md"><img src="https://agentmods.dev/badge/instructions/intrinsec/protoc-gen-psql/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,967 This file is loaded in full into every session.
When invoked 3,967 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.03967 $0.03967
Opus 5.5 $0.01587 $0.01587
Sonnet 5.5 $0.00793 $0.00793
Haiku 4.5 $0.00397 $0.00397

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

Security

Grade A, and why

protoc-gen-psql 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 16d 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 · 335 lines

How it starts

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

AGENTS.md — protoc-gen-psql

Operational contract for AI agents (Claude Code, Copilot, Gemini) and human contributors. Source of truth for tooling, workflow, and out-of-scope items.

  • Tier: B (shared internal tool, no runtime SLA)
  • Type: 2 — Go CLI (protoc plugin binary)
  • Module: github.com/intrinsec/protoc-gen-psql
  • Purpose: generate PostgreSQL DDL files from protobuf message definitions
  • Go: go 1.27.3 directive, pinned exactly in CI (GO_VERSION). Tool versions pinned in Makefile + both CI files (make tools). Entry point main.go registers PSQLify() against protoc-gen-star. Build artifact: bin/protoc-gen-psql.

Language

Default agent response: English, even if user writes French. French response only when user explicitly asks French.

Caveman compression mandatory for all conversational responses (default level: full). Code blocks, commit messages, PR descriptions, security warnings, irreversible-action confirmations stay normal prose (Caveman auto-clarity rules). Do not disable Caveman unless user says "stop caveman" or "normal mode".

HARD RULE: all code, comments, identifiers, doc strings, commit messages, ADRs, technical docs in English — every project type, regardless of team spoken language. User-facing strings + UI copy exempt — match audience language.

Workflow Skills (mandatory)

Every agent session in this repo must load + apply these skill packs:

  • superpowers — process discipline (brainstorming, writing-plans, executing-plans, test-driven-development, systematic-debugging, verification-before-completion, requesting-code-review).
  • caveman — response compression (see Language section).

Pack missing? Install per iagen-dev INSTALL.md before work.

Session start gate

Before any response, clarification, repository inspection, shell command, or file edit: run superpowers:using-superpowers first, then run caveman so compression is active for every response. Use superpowers:using-superpowers to decide which additional skills apply, then follow the selected skill workflows.

Read the full file on GitHub · 335 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. 16d ago Changed · +14 tokens per session 854aa2eb0322
  2. 2mo ago First seen · 335 lines · 3,953 tokens per session scan A bf9d7b8683ba

Subscribe to this mod's changes

protoc-gen-psql AGENTS.md is an instructions file published in the GitHub repository Intrinsec/protoc-gen-psql (11 stars, last pushed 16d ago), licensed Apache-2.0. It adds 3,967 tokens to every session, about $0.0159 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

protoc-gen-psql AGENTS.md compared with instructions from other repositories

protoc-gen-psql AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
protoc-gen-psql AGENTS.mdIntrinsec/protoc-gen-psqlInstructions file1116d agoApache-2.0A3,967Codex, 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