agentpulse: Instructions file for Claude Code

CLAUDE.md

agentpulse CLAUDE.md is an instructions file for Claude Code from jstuart0/agentpulse. It costs 32,586 tokens per session, scanned C, original, MIT.

Project instructions for AgentPulse, a dashboard that monitors and manages AI coding-agent sessions across machines. They describe its technologies, data storage, real-time updates, and project structure.

In plain words
What is it for?
Working on AgentPulse features involving its Bun server, React interface, databases, WebSockets, telemetry, and MCP package.
Why use it?
They help a coding agent understand how the application is built and which commands, services, and conventions it must follow.

Instructions file for Claude Code

Written for Claude Code: UserPromptSubmit hook event. Also seen: mentions CLAUDE.md; mentions Claude Code; reads ~/.codex paths.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jstuart0/agentpulse/claude-md"><img src="https://agentmods.dev/badge/instructions/jstuart0/agentpulse/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32,586 This file is loaded in full into every session.
When invoked 32,586 The same file — it is already loaded in full.
Security scan C 2 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.32586 $0.32586
Opus 5.5 $0.13034 $0.13034
Sonnet 5.5 $0.06517 $0.06517
Haiku 4.5 $0.03259 $0.03259

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

Security

Grade C, and why

agentpulse CLAUDE.md scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **Relay:** `curl -sSL https://your-server.example.com/setup-relay.sh | bash` (asks for the key on the terminal; `AGENTPULSE_KEY` or `--key` for unattended installs). The served installers are embedded in the server at

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Relay:** `curl -sSL https://your-server.example.com/setup-relay.sh | bash` (asks for the key on the terminal; `AGENTPULSE_KEY` or `--key` for unattended installs). The served installers are embedded in the server at
CLAUDE.md · 355 lines

How it starts

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

CLAUDE.md - AgentPulse

Project Overview

AgentPulse is the command center for AI coding agents across all your machines. It monitors, orchestrates, and manages Claude Code and Codex CLI sessions from a single dashboard with chat-style prompt history, session notes, templates, managed launches, and remote access from any device.

Tech Stack

  • Runtime: Bun
  • Backend: Hono (HTTP framework)
  • Frontend: React 19 + Vite + TailwindCSS
  • State: Zustand
  • Database: SQLite (default, OSS quickstart) and PostgreSQL (production / multi-replica) — set DATABASE_URL=postgres://... to opt into Postgres. SQLite remains default when DATABASE_URL is unset or empty.
  • ORM: Drizzle
  • Real-time: WebSocket (native Bun) + 3s polling fallback
  • Telemetry: Cloudflare Worker + D1 at telemetry-agentpulse.xmojo.net (default homelab endpoint; configurable via TELEMETRY_ENDPOINT env var in src/server/services/telemetry.ts)
  • MCP: @modelcontextprotocol/sdk (stdio transport) + zod (tool input schemas) — lives in the packages/agentpulse-mcp/ workspace member, publishes to npm as @craze0/agentpulse-mcp via the mcp-v* tag-triggered .github/workflows/mcp-release.yml (first published as 0.2.0 on 2026-10-12, with npm provenance; AGEN-52), see docs/MCP.md and packages/agentpulse-mcp/README.md
  • Linting: Biome

Commands

bun install              # Install dependencies
bun run dev              # Start dev server (API + Vite)
bun run dev:server       # Start API server only
bun run dev:web          # Start Vite frontend only
bun run dev:supervisor   # Start local supervisor only (watch mode)
bun run build            # Production build
bun run start            # Start production server
bun run check            # Run Biome linter
bun run check:fix        # Run Biome linter with auto-fix
bun run check:architecture  # Run all architecture guard scripts
bun run typecheck        # TypeScript type checking
bun run test             # Run test suite (bun test)
bun run test:watch       # Run tests in watch mode
bun run build:mcp        # Build the agentpulse-mcp package to dist/ (tsc, node-portable)
bun run check:mcp-tarball  # Pack agentpulse-mcp for real and audit the tarball (path allowlist, no sourcemaps/lifecycle-scripts/secrets)
agentpulse mcp serve     # Run the MCP server over stdio, from this checkout (for Claude Code / Codex CLI)
agentpulse mcp install   # Mint/reuse a scoped API key, print client config (see docs/MCP.md)

Read the full file on GitHub · 355 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. 4d ago Changed · +13 lines · +2,116 tokens per session 9d05370b33cd
  2. 5d ago Changed · +6 lines · +2,830 tokens per session 7ac03d9812b9
  3. 9d ago Changed · +1 lines · +614 tokens per session ad1153ee82cd
  4. 16d ago Changed · +24 tokens per session 06fd6de64914
  5. 23d ago Changed · +17 lines · +1,921 tokens per session d7908355256c
  6. 24d ago Changed · +11 lines · +5,893 tokens per session 74198d37be11
  7. 25d ago Changed · +31 lines · +6,252 tokens per session bb434d601892
  8. 28d ago Changed · +6 lines · +2,712 tokens per session 530ab4e6a3c2
  9. 29d ago Changed · +11 lines · +3,176 tokens per session 0160db4c82b2
  10. 1mo ago First seen · 259 lines · 7,048 tokens per session scan C 5131e29fd5ec

Subscribe to this mod's changes

agentpulse CLAUDE.md is an instructions file published in the GitHub repository jstuart0/agentpulse (25 stars, last pushed 4d ago), licensed MIT. It adds 32,586 tokens to every session, about $0.1303 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories