New advertisers: 50% off your first month with code FIRSTMONTHSee slots
fusengine avatar

fuse-cartographer

Codebase mapper that generates indented markdown ecosystem maps for agent navigation and impact analysis.

version
1.0.18
GitHub stars
36

What it does

  • Adds the /map command, a cartographer agent, and a map-ecosystem skill for regenerating maps
  • Covers project structure, dependency graphs, agent ecosystems, and file-level analysis via multi-level .cartographer/ maps
  • Runs through a hooks.json hook, so the map can be regenerated on SessionStart after plugins or skills change
  • Designed for cases where cartography index descriptions are truncated or a new plugin or skill was just added

Codebase and ecosystem mapping: project structure, dependency graphs, agent ecosystems, file-level analysis, impact analysis with multi-level .cartographer/ maps

Add marketplace

/plugin marketplace add fusengine/agents

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install fuse-cartographer@fusengine-plugins

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source
Enriches the auto-generated `.cartographer/` index.md files with complete descriptions extracted from source file frontmatter — restores the full skill/agent `description` text that auto-generation truncates at 60 characters. Read-only against everything outside `.cartographer/*.md`: it never modifies source files, never deletes or restructures the tree, and never assumes a description — it always reads the actual frontmatter first.

Map Ecosystem — Enrich Descriptions

Enrich the auto-generated .cartographer/ index.md files with complete descriptions extracted from source file frontmatter.

When to Use

  • After SessionStart has generated the cartography structure
  • When descriptions appear truncated in index.md files
  • When a new plugin/skill was added and needs full descriptions

When NOT to Use

  • Code generation or debugging
  • Direct file editing outside .cartographer/

