More screenshots

    Works with the AI Agents you already use

    Codemap: interactive map of a codebase

    by Tosin Alade

    1

    Builds one interactive HTML page that maps a JS/TS repo or Shopify theme: what each file does, how files link, pages, flows, where to change things, git history and possibly unused code.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Codemap: interactive map of a codebase

    Codemap: interactive map of a codebase

    Example session with this skill installed

    Map this repo so I can find my way around it. It's our Shopify theme, built on Dawn.

    • Read your context and instructions
    • Compiled the codemap

    Summary

    Mapped Dawn at commit 779b2830: 207 files, 48,161 lines and 377 links between files, across 13 templates. The page is at ~/.local/share/codemap/dawn/index.html (screenshots above are from this run).

    Shape of the theme

    • JSON templates pick the sections for each page type; sections render snippets and load their own CSS and JavaScript.
    • layout/theme.liquid wraps every page: it turns the editor's fonts and colour schemes into CSS variables, renders the cart drawer and the header and footer section groups.
    • Cart behaviour lives in three custom elements (product-form, cart-items, cart-drawer) that call Shopify's Ajax cart and re-render sections in place.

    What the map found

    GroupsLayout 2, Settings 2, Templates 13, Sections 49, Snippets 40, Assets 101
    Understand these firsttheme.liquid (52 commits, used by 12), component-card.css (33, 11), card-product.liquid (45, 6), main-product.liquid (132 commits)
    Possibly unused, medium confidence8 files, e.g. component-progress-bar.css, customer.js, header-mega-menu.liquid
    Needs a look15 sections placed in no template; they have presets, so check the live theme before removing

    Written layer

    12 of 207 files described (3 read closely, 5 by header and signatures, 4 by structure only), 2 flows traced (add to cart; change a quantity), 5 "where to change" entries (brand colours, fonts, menu style, price display, product page sections), an 8-file reading order and 3 self-check questions.

    Caveats

    • "Unused" means nothing in this copy of the theme refers to it; merchants can still add sections with presets in the editor.
    • The JSON in git can lag the live store if merchants edit in the admin.

    Next steps

    • Ask me to describe more files (the 150 most-used is the usual next pass).
    • Re-run after a change: the Health tab then lists new, removed and edited files, and stale descriptions are flagged.

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

    About this skill

    Point it at a JavaScript/TypeScript repo or a Shopify theme and it produces one HTML page for a person who wants to understand the code.

    What the page shows

    • Map: every file and the links between them, in columns from the files that use the most to the files that are used the most. Click a file for what it does, what it uses, what uses it, how often it changes and which decisions mention it.
    • Pages (or Templates for a theme): each route or template with its sections in order and the data each one reads.
    • Flows: real journeys through the code, step by step (a request arriving, a form being submitted).
    • Where to change: prices, copy, navigation, colours and the like, each mapped to the file that holds it.
    • Start here: a reading order and questions to check your understanding.
    • Health: hot spots, possibly unused code with a confidence tier and the evidence, docs that point at missing files, decisions that may be out of date, and what changed since the last map.

    Two layers

    • Computed by the included scripts, with no model calls: links, pages, git history, findings. The same code always gives the same result.
    • Written by the agent from reading the code: descriptions, flows, the change index. Each description records how closely its file was read and the file hash it was written against, so it is flagged when the file changes.

    Nothing is ever written into the repo being mapped. Data goes to ~/.local/share/codemap/<repo-name>/.

    Use it

    Ask your agent to "map this repo" or "refresh the code map". Needs Node 18+, Python 3.8+ and git.

    Needs Node 18+, Python 3.8+ and git. Supports JavaScript/TypeScript repos and Shopify themes only. 'Unused' means nothing in the map refers to a file, not proof it never loads at run time, and Liquid snippets rendered by a variable name can't be traced. History signals are weak in repos with few commits. On repos over about 150 files the agent describes the most-used files first; the computed map always covers every file.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    Software
    GitNode.js 18+Python 3.8+

    Nothing is written into the repo you map; output goes to ~/.local/share/codemap/. Tested on a Next.js site and on Shopify's Dawn theme.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    ~/.local/share/codemap/**

    Shell runs the bundled Node and Python scanners and git log. It reads the repo you point it at and writes only to its own data folder outside the repo. No network access and no API keys.

    Listed15 days ago

    What's inside

    Frequently Asked Questions

    One HTML page per repo with six tabs: Start here, Map, Pages (or Templates for a theme), Flows, Where to change and Health. It also writes a short codemap.md summary for coding agents.

    Any agent that can run local Node and Python scripts, such as Claude Code. It maps JavaScript and TypeScript repos, including Next.js App Router pages, and Shopify themes.

    Each description is stamped with the hash of the file it was written against. On a refresh, changed files are flagged as stale and the Health tab lists new, removed and edited files since the last map.

    No. The scripts only read the repo and write to ~/.local/share/codemap/, and they make no network calls.

    It covers JavaScript/TypeScript and Shopify themes only. 'Possibly unused' is based on what the map can see, so each finding states its evidence and confidence. Theme JSON in git can lag the live store if merchants edit in the admin. It has been tested on one Next.js site and on Shopify's Dawn theme, so expect rough edges elsewhere.

    New in E-commerce

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.