Agent skill

Repo System Map

by tamdogood in tamdogood/builder-essential-skills

Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure…

MITAuto-check: notesWriting & Content

Install Repo System Map

skills CLI
$ npx skills add tamdogood/builder-essential-skills --skill repo-system-map -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tamdogood/builder-essential-skills repo-system-map --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tamdogood/builder-essential-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repo-system-map .claude/skills/repo-system-map && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repo-system-map
GitHub stars
222
Token cost
~3k tokens
SKILL.md length
1,598 words
Files
4 (incl. references)
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure…

  • Works in 7 steps: Pin the Repository Snapshot → Trace the Implemented System → Model the Map and Lesson → …
  • A user provides a repository URL
  • SKILL.md covers Contract, Workflow and Failure Handling
  • Calls python3 and git; reaches github.com

What it does

Repo System Map is an agent skill from tamdogood/builder-essential-skills. Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure buildings, dependency and payload flows, and plain-language learner explanations. For eligible public GitHub repositories, also contribute the verified map to tamdogood/CodeTerrain with a pull request. Use when a user provides a repository URL or asks to visualize, explore, learn, explain, or map a repo's architecture…

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `README.md`, `agents/openai.yaml` and `references/system-map-spec.md`).

It sits in Writing & Content, covering Plain language and style rules, Citation management and Pull requests. It works with GitHub. The repository describes itself as: A repository for skills that are essential to my daily work. The licence is MIT.

When your agent uses it

  • A user provides a repository URL
  • Asks to visualize
  • Map a repos architecture
  • Runtime control flow

Example prompts

  • “/repo-system-map”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Pin the Repository Snapshot
  2. Trace the Implemented System
  3. Model the Map and Lesson
  4. Build the Interactive UI
  5. Render and Verify
  6. Contribute the Map to CodeTerrain
  7. Hand Off

What it can do on your machine

Read from SKILL.md and the folder at commit 1be9984. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo System Map loads about 3k tokens when it runs, and up to ~5.9k if it reads all its reference files. Until then it costs about 168 tokens; SKILL.md has 1,598 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~168
When it runs · the whole SKILL.md, loaded when a task matches
~3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:75
    credentials into the artifact, or read `.env`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tamdogood/builder-essential-skills at commit 1be9984, republished under its MIT licence (© tamdogood). 1,598 words, ~3,003 tokens.

Download SKILL.mdSave it as .claude/skills/repo-system-map/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
repo-system-map
description
Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure buildings, dependency and payload flows, and plain-language learner explanations. For eligible public GitHub repositories, also contribute the verified map to tamdogood/CodeTerrain with a pull request. Use when a user provides a repository URL or asks to visualize, explore, learn, explain, or map a repo's architecture, infrastructure, runtime control flow, data flow, services, queues, stores, external systems, or deployment topology in an interactive UI.

Repo System Map

Build an explorable model of what the repository actually implements. Treat the map as a teaching interface backed by code evidence, not as decorative architecture art.

Contract

Accept:

  • a repository URL, or an existing checkout with a configured remote;
  • an optional subsystem or user journey to emphasize;
  • an optional output path and serve port.

At the start, tell the user that this skill submits eligible public maps to tamdogood/CodeTerrain after verification unless they opt out. Continue without waiting, but honor an opt-out at any time before pushing. Never publish a private, access-controlled, local-only, or confidentiality-uncertain repository. Follow the runtime's authorization rules for external writes.

Default to remote main at the time analysis begins. Work from an isolated shallow clone so the user's checkout and uncommitted changes remain untouched. If main does not exist, use the remote default branch and state that deviation prominently.

Produce one interactive HTML map named <repo>-system-map.html, plus the exact commit SHA and a command or live URL that opens it. Use a user-supplied output path first. Otherwise use the runtime's durable visualization directory outside the analyzed checkout; use ~/visualizations/ when it is writable.

For an eligible public GitHub repository, also add or update its map in https://github.com/tamdogood/CodeTerrain and return the pull-request URL. The local HTML artifact remains required even when publication succeeds or fails.

The artifact must include:

  • a dominant isometric grid with varied 3D buildings for runtime roles;
  • visible dependency, control, data, event, build, or deploy paths that the code supports;
  • payload names and important fields on the paths that carry them;
  • a compact legend and repository/branch/commit snapshot;
  • selectable buildings and connections with a learner-focused explainer panel;
  • immutable file-and-line citations for material claims;
  • keyboard, pointer, pan, zoom, filter, and flow-step interactions.

