discover
Given a Japanese NLP GitHub repo/model/dataset (URL / owner/repo / tool name) OR a topic, find what's already in…
Compare several Japanese NLP libraries, models, or datasets for a keyword (a specific tool name, or a function/task like '形態素解析') across a handful of criteria chosen for that comparison, rendered as a ○/△/✕ table. Use when the user wants a side-by-side comparison of multiple
$ npx -y skills add taishi-i/awesome-japanese-nlp-resources --skill compare --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/compareContext preview
The summary Claude sees to decide when to auto-load this skill.
Compare several Japanese NLP libraries, models, or datasets for a keyword (a specific tool name, or a function/task like '形態素解析') across a handful of criteria chosen for that comparison, rendered as a ○/△/✕ table. Use when the user wants a side-by-side comparison of multiple
name: compare description: "Compare several Japanese NLP libraries, models, or datasets for a keyword (a specific tool name, or a function/task like '形態素解析') across a handful of criteria chosen for that comparison, rendered as a ○/△/✕ table. Use when the user wants a side-by-side comparison of multiple Japanese NLP tools/libraries/datasets, not just the single best one. Trigger phrases include 'X と Y と Z を比較して', '形態素解析ライブラリを比較', 'MeCab と Sudachi どっちがいい', 'どのツールを使うべき', 'compare japanese tokenizers', 'mecab vs sudachi vs janome', 'which embedding model should I use', '日本語NERライブラリの比較表', 'pros and cons of japanese OCR tools'. For a single ranked list use search; for alternatives to one specific tool (or contribution candidates) without a multi-axis table, use discover." argument-hint: [tool-name | topic] allowed-tools: Bash WebSearch WebFetch
Compare Japanese NLP resources for the user's query across a few criteria, as a table.
This skill is shared by the Claude Code and Codex versions of the plugin. The steps are the same in both tools; only these details differ:
Candidates come from the bundled data (Step 3), topped up from the web only as Step 4 describes. If the data file can't be read (for example, shell commands are blocked or fail to start), say so and link https://github.com/taishi-i/awesome-japanese-nlp-resources instead of building the comparison from memory alone.
If the query is empty or blank, **stop immediately** and output (in Codex, write the commands with `$` instead of `/`):
Usage: /awesome-japanese-nlp-resources:compare <tool-name | topic> Examples: /awesome-japanese-nlp-resources:compare mecab /awesome-japanese-nlp-resources:compare 形態素解析 /awesome-japanese-nlp-resources:compare japanese sentence embedding models /awesome-japanese-nlp-resources:compare OCR Pass a tool name (to compare it against its closest alternatives) or a topic/function (to compare the leading options for that task). --- 使い方: /awesome-japanese-nlp-resources:compare <ツール名 | トピック> 例: /awesome-japanese-nlp-resources:compare mecab /awesome-japanese-nlp-resources:compare 形態素解析 /awesome-japanese-nlp-resources:compare 日本語 文埋め込み モデル /awesome-japanese-nlp-resources:compare OCR 比較したいツール名(その代替と比較)、またはトピック/機能名(その分野の主要な選択肢を比較)を引数に指定してください。
Do **not** proceed if the query is empty. Unlike `discover`, this skill has no empty-argument default — a comparison needs something to compare.
**Seed mode** — names ONE specific existing tool/library/model (a full GitHub/Hugging Face URL, `owner/repo`, or a bare tool name, e.g. `mecab`, `fugashi`). Pass it through as `SEED` and proceed to Step 3 in seed mode — the comparison set will be the seed plus its closest peers.
**Topic mode** — a descriptive/functional phrase with no single specific name (e.g. `形態素解析`, `japanese sentence embedding models`, `OCR`). Proceed to Step 3 in topic mode — the comparison set will be the leading local matches for the topic.
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}" # Codex: replace with the plugin root, two levels above this SKILL.md
RESOURCES_PATH="$PLUGIN_ROOT/data/resources.json"
[ -f "$RESOURCES_PATH" ] || RESOURCES_PATH="$(find "${CODEX_HOME:-$HOME/.codex}/plugins" "${HOME}/.claude/plugins" -type f -name resources.json 2>/dev/null | grep "awesome-japanese-nlp-resources/" | head -1)"
echo "RESOURCES_PATH=$RESOURCES_PATH"Write the resulting absolute path into the Step 3 script — shell variables may not persist between commands.
The plugin also ships `data/multilingual_resources.json` (same item format) listing multilingual libraries, models, and datasets (GitHub repositories) that also support Japanese, from `docs/multilingual.md`. The scripts below load it automatically when it exists; its items have categories like `Multilingual (Speech recognition)`.
**Do not read `resources.json` directly** (no Read tool, `cat`, or `head`). Run one of the two scripts below, substituting `RESOURCES_PATH` (Step 2) and, for seed mode, `SEED` (from Step 1).
**Seed mode** — locate the seed and score peers by shared category, shared semantic labels, and shared description tokens (IDF-weighted):
python3 << 'EOF'
import json, re, math, os
from collections import Counter
RESOURCES_PATH = "RESOURCES_PATH" # from Step 2
SEED_RAW = "SEED" # from Step 1
with open(RESOURCES_PATH) as f:
data = json.load(f)
multilingual_path = os.path.join(os.path.dirname(RESOURCES_PATH), "multilingual_resources.json")
if os.path.exists(multilingual_path):
with open(multilingual_path) as f:
data +=A curated list of resources dedicated to Python libraries, llms, dictionaries, and corpora of NLP for Japanese Listed information on 895 GitHub repositories Listed information on 450 Hugging Face repositories (models and datasets) Listed information on 156
Given a Japanese NLP GitHub repo/model/dataset (URL / owner/repo / tool name) OR a topic, find what's already in…
Analyze current trends and challenges in Japanese NLP for a topic. Surveys the existing awesome-japanese-nlp-resources dataset…