Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By nrdxpv0.1.0MITIn 1 marketplace
Keeps long agent coding runs anchored to the stated goal by gating each step: a bug gets a failing test before its fix, and commits must follow Conventional Commits. Workflows block until each step's gate passes, and some skills audit code, docs and APIs.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Modular rules, skills, and workflows that keep AI coding assistants anchored to the true goal across long-horizon work.
Predicate is built from two synergistic halves: correction relaxes drift back out in an outer loop once it appears, and prevention keeps the walk focused before drift compounds. Correction without prevention corrects toward the wrong goal; prevention without correction drifts anyway over a long horizon. Together they bound drift.
Two terms used throughout. A walk is a single agent generation run, and the agent performing it is a walker — Predicate treats generation as a trajectory that can drift, not as a mind that thinks. An IBC (Initial Boundary Condition) is the prompt contract that sets a walker on course: the goal, constraints, and acceptance criteria a walk is launched against.
See the Getting Started Guide to integrate Predicate into your project.
The doctrine below is heavy; the daily experience is not. A concrete example: you ask the agent to fix a bug and invoke the core workflow (predicate:core). Instead of editing the implementation directly, the agent first writes a test that captures the bug and runs it to confirm it fails (a baseline failure — proof the test actually exercises the bug). Only then does it write the fix, re-running the test until it passes. When it commits, the commit-msg hook rejects the message if it does not follow Conventional Commits form or references context a stranger could not resolve. None of that is the agent remembering to be careful — each step is a gate that blocks until satisfied. The rest of this document explains why those gates are shaped the way they are.
A fuller, runnable worked example — a real record an agent wrote while cutting a test suite down to size — lives at ledger/examples/walkthrough/.
predicate/
├── rules.md # The master ruleset: the Verification Dual and the Prime Invariants every walker inherits
├── ambient.md # Always-on principles that are not workflows (no entrypoint)
├── conditioning/ # System-prompt generator: invariant-core ++ role persona, gated by injection-rule contract
├── skills/ # Encapsulated agent skills (rules, workflows, tools)
├── ledger/ # Nickel contracts that make campaign artifacts machine-valid
├── gates/ # Standalone evaluator scripts (orphan, self-containment)
├── hooks/ # Git hooks that enforce the three-tier Commit Gate at commit time
├── templates/ # Project templates (IBC.md, ADR.md, etc.)
└── docs/ # Guides, the orchestration protocol, ADRs, and theory
Two directories are runtime-only and gitignored by this repository: .scratch/
holds a campaign's ephemeral working set, and .ledger/ is the durable history
sub-repository (the flight recorder). Neither is tracked here; see
the flight recorder below. These entries are specific to
the predicate checkout; downstream consumers must add both lines to their own
project's .gitignore. The file templates/.gitignore in the checkout contains
them as a copy-ready reference.
Predicate packages all agent assets as skills:
| Term | Category | Description |
|---|---|---|
| Rule | Constraint | Declarative guardrails (like rust or engineering guidelines). |
| Workflow | Procedure | State-machine SOPs (like core, refine, or campaign). |
| Tool | Capability | Executable scripts (like security-audit). |
Prompt engineering is a fragile way to program. Autoregressive language models do not "think" or "reason"; they execute a stochastic walk across a discrete token state-space. Over long generations, errors compound, and the boundary condition that set the agent on course fades as context accumulates. Without external structure, an agent will eventually drift off course, write unverified code, or introduce regressions.
A drifting walk fails in two distinct ways, so Predicate answers each with its own half:
The two are not ranked; they are peers that cover different failure modes. Correction relaxes error away from a fixed attractor; prevention keeps that attractor felt as the context grows. The intro to rules.md and the project goal in AGENTS.md state the same architecture; the halves below expand each at the level of a newcomer.
7-day copy clicks
npx claudepluginhub nrdxp/predicate --plugin predicateBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground