From tree-sitter-language-pack
Manages the tree-sitter parser cache — prefetch, list, inspect, clean, and init via ts-pack CLI. Use for offline, CI, or reproducible builds.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tree-sitter-language-pack:managing-parsersThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Parser libraries download on demand the first time a language is used and
Parser libraries download on demand the first time a language is used and are cached on disk. Manage that cache explicitly for offline work, CI prefetch, reproducible builds, or to reclaim space.
Note: parser cache management (
download,clean,init) is done via thets-packCLI directly. The OpenCode tools expose only parse/process/info.
ts-pack download python rust typescript # specific languages
ts-pack download --all # every available language
ts-pack download --groups web,systems # by group
ts-pack download python --fresh # clean cache first, then download
Available groups: web, systems, scripting, data, jvm,
functional (comma-separated for --groups). Run download in your CI
setup step so later parse/process calls hit the cache instead of the
network.
ts-pack list # all available languages
ts-pack list --downloaded # only languages currently cached
ts-pack list --manifest # everything in the remote manifest
ts-pack list --filter script # filter by name substring
ts-pack info python # known? downloaded? cache path?
ts-pack cache-dir # print the effective cache directory
ts-pack clean # prompts for confirmation
ts-pack clean --force # skip the prompt (use in scripts/CI)
clean removes all cached parser libraries; they re-download on next use.
ts-pack init writes a language-pack.toml to the current directory
pinning a cache location and/or a language set. This writes a file to
the working directory.
ts-pack init --languages python,rust --cache-dir .ts-pack-cache
Resulting language-pack.toml:
cache_dir = ".ts-pack-cache"
languages = ["python", "rust"]
With no flags, init writes a commented template. When --languages (or a
group set) is given, init also triggers the download for those languages.
Commit language-pack.toml to pin the parser set across a team or CI.
ts-pack init --languages python,rust,typescript --cache-dir .ts-pack-cache
# ... later steps run parse/process offline against the warm cache ...
ts-pack list --downloaded # assert the expected parsers are present
Once parsers are cached, use parsing-source to get syntax trees and
extracting-code-structure to pull metadata. info/list here also serve
the language-support checks described in detecting-languages.
npx claudepluginhub xberg-io/plugins --plugin tree-sitter-language-packProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.