ipe CLAUDE.md

ipe CLAUDE.md is an instructions file for Claude Code from EduardMaghakyan/ipe. It costs 952 tokens per session, scanned A, original, MIT.

Repository instructions for IPE, a tool that opens a browser-based review screen when Claude Code creates a plan.

In plain words
What is it for?
Use them when developing or verifying IPE, including its Bun workspaces, browser interface, compiled binary, and end-to-end tests.
Why use it?
They explain the project structure, build commands, tests, formatting checks, and manual testing needed before changing the tool.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; names the ExitPlanMode tool; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/eduardmaghakyan/ipe/claude-md
Clone the repo
git clone --depth 1 https://github.com/EduardMaghakyan/ipe

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/eduardmaghakyan/ipe/claude-md.svg)](https://agentmods.dev/instructions/eduardmaghakyan/ipe/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/eduardmaghakyan/ipe/claude-md"><img src="https://agentmods.dev/badge/instructions/eduardmaghakyan/ipe/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 952 This file is loaded in full into every session.
When invoked 952 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00952 $0.00952
Opus 5 $0.00476 $0.00476
Sonnet 5 $0.00190 $0.00190
Haiku 4.5 $0.00095 $0.00095

Measured 6d ago against content hash d138d90e39ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ipe 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 6d 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 · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 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.

What is IPE

Interactive Plan Editor — a Claude Code hook that intercepts ExitPlanMode, opens a browser-based plan review UI (like a GitHub PR review with inline comments), and sends the user's decision back to Claude Code via stdout.

Commands

bun install                # install dependencies
bun run build              # build UI then compile self-contained binary → ./ipe
bun run test               # unit + integration tests (bun test tests/unit tests/integration)
bun run test:e2e           # Playwright browser tests (requires chromium)
bun run test:all           # all tests
bun run format             # prettier auto-fix
bun run format:check       # prettier check only
cd packages/ui && bun run dev  # Vite dev server with mock API at localhost:5173

Manual test the binary: printf '{"tool_input":{"plan":"# Test\\n\\nStep 1"},"permission_mode":"default"}' | ./ipe

Architecture

Bun monorepo with two workspaces: packages/* and apps/*.

Build pipeline

  1. packages/ui builds with Vite + vite-plugin-singlefile → single index.html (all JS/CSS inlined)
  2. apps/hook/server/index.ts is compiled with bun build --compile./ipe binary that embeds the HTML via import html from "../ui/dist/index.html" with { type: "text" }

Packages

  • apps/hook/server/index.ts — Binary entrypoint. Reads Claude Code's JSON from stdin, starts an in-process Bun.serve on an ephemeral port (or IPE_PORT if set), opens the browser, awaits the user's decision via an in-process Promise, writes JSON to stdout, exits.
  • packages/server/ — HTTP server (Bun.serve), session management, all API routes, SSE broadcasting for the UI, plan version history (history.ts), browser launching (browser.ts), update checking (update.ts).
  • packages/ui/ — Svelte 5 frontend. App.svelte orchestrates session state and SSE subscriptions. Components in lib/, pure utilities in utils/.

Read the full file on GitHub · 63 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. 6d ago First seen · 63 lines · 952 tokens per session scan A d138d90e39ec

Subscribe to this mod's changes

ipe CLAUDE.md is an instructions file published in the GitHub repository EduardMaghakyan/ipe (20 stars, last pushed 3mo ago), licensed MIT. It adds 952 tokens to every session, about $0.0048 per session on Opus 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.