tools: Skill for Claude Code

.claude/skills/protogen/SKILL.md

protogen is a skill for Claude Code from adamw7/tools. It costs 72 tokens per session (1,406 once invoked), scanned A, original, MIT.

A Maven tool that generates safer builders for Protocol Buffers, a format used to define structured messages between programs. The generated code can catch some missing required fields while compiling.

In plain words
What is it for?
Use it when configuring the Maven plugin, generating protobuf builders, or working with required fields, optional-value presence, and one-of fields.
Why use it?
Regular protobuf builders may detect a missing required field only when the program runs. These builders can make that mistake fail earlier during compilation.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is adamw7/tools's own configuration. It tells Claude Code how to work on tools 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 tools configures →

View source ↗ adamw7/tools
Reuse

Borrowing it

Nothing to install: this file belongs to adamw7/tools. 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/adamw7/tools/main/.claude/skills/protogen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adamw7/tools

Made for: Claude Code.

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 protogen

README.md
[![agentmods](https://agentmods.dev/badge/skills/adamw7/tools/protogen/github.svg)](https://agentmods.dev/skills/adamw7/tools/protogen)
Your own site
<a href="https://agentmods.dev/skills/adamw7/tools/protogen"><img src="https://agentmods.dev/badge/skills/adamw7/tools/protogen/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 protogen

Your own site · 80×15
<a href="https://agentmods.dev/skills/adamw7/tools/protogen"><img src="https://agentmods.dev/badge/skills/adamw7/tools/protogen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.01406
Opus 5.5 $0.00029 $0.00562
Sonnet 5.5 $0.00014 $0.00281
Haiku 4.5 $0.00007 $0.00141

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

Security

Grade A, and why

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

.claude/skills/protogen/SKILL.md · 113 lines

How it starts

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

Protogen Skill

Generate and use the compile-time-safe protobuf builders produced by code/protogen-maven-plugin. The point of this module is shift-left: stock protobuf builders only detect a missing required field at runtime (an UninitializedMessageException from build()), while the generated builder chain makes the same mistake fail to compile.

How the plugin is wired

The plugin runs after protobuf classes exist, so it consumes the compiled *.proto output and emits builder sources. Bind its code-generator goal to a generate-sources phase, point it at the packages holding the generated protobuf messages, and name an output package for the builders:

<plugin>
    <groupId>io.github.adamw7</groupId>
    <artifactId>protogen-maven-plugin</artifactId>
    <!-- Use the latest release: https://github.com/adamw7/tools/releases/latest -->
    <configuration>
        <generatedSourcesDir>${project.basedir}/target/generated-sources/</generatedSourcesDir>
        <pkgs>
            <param>io.github.adamw7.tools.code.protos</param>
        </pkgs>
        <outputpackage>io.github.adamw7.tools.code.builders</outputpackage>
    </configuration>
    <executions>
        <execution>
            <phase>generate-sources</phase>
            <goals>
                <goal>code-generator</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Mojo goal / parameters (CodeMojo, defaultPhase = GENERATE_SOURCES):

Parameter Property Meaning
generatedSourcesDir generatedsourcesdir Where the builder sources are written
pkgs pkgs Packages to scan for compiled protobuf messages
outputpackage outputpackage Package the generated builders go into

Add the output directory as a source root (e.g. build-helper-maven-plugin's add-source / add-test-source) so the builders are compiled with the rest of the module.

How the goal talks to its user

This module is the one place in the repository whose production code does not log through log4j2, and ProtogenArchitectureTest.pluginLogsThroughTheMojoLog holds it to that:

Read the full file on GitHub · 113 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines 482af0cf68b5
  2. 1mo ago First seen · 111 lines · 72 tokens per session scan A 0133eadbf50e

Subscribe to this mod's changes

protogen is a skill published in the GitHub repository adamw7/tools (11 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 1,406 once invoked, about $0.0003 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 skills, from other repositories

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

azure-security-keyvault-secrets-java

Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.

microsoft/skills · 40 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-ai-agents-persistent-java

Azure AI Agents Persistent SDK for Java. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Triggers: "PersistentAgentsClient", "persistent agents java", "agent threads java", "agent runs java", "streaming agents java".

microsoft/skills · 63 tokens

union-type-wrappers

Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.

Azure/azure-sdk-for-java · 49 tokens