plinth AGENTS.md

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

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/jabrena/plinth/agents-md
Clone the repo
git clone --depth 1 https://github.com/jabrena/plinth

Made for: Codex, OpenCode.

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. 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.03046 $0.03046
Opus 5 $0.01523 $0.01523
Sonnet 5 $0.00609 $0.00609
Haiku 4.5 $0.00305 $0.00305

Measured 3d ago against content hash 7fd8378ffcab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (435 stars, last pushed 2d ago), licensed Apache-2.0. It adds 3,046 tokens to every session, about $0.0152 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.