Do not substitute Mermaid, a screenshot, a directory tree, or a dependency list.

Workflow

1. Pin the Repository Snapshot

Normalize links to the repository root while preserving any requested subsystem scope. Confirm that refs/heads/main exists, then shallow-clone that branch into a task-specific temporary directory. For an existing checkout, inspect its remote URL and still use an isolated clone unless the user explicitly asks to analyze local uncommitted work.

Record before analysis:

text
repository URL
branch
full commit SHA
commit timestamp
analysis timestamp
requested focus, if any

Use authenticated tooling already available for a private repository. Never ask the user to paste a token, copy credentials into the artifact, or read .env and secret files.

2. Trace the Implemented System

Read repository guidance, the root README, manifests, the top-level tree, entrypoints, configuration, schemas or migrations, infrastructure and deploy files, and representative integration tests. Then follow the real code paths.

Identify runtime roles rather than drawing one building per directory. Merge packages that act as one runtime unit. Include an external dependency only when code or configuration proves that the system calls, publishes to, reads from, writes to, builds with, or deploys through it.

Trace at least:

  1. one representative control path from an entrypoint through the core logic;
  2. one data or event path, including serialization, transport, persistence, and the important payload fields;
  3. the deployment path when it materially changes the runtime model.

Use rg to find callers, callees, message producers and consumers, schema use, and configuration references. Follow shared functions to their callers before assigning ownership. A README states intent; implementation and tests establish behavior.

For every major node and visible edge, capture a file, exact line range, what that evidence proves, and whether the conclusion is observed or inferred. Build immutable forge links using the pinned commit. If a claim lacks evidence, mark it unknown or omit it.

3. Model the Map and Lesson

Read references/system-map-spec.md before authoring the artifact. Use its node, edge, flow, citation, terminology, visual, interaction, and validation contracts.

Keep a standard map to 8-18 load-bearing buildings. For a larger monorepo, show one coherent vertical slice and group supporting units by runtime role. More source files belong in citations, not as more buildings.

Define each technical or repository-specific term used by the map. Give the learner four things in the explainer panel: a plain meaning, how this repository uses it, why it matters, and where to trace it in code. Prefer the repository's own names; expand acronyms on first use.

4. Build the Interactive UI

When the visualize skill is available, read it completely and follow its HTML fragment, layout, theme, and accessibility contract. Use native HTML, CSS, SVG, and JavaScript; do not add a dependency for the isometric effect.

Keep all analyzed data inline and the first render useful. Use SVG polygons and groups for the grid, extruded buildings, paths, arrows, and payload markers. Let the map dominate. Place one compact legend near it and one explainer panel beside it, stacking the panel below the map on narrow screens.

Required interactions:

  • select a building or connection to update the explainer and citations;
  • hover or focus a building to emphasize its immediate incoming and outgoing paths without hiding its label;
  • toggle relationship kinds from the legend;
  • choose a named end-to-end flow and step forward or backward through it;
  • drag to pan, use wheel or labeled controls to zoom, and reset the view;
  • expose every pointer action through native keyboard-accessible controls;
  • stop nonessential motion under prefers-reduced-motion.

Escape every repository-derived string. Insert labels with textContent, encode URLs, safely serialize inline data, and never place source text or secrets in the page. The artifact must not fetch data at runtime.

5. Render and Verify

Keep the editable fragment as the source when using the bundled visualization renderer. Locate the installed renderer instead of hard-coding its version:

bash
REPO_MAP_RENDERER="$(find "${CODEX_HOME:-$HOME/.codex}/plugins/cache/openai-bundled/visualize" -path '*/skills/visualize/scripts/render.py' -print -quit)"
python3 "$REPO_MAP_RENDERER" /absolute/path/<repo>-system-map.html --serve --port 8765

If the user supplies a known renderer path, use it directly. If the renderer is unavailable, write a standalone HTML document and serve its directory with Python's standard http.server; do not remove interaction or return a static fallback.

Open the result and verify it at approximately 1024, 736, and 360 pixels wide. Exercise selection, legend filters, every flow step, pan, zoom, reset, citation display, keyboard use, and reduced motion. Check the console for errors and confirm that labels and the explainer never clip or overlap.

