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.5 $0.00032 $0.00404
Sonnet 5.5 $0.00016 $0.00202
Haiku 4.5 $0.00008 $0.00101

Measured 2mo ago against content hash 896dd4e091e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 2d ago), licensed MIT. It adds 79 tokens to every session and 1,009 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-31.

Related

Other skills, from other repositories

mirrord-prev-env

Help users create and manage mirrord preview environments — running a modified service as an isolated pod in a shared Kubernetes cluster, scoped by an environment key and HTTP/queue traffic filtering, so teams can validate and review changes against real traffic without affecting live services. Use when a developer…

metalbear-co/mirrord · 122 tokens

mirrord-chaos

Help users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the mirrord chaos CLI. Use when a user wants to add latency or delay to outgoing connections or a dependency (e.g. a slow database), simulate…

metalbear-co/mirrord · 119 tokens

testing-mwaa-workflow

Tests Amazon MWAA workflow execution end-to-end: trigger a run and monitor it to completion for Provisioned (Python DAG, via Airflow REST API) and Serverless (YAML workflow, via StartWorkflowRun). Verifies the artifact is deployed and parse-ready, triggers with confirmation, polls to terminal state, and on failure…

aws/agent-toolkit-for-aws · 188 tokens

lovable

Lovable MCP tool usage — deploy projects, message agent, test with agent-browser. Minimize credits by delegating to local repo.

x-cmd/x-cmd · 30 tokens

agent-browser

Browser automation via Chrome/Chromium CDP — open, snapshot, click, screenshot. For testing web apps, mobile layouts, and automated interactions without Playwright/Puppeteer.

x-cmd/x-cmd · 39 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens