Skill Askcode — Development skill for Claude Code
Code indexing with tree-sitter-db skill for Claude Code / OpenCode.
How to install Skill Askcode
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open carbonscott/skill-askcode and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Skill Askcode does
Code indexing with tree-sitter-db skill for Claude Code / OpenCode.
Alternatives in Development
- GenericAgent — Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token co 6.1k ★
- Godogen Source Repo — This repository contains two source trees for the same project: - claude/ — Claude Code source tree - codex/ 2.8k ★
- Evo — turns your codebase into an autoresearch loop — discovers what to measure, instruments the benchmark, then run 1.4k ★
README
skill-askcode
Code indexing and navigation skill using [tree-sitter-db](https://github.com/carbonscott/tree-sitter-db). Extracts functions, classes, imports, variables, and call graphs from Python/C/C++ codebases into SQLite for SQL-based analysis. Centrally deployed for LCLS users via the [deploy-opencode](https://github.com/carbonscott/deploy-opencode) meta-deploy script.
Layout
claude/skills/askcode/
SKILL.md # skill instructions
env.sh # discovers tree-sitter-db (tsdb) and loads its environment
opencode/skills/askcode/
SKILL.md # identical to claude/ copy
env.sh # identical to claude/ copy
README.md # this file
The two top-level directories mirror the same content for Claude Code (`~/.claude/skills/askcode/`) and OpenCode (`$OPENCODE_CONFIG_DIR/skills/askcode/`) runtimes respectively.
Prerequisites
- tree-sitter-db installed and available (provides the
tsdbcommand). LCLS users get this for free via the centrally deployed/sdf/group/lcls/ds/dm/apps/dev/tools/tree-sitter-db/env.sh. - uv on your PATH (used by tree-sitter-db).
Install
At SLAC LCLS this skill is centrally deployed — set `OPENCODE_CONFIG_DIR=/sdf/group/lcls/ds/dm/apps/dev/opencode` and it loads automatically; no per-user git clone needed.
For standalone use:
**Claude Code:**
git clone https://github.com/carbonscott/skill-askcode.git /tmp/skill-askcode
cp -r /tmp/skill-askcode/claude/skills/askcode ~/.claude/skills/askcode
**OpenCode:**
git clone https://github.com/carbonscott/skill-askcode.git /tmp/skill-askcode
cp -r /tmp/skill-askcode/opencode/skills/askcode "$OPENCODE_CONFIG_DIR/skills/askcode"
Configuring tree-sitter-db location
If `tsdb` is not on your PATH, tell the skill where to find it via `env.local`:
echo 'export TREE_SITTER_DB_DIR="/path/to/tree-sitter-db"' > ~/.claude/skills/askcode/env.loca
Related Skills
Contributing To MCP Tree-sitter Server
Thank you for your interest in contributing to MCP Tree-sitter Server! This guide will help you understand our
Benzi
Benzi is compiler-backed code intelligence (Agent+MCP). Claude Code greps; Cursor embeds; Aider maps signature
Code Graph MCP
AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, im
Laya Codex
Ranked code retrieval for Claude Code: tree-sitter + BM25 + the Laya re-ranker, delivered through hooks and MC
Codebase Graph
Code intelligence MCP server — 42-language tree-sitter AST parsing, FalkorDB knowledge graphs, 0.944 MRR searc
Codeindex
Structural code-intelligence engine in Zig — tree-sitter across 40+ languages, trigram and inverted indexes, d
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Web Search Opencode
Skills Manager (AI 技能管理器)
一款用于管理 AI 编程助手技能(Skills)的统一桌面应用。 无缝组织、同步和共享 Claude Code、Codex、Opencode 及其他 AI 工具的技能。 Version Platform