Before handoff, compare the pinned SHA with remote main again. If main moved, fetch the new tip and update any affected evidence so the delivered map still represents latest main.

Show full SKILL.md (571 more words)Show less
6. Contribute the Map to CodeTerrain

Run this step automatically after the local map passes verification unless the user opted out. First verify through the forge that the analyzed repository and all cited source files are public. Do not infer public visibility merely because a checkout or authenticated URL is readable.

Clone the latest default branch of https://github.com/tamdogood/CodeTerrain into a second isolated temporary directory. Read its AGENTS.md, README contribution instructions, current map types and validator, repository catalog, map index, and one recent map before editing. Follow the current schema rather than assuming this skill's model still matches it.

Translate the already verified evidence into CodeTerrain's shared map data. Do not copy the standalone HTML into CodeTerrain or add a second viewer. Reuse the same pinned source commit, citations, nodes, edges, journeys, glossary, and learner copy. Add or update only the repository metadata, map data, and existing index/export surfaces required by CodeTerrain.

Before creating a branch, search the target branch and open pull requests by canonical repository URL, slug, and source commit:

  • if CodeTerrain already contains the same analyzed commit, do not open a duplicate pull request; return the existing map URL;
  • if it contains an older commit, update the existing entry and map;
  • otherwise add one entry and one map using current repository conventions.

Use existing GitHub authentication only; never request or expose a token. Create a unique branch such as map/<slug>-<short-source-sha>. If the authenticated user can push to CodeTerrain, push that branch there. Otherwise create or reuse the user's fork, push the branch to the fork, and target tamdogood/CodeTerrain's default branch.

Run CodeTerrain's documented install and validation commands, including lint and production build when required. Do not change its lockfile unless the map itself requires a dependency change, which it normally must not. Review the diff for unrelated files, secrets, copied source, duplicate catalog entries, mutable citations, and unresolved IDs. Commit only the contribution files, push, and open a ready pull request with:

  • title map: add <owner>/<repo> or map: update <owner>/<repo>;
  • analyzed repository URL, branch, and full commit SHA;
  • the represented journeys and material unknowns;
  • the exact validation commands and results.

Return the pull-request URL. Do not merge it.

7. Hand Off

Return the artifact path, pinned commit, live URL or exact serve command, the flows represented, CodeTerrain pull-request or fallback status, and any material unknowns. In a runtime that supports inline visualizations, also show the fragment there.

Failure Handling

  • If access fails, report the repository and authentication boundary without requesting credentials in chat.
  • If main is absent, use the remote default branch and label it in the UI and handoff.
  • If the repository is too large, map one representative vertical slice and identify grouped subsystems instead of guessing at an exhaustive city.
  • If payload fields are constructed dynamically, show the verified envelope and mark the unresolved body as dynamic.
  • If exact forge links cannot be formed, cite path:line-line with the commit SHA locally.
  • If a UI interaction fails, fix it before handoff; a static image is not an acceptable fallback for this skill.
  • If public visibility cannot be proven, skip CodeTerrain publication and state the privacy boundary.
  • If GitHub authentication, push permission, or fork creation is unavailable, save a git format-patch contribution beside the HTML artifact and return its path; do not ask for credentials.
  • If CodeTerrain validation fails, do not push a broken contribution. Save the patch, report the failing command, and still deliver the verified local map.

© tamdogood, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/repo-system-map of tamdogood/builder-essential-skills.

  • SKILL.md
  • README.md
  • agents/openai.yaml
  • references/system-map-spec.md

Open the folder on GitHubat commit 1be9984

Compare with similar skills

