Before you refactor a messy codebase, run this to map what's actually there. It fans out subagents to trace each feature into flowcharts with file:line citations, then hunts for duplicated logic across those features (multiple auth flows, parallel queue implementations, that sort of thing). The output is a proposed unified architecture plus ready-to-paste /make-plan prompts for each system you want to consolidate. It's opinionated about simplicity over abstraction and won't let subagents hand back diagrams without source evidence. Best when you suspect your codebase has three versions of the same thing and you want proof before tearing it down.

skills.sh installs
5.4K
GitHub stars
115.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add thedotmack/claude-mem --skill pathfinder --agent claude-code

Installs into .claude/skills of the current project.

Files

Pathfinder

You are an ORCHESTRATOR. Map the codebase into feature-grouped flowcharts, identify duplicated concerns, propose the simplest unified architecture, and hand off per-system plans to /make-plan.

You do not write implementation code. You produce diagrams, a duplication report, a proposed unified flowchart, and handoff prompts.

Delegation Model

Use subagents for discovery and extraction (file reading, flow tracing, grep, diagramming). Keep synthesis (deciding feature boundaries, picking unification strategies, final flowchart) with the orchestrator. Reject subagent reports that lack source citations and redeploy.

Subagent Reporting Contract (MANDATORY)

Each subagent response must include:

  1. Sources consulted — exact file paths and line ranges read
  2. Concrete findings — exact function names, call sites, data flow
  3. Mermaid diagram(s) with nodes labeled by file:line
  4. Confidence note + known gaps

Output Artifacts

Sponsors

Details

Repository
github.com/thedotmack/claude-mem
Categories
Code Review & Quality, Productivity & Planning
First seen
May 16, 2026

More from thedotmack/claude-mem

All 18
1samber avatarsite-launch-checklistsamber/cc-skillsPre-launch checklist for shipping a new website. Orchestrates analytics setup (GA4, PostHog, Google Search Console, Ahrefs), legal compliance, security headers 5.4Kskills.sh installs
2trailofbits avatarskill-improvertrailofbits/skillsIteratively reviews and fixes Claude Code skill quality issues until they meet standards. Runs automated fix-review cycles using the skill-reviewer agent. Use t5.4Kskills.sh installs
3dotnet avatartest-anti-patternsdotnet/skillsAudits an existing test file or suite in any language for anti-patterns and quality issues — produces a severity-ranked report (Critical/Warning/Info). INVOKE w5.3Kskills.sh installs
4samber avatarsubstack-ghostwritingsamber/cc-skillsWrite, optimize, and grow Substack content — both newsletter issues (email-first) and web posts (web-first articles/essays). Covers ghostwriting with voice matc5.2Kskills.sh installs
5sanity-io avatarcontent-modeling-best-practicessanity-io/agent-toolkitStructured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and tax5Kskills.sh installs
6forcedotcom avatardx-devops-test-suite-runforcedotcom/sf-skillsRuns DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after a5Kskills.sh installs