Xpersona
G

graph-build

CLAWHUB · Unverified

Builds or updates the code knowledge graph via tree-sitter AST and SQLite Skill: graph-build Owner: athola Summary: Builds or updates the code knowledge graph via tree-sitter AST and SQLite Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:11:39.747Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:33:33.982Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:50:18.601Z | user Release v1.9.16 v1.9.14 | 2026-06-30T17:59:33.545Z | user Release v1.9.14 v1.9.13 | 2026-06-27T16:18:20.986Z

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-gauntlet-graph-build
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-gauntlet-graph-build/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

40,584 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: graph-build
description: Builds or updates the code knowledge graph via tree-sitter AST and SQLite
version: 1.9.8
triggers:
  - setting up the graph before search or blast-radius analysis
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/gauntlet", "emoji": "\ud83e\udd9e"}}
source: claude-night-market
source_plugin: gauntlet
---

> **Night Market Skill** — ported from [claude-night-market/gauntlet](https://github.com/athola/claude-night-market/tree/master/plugins/gauntlet). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Build Code Knowledge Graph

Build or update the `.gauntlet/graph.db` knowledge graph
for the current codebase.

## Steps

1. **Detect target**: Use the current working directory
   or a user-specified path.

2. **Check for existing graph**: If `.gauntlet/graph.db`
   exists, run an incremental update. Otherwise, run a
   full build.

3. **Run the build script**:

   For full build:
   ```bash
   python3 ${CLAUDE_PLUGIN_ROOT}/scripts/graph_build.py <dir>
   ```

   For incremental update:
   ```bash
   python3 ${CLAUDE_PLUGIN_ROOT}/scripts/graph_build.py <dir> --incremental
   ```

4. **Report results**: Show the JSON output including
   files parsed, nodes created, edges created, and
   duration.

5. **Suggest next steps**: Recommend searching the graph
   or running blast radius analysis.

## When To Use

- At the start of a session to build structural awareness
- After significant code changes to update the graph
- Before running blast radius analysis or flow tracing
- When the user asks about codebase structure

## What Gets Parsed

The graph extracts nodes (File, Class, Function, Type,
Test) and edges (CALLS, IMPORTS_FROM, INHERITS, CONTAINS,
IMPLEMENTS, TESTED_BY) from 20+ languages including
Python, JavaScript, TypeScript, Go, Rust, Java, C/C++,
Ruby, and PHP.

## Storage

- Database: `.gauntlet/graph.db` (SQLite with WAL mode)
- Auto-creates `.gauntlet/.gitignore` to prevent commits
- Incremental updates use SHA-256 hashing to skip
  unchanged files

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-gauntlet-graph-build",
  "version": "1.9.19",
  "publishedAt": 1787749899747
}

skill-card.md

## Description:

Builds or updates the code knowledge graph via tree-sitter AST and SQLite.

This skill is ready for commercial/non-commercial use.

## Publisher:

[athola](https://clawhub.ai/user/athola)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineering agents use this skill to build or incrementally update a local SQLite code graph before codebase search, blast-radius analysis, flow tracing, or structure questions.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill creates or updates a local SQLite graph index inside the target repository.

Mitigation: Confirm the intended target directory before running the graph build.

Risk: Unusual path names could be mishandled if commands are assembled as unquoted shell text.

Mitigation: Prefer quoted paths or argument-array execution for graph build commands.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/athola/skills/nm-gauntlet-graph-build)
- [Gauntlet homepage](https://github.com/athola/claude-night-market/tree/master/plugins/gauntlet)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell commands and JSON result summaries]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May create or update .gauntlet/graph.db and .gauntlet/.gitignore in the target repository.]

## Skill Version(s):

1.9.19 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to graph-build and adjacent AI workflows.