tree-sitter-language-pack: Skill for Claude Code

.agents/skills/api/SKILL.md

api is a skill for Claude Code, Codex from xberg-io/tree-sitter-language-pack. It costs 12 tokens per session (339 once invoked), scanned A, a copy of api, MIT.

A reference for using tree-sitter-language-pack from programming languages including Python, TypeScript, Ruby, and Go. It documents its generated interfaces, settings, data types, and errors.

In plain words
What is it for?
Use it when writing integrations, configuring the library, handling errors, or working with its generated language bindings.
Why use it?
It helps developers use the library consistently without guessing how its interfaces behave.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is xberg-io/tree-sitter-language-pack's own configuration. It tells Claude Code and Codex how to work on tree-sitter-language-pack 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 tree-sitter-language-pack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xberg-io/tree-sitter-language-pack. 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/xberg-io/tree-sitter-language-pack/main/.agents/skills/api/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xberg-io/tree-sitter-language-pack

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 api

README.md
[![agentmods](https://agentmods.dev/badge/skills/xberg-io/tree-sitter-language-pack/api/github.svg)](https://agentmods.dev/skills/xberg-io/tree-sitter-language-pack/api)
Your own site
<a href="https://agentmods.dev/skills/xberg-io/tree-sitter-language-pack/api"><img src="https://agentmods.dev/badge/skills/xberg-io/tree-sitter-language-pack/api/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 api

Your own site · 80×15
<a href="https://agentmods.dev/skills/xberg-io/tree-sitter-language-pack/api"><img src="https://agentmods.dev/badge/skills/xberg-io/tree-sitter-language-pack/api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 339 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 88% copy Near-identical to another mod 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.00012 $0.00339
Opus 5.5 $0.00005 $0.00136
Sonnet 5.5 $0.00002 $0.00068
Haiku 4.5 $0.00001 $0.00034

Measured 1mo ago against content hash 2c0d8dbbb52a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api 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 1mo 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.

Origin

This is a copy

88% identical to api — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/api/SKILL.md · 35 lines

What it actually says

tree-sitter-language-pack API Reference

Use this skill when working with tree-sitter-language-pack generated language APIs, data types, configuration, or error surfaces.

Generated reference pages:

  • docs-site/src/content/docs/reference/api-python.md
  • docs-site/src/content/docs/reference/api-typescript.md
  • docs-site/src/content/docs/reference/api-ruby.md
  • docs-site/src/content/docs/reference/api-php.md
  • docs-site/src/content/docs/reference/api-c.md
  • docs-site/src/content/docs/reference/api-go.md
  • docs-site/src/content/docs/reference/api-java.md
  • docs-site/src/content/docs/reference/api-csharp.md
  • docs-site/src/content/docs/reference/api-elixir.md
  • docs-site/src/content/docs/reference/api-wasm.md
  • docs-site/src/content/docs/reference/api-dart.md
  • docs-site/src/content/docs/reference/api-kotlin-android.md
  • docs-site/src/content/docs/reference/api-swift.md
  • docs-site/src/content/docs/reference/api-zig.md
  • docs-site/src/content/docs/reference/api-rust.md
  • docs-site/src/content/docs/reference/configuration.md
  • docs-site/src/content/docs/reference/types.md
  • docs-site/src/content/docs/reference/errors.md
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. 1mo ago Changed · -1 lines b4f0ce281b8f
  2. 2mo ago First seen · 35 lines · 12 tokens per session scan A 2c0d8dbbb52a

Subscribe to this mod's changes

api is a skill published in the GitHub repository xberg-io/tree-sitter-language-pack (479 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 339 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to api, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories

crawlberg

Crawl, scrape, and convert websites to Markdown using the local crawlberg CLI and its MCP server. Use when the user wants to fetch a page, follow links across a domain, enumerate URLs, or drive a real browser. Covers installation, the subcommands (scrape, crawl, map, interact, batch-scrape, batch-crawl, download…

xberg-io/crawlberg · 104 tokens

crawlberg-automating-the-browser

Use when extracting a page needs scripted interaction first — click, type, press a key, scroll, wait, screenshot, or run JS before capturing the DOM. Covers crawlberg interact URL --actions with the real action schema, result shape, limits, and external-CDP options.

xberg-io/crawlberg · 58 tokens

crawlberg-crawling-a-site

Use when the user wants to follow links across a domain and capture every reachable page as Markdown. Covers crawlberg crawl with depth, page caps, concurrency, rate limiting, domain scoping, robots, and output selection.

xberg-io/crawlberg · 46 tokens

crawlberg-headless-fallback

Use when a static fetch returns nothing useful and the page needs a real browser. Covers --browser-mode auto|always|never, external CDP via --browser-endpoint, symptoms of JS-only pages and WAF blocks, and the performance cost.

xberg-io/crawlberg · 52 tokens

crawlberg-scraping-html-to-markdown

Use when the user wants a single page rendered as clean Markdown plus structured metadata. Covers crawlberg scrape URL, JSON vs Markdown output, what metadata is returned, and how to handle JS-heavy pages.

xberg-io/crawlberg · 41 tokens

crawlberg-serving-the-api

Use when the user wants a long-running HTTP service for scrape/crawl/map instead of one-shot CLI calls or the MCP server — for example wiring crawlberg into other apps over REST. Covers crawlberg serve, the Firecrawl-v1-compatible endpoints, --host/--port, and when to prefer it.

xberg-io/crawlberg · 66 tokens