carbonscott

Skill Askcode — Development skill for Claude Code

Development community

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 tsdb command). 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