A desktop viewer for ~/.claude/ and ~/.ai/ — the two directories that hold your Claude Code configuration, extensions, workspace, review rules, and design knowledge base.
Built as an Electron + React app, it renders markdown, JSON, and code with syntax highlighting so you can browse your personal Claude setup without opening a terminal.
The sidebar is grouped by source directory:
- CLAUDE.md — global and project instructions
- Settings — configuration and preferences
- Commands — custom slash commands
- Skills — installed skills and capabilities
- Output Styles — response formatting styles
- Agents — agent configurations and definitions
- Plugins — installed plugins
- Plans — implementation plans (sorted by modification time)
- Projects — per-project configurations
- History — conversation event log, grouped by project and session
- Review Rules — code review standards and project conventions
- Knowledge Base — design docs and architecture decisions
- Electron + electron-vite — desktop shell and dev server
- React 18 + TypeScript — renderer
- Tailwind CSS v4 + shadcn-style primitives (Radix UI) — styling
- react-markdown + remark-gfm — markdown rendering
- shiki — code highlighting (Vesper theme)
- react-json-view-lite — JSON viewer
- vitest — tests
The app reads from two fixed locations under your home directory:
~/.claude/— resolved insrc/main/index.ts~/.ai/— resolved insrc/main/index.ts
All filesystem access goes through IPC handlers in src/main/ipc.ts, which enforce a resolveSafe check to prevent path traversal outside the base directory.
This project follows a convention for organizing design docs and review rules in ~/.ai/. The viewer's Review Rules and Knowledge Base sections expect this layout.
~/.ai/
├── review_rules/
│ ├── base.md ← rules applied to every project
│ └── <project-directory-name>/
│ └── rules.md ← project-specific supplemental rules
│
└── knowledge_base/
└── <project-directory-name>/
├── designs/ ← finalized designs for merged work
│ ├── index.md
│ ├── <standalone-design>.md
│ └── <feature-name>/
│ ├── <sub-topic>.md
│ └── <sub-topic>.md
│
└── wip/ ← work-in-progress designs
├── index.md
├── <standalone-design>.md
└── <feature-name>/
└── <sub-topic>.md
designs/— trusted, finalized designs for work that has been merged to main. Do not edit during normal feature work; only fix if the doc itself is wrong.wip/— in-progress designs for ongoing feature work. New design docs always start here.- Promotion — when work ships, move the file from
wip/todesigns/and update bothindex.mdfiles. - Index files — every
designs/andwip/folder has anindex.mdlisting its contents, grouped by standalone designs and by feature. - Feature grouping — related design docs are nested under a feature subdirectory rather than flattened.
- Monorepos — in monorepo projects, designs are nested by package name first, then by feature:
<package>/<feature>/<doc>.md.
review_rules/base.mdapplies to every project.review_rules/<project>/rules.mdsupplements (does not replace) the base rules for that project.
npm install
npm run dev # launch electron in dev mode
npm run test # vitest run
npm run lint # eslint --fix
npm run typecheck # tsc --noEmit for node + webBuild resources (icons, entitlements) for electron-builder live in the build/ folder. The generated iconset (build/icon.iconset/) is ignored.
npm run build # typecheck + bundle
npm run build:mac # .dmg
npm run build:win # .exe
npm run build:linux # AppImage / snap / debMIT