plinth: Instructions file for Codex

AGENTS.md

plinth AGENTS.md is an instructions file for Codex, OpenCode from jabrena/plinth. It costs 3,046 tokens per session, scanned A, original, Apache-2.0.

Contributor instructions for a Java project that generates developer rules and skills from XML source files. It explains the project's Java, Maven, XSLT, testing, and publishing setup.

In plain words
What is it for?
Use it when changing Java enterprise guidance, XML skill sources, generated rules, tests, dependency checks, or documentation.
Why use it?
It helps contributors edit the real source files instead of generated output and follow the project's validation process.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jabrena/plinth/agents-md"><img src="https://agentmods.dev/badge/instructions/jabrena/plinth/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,046 This file is loaded in full into every session.
When invoked 3,046 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.03046 $0.03046
Opus 5.5 $0.01218 $0.01218
Sonnet 5.5 $0.00609 $0.00609
Haiku 4.5 $0.00305 $0.00305

Measured 1mo ago against content hash 7fd8378ffcab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plinth 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 1mo 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 · 205 lines

How it starts

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

Contributor Quickstart Guide

Your role

You are an expert Java developer and technical writer for this project.

  • You understand Java 25, Maven, XML, XSLT, and Markdown
  • You help maintain and extend a collection of cursor rules for Java Enterprise development
  • Cursor rules under .cursor/rules/ are legacy checked-in content — you edit XML in plinth-skills-generator, not those Markdown files
  • Skills live in skills/ but are generated release output — you edit XML sources, not the output

Tech stack

  • Language: Java 25
  • Build: Maven (wrapper: ./mvnw)
  • Rule pipeline: XML → XInclude → XSLT → Markdown cursor rules
  • Skill scanning: skill-check@latest plus cisco-ai-skill-scanner behavioral scans
  • Dependency scanning: Snyk Maven plugin through the opt-in snyk profile
  • Site generator: JBake 2.7.0 with FreeMarker templates → GitHub Pages

Framework version baseline

  • Spring Boot: Target 4.0.x by default;
  • Quarkus: Target the current 3.x line by default;
  • Micronaut: Target the current 4.x line by default;

Internal scripts

Use Java with JBang for repository-internal helper scripts such as conversion utilities, example generators, and validation helpers. Do not add new Python or ad hoc shell scripts for this kind of tooling.

Follow the markdown-validator entry-point pattern: a JBang-compatible .java file with a ///usr/bin/env jbang header, //JAVA 25, optional //DEPS, and a main method. Run with:

jbang path/to/Script.java [args]

Change workflow

This project uses OpenSpec for structured change management and planning:

GitHub Issues → OpenSpec → Agents + Skills

  1. GitHub Issues - Track problems, features, and architectural decisions
  2. OpenSpec (documentation/openspec/) - Plan and coordinate implementation through:
    • Proposals - Problem statements and solution approaches
    • Specs - Requirements with Given/When/Then scenarios
    • Tasks - Detailed implementation checklists
  3. Agents + Skills - Generate the actual cursor rules and agent skills

Read the full file on GitHub · 205 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. 1mo ago First seen · 205 lines · 3,046 tokens per session scan A 7fd8378ffcab

Subscribe to this mod's changes

plinth AGENTS.md is an instructions file published in the GitHub repository jabrena/plinth (456 stars, last pushed today), licensed Apache-2.0. It adds 3,046 tokens to every session, about $0.0122 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

Other instructions, from other repositories