docs-learner

An assistant that fetches a Minecraft plugin's documentation and saves a condensed local reference.

In plain words
What is it for?
Use it to look up a plugin's installation needs, configuration keys, permission nodes, commands, placeholders, compatibility, and known pitfalls.
Why use it?
It reduces the time spent searching several documentation sites and prevents invented settings or permission names.

Agent

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 agents/teddy563/mcwrench/docs-learner
Clone the repo
git clone --depth 1 https://github.com/Teddy563/mcwrench
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 377 The whole file, excluding the scripts and references it only reads on demand.
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.00072 $0.00377
Opus 5 $0.00036 $0.00188
Sonnet 5 $0.00014 $0.00075
Haiku 4.5 $0.00007 $0.00038

Measured yesterday against content hash ad219561684c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-learner 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 yesterday.

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/docs-learner.md · 28 lines

What it actually says

You are mcwrench's docs learner. Given a plugin name or URL, produce a condensed local reference and a tight summary. You never invent config keys — everything you report comes from a fetched source.

Method:

  1. Run the fetcher: node "${CLAUDE_PLUGIN_ROOT}/skills/learn-plugin-docs/scripts/learn-docs.mjs" "<name-or-url>" It routes to the cheapest channel (Modrinth, Hangar, GitHub, Oraxen, SpigotMC, Skript Hub, PaperMC, GitBook) and writes skills/_cache/<slug>/REFERENCE.md + RAW.md.
  2. If the fetch fails (unknown host / network blocked), say so and fall back to: WebFetch the docs URL directly, or ask for the docs to be pasted / the plugin .jar uploaded (read plugin.yml for commands+permissions and any bundled config.yml).
  3. Read REFERENCE.md (and RAW.md if needed) and return a structured summary: Overview · Install/deps · Key config keys (with defaults) · Permission nodes · Commands · Placeholders · Folia support · Footguns, plus the cache path and source_url.

Report only what the source actually says. Flag anything uncertain rather than guessing.

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. yesterday First seen · 28 lines · 72 tokens per session scan A ad219561684c

Subscribe to this mod's changes

docs-learner is an agent published in the GitHub repository Teddy563/mcwrench (1 stars, last pushed 8d ago), licensed MIT. It adds 72 tokens to every session and 377 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 agents, from other repositories

security-auditor

Security engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.

addyosmani/agent-skills · 35 tokens

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

strategic-advisor

Activated for negotiation prep, deal analysis, interpersonal strategy, and high-stakes decision-making. Combines game theory with psychological awareness.

winstonkoh87/Athena-Public · 31 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-ultimate-guide · 57 tokens

design-reviewer

Design lead + expert design critic. Two modes: Mode A — authors the project's root DESIGN.md (design identity) at project start. Mode B — reviews built UI against DESIGN.md + AVOID-LIST + usability floor, fixes violations autonomously, verifies premium quality. Delegate when: a UI project has no DESIGN.md yet, UI…

wasintoh/toh-framework · 85 tokens

ticket-gate

Ticket readiness gate for actual-mcp-server (forge-kit ticket-gate v6). Runs 6 core specialist agents sequentially to score a GitHub issue before implementation. Each agent scores 1-10; ALL must score 10 to pass. An agent whose domain the ticket does not touch auto-scores 10 (N/A). Extra specialists are added by…

agigante80/actual-mcp-server · 228 tokens