Repo System Map next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repo System Map compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo System Map this skilltamdogood/builder-essential-skills222—~3kAutomated safety check: NotesMIT
Issue BriefVasiHemanth/tokentelemetry379—~1.5kAutomated safety check: PassMIT
Explain This PRVarnan-Tech/opendirectory674—~1.2kAutomated safety check: PassMIT
Technical Writing Standardcursor/plugins11k10 repos~2.3kAutomated safety check: PassNone
Docs Reader Reviewprisma/web1.1k—~2.4kAutomated safety check: PassNone
Simple Issue Descriptionevery-app/open-seo23k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Issue Brief

    VasiHemanth/tokentelemetry

    Explain a GitHub issue, discussion, or feature request in plain language before deciding whether to build it.

    379 GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Explain This PR

    Varnan-Tech/opendirectory

    Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment.

    674 GitHub stars~1.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    11k GitHub starsUsed in 10 repos~2.3k tokens
    Writing & ContentAuto-check passed
  • Official

    A skill your agent uses when a docs page or section has been written or rewritten and is about to be handed over, when the operator says "reader review", "does this read like a human wrote it", "too…

    1.1k GitHub stars~2.4k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Simple Issue Description

    every-app/open-seo

    Turn a rough bug report, feature request, support note, or pull request into a short, plain-language issue focused on the problem and desired behavior.

    23k GitHub stars~1.2k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Technical Writing

    citypaul/.dotfiles

    Writing developer-facing prose that can be skimmed first and trusted enough to finish — READMEs, guides, tutorials, reference docs, proposals, PR descriptions, release notes.

    740 GitHub stars~2.5k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed

More from tamdogood/builder-essential-skills

All 18 skills in this repo
  • Create Marketing Kit

    tamdogood/builder-essential-skills

    Create truthful, human-centered marketing campaigns for an app or product, including positioning, channel copy, original artwork, editable layouts, README banners, and selective website integration.

    221 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Name Your Business

    tamdogood/builder-essential-skills

    Generate, refine, compare, and when needed validate distinctive names for startups, AI products, developer tools, protocols, open-source projects, apps, product families, local businesses, services…

    221 GitHub stars~4.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Session Profiler

    tamdogood/builder-essential-skills

    Profile and debug Hermes sessions from their JSONL transcripts.

    221 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Build Scenario Tests

    tamdogood/builder-essential-skills

    Inspect an unfamiliar repository, turn a focused Markdown behavior scenario into a deterministic test in the repository's native test stack, run it, and preserve traceability between intent and code.

    221 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Create Skill

    tamdogood/builder-essential-skills

    Create or update a complete repository skill from a user's idea, including the workflow instructions, references, scripts or assets, agent metadata, skill-card artwork, cinematic banner artwork…

    221 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Paper Opportunity Radar

    tamdogood/builder-essential-skills

    Run a cumulative daily or retrospective sweep of research papers on a chosen topic, audit their claims, methods, integrity signals, and independent support, then identify overlooked but feasible…

    221 GitHub stars~3.1k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Repo System Map

What does Repo System Map do?

Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure…. Repo System Map is an agent skill from tamdogood/builder-essential-skills. Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure buildings, dependency and payload flows, and plain-language learner explanations.

When should I use Repo System Map?

Repo System Map fits situations like: A user provides a repository URL; asks to visualize; map a repos architecture; runtime control flow.

How do I install Repo System Map in Claude Code?

Run `npx skills add tamdogood/builder-essential-skills --skill repo-system-map -a claude-code`. Or copy the skill folder (skills/repo-system-map in tamdogood/builder-essential-skills) into .claude/skills/repo-system-map in your project. Claude Code loads it when a task matches its description.

How do I install Repo System Map in Codex?

Run `npx skills add tamdogood/builder-essential-skills --skill repo-system-map -a codex`. Or copy the skill folder (skills/repo-system-map in tamdogood/builder-essential-skills) into .agents/skills/repo-system-map in your project. Codex loads it when a task matches its description.

Can I use Repo System Map in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tamdogood/builder-essential-skills --skill repo-system-map -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-system-map, .gemini/skills/repo-system-map, .github/skills/repo-system-map and .opencode/skills/repo-system-map in your project.

What does Repo System Map need to run?

Going by SKILL.md and its folder, Repo System Map needs the command-line tools its instructions call (python3 and git). Our summary lists: Python 3.

Does Repo System Map access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Repo System Map safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Repo System Map use?

Repo System Map is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo System Map use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.

What are the alternatives to Repo System Map?

Skills that share tags, products or a category with Repo System Map: Issue Brief (VasiHemanth/tokentelemetry, 379 stars), Explain This PR (Varnan-Tech/opendirectory, 674 stars), Technical Writing Standard (cursor/plugins, 11k stars) and Docs Reader Review (prisma/web, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo System Map?

tamdogood (a GitHub user) maintains it in tamdogood/builder-essential-skills, which has 222 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on August 16, 2026.

Source: tamdogood/builder-essential-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.