Agent-Quest: Instructions file for Claude Code

CLAUDE.md

Agent-Quest CLAUDE.md is an instructions file for Claude Code from FulAppiOS/Agent-Quest. It costs 1,452 tokens per session, scanned A, original, MIT.

Project instructions for Agent Quest, a browser dashboard that shows Claude Code and Codex sessions as characters moving through a game-like village. They explain its Bun and Hono server, session monitoring, WebSockets, and project architecture.

In plain words
What is it for?
Use them when developing, running, or troubleshooting Agent Quest's session discovery, log polling, event updates, providers, and visual activity mapping.
Why use it?
They help a coding agent understand where the monitoring data comes from and how the server and browser interface communicate.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is FulAppiOS/Agent-Quest's own configuration. It tells Claude Code how to work on Agent-Quest itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agent-Quest configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FulAppiOS/Agent-Quest. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FulAppiOS/Agent-Quest/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/FulAppiOS/Agent-Quest

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Agent-Quest CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fulappios/agent-quest/claude-md/github.svg)](https://agentmods.dev/instructions/fulappios/agent-quest/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/fulappios/agent-quest/claude-md"><img src="https://agentmods.dev/badge/instructions/fulappios/agent-quest/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Agent-Quest CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fulappios/agent-quest/claude-md"><img src="https://agentmods.dev/badge/instructions/fulappios/agent-quest/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,452 This file is loaded in full into every session.
When invoked 1,452 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01452 $0.01452
Opus 5.5 $0.00581 $0.00581
Sonnet 5.5 $0.00290 $0.00290
Haiku 4.5 $0.00145 $0.00145

Measured 7d ago against content hash f6052c5bdc52, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Agent-Quest CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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. On macOS, both providers also discover the corresponding ClaudeAgentConfig/projects and codex/sessions directories under ~/Library/Developer/Xcode/CodingAssistant, including folders created after startup. Xcode Claude sessions rely on transcript lifecycle rather than terminal pidfiles. 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. Both providers also feed kind: 'telemetry' events (tool results, skill bodies, token counts, compaction markers) that update accounting only — never status, activity or lifecycle timers.
    • Codex rollouts come in two formats: the legacy per-kind events (user_message, exec_command_end, patch_apply_end, …) and, from Codex ≥ 0.160, a single item_completed event whose item.type is UserMessage | CommandExecution | FileChange | WebSearch | McpToolCall | SubAgentActivity | ContextCompaction | …. codex-parser.ts handles both. Codex does have subagents: rollouts with thread_source: 'subagent' carry parent_thread_id, agent_nickname and agent_path in their session_meta.
    • server/src/state/context-window.ts resolves the Claude context window (env override → [1m] model id → [1m] model in <configDir>/settings.json → inferred from usage > 200k → default 200k). Codex reports model_context_window itself.
    • server/src/skills/skill-inventory.ts measures installed SKILL.md files (user skills + latest cached plugin versions, ~/.codex/skills) so the UI can show what skills would cost if always loaded.
  • 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).

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +51 tokens per session f6052c5bdc52
  2. 21d ago Changed · +7 lines · +550 tokens per session 780e6b942530
  3. 2mo ago First seen · 53 lines · 851 tokens per session scan A be479e12e84f

Subscribe to this mod's changes

Agent-Quest CLAUDE.md is an instructions file published in the GitHub repository FulAppiOS/Agent-Quest (180 stars, last pushed 8d ago), licensed MIT. It adds 1,452 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Agent-Quest CLAUDE.md compared with instructions from other repositories

Agent-Quest CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Agent-Quest CLAUDE.mdFulAppiOS/Agent-QuestInstructions file1808d agoMITA1,452Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode