
Trace architecture
Builds a traced, evidence-backed Markdown map of a codebase's architecture and flows
Trace architecture is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Trace architecture
This skill has the agent produce a single Markdown file containing linked architecture diagrams of a whole repository, covering context, layers, key request flows, lifecycles, stored data and deployment environments. Each box and arrow is tied to the file and line where it was found, and marked as verified or inferred, so readers can trace claims back to code.
Before drawing, the agent records the commit it read and inventories the project's folders, entry points, build and deployment files, schemas and external services. It can use an existing code graph file as a navigation aid if one is present. The map opens on a short guided walkthrough shaped to the reader's purpose, such as onboarding, a security review or a release summary, and the agent verifies the diagrams before presenting them.
The skill is a plain instruction file with no bundled scripts. It refers to companion skill documents for the diagram format and checking loop, so it works best alongside the illuminate-concept skill from the same Avagahana project, and it expects the agent to have read access to the repository.
When your agent uses it
Avagahana map of a whole codebase: one Markdown file of linked diagrams (context, layers, key flows, lifecycles, data, deployments), every box and arrow backed by evidence from the code, opening on a guided walkthrough for the reader's purpose (onboarding, a security review, a release, an overview). Always use this skill, together with illuminate-concept, when the user wants to: understand, explain or document a project, repository or codebase, or give someone an overview of it or onboard them; review its architecture or design, or do a security review of it; or see what a release, version or tag changed since an earlier one. Make the map as well as any text answer or report, unless they ask for text only. Use it even when no diagram is asked for. Prefer an Avagahana map to a custom HTML page for explaining a codebase.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (7 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the avagahana plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add nvsravank/avagahana
/plugin install avagahana@avagahanaOr copy only this skill to ~/.claude/skills/trace-architecture:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nvsravank/avagahana.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/trace-architecture &&
cp -R "$tmp/skills/trace-architecture" ~/.claude/skills/trace-architecture &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/trace-architecture inside it instead.
Copy the skill folder to ~/.agents/skills/trace-architecture to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nvsravank/avagahana.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/trace-architecture &&
cp -R "$tmp/skills/trace-architecture" ~/.agents/skills/trace-architecture &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/trace-architecture inside it instead.
Copy the skill folder to ~/.cursor/skills/trace-architecture to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nvsravank/avagahana.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/trace-architecture &&
cp -R "$tmp/skills/trace-architecture" ~/.cursor/skills/trace-architecture &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/trace-architecture inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/nvsravank/avagahana.git --path skills/trace-architectureOr copy the folder to ~/.gemini/skills/trace-architecture yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/trace-architecture:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nvsravank/avagahana.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/trace-architecture &&
cp -R "$tmp/skills/trace-architecture" ~/.copilot/skills/trace-architecture &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/trace-architecture inside it instead.
Get the folder:
git clone --depth 1 https://github.com/nvsravank/avagahana.gitThen copy avagahana/skills/trace-architecture into your agent's skills folder as trace-architecture. Agents that support SKILL.md read one folder per skill.
What it does
- Evidence-linked diagrams
- Every box and arrow cites the file and lines it came from, with a verified or inferred mark.
- Multiple diagram kinds
- Covers context, layers, key flows, lifecycles, data models and deployments as needed.
- Purpose-driven walkthrough
- Opens the map on a short guided story tailored to onboarding, security review or release changes.
- Commit-pinned sources
- Records the repository and full commit read so the map can be reproduced against a known state.
- Release comparison maps
- Supports per-release map files and comparisons against the previous release's map.
- Large-project splitting
- Proposes splitting very large codebases across subagents, with the user's approval first.
Good for
- Explain how a codebase is structured to a new engineer
- Draw the request flow from an API entry point to the database
- Produce a security review map of a project's boundaries and secrets handling
- Document what changed between two release tags
- Create a diagram-backed overview of a repository's deployment setup
Trace architecture FAQ
Does the skill need any scripts or extra tools installed?
No scripts are bundled and the skill does not set allowed tools. It relies on reading the repository and on the companion illuminate-concept skill for the diagram format.
Does Trace architecture change the codebase?
The instructions do not ask the agent to modify the repository. It writes one map file and does not install or run code graph tools unless the user asks.
What happens if the working tree has uncommitted changes?
The agent is told to ask the user whether to commit first or map the last commit, so the map matches a recorded commit.
Can Trace architecture map a very large project?
It does the work itself by default. For projects too big for one pass it proposes splitting the work across subagents and waits for approval before starting.
How do I install Trace architecture in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/trace-architecture to use it in all your projects, or to .claude/skills/trace-architecture in one project. Or install the avagahana plugin, which includes it: /plugin marketplace add nvsravank/avagahana, then /plugin install avagahana@avagahana.
Does Trace architecture run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Trace architecture?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Trace architecture?
The closest alternatives to Trace architecture are Architecture blueprint generator, Improve codebase architecture, Context map, Diagramming code and Acquire codebase knowledge.
Where this comes from
- Description: from the skill's own SKILL.md.
More from nvsravank/avagahana

Turns explanations, plans and code changes into interactive Mermaid diagrams for your
- Open source
- 5 GitHub stars
- Developer tools

Guides an agent to produce C4 architecture diagrams as PlantUML from code
- Open source
- 5 GitHub stars
- Files and documents




