java-fast-skill

java-fast-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 155 tokens per session (2,250 once invoked), scanned A, original, Apache-2.0.

A beginner-friendly Java learning guide that answers questions about core Java topics such as types, syntax, classes, collections, errors, files, threads, generics, and lambdas.

In plain words
What is it for?
Use it to learn Java basics, look up syntax, understand object-oriented programming, and review collections, exceptions, file handling, threads, and related concepts.
Why use it?
It gives new learners quick explanations in one place instead of making them search through many tutorials. Keyword-based questions help them find the relevant topic quickly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/jiushiwon/wg-skills/java-fast-skill
Any agent
npx skills add jiushiwon/wg-skills --skill java-fast-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

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 java-fast-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/java-fast-skill.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/java-fast-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/java-fast-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/java-fast-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,250 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.1 $0.00155 $0.02250
Opus 5 $0.00077 $0.01125
Sonnet 5 $0.00031 $0.00450
Haiku 4.5 $0.00015 $0.00225

Measured 6d ago against content hash 4c95e46d5096, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

java-fast-skill 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 6d 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.

vibeCoding/backend/java/java-fast-skill/SKILL.md · 214 lines

How it starts

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

Java Fast Learning Skill

面向零基础小白的 Java 快速入门学习助手。通过关键词触发,快速回答核心知识点,帮助建立知识框架。

知识体系覆盖

类别 包含内容
数据类型 基本类型(int/long/double/boolean/char)、引用类型、类型转换、自动装箱拆箱
基础语法 变量声明、运算符、条件判断(if/else/switch)、循环(for/while/do-while)、break/continue
函数/方法 方法定义、参数传递(值传递)、返回值、方法重载、可变参数
面向对象 类与对象、封装、继承、多态、抽象类、接口、构造器、this/super
集合框架 List(ArrayList/LinkedList)、Set(HashSet/TreeSet)、Map(HashMap/TreeMap)、迭代器
枚举 枚举定义、枚举方法、枚举switch、枚举与单例
异常 异常体系(RuntimeException/Checked Exception)、try-catch-finally、throw/throws、自定义异常
IO File/Reader/Writer、InputStream/OutputStream、缓冲流、字符流vs字节流、try-with-resources
线程 Thread/Runnable、线程状态、线程同步(synchronized/lock)、线程池、volatile
泛型 泛型类/泛型方法、泛型通配符、类型擦除
Lambda 函数式接口、Lambda表达式、方法引用、Stream API

触发规则

自动触发场景

当用户提问包含以下关键词时,自动提供对应知识点的详细解答:

数据类型相关:数据类型、int、long、double、float、boolean、char、byte、short、String
语法相关:语法、变量、常量、运算符、if、else、switch、for、while、循环、条件
方法相关:方法、函数、参数、返回值、重载、可变参数
面向对象相关:类、对象、继承、封装、多态、抽象、接口、构造器
集合相关:集合、List、ArrayList、Set、HashSet、Map、HashMap、遍历
异常相关:异常、try、catch、throw、throws、RuntimeException
IO相关:IO、文件读取、文件写入、InputStream、OutputStream、Reader、Writer
线程相关:线程、Thread、Runnable、synchronized、lock、volatile、线程池
枚举相关:枚举、enum
泛型相关:泛型、Generic、<?>、<T>
Lambda相关:Lambda、stream、filter、map、reduce

回答模板

每个知识点回答遵循 "概念 → 语法 → 示例 → 常见坑" 四段式:

📌 【知识点名称】
   是什么:一句话定义

💻 【语法】
   核心语法/写法

📝 【示例】
   完整可运行的代码示例

⚠️ 【常见坑】
   小白容易踩的坑和避坑建议

示例对话

示例 1:问数据类型

用户:Java 数据类型有哪些?

自动回答

📌 【Java 数据类型】
   是什么:Java 分为基本类型和引用类型两大类

💻 【语法】
   基本类型(8种):
   - 整数:byte(8位), short(16位), int(32位), long(64位)
   - 浮点:float(32位), double(64位)
   - 字符:char(16位Unicode)
   - 布尔:boolean(true/false)

   引用类型:类、接口、数组、枚举、注解

📝 【示例】
   int age = 25;           // 整数
   double salary = 10000.5; // 浮点
   char grade = 'A';       // 字符
   boolean isActive = true; // 布尔
   String name = "小明";    // 字符串(引用类型)

⚠️ 【常见坑】
   1. long 类型数字后要加 L:long a = 100L;(否则是 int)
   2. float 类型要加 F:float b = 3.14f;
   3. String 不是基本类型,是引用类型

Read the full file on GitHub · 214 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. 6d ago First seen · 214 lines · 155 tokens per session scan A 4c95e46d5096

Subscribe to this mod's changes

java-fast-skill is a skill published in the GitHub repository jiushiwon/wg-skills (88 stars, last pushed 4d ago), licensed Apache-2.0. It adds 155 tokens to every session and 2,250 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

design-patterns

Common design patterns with Java examples (Factory, Builder, Strategy, Observer, Decorator, etc.). Use when user asks "implement pattern", "use factory", "strategy pattern", or when designing extensible components.

piomin/claude-ai-spring-boot · 47 tokens

context-service-guide

Navigate and understand any legacy cpp-context- WildFly/Maven service. LEGACY ONLY — must not be applied to new Spring Boot work. Use when onboarding to a context service, exploring its modules, or understanding its CQRS structure and integrations.

hmcts/agentic-plugins-marketplace · 53 tokens

java-optionals-eval-capture

Use in Symphony for Trello when a Java change or review presents a reusable Optional or absence/fallback strategy-selection lesson, including on an adjacent owning API such as ScopedValue even when no java.util.Optional appears. Capture the before/prompt/after code and create or update a self-contained eval issue in…

martin-francois/symphony-trello · 78 tokens

java-streams-eval-capture

Use in Symphony for Trello when a Java change or review presents a reusable lesson about choosing or preserving a stream, collector, direct result-producing collection transformation, or character-predicate traversal, including identity or delimited string reductions, even when the preferred final code contains no…

martin-francois/symphony-trello · 91 tokens

core-builder

"implement core feature ", "build the core feature", "next core feature", "next core", "continue building core", "core-builder" — this skill implements a specific feature from a core-blueprint outline (requires core-outline.md in the project). Generates working simplified Java source code, unit/integration tests, and…

nlinhvu/learn-java-frameworks-marketplace · 120 tokens

java-explain

Explains Java code in plain language including design patterns. Use when user asks to "explain this code", "what does this do", "help me understand", "walk me through this", or "how does this work".

ducpm2303/claude-java-plugins · 46 tokens