lore-map

See your codebase as a living architecture map — then edit the map and let Claude build the code

68
Stars
7
Forks
JavaScript
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/srihari7070/lore-map

Getting Started

Guides for using skills like lore-map.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Lore Map

npm version License: MIT

See your codebase as a living, zoomable map — then edit the map and let Claude build the code.

You know the feeling of opening an unfamiliar project and clicking through folder after folder, trying to hold the whole thing in your head? Lore Map replaces that with a picture. Run one command inside any project and it opens a live, zoomable map of your architecture in the browser — backend, frontend, database, integrations — with the real wiring drawn out. Double-click any box to go deeper: actual database tables and how they relate, real files and how they import each other, the structure you'd otherwise have to reconstruct by hand.

Then it flips: the map isn't just to look at — it's how you change the code. Edit a box, jot a note, connect two things, and hit Build. Lore turns your edits into a precise instruction and Claude writes the code — either right there with a live progress bar, or handed off to your own Claude Code session to run while you watch. It runs entirely on your machine, on your own Claude subscription (no API key required). One install, four commands. See your project. Edit the picture. Ship the code.

npm install -g lore-map
cd your-project
lore deep-scan

Commands

Install once, then from inside any project:

lore plan         # new idea → Claude proposes a starting architecture you expand
lore scan         # existing project → quick high-level map
lore deep-scan    # existing project → full map with real internals (tables, modules, relations)
lore sync         # update the map against the current code

Each opens a local UI at http://localhost:3333 and runs on your machine. Close the tab or Ctrl+C to stop.


What you can do with it

  • Explore visually. A tree map with your project at the root and every part hanging off it. Double-click to drill in; breadcrumb to climb back out. Database blocks render as ER diagrams (tables → fields → relations); code blocks show files with their classes/functions and imports.
  • Works on any language. deep-scan has Claude read your real source, so it maps Python, JS/TS, Java, Go, SQL — whatever you've got. (Database schemas and JS/TS structure are also parsed precisely and for free.)
  • Edit, then make it real:
    • → Send to Claude Code — copies a one-line prompt to paste into your own Claude Code session, so you run it there and watch.
    • ▶ Build it for me (coming soon) — Lore changes the code here directly, with a live progress bar. In active development.
  • Stays focused. Every scan writes a small .lore/map.md, and builds read it first to jump straight to the relevant files instead of crawling the whole repo.
  • Private by default. Nothing leaves your machine except the calls to Claude, made with your own credentials.

How it works

  Visual map (browser)        ← you edit here
        │
        ▼
  Interpreter (Haiku)         turns your edits into a precise instruction
        │
        ▼
  Builder (Claude Agent SDK)  reads the map, opens the right files, writes code
        │
        ▼
  Your project files          the result

Two AI roles, kept separate: a small, cheap interpreter (Haiku) translates your intent, and a user-selectable builder (Sonnet by default, Opus for hard work) writes the code. Scanning and exploring are read-only — your code only changes when you press Build.


Bring your own Claude

Lore uses the Claude Agent SDK, which authenticates two ways:

HowWhen
Subscription (default)claude /login (Pro / Max / Team / Enterprise)Everyday use — draws from your plan's Agent SDK credit, no extra bill
API key (fallback)set ANTHROPIC_API_KEYHeavy / CI use, or when the monthly credit runs out

If ANTHROPIC_API_KEY is set it takes precedence; otherwise it uses your subscription.

Optional environment overrides:

VariableDefaultPurpose
ANTHROPIC_API_KEYAPI key (otherwise subscription)
LORE_MODELclaude-opus-4-8Model for scan / plan / compile reasoning
LORE_BUILDER_MODELclaude-sonnet-4-6Default builder model
LORE_INTERPRETER_MODELclaude-haiku-4-5Interpreter model
LORE_PORT3333Local port

What it writes into your project

Minimal and explainable:

  • .lore/map.md — a compact map of your architecture (so builds stay focused). Gitignorable.
  • CLAUDE.md — your architecture as standing context Claude Code reads automatically (written when you Compile).
  • lore.md — a human-readable blueprint (optional export).

Your real code changes only when you click Build.


Get an Anthropic plan / key

You need either a Claude subscription (run claude /login once — recommended) or an API key from console.anthropic.com. Lore never forces a key; it defaults to your subscription.


Tech stack

Node.js + Commander (CLI) · Express (local server) · React + Vite + React Flow + Tailwind (UI) · @anthropic-ai/claude-agent-sdk (reasoning + builder, subscription-aware) · @babel/parser + glob (deterministic JS/TS & schema extraction) · Web Speech API (voice input).

Local development

git clone https://github.com/srihari7070/lore-ai && cd lore-ai
npm install
npm run dev      # Vite client on :5173, API on :3333 (proxied) — hot reload, full errors
npm run build    # builds dist/client (bundled into the published package)

Limitations (honest)

  • Exact, free parsing is JS/TS + Prisma/SQL; other languages are read by Claude as a bounded sample, so very large repos get a representative map, not every file.
  • The map is a snapshot — re-run a scan to refresh after big code changes.
  • deep-scan on a real project takes ~1–3 minutes and uses credit/tokens.
  • The local server has no auth — it's meant for your machine, not network exposure.

Contributing

Issues and PRs welcome. The philosophy is frictionless over featureful — if a change makes Lore feel heavier than not using it, it probably doesn't belong. A great first contribution: a deterministic per-language structure parser (Python, Go, Java…) to make deep-scan cheaper and more complete on common stacks.

License

MIT © Srihari Ananthan

Frequently Asked Questions

What is lore-map?

lore-map is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by srihari7070. See your codebase as a living architecture map — then edit the map and let Claude build the code. It has 68 GitHub stars.

Is lore-map safe to use?

lore-map failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.

How do I install lore-map?

Clone the repository with "git clone https://github.com/srihari7070/lore-map" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is lore-map written in?

lore-map is primarily written in JavaScript. It is open-source under srihari7070 on GitHub, so you can review or fork the full source.

Are there alternatives to lore-map?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh lore-map against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details