Documentation

Getting Started

Visualize any codebase as an AI-generated architecture diagram in 30 seconds

What is Ropeman

Ropeman is a browser-based code visualization tool that turns any codebase into an AI-powered semantic architecture diagram. Instead of showing a raw file tree, it surfaces the roles and relationships that actually define your project’s architecture.

Drop a folder, get a diagram. Click any region to drill down — the AI recursively analyzes sub-structures on demand. Your source code never leaves the browser: WASM parses the AST locally, and only a compact code structure summary (skeleton) is sent to the selected AI track.

Try it now at ropeman.dev — no signup required.

Use it from your coding agent

The main way to use Ropeman is from a coding agent through the Ropeman skill. You need Node 22 or later. First, install the ropeman command:

npm install -g @ropeman/[email protected]

Then save the skill in the folder your agent loads skills from. Run the line for your agent:

# Claude Code (tested)
curl --create-dirs -fsSLo ~/.claude/skills/ropeman/SKILL.md https://raw.githubusercontent.com/yoonsooc/ropeman/bridge-v0.7.1/skill/ropeman/SKILL.md
# Codex (not tested)
curl --create-dirs -fsSLo ~/.agents/skills/ropeman/SKILL.md https://raw.githubusercontent.com/yoonsooc/ropeman/bridge-v0.7.1/skill/ropeman/SKILL.md
# Gemini CLI (not tested)
curl --create-dirs -fsSLo ~/.gemini/skills/ropeman/SKILL.md https://raw.githubusercontent.com/yoonsooc/ropeman/bridge-v0.7.1/skill/ropeman/SKILL.md
# Cursor (not tested)
curl --create-dirs -fsSLo ~/.cursor/skills/ropeman/SKILL.md https://raw.githubusercontent.com/yoonsooc/ropeman/bridge-v0.7.1/skill/ropeman/SKILL.md

The skill is tested with Claude Code. Codex, Gemini CLI and Cursor load skills from these folders according to their own documentation, but Ropeman has not been tested with them yet. For another agent, save the file as ropeman/SKILL.md in the folder that agent loads skills from. If your agent has no skill support, paste the text of SKILL.md into the conversation. The setup on the home page shows the same commands.

When both are installed, ask your agent to “map this repo”. It builds the map, names the top two levels, checks the names against the code, starts ropeman serve and gives you a http://127.0.0.1:9800/bridge#token=… address to open.

A folder that holds only one subfolder is skipped: Ropeman shows the chain as one card labelled with its path, so each drill-down opens a level with something to choose.

Use a graph file you already have

By default ropeman map reads the repository with Ropeman’s own extraction. If another tool already wrote a graph file for the repository, you can build the map from that file instead. This option needs @ropeman/bridge 0.6.0 or later.

ropeman map looks for graph files at graphify-out/graph.json and .graphicle/graph.json. When it finds one, it does not switch to it on its own:

  • In a terminal, it asks which input to use. Ropeman’s own extraction is the first choice and the default.
  • When your agent runs it, it writes no map and lists the choices. The agent shows them to you and passes your answer with --input.

Each graph file in the list shows its size, when it changed, the tool that wrote it, and how many of the code files on disk it covers. The map shows only the files the graph holds, so a graph that covers less than 90% comes with a warning. To choose yourself, pass the file or ropeman:

ropeman map --root . --out .ropeman --input graphify-out/graph.json
ropeman map --root . --out .ropeman --input ropeman

Ropeman remembers the choice in the --out folder, so later runs use the same input. Ropeman never installs or runs Graphify or any other tool. It reads only Graphify’s graph.json format and refuses other formats with the reason. ADR-28 explains the choice.

The work folder

The agent and Ropeman share one folder, the work folder. By default it is .ropeman in the repository. The agent picks a folder outside the repository when you do not want the repository changed. ropeman map writes a .gitignore into a work folder inside the repository, so git does not commit it.

Each file in the work folder has one writer. The diagram shows who writes each file and what reads it next.

Who writes each file in the work folderropeman map writes ropeman.json, work.json and input.json. Your agent reads work.json and writes names.json and brief.md, then runs ropeman map again until no problems are left. ropeman serve --detach shows ropeman.json and writes serve.json, serve.lock and serve.log. When you open an unnamed folder, a worker names it with brief.md and writes naming-log.jsonl; without a worker serve writes queue.json. ropeman inbox reads both for your agent next turn and writes inbox-read.json.ropeman mapwritesropeman.json · work.jsoninput.json(once you choose an input)work.json: parts to nameYour agentreadswork.jsonwritesnames.json · brief.mdnames.json:run map againuntil noproblemsno problems leftropeman serve --detachshowsropeman.jsonwritesserve.json · serve.lockserve.logyou open an unnamed folderWorkerclaude -preadsbrief.mdwritesnaming-log.jsonlNo workerwritesqueue.jsonropeman inboxreadsqueue.json · naming-log.jsonlwritesinbox-read.jsonyour agent's next turn
  1. ropeman map reads the repository and writes ropeman.json, the map. Until a level gets names that pass the checks, its parts keep their folder names. ropeman map also writes work.json, the list of parts that still need names. Once you choose the input, as in Use a graph file you already have, it records the choice in input.json.
  2. Your agent reads work.json and writes names.json, which gives each part a label, a description and key symbols. It also writes brief.md: what you want to learn, the project’s terms, its naming rules and the names of the upper levels.
  3. Your agent runs ropeman map again. Ropeman applies names.json, checks every name against the code, and writes ropeman.json and work.json again. A level keeps its names only when all of them pass. The agent repeats steps 2 and 3 until ropeman map reports no problems.
  4. Your agent starts ropeman serve --detach. The start holds serve.lock while it launches serve in the background and writes serve’s output to serve.log. serve shows the map from ropeman.json and records itself in serve.json.
  5. When you open a folder that has no names yet, serve asks a headless worker to name its parts: claude -p, or Gemini CLI when serve runs with --cli gemini. The worker gets the first 4,000 bytes of brief.md as context. serve writes each result to naming-log.jsonl. Without a worker, serve adds the folder to queue.json for your agent.
  6. When you send your next message, the agent runs ropeman inbox first. It returns the queued folders and the log lines added since the last check, and records how far it read in inbox-read.json. The agent names the queued folders with steps 2 and 3.
