FMsongX2

Personagraph — Documentation skill for Claude Code

Documentation community

CLI-first Claude/Codex alignment memory: Markdown decisions, verified evidence, incremental session search, and local encrypted backups.

How to install Personagraph

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

What Personagraph does

CLI-first Claude/Codex alignment memory: Markdown decisions, verified evidence, incremental session search, and local encrypted backups.

Alternatives in Documentation

  • 会话管理(Session Manager)需求文档(PRD / Markdown) — 目标:对 Codex / Claude Code 的本地会话记录进行可视化管理,并提供“一键复制 / 一键终端恢复”能力 31.7k ★
  • Qmd Skill — A Codex/Clawd skill definition for qmd (Quick Markdown Search) 673 ★
  • Wiki Sync — Sync Claude Code (and Codex CLI) session transcripts into the llmwiki, then ingest the new ones into wiki/ 375 ★

README

PersonaGraph

**English** | [한국어](README_ko.md)

Local, CLI-first alignment memory for Claude Code and Codex.

Keep a small Markdown graph of user-confirmed choices and their reasons. Search public session history through aichat-search, verify exact message evidence, and preserve cited versions with encrypted local backups. Automatic capture produces review checkpoints; it never writes active alignment policy by itself.

**Early alpha, POSIX only.** The development environment is macOS. Linux CI is configured; its results are visible in Actions. Windows support, full large-history performance, automatic Codex 80% usage observation, and long-term alignment-quality claims are outside the current release.

Flow

[Explore the interactive workflows](https://fmsongx2.github.io/personagraph/) · [Diagram sources and checks](docs/diagrams/README.md)

The Archify diagrams explain startup routing and capture/search/review separately. Diagram labels are Korean; viewer controls use the built-in English UI. Download the standalone HTML to view offline.

Native Claude / Codex transcripts
  -> lifecycle metadata queue -> incremental catalog + session search
  -> am search (sessions) -> am find (messages) -> am get/context
  -> reviewed evidence pin -> immutable local evidence + restic backup
  -> agent reviews original evidence -> local Markdown graph

Persona, project progress memory, and domain knowledge have different roles. This repository ships the persona/alignment notebook and evidence adapter. Existing project-memory and domain-knowledge tools can be linked from the notebook; they are not silently installed or treated as user preferences.

Quick start

Prerequisites: Python 3.11+, [uv](https://docs.astral.sh/uv/), Cargo/Rust, Git, and [restic](https://restic.net/). No API key is required for the memory CLI itself. Native Claude/Codex clients still use their own authentication.

git clone https://github.com/FMsongX2/personagraph.git
cd personagraph