/rp1-base:prompt-writerfrom rp1-base
Writes maximally terse agent prompts from scratch with constitutional governance and epistemic stance. Includes a six-stage pipeline, compression rules, governance primitives, and reusable templates.
Ships in rp1-base. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide for writing maximally terse agent prompts with built-in constitutional governance and epistemic stance. Combines compression-by-default authoring (tersify), governance primitives (constitution), and epistemological foundations (epistemology) into a single progressive-disclosure skill.
/build-promptStructure-First: Start with skeleton, not prose. Choose section pattern, fill minimally.
Compression-by-Default: Every word must earn its place. Remove before adding.
Preserve Exactness: Normative language (MUST/SHOULD/MAY), literals, constraints stay verbatim.
Governed-by-Design: Constitutional primitives and epistemic stance are selected upfront, not bolted on.
| File | Purpose | When to Load |
|---|---|---|
references/tersify.md | Compression discipline, section patterns, abbreviation policy, style rules, validation checklist | Direct /prompt-writer invocation; prompt-validation pipeline stage |
references/constitution.md | 10 governance primitives (anti-loop, output discipline, role, scope limits, orchestrator purity, error degradation, exploration bounds, anti-bias, truth constraints, transition guards) + four agent-type profiles | Constitutional-checklist pipeline stage; standalone constitutional review |
references/epistemology.md | Six epistemic stances (Fallibilist Empirical, Interpretivism, Phenomenology, Constructivism, Pragmatism, Compare-Mode) with composable contracts | Epistemic-stance pipeline stage; standalone epistemic review |
references/budget.md | 15% aggregate governance cap, per-stage budget allocations, line classification rules, enforcement protocol | Pipeline execution (Stage 6 budget enforcement); standalone budget review |
| File | Purpose | When to Load |
|---|---|---|
PATTERNS.md | Reusable prompt patterns: constitutional agent, interview, map-reduce, state machine, tool selection, error hierarchy, output contract, progressive disclosure, checklist gate, parameterized behavior, engineering discipline | Direct /prompt-writer invocation; prompt authoring |
TEMPLATES.md | Ready-to-use prompt templates at simple, moderate, complex, command, and tool/skill levels | Direct /prompt-writer invocation; prompt authoring |
Six stages executed in fixed order by /build-prompt via the prompt-pipeline-runner agent. Each stage file follows a consistent structure: Purpose, Input, Process, Output.
| File | Stage | Purpose | When to Load |
|---|---|---|---|
pipeline/constitutional-checklist.md | 1 | Filter governance primitives by agent-type profile; generate constitutional directives | Pipeline execution; standalone constitutional review |
pipeline/fallibilist-overlay.md | 2 | Unconditionally inject five Popper-Deutsch overlay clauses | Pipeline execution (always applied) |
pipeline/epistemic-stance.md | 3 | Select domain stance from six options; compose epistemic contract | Pipeline execution; standalone stance selection |
pipeline/popper-patterns.md | 4 | Select and inject Popper-Deutsch patterns relevant to problem domain | Pipeline execution |
pipeline/confidence-schema.md | 5 | Apply 5-level ordinal confidence scale; map existing rp1 idioms | Pipeline execution; standalone confidence normalization |
pipeline/prompt-validation.md | 6 | Run 3-axis validation (style, constitutional, epistemic); produce validation report | Pipeline execution; standalone prompt validation |
When invoked as /prompt-writer for prompt authoring and style guidance:
references/tersify.md for the complete compression discipline and style rulesPATTERNS.md for reusable prompt patternsTEMPLATES.md for ready-to-use templates at different complexity levelsThis provides the same terse prompt authoring guidance as the original prompt-writer. The reference layers and pipeline stages below are available as additional resources but are not required for this workflow.
When the prompt-pipeline-runner agent executes the six-stage pipeline:
references/constitution.md then pipeline/constitutional-checklist.mdpipeline/fallibilist-overlay.mdreferences/epistemology.md then pipeline/epistemic-stance.mdpipeline/popper-patterns.mdpipeline/confidence-schema.mdreferences/tersify.md then pipeline/prompt-validation.mdAny individual stage can be loaded independently for targeted review:
references/constitution.md + pipeline/constitutional-checklist.mdreferences/epistemology.md + pipeline/epistemic-stance.mdreferences/tersify.md + pipeline/prompt-validation.mdpipeline/confidence-schema.mdconstitutional-checklist -> fallibilist-overlay -> epistemic-stance -> popper-patterns -> confidence-schema -> prompt-validation
The pipeline produces two mandatory artifacts per run:
PATTERNS.md (opens in a new tab)TEMPLATES.md (opens in a new tab)pipeline/confidence-schema.md (opens in a new tab)pipeline/constitutional-checklist.md (opens in a new tab)pipeline/epistemic-stance.md (opens in a new tab)pipeline/fallibilist-overlay.md (opens in a new tab)pipeline/popper-patterns.md (opens in a new tab)pipeline/prompt-validation.md (opens in a new tab)references/budget.md (opens in a new tab)references/constitution.md (opens in a new tab)references/epistemology.md (opens in a new tab)references/tersify.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/analyse-securityPerforms tracked, evidence-bounded security posture assessment for a project, sub-directory, module, concept, or feature topic with standards mapping and registered report output./artifact-templatesAgent-only canonical output templates for rp1 artifacts. Load when producing structured markdown to ensure format consistency and routing metadata./code-commentsExtract comment locations from code files for analysis. Use when cleaning comments, auditing documentation, or analyzing comment patterns across languages.Generated from the plugin's indexed repository (rp1-run/rp1) — no native marketplace selected
npx claudepluginhub p/rp1-run-rp1-base-plugins-base-2Other plugins' skills for the same job