From asi
AST-based code analysis using tree-sitter. Use for parsing code structure, extracting symbols, finding patterns with tree-sitter queries, analyzing complexity, and understanding code architecture. Supports Python, JavaScript, TypeScript, Go, Rust, C, C++, Swift, Java, Kotlin, Julia, and more.
npx claudepluginhub plurigrid/asi --plugin asiThis skill uses the workspace's default tool permissions.
Intelligent code analysis via AST parsing with tree-sitter.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
Maps codebase structure, patterns, symbols, and dependencies using ast-grep and bash scripts. Outputs factual maps with paths/line numbers to .artifacts/research/.
Share bugs, ideas, or general feedback.
Intelligent code analysis via AST parsing with tree-sitter.
MCP server configured in ~/.mcp.json:
{
"tree-sitter": {
"command": "python3",
"args": ["-m", "mcp_server_tree_sitter.server"],
"cwd": "/Users/alice/mcp-server-tree-sitter"
}
}
register_project_tool(path="/path/to/project", name="my-project")
list_files(project="my-project", pattern="**/*.py")
get_file(project="my-project", path="src/main.py")
get_ast(project="my-project", path="src/main.py", max_depth=3)
get_symbols(project="my-project", path="src/main.py")
find_text(project="my-project", pattern="function", file_pattern="**/*.py")
run_query(
project="my-project",
query='(function_definition name: (identifier) @function.name)',
language="python"
)
analyze_complexity(project="my-project", path="src/main.py")
register_project_tool, list_projects_tool, remove_project_toollist_languages, check_language_availablelist_files, get_file, get_file_metadataget_ast, get_node_at_positionfind_text, run_queryget_symbols, find_usageanalyze_project, get_dependencies, analyze_complexityget_query_template_tool, build_query, adapt_queryfind_similar_codePython, JavaScript, TypeScript, Go, Rust, C, C++, Swift, Java, Kotlin, Julia, APL, and many more via tree-sitter-language-pack.
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
graph-theory: 38 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.