agentleFS
FulAppiOSFulAppiOS/Agent-Quest/CLAUDE.md

Agent-Quest

CLAUDE.md142 starsChanged 7 months agoMITView on GitHub

Agent Quest is a browser-based monitoring dashboard that visualizes active Claude Code and Codex agent sessions as fantasy heroes in a 2D WoW-style village. Each agent is represented as a hero character that walks between buildings corresponding to its current activity (Read → Library, Edit → Forge, Bash → Arena, etc.). Two-process monorepo: Data flow: ~/.claude*/projects/**/*.jsonl and ~/.codex/sessions/**/rollout-*.jsonl → ClaudeProvider / CodexProvider → SessionParser (per-format) → AgentStateManager → WebSocket → Browser (React state + Phaser scene). These are fixed. Do…

  • Commits and pushes

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Commit messages: conventional style (feat:, fix:, refactor:)

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Agent Quest is a browser-based monitoring dashboard that visualizes active Claude Code and Codex agent sessions as fantasy heroes in a 2D WoW-style village. Each agent is represented as a hero character that walks between buildings corresponding to its current activity (Read → Library, Edit → Forge, Bash → Arena, etc.).

Architecture

Two-process monorepo:

  • server/ — Bun + Hono backend. Two providers run in parallel: ClaudeProvider auto-discovers every ~/.claude* directory with a projects/ subdir (e.g. ~/.claude, ~/.claude-work, ~/.claude-personale); CodexProvider watches ~/.codex/sessions/ for Codex rollout files. Both poll their session logs every 2-3s, parse events into AgentState objects, push updates over native Bun WebSocket. Each AgentState carries its configDir and a source field ('claude' | 'codex') so the UI can distinguish installations and providers. Optional Hono endpoint receives Claude Code postToolUse hooks for lower-latency events — Claude Code only; Codex doesn't expose hooks. SessionRegistry (pidfile oracle) is also Claude-only by design; Codex liveness is inferred purely from rollout-file activity.
  • client/ — React 19 + Phaser 4 "Caladan" frontend. Fullscreen Phaser canvas renders the village; React overlay panels (Party Bar, Activity Feed, Detail Panel, Minimap, Top Bar) sit on top via ref-based bridge pattern (useRef + useEffect + EventEmitter).

Data flow: ~/.claude*/projects/**/*.jsonl and ~/.codex/sessions/**/rollout-*.jsonl → ClaudeProvider / CodexProvider → SessionParser (per-format) → AgentStateManager → WebSocket → Browser (React state + Phaser scene).

Commands

bun start              # Start both server and client (concurrently)
bun run dev:server     # Server only on localhost:4444
bun run dev:client     # Client only on localhost:4445
bun run check:assets   # Verify every bundled sprite referenced by the theme exists on disk

Ports

ServicePort
Server (WebSocket + HTTP API)localhost:4444
Client (Vite dev server)localhost:4445

These are fixed. Do NOT use 3000, 3333, 5173, 5174, 8000 — reserved by other projects.

Code Conventions

  • TypeScript strict everywhere, no any
  • Code and identifiers in English, UI labels in English
  • Commit messages: conventional style (feat:, fix:, refactor:)

Git Workflow

  • Never push to the remote automatically. The repo is public on GitHub; every git push must be explicitly requested by the user. Commits are fine without asking (once changes are ready), but pushes require direct authorization.

Key Type: AgentState

The central data model flows from server to client. Defined in shared types. Maps tool calls to activities: Read/Grep/Glob → reading, Edit/Write → editing, Bash → bash, thinking → thinking, git → git, idle → idle, debug → debugging, review → reviewing. configDir can be ~/.claude* or ~/.codex; the source field ('claude' | 'codex') discriminates which provider produced the session.

Design Spec

Full spec with building mappings, hero classes, VFX, panel layouts, and asset pipeline: docs/specs/2026-04-15-agent-quest-design.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.