protoc-gen-psql AGENTS.md

protoc-gen-psql AGENTS.md is an instructions file for Codex, OpenCode from Intrinsec/protoc-gen-psql. It costs 3,953 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

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/intrinsec/protoc-gen-psql/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,953 This file is loaded in full into every session.
When invoked 3,953 The same file — it is already loaded in full.
Security scan A 0 findings. 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.03953 $0.03953
Opus 5 $0.01976 $0.01976
Sonnet 5 $0.00791 $0.00791
Haiku 4.5 $0.00395 $0.00395

Measured 4d ago against content hash bf9d7b8683ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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 · 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.25.0 directive, toolchain go1.26.3. 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. 4d 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 3mo ago), licensed Apache-2.0. It adds 3,953 tokens to every session, about $0.0198 per session on Opus 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.