add-lang SKILL.md skillA
add-lang from ethanyoq/skill-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ethanyoq/skill-hub/add-lang@git:20260912.84c6c93Pins git:20260912.84c6c93 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ethanyoq/skill-hub
- Path
archives/user-installed-skills/add-lang/00700e7d79525f4e/add-lang/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260912.84c6c93, committed Sep 12, 2026
- Size
- 10,830 bytes
- Repository stars
- 11
- License
- MIT
Add tree-sitter language support to codegraph end-to-end — wire the grammar + extractor, write tests, then benchmark extraction quality and retrieval value on 3 popular real-world repos. Use when the user runs /add-lang <language> or asks to add/support a new language (e.g. Lua, Elixir, Zig, OCaml) in codegraph.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Add a language to CodeGraph Wire a new tree-sitter language into codegraph's extraction pipeline, prove it extracts real symbols on popular repos, and prove it beats no-codegraph for an agent. Runs **fully autonomously** — pick repos, benchmark, update docs, then report. **Never commit, push, publish, or tag** (house rule); leave all changes for the user to review. The argument is the language token used throughout the `Language` union, e.g. `lua`, `elixir`, `zig`. If none was given, ask which language. Use the lowercase single-token form everywhere (`csharp`, not `c#`). ## Prerequisites - Run from the codegraph repo root. `node`, `git`, `gh`, and a logged-in `claude` CLI (the benchmark spawns real `claude -p` runs). - The benchmark uses the local dev build — Step 8 builds + links it on PATH. ## Workflow Copy this checklist and work through it in order: ``` - [ ] 1. Resolve language; bail early if already supported (just benchmark) - [ ] 2. Find a grammar + health-check it (ABI / heap corruption) - [ ] 3. Discover the grammar's AST node types (dump-ast.mjs) - [ ] 4. Wire the language (4 files; sometimes a 5th core touch) - [ ] 5. Build + verify-extraction loop until PASS …
Read the whole file at its exact version.
How to install
mdr add ethanyoq/skill-hub/add-lang@sha256:ba81accf32431e0aThe line at the top of this page pins the label git:20260912.84c6c93, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zqghow2jwxmuozcs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10830 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ethanyoq/skill-hub · 11 stars · license MIT · pushed 2026-10-19 · branch mine
API
GET https://markdownregistry.com/api/v1/artifacts/art_zqghow2jwxmuozcs GET https://markdownregistry.com/api/v1/resolve?ref=ethanyoq/skill-hub/add-lang GET https://markdownregistry.com/api/v1/blob/ba81accf32431e0ad0ea877fd8bb5f81443f961e17e0bc1797fa09395d349450
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.