FileWritten byRead by
ropeman.jsonropeman mapserve, ropeman verify, ropeman inbox
work.jsonropeman mapyour agent
input.jsonropeman map, once you choose an inputropeman map, ropeman verify, serve
names.jsonyour agentropeman map
brief.mdyour agentserve’s workers
naming-log.jsonlserveropeman inbox
queue.jsonserveropeman map, serve, ropeman inbox
inbox-read.jsonropeman inboxropeman inbox
serve.jsonserve (ropeman stop removes a stale one)serve, ropeman stop
serve.lockropeman serve --detachropeman serve --detach
serve.logropeman serve --detachyou, when serve does not start

What you can change by hand:

  • To change a name, ask your agent. It edits names.json and runs ropeman map. You can also edit names.json yourself and run ropeman map --root <repo> --out <work folder>. A name stays only when every name of its level passes the checks.
  • To steer the worker names, edit brief.md, for example to add a naming rule. Workers read it each time they name a folder, so the change applies to folders you open next.
  • To use another input, run ropeman map with another --input. Do not edit input.json.
  • Do not edit the other files. ropeman map writes ropeman.json and work.json again on every run, and serve and ropeman inbox keep their own records.
  • To delete the work folder, run ropeman stop --out <work folder> first, so that serve does not keep running on it.

The quickstart below is the in-browser path, which needs no install.

30-Second Quickstart

The fastest path to your first diagram is Demo mode. No API key, no installation.

  1. Open ropeman.dev in a Chromium-based browser (Chrome or Edge recommended).
  2. Click Open Folder (or drag-and-drop a project directory onto the landing area).
  3. Pick any small project — a personal repo, an open-source library, anything with up to 2,000 files.
  4. Ropeman parses each file in your browser. You’ll see files light up in the sidebar as they’re indexed.
  5. Click Analyze with AI, choose Demo in the modal, and let the AI generate your first semantic diagram.
  6. Double-click any node to drill down into its sub-structure. The AI re-analyzes that region on demand.

That’s it. The resulting diagram is cached in your browser, so reopening the same folder is instant.

Analyze a GitHub Repository

Don’t have a local project handy? You can analyze any public GitHub repository directly from the landing page.

  1. Paste a GitHub repository URL into the URL input field (e.g., https://github.com/owner/repo).
  2. Click Load — Ropeman fetches the repository’s file structure and parses it automatically.
  3. From here, everything works the same as a local folder: AI analysis, drill-down, and code viewer are all available.

Only public repositories are supported. Private repositories cannot be analyzed.

Tips for Large Projects

To exclude extra directories from analysis (e.g., monorepo build outputs), go to Settings → Additional Excluded Directories and enter one directory name per line (such as target, third_party, or generated). Your custom patterns are merged with the built-in skip list (node_modules, .git, etc.). Changes save automatically on blur and apply to the next project load.

Need more room in the file explorer? Drag the right edge of the sidebar to resize. The width is persisted per browser.

Analysis Progress and Cancellation

Analysis continues across in-app route navigation. The progress pill at the bottom-right is shown on every route; click the red Cancel button to stop. A confirmation dialog appears once (with a “Don’t ask again” option) to prevent accidental cancels.

If you trigger drill-downs on multiple regions in parallel, each request gets its own pill. Beyond three concurrent analyses, pills collapse into a single “N analyses running” group badge — use the chevron to expand the list and cancel individual requests. When the tab is inactive, a Browser Notification fires on completion (if permission was granted).

Supported Languages

Ropeman parses 14 languages out of the box, all entirely in your browser: Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, Ruby, PHP, Swift, Kotlin, C#, and Scala.

Mixed-language projects are fully supported — the AI reasons across language boundaries when inferring architecture.

Browser Requirements

  • Chrome / Edge (recommended) — full File System Access API support for folder picking and live file reads.
  • Firefox / Safari — drag-and-drop folder upload works, but the picker dialog is unavailable.
  • WebGPU mode additionally requires a WebGPU-capable browser and GPU.

Project Limits

To keep everything snappy in the browser, Ropeman enforces two soft limits:

  • MAX_FILES — 2,000 files per project
  • MAX_FILE_SIZE — 500 KB per individual file

Large monorepos should be opened one package at a time. You can also tune the code structure summary size in Settings (default 250 KB).

Next Steps

  • AI Modes — pick the right track for your workflow (Demo, BYOK, WebGPU).
  • Bridge Setup — start ropeman serve yourself and open a map of a folder on your machine.
  • Security — exactly what leaves your machine and what doesn’t.
  • Keyboard Shortcuts — navigate the canvas like a pro.
  • FAQ — answers to the questions most new users ask.