More screenshots

    Works with the AI Agents you already use

    Code Map: One-Page HTML Architecture Diagram

    by Sangwoo Park

    1

    - Review notes — a box where the code has a likely bug, a cheap fix or a slow spot carries a short note with the file path as evidence, marked as an AI opinion.

    Free

    Security scanned
    Code Map: One-Page HTML Architecture Diagram

    Code Map: One-Page HTML Architecture Diagram

    Example session with this skill installed

    Draw a code map of this repository: how the engine turns map data into one HTML file, and what runs inside that file when someone opens it.

    • Read your context and instructions
    • Compiled the code map

    What came back

    I read the folder without changing a file, wrote the map data to ~/code-maps/codemap-self/codemap-self.json, built codemap-self.html, and ran the overlap check before calling it done. What follows is the worked example the package ships in examples/ — the map of the tool itself, at commit ef9cc3a.

    Five bands, one map:

    BandWhat sits in it
    코드지도 폴더Screen template, engine JS (19 files), overlap-check rules, skill instructions, unit tests
    개발 컴퓨터The project being read → agent + skill → map data (JSON) → build → one HTML file
    검사check.mjs opens the HTML in headless Chrome and lists every overlap
    HTML 안Drawing and zoom, explanation panels, 11 annotation tools, the map editor, export
    보는 쪽The person who opens the file, the browser's memory, the internet

    Six numbered steps: ① build the engine ② install it as a skill ③ read the project and write the map data ④ build one HTML file ⑤ run the overlap check ⑥ open it and pass it on.

    Each box opens a panel with the files behind it as paths, and the two densest areas (the engine group and the runtime inside the HTML) carry a drill-down into their own map. The header shows the basis — date and commit — so a reader knows how old the picture is.

    Next steps

    • Open the HTML and click the two drill-downs to see the detail levels.
    • If the check reports an overlap, the coordinates go back into the JSON and it is rebuilt; the HTML is never hand-edited.
    • Send the single .html file to whoever needs it. They open it by double-clicking, with no agent and no install.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Onboarding a new teammate onto an unfamiliar repository, or explaining a running service to someone outside engineering, usually ends in a hand-drawn diagram that is out of date the next week. This skill draws the map from the code itself and keeps checking it until it is readable.

    What it does

    • Code map for a folder or a repository — one self-contained HTML file that shows where the code is made, where it goes and how it runs: a horizontal band for each place (developer machine, internet, user device), boxes for modules and services, arrows for calls and data, and up to six numbered steps that trace one request end to end.
    • Screen-flow map for a website — the public pages of a site and how they link to each other, with login walls marked as "login required" instead of guessed through.
    • Drill-down — a box too big to read becomes its own map inside the same file: a detail view, or an automatic file graph built from the code's own imports (JS, TS, Python).
    • Review notes — a box where the code has a likely bug, a cheap fix or a slow spot carries a short note with the file path as evidence, marked as an AI opinion.
    • A map you can actually use — pan, zoom, presentation view, on-canvas annotation and editing, PNG/PDF export. One file, double-click, no server and no agent needed to view it, so it survives being mailed to a colleague who has none of this installed.

    How it works

    1. The agent reads only what it needs: README and dependency files, entry points, build and deploy config, and where data is stored. .env files are read by name only, never by value.
    2. It writes the bands, boxes, arrows and steps as a small JSON file, following the schema in reference/schema.md; three worked examples ship in examples/, including the map of this tool itself.
    3. build.mjs turns that JSON into the HTML file with the bundled engine.
    4. check.mjs opens the result in headless Chrome at 1440 px and 390 px, at every drill level, and reports overlapping labels, labels crossing arrows, arrows crossing each other, text overflow and horizontal scroll. Build, check, fix, repeat until the check passes.
    5. graph.mjs extracts the import graph of a folder and lays it out automatically, already flagging loops, large files, hub files and files nothing uses.

    What makes it different

    • The package brings its own layout engine and validator, so the diagram is laid out and checked rather than just generated: if labels overlap, the check fails and the agent fixes the coordinates.
    • Nothing to install and no build step of your own — the engine is plain files shipped in the package.
    • The result is a readable document, not a source file: a colleague without an agent, a Node install or a browser extension opens it by double-clicking.

    Where it stops

    • Diagram text is written in Korean. The instructions tell the agent to label boxes, steps and notes in plain Korean, so the map reads natively for a Korean-speaking team; it does not turn an English codebase into English labels.
    • It draws at most 20 boxes per level and groups the rest, so a very large system arrives as an overview plus drill-downs rather than one giant sheet.
    • Anything the agent could not confirm from the code — deployment configured outside the repo, screens behind a login — is marked as a guess rather than presented as fact.
    • It reads the target project and never writes to it.
    • The overlap check needs Chrome, Chromium or Edge. Without one it says it could not check, rather than passing silently.
    • The scripts expect the package files to stay together in one folder: build.mjs, check.mjs and graph.mjs next to engine/, lib/, checks/, reference/ and examples/.

    Requirements

    Node.js 20 or newer. Chrome, Chromium or Edge for the overlap check only.

    Licence

    Apache-2.0. LICENSE and NOTICE are included in the package. Original work by Sangwoo Park. Source: GitHub repository woowa0913/codemap

    Requires Node.js 20+. Layout validation needs Chrome/Edge. File-level graphing limited to JS, TS, and Python. Does not bypass logins or submit forms during web crawls.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Software
    Node.jsGitChrome
    Chromium
    orMicrosoft Edge

    The overlap check needs Chrome, Chromium or Edge. Without one the skill reports that it could not check, rather than passing silently. Diagram labels are written in Korean.

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Write Files

    File Scopes

    ~/code-maps/**

    The scripts work on local files only: they read the project you point at and write the map JSON and HTML under ~/code-maps/. Only CHROME_PATH or LOCALAPPDATA is read, to find the browser for the overlap check. The generated HTML loads jsPDF from a CDN only when the viewer presses PDF export.

    Listed6 days ago

    What's inside

    Frequently Asked Questions

    Unlike static text-based charts, Code Map produces a portable HTML file with an interactive UI, allowing you to click through folders and drill down into specific file dependencies without cluttering the view.

    The skill currently supports deep dependency mapping for JavaScript, TypeScript, and Python, though it can generate folder-level visual structures for any project type.

    You will need Node.js 20 or higher and a local installation of Chrome, Chromium, or Edge, which the skill uses to validate that diagram layouts are readable and overlap-free.

    Yes, because the output is a standalone HTML file, you can easily share the architecture maps with team members, embed them in internal documentation, or use them during stakeholder presentations.

    It does not crawl the site. Your agent opens up to 15 public pages with its own browser tool and maps how they link to each other. It never signs in, and anything behind a login is drawn as "login required" rather than guessed.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free