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 skills/zalom/plastic/doctornpx skills add zalom/plastic --skill doctorgit clone --depth 1 https://github.com/zalom/plasticWrote 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.
[](https://agentmods.dev/skills/zalom/plastic/doctor)<a href="https://agentmods.dev/skills/zalom/plastic/doctor"><img src="https://agentmods.dev/badge/skills/zalom/plastic/doctor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.03142 |
| Opus 5 | $0.00015 | $0.01571 |
| Sonnet 5 | $0.00006 | $0.00628 |
| Haiku 4.5 | $0.00003 | $0.00314 |
Grade A, and why
plastic-doctor 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 6d 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 — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doctor: Plastic Health Check
Scopes
Doctor has three scopes. Pick the right one for the situation:
| Scope | Flag | When it runs | States |
|---|---|---|---|
| Core check | --core |
SessionStart hook (automatic), also available on demand | Binary: pass or error |
| Store check | --store [global|<slug>] |
Dashboard load, plastic-project-continuing |
Three-state: pass / warn / fail |
| Full check | (no flag) | After every update (automatic), or /plastic-doctor |
Three-state: pass / warn / fail |
--core (binary, operational-readiness only)
Checks ONLY that Plastic is loaded and ready for work: agent registration (skills,
subagents, hooks/harnesses present and registered), core files (manifest-backed
presence/hash checks, excluding agent_model_drift, which is a non-boot
config-honoring check, never run at core), manifest sync (global + agent manifest
SHA256), every registered project's path resolving to a real, existing directory,
and the global store being reachable (INDEX.md present; no orphan/ghost content
scanning). Result is binary: exit 0 on pass, non-zero on error. It never produces
warnings, and it never scans store content.
It checks two install manifests as part of core files and manifest sync:
~/.plastic/manifest.json(global manifest, covers PLASTIC.md and global scripts)~/.claude/plastic/manifest.json(agent-side manifest, covers agent scripts and hooks)
Each manifest maps a file path to its SHA256.
On failure, the report states this guided route, in order:
- Offer fixes in the
/plastic-doctorconversation (the Fix all / Select individually / Skip router from Steps 4-5 below); doctor itself only reports, and each chosen repair is dispatched to the maintenance tool or skill that owns it. - If that does not resolve it, roll back to the last known-good version via
plastic-rollback(restores from the local, append-onlyversions.jsonledger of versions actually run). - Optionally report the issue via the feedback command (
scripts/feedback-report, backing theplastic-feedbackskill), which composes a local report plus a prefilled GitHub issue URL and never holds a credential or contacts GitHub directly.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 253 lines · 29 tokens per session scan A 5fae56d8eb39
plastic-doctor is a skill published in the GitHub repository zalom/plastic (10 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 3,142 once invoked, about $0.0001 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 skills, from other repositories
agenttrace-session-audit
Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.
systematic-debugging
Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.
investigate
Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug…
hns-lsel-curator
Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the 65% Bash-timeout/sandbox noise, eventkey clustering with a frequency…
anti-entropy-governance
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically; destructive execution requires explicit confirmation.
agent-debug-fixer
中文调试修复技能。用于报错、测试失败、页面异常、功能不符合预期、需要定位根因并做最小修复时。触发语包括"进入调试模式""帮我修问题""报错了""测试失败""页面坏了""找根因"。.