gitnexus-explorer

Index a codebase into a knowledge graph and serve an interactive web UI via Cloudflare tunnel.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/xu1713/openhorse --skill gitnexus-explorer-xu1713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-explorer
Source: https://github.com/xu1713/openhorse/tree/main/openhorse/openhorse/optional-skills/research/gitnexus-explorer
Command: npx skills add https://github.com/xu1713/openhorse --skill gitnexus-explorer-xu1713

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Understanding a large codebase's architecture is hard when you can only read files one at a time. This Skill indexes any git repository with GitNexus and serves an interactive knowledge graph in the browser, so you can visually explore symbols, call chains, clusters, and execution flows, and share the explorer with others through a Cloudflare tunnel. ## Core Features & Use Cases - Codebase Knowledge Graph: Runs npx gitnexus analyze to index a repo into a graph of symbols, dependencies, and call chains stored in .gitnexus/. - Interactive Web UI with Proxy: Builds the GitNexus production web bundle and serves it through a zero-dependency Node.js proxy that forwards /api/* to the backend on a single port, avoiding CORS and host-blocking issues. - Remote Sharing via Cloudflare Tunnel: Exposes the explorer through a quick cloudflared tunnel so anyone with the link can browse the graph. - Use Case: You inherit an unfamiliar 3,000-file repository. Index it, start the proxy and tunnel, and share the URL with your team so everyone can explore the architecture visually. ## Quick Start Ask the agent to index the current repository with GitNexus and start the web UI with a Cloudflare tunnel so you can explore its knowledge graph in the browser.

Frequently Asked Questions about gitnexus-explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize a codebase as a knowledge graph?

Run `npx gitnexus analyze` inside the repository to build an index in `.gitnexus/`, then start `npx gitnexus serve` and the included Node.js proxy to open the interactive web UI showing symbols, call chains, and clusters.

How do I share a local web UI through a Cloudflare tunnel?

Install cloudflared to ~/.local/bin, then run `cloudflared tunnel --config /dev/null --url http://localhost:8888 --no-autoupdate --protocol http2`. The generated trycloudflare.com URL is printed to stderr and can be shared with anyone.

What are the requirements for running GitNexus web UI?

You need Node.js v18 or later, a repository with a `.git` directory, and cloudflared for tunneling. The web UI must be built as a production Vite bundle, since the dev server blocks non-localhost hosts.

Why does the Cloudflare tunnel return 404 for quick tunnels?

An existing named tunnel config at ~/.cloudflared/config.yml has a catch-all ingress rule that intercepts quick tunnel requests. Passing `--config /dev/null` to cloudflared bypasses that config and fixes the 404 responses.

What are the size limits of the GitNexus web visualization?

The web UI loads the entire graph into browser memory, so repos under about 5,000 files work well. Repos with 30k+ nodes will be sluggish or crash the browser tab, though the CLI and MCP tools work at any scale.