Steps

  1. Read the ecosystem index: ${CLAUDE_PLUGIN_ROOT}/../.cartographer/index.md
  2. For each plugin listed, read its .cartographer/index.md
  3. For each linked file (agents/.md, skills//SKILL.md):
    • Read the source file
    • Extract the full description from YAML frontmatter
    • Replace the truncated description in the index.md line
  4. Write the updated index.md with complete descriptions

Example

Before (auto-generated, truncated at 60 chars):

├── [laravel-eloquent](./skills/laravel-eloquent/index.md) — Complete Eloquent ORM - models, relatio

After (enriched by agent):

├── [laravel-eloquent](./skills/laravel-eloquent/index.md) — Complete Eloquent ORM - models, relationships, queries, casts, observers, factories. Use when working with database models.

Forbidden

  • Do not modify source files (only .cartographer/*.md)
  • Do not delete or restructure the tree
  • Do not assume — always read actual frontmatter

From the fusengine/agents README

Fusengine Claude Code Plugins

version plugins agents skills License: MIT platform Windows

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment. Expert agents write code, hooks enforce quality in real-time, skills inject framework-specific knowledge, and intelligent cartography auto-maps plugins and projects — so Claude never guesses, never duplicates, and always follows your architecture.

Statusline

Demo: the hook → agent → sniper cycle

Scripted demo — a faithful reconstruction of the real hook → agent → sniper cycle. Regenerate with vhs docs/demo/hook-sniper.tape.

What It Does

Without plugins: Claude Code writes code based on its training data. It can hallucinate APIs, duplicate existing code, ignore your project structure, and produce inconsistent quality.

With Fusengine plugins:

  • Expert agents detect your project type (Next.js, Laravel, React, Astro, Swift...) and load framework-specific documentation via MCP servers before writing a single line
  • 60+ hook checks intercept Write/Edit/Bash and agent/session lifecycle events to enforce file-size limits (<100 lines), block code duplication (DRY), require SOLID reference reads, gate documentation lookup, and block destructive shell commands
  • 240 skills inject copy-paste-ready templates, architecture patterns, and best practices directly into agent context — no hallucination needed
  • APEX workflow structures every task through Analyze → Plan → Execute (TDD) → Review → Validate — preventing the "just write code and hope" approach
  • Sniper agent — a 7-phase post-edit quality check (explore → research → grep usages → lint → fix → zero errors) the APEX workflow invokes after every modification

Quick Install

# Add marketplace
/plugin marketplace add fusengine/agents

# Install all plugins
/plugin install fuse-ai-pilot fuse-commit-pro fuse-laravel fuse-nextjs fuse-react fuse-astro fuse-swift-apple-expert fuse-solid fuse-tailwindcss fuse-design fuse-prompt-engineer fuse-shadcn-ui fuse-security fuse-changelog fuse-lessons fuse-tanstack-start fuse-typescript fuse-php fuse-rust fuse-go fuse-motion fuse-hermes fuse-devops fuse-statusline   # fuse-statusline: responsive status line mod, replaces the classic one (the installer can also set it up)

# Setup (hooks + API keys + MCP servers)
~/.claude/plugins/marketplaces/fusengine-plugins/setup.sh        # macOS / Linux
~\.claude\plugins\marketplaces\fusengine-plugins\setup.ps1       # Windows

Statusline (optional): the fuse-statusline mod is the recommended option — the installer offers it (default yes) and it replaces the classic status line. The classic statusline stays available and is configured with:

bun --cwd ~/.claude/plugins/marketplaces/fusengine-plugins/plugins/core-guards/statusline run config

How It Works

User prompt → Hook detects project type → Expert agent activated
            → Hook loads SOLID references → Agent reads docs via MCP
            → Hook blocks if DRY violation → Agent writes code
            → Hook checks file size → Agent runs Sniper validation
            → Commit gate blocks on lint/type errors → Commit with version bump

Every step is intercepted. Claude cannot skip research, cannot duplicate code, cannot exceed file size limits, and cannot commit with lint or type errors.

Plugins

Development — Framework Expert Agents

Each plugin provides an expert agent that auto-activates when it detects the framework in your project. The agent has access to official documentation via MCP servers and follows SOLID principles enforced by hooks.

PluginDetectsWhat the agent does
fuse-nextjsnext.config.*App Router, RSC, Prisma 7, Better Auth, proxy.ts patterns
fuse-laravelcomposer.json + artisanEloquent, Livewire, Blade, queues, Sanctum, Stripe Connect
fuse-reactpackage.json + ReactReact 19 hooks, TanStack Router/Form, Zustand stores
fuse-astroastro.config.*Islands, Content Layer, Actions, SEO, Starlight, i18n
fuse-swift-apple-expertPackage.swiftSwiftUI, concurrency, Apple Intelligence, system frameworks, Metal, media; all Apple platforms (iOS → visionOS)
fuse-tailwindcsstailwind.config.*v4.1 CSS-first config, @theme, @utility, OKLCH colors
fuse-designAny UI taskGemini Design MCP + shadcn/ui + WCAG 2.2 accessibility
fuse-shadcn-uicomponents.jsonRadix/Base UI detection, registry, theming, migration
fuse-tanstack-start@tanstack/react-startServer functions, selective SSR, middleware, server routes, Nitro deploy
fuse-typescripttsconfig.json (no framework)Pure TS 6.0, Node 24 LTS / Bun 1.3, strict typing, ESM packaging
fuse-phpcomposer.json (no artisan)PHP 8.5, PER-CS 3.0, PHPStan, PSR, Slim / Symfony components
fuse-rustCargo.tomlRust 1.96+, 2024 edition, ownership, tokio / axum, clippy-clean
fuse-gogo.modGo 1.26+, concurrency, backend services, golangci-lint v2

Quality & Security — Automated Enforcement

PluginWhat it enforces
fuse-ai-pilotAPEX workflow orchestration, 7-phase sniper validation, DRY detection via jscpd, 4-level cache (60-75% token savings)
fuse-securityOWASP Top 10 scanning, CVE research via NVD/OSV.dev, dependency audit, secrets detection, auth patterns audit
fuse-solidFiles < 100 lines, interface separation, JSDoc mandatory — auto-detected for TypeScript, PHP, Swift, Go, Java, Ruby, Rust

Productivity — Automation

PluginWhat it automates
fuse-commit-proConventional commits with security check, auto version bump, CHANGELOG, git tag — with a pre-commit secret-pattern scan
fuse-prompt-engineerPrompt creation with CoT/Few-Shot/Meta-Prompting, A/B testing, 50+ template library, agent design
fuse-cartographerIntelligent cartography: auto-generates navigable maps of plugins and projects at SessionStart with merge-preserving enrichment — agents navigate via linked index trees, /map --enrich completes descriptions from source frontmatter
fuse-changelogMonitors Claude Code updates, detects breaking changes in plugins, gathers community feedback via Exa
fuse-lessonsPer-project "never reproduce" memory — writes compact timestamped lessons to MEMORY/LESSON.md after code edits and force-reads them at session/subagent start so mistakes don't recur across sessions
fuse-motionProduct motion films and demos — brief lock, beat map, deterministic HTML scenes rendered to mp4/GIF; owner gates on stills and draft, independent critic review
fuse-hermesNous Research Hermes Agent deployments — from a free-form description of your organisation to a verified chief-of-staff install over SSH: profile, delegation, cron, gateways, security, mail triage, dry run, one go, rollback
fuse-statuslineResponsive statusline mod above the prompt — pill cards on the desktop app, classic segments on the terminal; cache hit/expiry timer, 5h/7d usage, effort — replaces the classic status line

Infrastructure & Operations — Self-Hosted Expert

PluginDetectsWhat the agent does
fuse-devopsInfrastructure repos only: *.tf / *.tofu, ansible.cfg, Chart.yaml, kustomization.yaml, *.pkr.hcl, .sops.yaml (a lone Dockerfile or docker-compose.yml in an application repo does not route here)Docker/Compose, Kubernetes workloads and clusters, Linux, networking, OPNsense, Proxmox VE, KVM/Incus, OpenStack, Terraform/OpenTofu, Ansible, CI/CD, observability, storage and backup, secrets, databases — discovery, dry-run, one go, verify, rollback; no public clouds

Core (auto-installed, always active)

PluginWhat it guards
core-guardsBlocks git push --force, rm -rf, npm install without lock, enforces SOLID file limits, tracks session state, DRY duplication blocking — also bundles token-optimization hooks (MCP verbosity caps, MCP + WebFetch disk cache, SessionStart cleanup)
claude-rulesInjects APEX/SOLID/DRY rules into every prompt so Claude never forgets the methodology

Key Features

FeatureHow it prevents mistakes
APEX WorkflowForces Analyze before coding — no more "let me just write this real quick"
Agent TeamsParallel agents with exclusive file ownership — no merge conflicts
DRY DetectionBlocks Write/Edit if function/class name already exists — forces import or shared extraction
SOLID HooksDenies file save if >100 lines or missing SOLID reference read
Sniper Validation7-phase post-edit check: explore → research → grep → lint → fix → zero errors
4-Level CacheCaches exploration, docs, lessons, tests — 60-75% token savings
Token-efficient by defaultCaps MCP verbosity (Context7/Exa numResults≤3, tokens≤2000), disk cache for MCP results + WebFetch with TTL (48h / 24h) and ripgrep lookup, auto-cleanup at SessionStart — typically saves ~150-200 KB per research-heavy session
23 MCP ServersContext7, Exa, Astro docs, Gemini Design, shadcn, fuse-browser, and more
Smart CommitsSecurity scan before commit, auto version bump, CHANGELOG, shields.io badge sync

Documentation

SectionContent
Getting StartedInstallation, configuration, first steps
WorkflowAPEX methodology, agents, skills, commands
PluginsPer-plugin documentation and skills
ReferenceArchitecture, hooks, MCP servers, cache system

License

MIT

Details

Marketplace
fusengine/agents
Source
plugins/cartographer
Author
Fusengine
Category
Development
License
MIT
Keywords
cartographer, codebase-mapping, ecosystem, dependency-graph, architecture, impact-analysis
Listed since
Apr 7, 2026

More from fusengine/agents

All 26

Similar to fuse-cartographer

More Developer Tools