claude-pulse: Instructions file for Claude Code

CLAUDE.md

claude-pulse CLAUDE.md is an instructions file for Claude Code from moictab/claude-pulse. It costs 2,310 tokens per session, scanned A, original, MIT.

A repository-specific instruction file for Claude Code, the coding assistant, describing two Bash scripts, their input data, commands, and architecture.

In plain words
What is it for?
Use it when working on the claude-pulse scripts, checking status-line input fields, or running the repository’s tests and code checks.
Why use it?
It gives the assistant the project’s rules and structure before it changes code, reducing guesses about commands, interfaces, and testing.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 claude-pulse CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/moictab/claude-pulse/claude-md"><img src="https://agentmods.dev/badge/instructions/moictab/claude-pulse/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,310 This file is loaded in full into every session.
When invoked 2,310 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02310 $0.02310
Opus 5.5 $0.00924 $0.00924
Sonnet 5.5 $0.00462 $0.00462
Haiku 4.5 $0.00231 $0.00231

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

Security

Grade A, and why

claude-pulse CLAUDE.md scanned grade A with 1 finding 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.

Makes network callslowCapability

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

`jq` is required. `git` and `curl` are optional. There is no build step. Users install by curling the scripts straight from `main` on GitHub (see README), so anything merged to `main` ships to users right away.
CLAUDE.md · 82 lines

How it starts

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

claude-pulse is two standalone Bash scripts for Claude Code:

  • statusline.sh: the statusLine command. Claude Code pipes the session JSON to it on stdin. It prints two lines, plus a third agents line while subagents are listed.
  • subagent-statusline.sh: the subagentStatusLine command. It receives {session_id, columns, cwd, tasks: [...]} on stdin about every 5 seconds while the agent panel lists subagents. It writes one {"id", "content"} JSON line per row, and saves its input for the agents line.

jq is required. git and curl are optional. There is no build step. Users install by curling the scripts straight from main on GitHub (see README), so anything merged to main ships to users right away.

The stdin schemas are documented at https://code.claude.com/docs/en/statusline (see "Available data" and "Subagent status lines"). Check there before adding or changing fields.

Commands

bash tests/run.sh                                              # all tests; offline, uses a temp HOME and cache
shellcheck statusline.sh subagent-statusline.sh tests/run.sh   # lint
bash statusline.sh < tests/fixtures/statusline-full.json       # render a fixture by hand
bash subagent-statusline.sh < tests/fixtures/subagents.json
bash docs/make-preview.sh                                      # regenerate docs/preview.svg (needs python3)

tests/run.sh is a list of expect/reject/equal assertions on ANSI-stripped output. Run it with TZ=UTC LC_ALL=C, as it already does. To check a single case, render the fixture by hand or comment out the other assertions; there is no per-test runner. Under GitHub Actions, failures are also printed as ::error annotations, which the public API serves without auth (/repos/moictab/claude-pulse/check-runs/<job id>/annotations), unlike job logs.

CI (.github/workflows/ci.yml) runs on every push. It runs shellcheck, then the tests on:

  • ubuntu-22.04 (jq 1.6)
  • ubuntu-24.04 (jq 1.7.1, GNU coreutils)
  • ubuntu-latest (26.04, Rust uutils coreutils)
  • macOS (with /bin/bash 3.2)
  • Windows (Git Bash)

Read the full file on GitHub · 82 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 First seen · 82 lines · 2,310 tokens per session scan A 3c8dc739b1c2

Subscribe to this mod's changes

claude-pulse CLAUDE.md is an instructions file published in the GitHub repository moictab/claude-pulse (2 stars, last pushed 4d ago), licensed MIT. It adds 2,310 tokens to every session, about $0.0092 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.

Related

claude-pulse CLAUDE.md compared with instructions from other repositories

claude-pulse CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-pulse CLAUDE.mdmoictab/claude-pulseInstructions file24d agoMITA2,310Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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