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.
npx skills add plurigrid/asi --skill tree-sitter-analyzergit clone --depth 1 https://github.com/plurigrid/asiWrote 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.
[](https://agentmods.dev/skills/plurigrid/asi/tree-sitter-analyzer)<a href="https://agentmods.dev/skills/plurigrid/asi/tree-sitter-analyzer"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/tree-sitter-analyzer/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.
<a href="https://agentmods.dev/skills/plurigrid/asi/tree-sitter-analyzer"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/tree-sitter-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02411 |
| Opus 5.5 | $0.00000 | $0.00964 |
| Sonnet 5.5 | $0.00000 | $0.00482 |
| Haiku 4.5 | $0.00000 | $0.00241 |
Grade A, and why
tree-sitter-analyzer 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tree-Sitter Analyzer Skill
Version: 1.0.0 Status: Production Ready Date: December 22, 2025 Phase: 2 Stage 3 Foundation
Overview
Automated code structure analysis for module verification and cross-prover theorem mapping using tree-sitter incremental parsing. Enables 100x+ speedup on integration verification tasks compared to manual analysis.
Quick Stats:
- 550+ lines of code (2 modules)
- 350+ lines of tests (10 test cases, 10/10 PASS)
- <1ms per operation (well under 200ms target)
- Zero external dependencies
- Full Julia language support
- Ready for Lean4 extension
Problem Statement
Current Workflow (Manual Analysis):
- Agent integration verification: 5-40 minutes per task
- Function extraction: 1-5 minutes per module
- Dependency analysis: 5-10 minutes per graph
- Error rate: 5-10% (missed imports, false positives)
- Scalability: ❌ Not practical for 100+ modules
With Tree-Sitter Analyzer:
- Module analysis: <1ms
- Dependency graphs: <1ms
- Integration verification: <5ms
- Error rate: 0% (AST-based, proven correct)
- Scalability: ✅ 1,000+ modules possible
Capabilities
Core Functions
Module Analysis:
analyze_module(path::String) -> ModuleAnalysis
Extract all symbols, dependencies, and structure from a Julia module.
Symbol Extraction:
extract_functions(content::String, path::String) -> Vector{FunctionSignature}
extract_structs(content::String, path::String) -> Vector{StructDefinition}
extract_exports(content::String, path::String) -> Vector{Symbol}
extract_imports(content::String, path::String) -> Vector{Symbol}
Julia-Specific Analysis:
extract_docstrings(content::String) -> Vector{DocstringInfo}
extract_type_annotations(content::String) -> Dict{String, String}
find_macros(content::String) -> Vector{MacroUsage}
analyze_module_structure(path::String) -> JuliaModule
Dependency Analysis:
build_dependency_graph(root::String) -> DependencyGraph
find_circular_dependencies(graph::DependencyGraph) -> Vector{Vector{String}}
find_integration_points(graph, from, to) -> Vector{Tuple{String, String}}
What ships with it
3 files 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.
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.
- 3mo ago First seen · 382 lines · 0 tokens per session scan A 8ef58666167b
tree-sitter-analyzer is a skill published in the GitHub repository plurigrid/asi (73 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,411 tokens. 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-09-03.
tree-sitter-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tree-sitter-analyzerplurigrid/asi | Skill | 73 | 1mo ago | MIT | A | 0 | Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | yesterday | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |