npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claude-freud

v0.1.0

Published

Your projects have been talking. Claude Freud listened.

Readme

claude-freud

Your projects have been talking. Claude Freud listened.

claude-freud is a CLI tool that reads Claude Code's auto memory files across your projects, surfaces human-readable analyses, compares projects, and promotes patterns upward to your global ~/.claude/CLAUDE.md.

It pairs with Claude Code's Auto Memory and Auto Dream features — treating your accumulated project memories as a portfolio to be analysed, not isolated silos to be forgotten.


Why

Claude Code's auto memory captures project-specific knowledge per session. Over time, each project accumulates a notebook of patterns, preferences, and insights. But:

  • You never see across projects — you don't notice when Project A has rich CLAUDE.md instructions and Project B has none, explaining why Claude feels inexplicably better in one than the other
  • Useful patterns stay buried per-project rather than being promoted to your global config
  • There's no easy way to audit what Claude actually knows about your work

Claude Freud surfaces all of this.


Requirements

  • Claude Code installed and configured (v2.1.59+ for auto memory)
  • Node.js 18+
  • Auto memory enabled in your Claude Code sessions (/memory to check)

Claude Freud reads your Claude Code credentials directly — no separate API key setup required.


Installation

Option 1: Install from npm (recommended)

npm install -g claude-freud

Option 2: Install from GitHub

npm install -g https://github.com/xbg-solutions/claude-freud.git

Option 3: Install from local build

# Clone the repository
git clone https://github.com/xbg-solutions/claude-freud.git
cd claude-freud

# Install dependencies and build
npm install
npm run build

# Link globally
npm link

To uninstall:

npm uninstall -g claude-freud

Usage

Analyse all projects (default)

cfreud

For each project with auto memory, outputs a 2–3 paragraph synthesis and recent memory highlights.

Analyse a specific project

cfreud navmaps
cfreud _home_ben_code_navmaps   # by full ID

List all projects on record

cfreud list

Shows all projects Claude Code knows about, with resolved paths and last session dates.

Compare two projects

cfreud compare navmaps xbg-boilerplate

Surfaces similarities, differences, and a clinical note on instruction quality between two projects. Useful for diagnosing why Claude behaves differently across projects.

Identify patterns for promotion

cfreud homogenize              # dry run — shows what would be promoted
cfreud homogenize --apply      # prompts for confirmation, then writes to ~/.claude/CLAUDE.md
cfreud homogenize navmaps      # scoped to one project

Identifies architectural patterns, preferences, and approaches that appear across projects and are worth promoting to your global ~/.claude/CLAUDE.md. If no global CLAUDE.md exists, --apply creates one from scratch.


Options

| Option | Description | |--------|-------------| | --md | Output as markdown (composable with any command) | | --no-ai | Skip AI analysis, dump raw memory content | | --apply | (homogenize only) Write promotions after confirmation |


Output examples

cfreud

Claude Freud
Your projects have been talking. Claude Freud listened.

▸ navmaps
──────────────────────────────────────────────────────────
This project presents as a bluewater sailing race
visualisation platform with an unusually strong fixation
on spatial data pipelines...

Recent memories:
  • IDW interpolation via @turf/interpolate → isobands for pressure overlays
  • Google Maps 3D tile layer integrated, awaiting texture optimisation
  • GFS and BOM feeds classified and normalised

cfreud compare navmaps input.xbg.solutions

▸ Comparative Analysis: navmaps × input.xbg.solutions
──────────────────────────────────────────────────────────
Both patients share a SvelteKit 5 foundation and a Firebase
backend, though their presenting concerns differ markedly...

How it works

Claude Freud reads:

  • ~/.claude/projects/<project>/memory/MEMORY.md — the auto memory index
  • ~/.claude/projects/<project>/memory/*.md — topic files
  • <repo-root>/CLAUDE.md — your project instructions
  • ~/.claude/CLAUDE.md — your global instructions

It never modifies per-project files. The only write operation is to ~/.claude/CLAUDE.md via --homogenize --apply, always with explicit confirmation.


The name

Claude Code has Auto Memory (notes Claude takes during sessions) and Auto Dream (consolidation of those notes between sessions). Claude Freud sits above both — analysing the accumulated unconscious of your development practice and surfacing what it finds.

"The mind is like an iceberg. Auto Memory is the surface. Claude Freud goes below."


Contributing

PRs welcome. Fork, build, open issues. The project is intentionally small — the goal is a sharp tool, not a framework.


License

MIT