Demo

From onur-gokyildiz-bhi/codescope · View interactive version

Demo is an AI agent skill from the GitHub repository onur-gokyildiz-bhi/codescope. Set up a demo session — pick a sample repo, index it, open web UI, prep the narrative.

How to use this skill

Skill file

/demo

Prepare codescope for a live demo or screen recording. The 30-second pitch in terminal + browser.

When to invoke

Pick a sample repo

The best demo repos are medium-size, well-known, and have interesting call graphs.

| Repo | Size | Language | Why it demos well |

|---|---|---|---|

| tokio | 769 files | Rust | Deep async call chains, Runtime::spawn blast radius |

| FastAPI | 2,713 files | Python | Route handler cross-refs, dependency injection graph |

| axum | 296 files | Rust | Middleware layering visible, smaller than tokio |

| Gin | 108 files | Go | Small enough to show whole graph zoomed out |

| ripgrep | 101 files | Rust | Famous, familiar, compiles fast for live index demo |

Default for first demo: axum (296 files, meaningful graph, indexes in ~11s).

Demo script (recording version)

# Scene 1: fresh install (show this once, can be trimmed)
curl -fsSL https://raw.githubusercontent.com/onur-gokyildiz-bhi/codescope/main/install.sh | bash

# Scene 2: index a real repo
git clone https://github.com/tokio-rs/axum /tmp/demo-axum
cd /tmp/demo-axum
codescope init --daemon  # spins up MCP + Web UI on port 9877

# Scene 3: open the web UI
# Show the 3D graph. Click a central node (e.g. `Router`), watch neighborhood expand.

# Scene 4: Claude Code
# Open Claude Code in /tmp/demo-axum. Ask:
#   "Who calls Router::route transitively within 3 hops?"
# Show the response — instant, exact, small token count.

# Scene 5: knowledge save
# Claude: "This codebase uses a layered middleware pattern."
# codescope: knowledge saved to graph.
# Next session: agent already knows.

Narrative beats

  1. "You ask, it reads 40 files. Watch." (show the pain)
  2. "With codescope: one query, one answer, sub-millisecond." (show the fix)
  3. "And it remembers." (show cross-session memory)
  4. "Works with whatever editor you already use." (LSP demo in VS Code)

Pre-recording checklist

Codescope-first rule

During demo:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.