vibedoc: Instructions file for Claude Code

CLAUDE.md

vibedoc CLAUDE.md is an instructions file for Claude Code from quanghoangf/vibedoc. It costs 3,003 tokens per session, scanned A, original, MIT.

A Next.js application that shows developer tasks and documentation, while also providing an MCP server for AI coding agents. It reads Markdown files from a project and uses the same API for the web interface and agents.

In plain words
What is it for?
It is for browsing project documents, managing tasks, reading or updating MEMORY.md, creating architecture decision records, and connecting an AI agent through an HTTP endpoint.
Why use it?
It gives developers and coding agents one place to view tasks, search documentation, record decisions, and share project memory without a separate database.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

This is quanghoangf/vibedoc's own configuration. It tells Claude Code how to work on vibedoc 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 vibedoc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to quanghoangf/vibedoc. 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/quanghoangf/vibedoc/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/quanghoangf/vibedoc

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 vibedoc CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/quanghoangf/vibedoc/claude-md/github.svg)](https://agentmods.dev/instructions/quanghoangf/vibedoc/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/quanghoangf/vibedoc/claude-md"><img src="https://agentmods.dev/badge/instructions/quanghoangf/vibedoc/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 vibedoc CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quanghoangf/vibedoc/claude-md"><img src="https://agentmods.dev/badge/instructions/quanghoangf/vibedoc/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,003 This file is loaded in full into every session.
When invoked 3,003 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.03003 $0.03003
Opus 5.5 $0.01201 $0.01201
Sonnet 5.5 $0.00601 $0.00601
Haiku 4.5 $0.00300 $0.00300

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

Security

Grade A, and why

vibedoc 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 · 103 lines

How it starts

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

VibeDoc — Agent Instructions

What this is

A Next.js 16 app that serves as both a kanban/docs viewer for developers AND an MCP server for AI coding agents. One running process, two clients. The UI and the AI agent share the same API layer.

Stack

  • Framework: Next.js 16 (App Router, TypeScript)
  • Styling: Tailwind CSS 4 (CSS-first config in globals.css) — dark theme, no component library
  • Runtime: Node.js 18+ (server-side file system access)
  • MCP transport: HTTP JSON-RPC 2.0 at /api/mcp
  • Real-time: Server-Sent Events at /api/events
  • Data: File system only — no database. Reads .md files from target project.

Repo structure

src/
  app/
    page.tsx              ← Main UI shell (single-page, client component)
    layout.tsx            ← Root layout
    globals.css           ← Tailwind + markdown prose styles
    (app)/roadmap/page.tsx ← Roadmap page (roadmap.sh-style, React Flow)
    (app)/graph/page.tsx  ← Whole-repo doc link graph (React Flow, force layout)
    (app)/chat/page.tsx   ← All agent chats: list · conversation · epic/task context
    (app)/manual-tests/page.tsx ← Test review: task list (Needs you/Failed/Passed/No run) + run replay, checklist, review; Evidence view (?view=evidence)
    api/
      mcp/route.ts        ← MCP JSON-RPC endpoint (AI connects here)
      events/route.ts     ← SSE stream (real-time browser updates)
      tasks/route.ts      ← Task CRUD
      docs/route.ts       ← Doc list/read/search
      memory/route.ts     ← MEMORY.md read/write
      decisions/route.ts  ← ADR creation
      activity/route.ts   ← Activity log read
      projects/route.ts   ← Multi-project discovery
      summary/route.ts    ← Combined project status
      chat/route.ts       ← Agent chat turn: spawns `claude -p` (local login), VibeDoc MCP tools only
      conversations/route.ts ← Saved agent chats (.vibedoc/chats/<id>.json)
      tasks/manual-tests/route.ts ← Tick a task's manual test item
      tasks/review/route.ts ← Approve / send back a task in review
      tasks/[id]/evidence/route.ts ← A task's evidence doc (checklist × kept runs), ?run= for an older run
      tasks/run/route.ts    ← Run a task's spec from VibeDoc (one per project, live SSE `test_run`); run/cancel stops it
      suite/run/route.ts    ← Regression suite: every done task's spec in one Playwright run (SSE `suite_run`); shares the run lock
      roadmap/*           ← Roadmap list + create/update/delete/layout
    llms.txt/route.ts     ← /llms.txt: docs index for any agent, built from the files (R087)
    md/[...path]/route.ts ← /md/<path>: one doc as text/markdown, agent view (R087)
  proxy.ts                ← /docs?doc= with Accept: text/markdown → /md/<path>
  components/
    roadmap/              ← Roadmap canvas, nodes, editor
  context/
    ChatContext.tsx       ← Agent chats store (modal, /chat page, sidebar, roadmap/board markers)
  lib/
    core.ts               ← ALL file system logic (shared by API routes + MCP)
    events.ts             ← In-process SSE event bus (singleton)
desktop/                  ← Desktop app (R111/R112): Electron shell (own package.json + lockfile, exact electron pin) around the running hub, its update check and installers (scripts/dist.mjs, electron-builder.yml); docs/desktop-app.md
bin/                      ← The `vibedoc` CLI, plain JS shipped unbuilt: start/stop/status/login (R109/R110), address + hub (R080/R100), supervisor
.github/workflows/        ← ci, release (semantic-release → npm, site, desktop, Homebrew), desktop (installers per OS), site
plugin/                   ← Claude Code plugin `vibedoc`: skills/{roadmap,breakdown,work,next} → /vibedoc:<name>; the chat reads roadmap + breakdown
.claude-plugin/marketplace.json ← marketplace for `/plugin install vibedoc@vibedoc`
docs/                     ← VibeDoc's own documentation (this project)
docs/specs/               ← Capability specs (R066): one <capability>.md per capability, requirements + WHEN/THEN scenarios
plans/tasks/              ← Development tasks
plans/roadmap/            ← Roadmap items (R*.md) + layout.json
memory/MEMORY.md          ← Session handoff

Read the full file on GitHub · 103 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 · +3 lines · +614 tokens per session bccb77dc5253
  2. 11d ago Changed · +117 tokens per session b2099c303f2e
  3. 14d ago Changed · +1 lines · +115 tokens per session 02d2328bb178
  4. 20d ago Changed · +3 lines · +362 tokens per session 1284bfba7a46
  5. 21d ago Changed · +6 lines · +316 tokens per session e17c212c10e5
  6. 22d ago Changed · +1 lines · +153 tokens per session 459da5a3b344
  7. 24d ago Changed · +1 lines · +119 tokens per session a2e01315ef9a
  8. 26d ago Changed · +3 lines · +166 tokens per session 0f20a453b600
  9. 28d ago Changed · +4 lines · +84 tokens per session 95801f871c22
  10. 29d ago First seen · 81 lines · 957 tokens per session scan A 1a57df26cd96

Subscribe to this mod's changes

vibedoc CLAUDE.md is an instructions file published in the GitHub repository quanghoangf/vibedoc (8 stars, last pushed 4d ago), licensed MIT. It adds 3,003 tokens to every session, about $0.0120 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-31.

Related

Other instructions, from other repositories