Borrowing it
Nothing to install: this file belongs to nkmr-jp/prompt-line. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/nkmr-jp/prompt-line/main/CLAUDE.mdgit clone --depth 1 https://github.com/nkmr-jp/prompt-lineWrote 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.
[](https://agentmods.dev/instructions/nkmr-jp/prompt-line/claude-md)<a href="https://agentmods.dev/instructions/nkmr-jp/prompt-line/claude-md"><img src="https://agentmods.dev/badge/instructions/nkmr-jp/prompt-line/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.
<a href="https://agentmods.dev/instructions/nkmr-jp/prompt-line/claude-md"><img src="https://agentmods.dev/badge/instructions/nkmr-jp/prompt-line/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04023 | $0.04023 |
| Opus 5 | $0.02011 | $0.02011 |
| Sonnet 5 | $0.00805 | $0.00805 |
| Haiku 4.5 | $0.00402 | $0.00402 |
Grade A, and why
prompt-line CLAUDE.md scanned grade A 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `curl http://localhost:9222/json/list` to get WebSocket URL for the renderer page Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **Mocks**: Comprehensive mocks in `tests/setup.ts` (Electron APIs, fs, child_process, IPC) How it starts
The opening of the file, as written. The whole thing — 285 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.
Essential Commands
Development
pnpm start # Run app in development mode (with DEBUG logging enabled)
pnpm run reset-accessibility # Reset accessibility permissions for Prompt Line
pnpm run setup-codesigncreates a "Prompt Line" self-signed certificate in the login Keychain. Automatically run byinstall-app, so manual execution is not needed.pnpm startsetsLOG_LEVEL=debugautomatically. Packaged apps always use INFO level.- Logs:
~/.prompt-line/app.log(usetail -f ~/.prompt-line/app.logfor real-time monitoring)
Isolated Verification Instance (per worktree)
Verify the checkout you are working in without disturbing the Prompt Line the user keeps running.
pnpm run isolated start # Compile if needed, then launch headless in the background
pnpm run isolated show # Run the real show flow (renderer gets history/draft/settings)
pnpm run isolated type "@" # Type into the input, as a user would
pnpm run isolated clear # Empty the input
pnpm run isolated eval "<js>" # Evaluate JavaScript in the renderer
pnpm run isolated screenshot out.png # Capture the offscreen window
pnpm run isolated logs -n 40 # Tail this instance's app.log
pnpm run isolated status
pnpm run isolated stop # `clean` also deletes the instance's data directory
How the isolation works (scripts/isolated-instance.js):
PROMPT_LINE_DATA_DIR=~/.prompt-line-isolated/<worktree>/data— its own history, drafts, settings, log, plugins and cache. On first start,settings.yaml,plugins/andcustom-search/are copied (never symlinked) from~/.prompt-lineso verification runs against a realistic config; pass--no-seedfor a pristine one.- Its own Electron
--user-data-dir, so it gets its own single-instance lock and runs alongside the installed app. PROMPT_LINE_ISOLATED=1— no global shortcut (no fight overCmd+Shift+Space), no tray icon, no native warmup, and the window is never shown or focused. The renderer still paints offscreen, so CDP screenshots show the real UI.- CDP port derived from the worktree directory name (9300–9399), so parallel worktrees never collide. Two checkouts whose directories share a name are rejected (the state file records
repoRoot) — setPROMPT_LINE_INSTANCE_IDto give one of them a distinct id. - The CDP-driven commands (
type,clear,eval,screenshot) need Node 22+ (globalWebSocket);start/stop/status/show/logsrun on the version inengines.
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.
- 12d ago First seen · 285 lines · 4,023 tokens per session scan A 3b57216aa8c7
prompt-line CLAUDE.md is an instructions file published in the GitHub repository nkmr-jp/prompt-line (148 stars, last pushed 4d ago), licensed MIT. It adds 4,023 tokens to every session, about $0.0201 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).