cloud-minestom: Skill for Claude Code

.claude/skills/scaffold-argument-mapper/SKILL.md

scaffold-argument-mapper is a skill for Claude Code from cubixgg/cloud-minestom. It costs 79 tokens per session (1,009 once invoked), scanned A, original, MIT.

A scaffold for adding a built-in argument mapper in cloud-minestom, a library that connects Cloud command parsing with Minestom’s native command system.

In plain words
What is it for?
It helps add the mapping method, register it, create a unit-test stub, and document cases where the native argument only approximates the parser grammar.
Why use it?
It gives new mappings the project’s expected structure and avoids forcing parser types into unsuitable native arguments.

Skill for Claude Code

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to cubixgg/cloud-minestom. 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/cubixgg/cloud-minestom/main/.claude/skills/scaffold-argument-mapper/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cubixgg/cloud-minestom

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 scaffold-argument-mapper

README.md
[![agentmods](https://agentmods.dev/badge/skills/cubixgg/cloud-minestom/scaffold-argument-mapper/github.svg)](https://agentmods.dev/skills/cubixgg/cloud-minestom/scaffold-argument-mapper)
Your own site
<a href="https://agentmods.dev/skills/cubixgg/cloud-minestom/scaffold-argument-mapper"><img src="https://agentmods.dev/badge/skills/cubixgg/cloud-minestom/scaffold-argument-mapper/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 scaffold-argument-mapper

Your own site · 80×15
<a href="https://agentmods.dev/skills/cubixgg/cloud-minestom/scaffold-argument-mapper"><img src="https://agentmods.dev/badge/skills/cubixgg/cloud-minestom/scaffold-argument-mapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 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.
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.00079 $0.01009
Opus 5 $0.00039 $0.00504
Sonnet 5 $0.00016 $0.00202
Haiku 4.5 $0.00008 $0.00101

Measured 9d ago against content hash 896dd4e091e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

scaffold-argument-mapper 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 9d 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/scaffold-argument-mapper/SKILL.md · 59 lines

How it starts

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

Scaffold an ArgumentMapper

Adds a new built-in Cloud-parser → native-Minestom-Argument mapping, following the exact pattern every existing mapper in StandardArgumentMappers already uses (see mapUuid/mapEnum/mapPlayer for reference before writing the new one - don't invent a different shape).

Before you start

  1. Confirm there's a real, unambiguous native Minestom Argument type for this parser. If there isn't a sane one, the parser should stay on the Word/String/StringArray fallback (CommandTreeTranslator's own logic already does this automatically for anything with no registered mapper) - do not force a mapping that doesn't actually correspond to the parser's semantics. CLAUDE.md's anti-patterns section calls this out explicitly: a mapping that looks right but silently mismatches the parser's actual grammar is worse than the honest fallback.
  2. If the native shape only approximates the parser's grammar (the way DurationParser/Time does), that's fine — but it must be called out in a comment on the mapper method and in docs/argument-mapping.md's "Known mismatches" section, not silently coerced.

Steps

  1. The mapper method — in cloud-minestom/src/main/java/gg/cubix/cloudminestom/argument/StandardArgumentMappers.java:
    • Add a private static Argument<?> mapXxx(final CommandComponent<?> component, final ArgumentParser<?, T> parser) method, T being the parser's actual value type.
    • Cast parser to the concrete parser class if you need its configuration (bounds, mode, ...) — every existing mapper does this (see mapInteger's (IntegerParser<?>) parser cast).
    • Return the native Argument<?>, built via ArgumentType.Xxx(component.name()).
    • Add a one-line // comment only if there's a non-obvious why (a grammar mismatch, a Minestom-native quirk) — not a comment that just restates what the code does (CLAUDE.md).
  2. Registration — add registry.register(XxxParser.class, StandardArgumentMappers::mapXxx); to registerAll(...), in the same class.
  3. Unit test stub — in cloud-minestom/src/test/java/gg/cubix/cloudminestom/argument/StandardArgumentMappersTest.java:
    • Add a @Test method asserting the produced Argument is the expected type (and, if the parser has options like bounds, that they made it onto the native argument) — follow the existing integerParserMapsToIntegerHonoringBounds-style pattern.
  4. Update docs/argument-mapping.md's table in the same commit — it's meant to be kept in sync with StandardArgumentMappers's actual registered set, not left to drift.
  5. Update docs/spec.md §5.2's table too, with a short note in docs/roadmap.md if this reveals a gap the spec didn't originally anticipate (see the PlayerParser mapper's own roadmap entry, P8, for the precedent on how that correction was written up).

Read the full file on GitHub · 59 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. 9d ago First seen · 59 lines · 79 tokens per session scan A 896dd4e091e0

Subscribe to this mod's changes

scaffold-argument-mapper is a skill published in the GitHub repository cubixgg/cloud-minestom (5 stars, last pushed 7d ago), licensed MIT. It adds 79 tokens to every session and 1,009 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

11-browser-qa

Run post-review browser QA and produce short named videos for a locked happy path and sourced browser edge cases. Use when the user wants concise reviewer evidence for a web journey. Not for API, CLI, automated tests, diff review, or application fixes.

ai-driven-dev/framework · 55 tokens

08-three-amigos

Assesses an Epic or Story through one product, delivery, or quality lens, then reconciles three caller-supplied reports. Use when the user wants to refine one before a backlog change. Not for spawning or writing.

ai-driven-dev/framework · 50 tokens

audit-remediate

Macro workflow for auditing a single domain layer against its authoritative layer skill, applying fixes, and gating the result. Use when you need to prove a layer skill on real code, clean up an existing layer after a skill update, or verify that a layer is already compliant. Always captures a golden baseline before…

ai-driven-dev/framework · 110 tokens

09-for-sure

Run an iterative agent loop that retries until a runnable success condition passes. Use when the user says "for sure", "keep trying until", or wants guaranteed completion against a success command. Not for one-shot tasks or uncheckable goals.

ai-driven-dev/framework · 53 tokens

03-assert

Assert the work behaves by iterating the project's coding assertions until they pass, plus optional architecture and frontend facets. Use to validate an implementation. Not for reviewing or writing tests.

ai-driven-dev/framework · 39 tokens

08-debug

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. Use when the user wants to fix a bug, find why something breaks, or reopen a stuck investigation. Not for building a feature or reviewing a diff.

ai-driven-dev/framework · 52 tokens