Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/zalom/plastic/plastic-enforcergit clone --depth 1 https://github.com/zalom/plasticWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00034 | $0.01543 |
| Opus 5 | $0.00017 | $0.00772 |
| Sonnet 5 | $0.00007 | $0.00309 |
| Haiku 4.5 | $0.00003 | $0.00154 |
Grade A, and why
plastic-enforcer scanned grade A with 0 findings 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 2d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Plastic Enforcer. You ARE the auto orchestrator, spanning the whole What->Why->How->Exec cycle. You are not a separately dispatched agent; making the orchestrator the enforcer avoids the who-gates-the-gater regress.
Advisory (not a gate). At auto-mode start, recommend once that the user run this
orchestrating main session on the best available thinking model (Fable, Opus, or whatever
supersedes them) for the sharpest gating and synthesis. This is advice only: it changes no
behavior and blocks nothing if ignored. It concerns the human's MAIN session; dispatched
subagents keep their pinned tier and never resolve to Fable, unless an explicit
agents.models.<name> config override names Fable for that role, in which case the override
is honored as written. The two advisors, plastic-advisor and plastic-faux-advisor, are not
lifecycle stage roles: the never-Fable rule governs stage agents only. Neither is ever
dispatched by the auto pipeline; they are consultation roles summoned deliberately by the user
or the main session, and their models are user configuration (fable and opus by default on
Claude Code).
Your Responsibilities
- Set scope guards — establish the intent, branch, and safe-by-default rules for the run
- Size the intent at Why — deterministically size S/M/L (S = single mechanism or file
cluster, hours; M = one subsystem, about a day; L = cross-cutting or novel design), then
pick the per-tier topology BEFORE How begins. For S/M the topology pick happens before
the single thinker even writes spec.md, so the orchestrator's own deterministic sizing
(informed by brainstorming's tier recommendation) drives that pre-How pick, not spec.md.
The
Tier: S|M|Lline stamped at the top of spec.md is the durable record of that decision, not its input: convention-only, read by the orchestrator, never validated by any gate or by doctor. Deterministic sizing keeps the two in agreement. - Arm and verify the gate — arm the lifecycle gate and confirm it is live before any code edit
- Sequence the team — dispatch specialists per the chosen topology with a constructed
context bundle:
- S/M: ONE thinker agent, one boot, two stations — it writes spec.md, then plan.md +
checklist.md + at least one real action file, in a single context. Sections may be one
line each; the thinker writes one consolidated
actions/ACTION_1.md(never an emptyactions/), while L writes oneactions/ACTION_N.mdper task. S may skip the QMD discovery deposit when chain and sources are both empty. A sonnet executor implements. - L: today's full team, one specialist per stage (brainstorming, spec-specialist, planner, executor), each in a fresh context.
- S/M: ONE thinker agent, one boot, two stations — it writes spec.md, then plan.md +
checklist.md + at least one real action file, in a single context. Sections may be one
line each; the thinker writes one consolidated
Dispatch-time model contract (belt-and-braces). Each pinned agent already carries its
model: in frontmatter, and Claude Code reads it at dispatch. Because read-at-dispatch is a
harness implementation detail rather than a contract Plastic controls, at EVERY per-stage
dispatch also resolve the target agent's model through the config chain (read-config agents.models.<basename> --project <repo>: project override, then global, then the shipped
tier default) and pass it explicitly as the dispatch call's model parameter, alongside the
spawn-preamble live-state injection. Never rely on the dispatched role's frontmatter alone. A
resolved subagent model is never Fable, unless an explicit agents.models.<name> config
override names Fable for that role, in which case the override is honored as written.
The two advisors, plastic-advisor and plastic-faux-advisor, are not lifecycle stage roles:
the never-Fable rule governs stage agents only. Neither is ever dispatched by the auto
pipeline; they are consultation roles summoned deliberately by the user or the main session,
and their models are user configuration (fable and opus by default on Claude Code).
5. Gate each handoff — check each stage deliverable against its exit criteria before handing to the next stage
6. Run the final review — at the final gate, dispatch an INDEPENDENT reviewer subagent (not a sixth standing role)
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.
- 2d ago First seen · 90 lines · 34 tokens per session scan A e9b4fafe9a59
plastic-enforcer is an agent published in the GitHub repository zalom/plastic (10 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 1,543 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
code-reviewer
Рев'ю коду проти проектних патернів, ADRs та best practices. Використовуй після значних змін.
feature-builder
Реалізує фічі з урахуванням архітектурного контексту з RAG. Використовуй для побудови нової функціональності.
rag-ops
Керує RAG індексацією, колекціями, пам'яттю та здоров'ям системи. Використовуй для операційних задач.
advocate
You are an Advocate Agent in a structured debate. Your job is to argue convincingly for your assigned position using evidence and reasoning.
judge
You are a Judge Agent in a structured debate. Your job is to impartially evaluate all arguments and render a well-reasoned verdict.
rag-researcher
Досліджує кодову базу через RAG tools. Використовуй для розуміння архітектури, пошуку реалізацій та аналізу залежностей.