promptpit: Instructions file for Claude Code

CLAUDE.md

promptpit CLAUDE.md is an instructions file for Claude Code from nirelbaz/promptpit. It costs 1,711 tokens per session, scanned A, original, MIT.

Project instructions for PromptPit, a tool that bundles AI assistant instructions, skills, tool connections, and environment variables into installable configuration stacks.

In plain words
What is it for?
Initializing, collecting, installing, updating, uninstalling, validating, watching, checking, comparing, and interactively managing assistant configuration stacks.
Why use it?
They explain how the project is organized and how its commands manage, validate, compare, synchronize, and remove those stacks across coding tools.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nirelbaz/promptpit/claude-md.svg)](https://agentmods.dev/instructions/nirelbaz/promptpit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nirelbaz/promptpit/claude-md"><img src="https://agentmods.dev/badge/instructions/nirelbaz/promptpit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,711 This file is loaded in full into every session.
When invoked 1,711 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.01711 $0.01711
Opus 5 $0.00856 $0.00856
Sonnet 5 $0.00342 $0.00342
Haiku 4.5 $0.00171 $0.00171

Measured 8d ago against content hash 410495fb96e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

promptpit 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 8d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- `execFileSync` (not `execSync`) for git operations — prevents shell injection
CLAUDE.md · 122 lines

How it starts

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

CLAUDE.md

Project

PromptPit (pit) — the composition layer for AI agent configuration. Bundles instructions, skills (Agent Skills spec), MCP servers, and env vars into one distributable stack that installs across Claude Code, Cursor, and other AI coding tools. Ten commands: pit init (scaffold a stack), pit collect (bundle configs), pit install (install stacks), pit uninstall (remove installed stacks), pit update (smart re-install with drift awareness), pit status (show what's installed and drifted), pit diff (text diff between installed and source), pit watch (live-sync skill changes), pit validate (check stack validity), and pit check (CI sync verification). Bare pit (no subcommand) opens an interactive TUI over the same core — grouped stack list, per-stack action menu, live validate / status-diff / open actions (v0.5.2+). Translation is the entry point, stack management is the product.

Commands

npm test          # run tests (vitest)
npm run build     # build dist/cli.js (tsup, ESM)
npm run lint      # TypeScript strict mode check
npm run dev       # watch mode build

Architecture

Adapter pattern with composition. Each AI tool is a plain object implementing PlatformAdapter. Shared utilities in adapter-utils.ts, not a base class.

src/
├── cli.ts              # Commander.js entry point
├── commands/           # init.ts, collect.ts, install.ts, uninstall.ts, update.ts, status.ts, watch.ts, validate.ts, check.ts, diff.ts
├── adapters/           # claude-code.ts, cursor.ts, codex.ts, standards.ts, copilot.ts, registry.ts, types.ts, adapter-utils.ts, toml-utils.ts
├── core/               # stack.ts, skill-store.ts, manifest.ts, artifact-ops.ts, merger.ts, resolve.ts, reconcile.ts, select.ts, scripts.ts, security.ts, validate.ts
├── sources/            # github.ts (clone + auto-collect)
└── shared/             # schema.ts (Zod + types), markers.ts, utils.ts, io.ts, interactive.ts (@clack/prompts wrapper with TTY guard)

Read the full file on GitHub · 122 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. 8d ago First seen · 122 lines · 1,711 tokens per session scan A 410495fb96e0

Subscribe to this mod's changes

promptpit CLAUDE.md is an instructions file published in the GitHub repository nirelbaz/promptpit (6 stars, last pushed 1mo ago), licensed MIT. It adds 1,711 tokens to every session, about $0.0086 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.