alaarab

Phren — AI skill for Claude Code

AI community

Personal AI knowledge system for Claude Code.

How to install Phren

This entry records only its repository, not the path inside it, so there is no exact command to give. Open alaarab/phren and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Phren does

Personal AI knowledge system for Claude Code. Machine profiles, skills, MCP server.

Alternatives in AI

  • Obsidian + Claude Code: Rebuild Your Second Brain With AI — Build an AI-powered personal knowledge management system from scratch 540 ★
  • Octocode — Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o 464 ★
  • Clother — Use multiple Claude Code–compatible LLM providers from one CLI, switching profiles instantly with simple cloth 430 ★

README

phren

Your agents forget everything. Phren doesn't.

npm version license docs whitepaper

Persistent memory for AI agents. Findings, tasks, and patterns live in markdown files in a git repo you control. No database, no vendor lock-in. Works with Claude, Copilot, Cursor, and Codex.


Install

npx @phren/cli init

One command. Sets up `~/.phren`, wires up MCP for your tools, installs hooks. Next time you open a project, context starts flowing automatically. On a new machine? Re-run init and you're back in sync.


What actually happens

**When you open a prompt:**

  • Hooks extract keywords from your question
  • Phren searches findings across projects (FTS5 full-text with semantic fallback)
  • Relevant snippets inject into your prompt before you hit send
  • You ask; Claude already knows the gotchas

**When you discover something:**

  • phren add-finding "finding text" captures it with optional tags ([decision], [pattern], [pitfall], [bug])
  • Trust scores decay over time; decisions never do; observations expire in 14 days
  • Findings link to fragments (named concepts like "auth" or "build") that connect knowledge across projects

**