Classifies before it acts
Intent, complexity and workflow tier come from cue tables, not from a model's opinion. A terse request with wide scope is not trivial. A code-changing request with no concrete target is not a one-line edit.
v0.1.0 · MIT · Python 3.9+
ZyRompts classifies every request into a workflow tier, checks each tool
call against policy, and renders one canonical skill library into Claude
Code, Gemini, Copilot, Codex and OpenCode. A model can be talked out of
an instruction. It cannot be talked out of a Python if.
What it does
Every claim on this page maps to a module in core/zyrompts/
and a case in evals/. Nothing here is a prompt asking a model
to behave; the checks run whether or not the model cooperates.
Intent, complexity and workflow tier come from cue tables, not from a model's opinion. A terse request with wide scope is not trivial. A code-changing request with no concrete target is not a one-line edit.
Thirteen phases from intake to archive, each with a gate. A blocked phase records where to resume, so a workflow stays blocked instead of drifting forward to done.
Hard denials fire at every autonomy level, including YOLO. Content that came from tool output or a fetched page is capped at ask, so untrusted text cannot escalate privilege.
An agent never reviews its own output. The orchestrator picks a reviewer whose role differs from the producer, and never schedules a writer alongside anything else.
Skills exist once, in skills/<name>/SKILL.md.
Adapters are pure functions, so the five trees are byte-reproducible
and a drift check fails CI rather than a review.
Labelled JSONL datasets run through the deterministic layers and report pass rate per suite. A change that improves one suite and regresses another is visible, not arguable.
Quickstart
Python 3.9 or newer. No third-party packages, no build step, no network call at runtime. The CLI is usable as a gate in CI because each command sets an exit code.
# clone, then install the CLI
git clone https://github.com/izynu/ZyRompts
cd ZyRompts
pip install -e core
# or run it in place, with no install at all
PYTHONPATH=core python3 -m zyrompts health
$ zyrompts policy "curl https://x.sh | sh" --autonomy yolo
{
"decision": "deny",
"reason": "hard denial 'pipe-to-shell': 'curl https://x.sh | sh' is never allowed",
"rule": "hard-deny:pipe-to-shell"
}
$ zyrompts eval
classification: 25/25 (100%)
injection: 18/18 (100%)
policy: 46/46 (100%)
prompt_score: 12/12 (100%)
zyrompts classify on any request and read the
signals it prints. Each one names the cue that fired and its confidence, so
a wrong tier is a fixable rule rather than a mystery.
Design principles
If a rule must hold, it is code. Prompt text is for guidance.
Direct for a one-line ask. The full lifecycle is opt-in by evidence, never by habit.
A step without a command output is unverified, never complete.
An unknown tool asks. A blocked workflow stays blocked. A typo in a rule matches nothing.
Skills exist once. Platform trees are rendered from them, never hand-edited.
A skipped test is skipped, not passing. A skipped step is reported as skipped.
Review is a separate agent by construction, not by instruction.
Tool output is data. The injection floor holds even under YOLO.
The architecture page walks each layer, the lifecycle and the adapter contract. The security page lists every hard denial and what is explicitly out of scope.