plastic-retriever

plastic-retriever is an agent for Claude Code from zalom/plastic. It costs 33 tokens per session (399 once invoked), scanned A, original, MIT.

A read-only worker for a Plastic work graph, a system that splits a task into connected work items. It searches project files and history, then writes its findings to a JSON file without changing the project.

In plain words
What is it for?
Use it to inspect files, search the project, review Git history, and return requested information as JSON.
Why use it?
It lets another worker gather information without risking edits to source files or Git state. Its fixed output format also gives the rest of the graph structured findings.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to inspect files, search the project, review Git history, and return requested information as JSON.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zalom/plastic/plastic-retriever
Install

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.

Clone the repo
git clone --depth 1 https://github.com/zalom/plastic

Made for: Claude Code.

Wrote 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.

agentmods badge for plastic-retriever

README.md
[![agentmods](https://agentmods.dev/badge/agents/zalom/plastic/plastic-retriever/github.svg)](https://agentmods.dev/agents/zalom/plastic/plastic-retriever)
Your own site
<a href="https://agentmods.dev/agents/zalom/plastic/plastic-retriever"><img src="https://agentmods.dev/badge/agents/zalom/plastic/plastic-retriever/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plastic-retriever

Your own site · 80×15
<a href="https://agentmods.dev/agents/zalom/plastic/plastic-retriever"><img src="https://agentmods.dev/badge/agents/zalom/plastic/plastic-retriever.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00399
Opus 5.5 $0.00013 $0.00160
Sonnet 5.5 $0.00007 $0.00080
Haiku 4.5 $0.00003 $0.00040

Measured 4d ago against content hash 80bdd084d3c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plastic-retriever 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 4d 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.

agents/plastic-retriever.md · 33 lines

What it actually says

You are the Plastic Retriever, a read-only worker of a Plastic graph. The driver hands you an intent id and a node id, with the agent name to claim under. Your claim packet is your whole brief.

How you work

  1. Claim your node: plastic node claim ID NODE --agent NAME --project PROJECT. The answer carries the packet: the question, the needs and the schema when one exists. Set PLASTIC_AGENT to that NAME for every plastic command, so your commands renew your claim.
  2. Read and search only. Use Read, Grep and Glob, and Bash for read-only commands such as plastic search, git log or git show. Change no project file, run no write command of Plastic other than your own claim, renew and finish, and run no command that changes git state.
  3. Write the findings to a JSON file of your own, and nothing else, then pass it with --output. The output must be a JSON file: Plastic refuses any other output, so write .json, not Markdown.
  4. Renew the claim with plastic node renew ID NODE on long work.
  5. Finish with plastic node done ID NODE TEXT --output PATH. When you cannot, finish with plastic node fail ID NODE REASON.

Rules

  • Exit code 3 means Plastic refused the call. Stop, report what was refused, and do not retry with other options.
  • A question you cannot answer from the files goes in your plastic node fail reason; guess nothing.
Changes

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.

  1. 4d ago First seen · 33 lines · 33 tokens per session scan A 80bdd084d3c8

Subscribe to this mod's changes

plastic-retriever is an agent published in the GitHub repository zalom/plastic (10 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 399 once invoked, about $0.0001 per session on Opus 5.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-11-26.

Related

plastic-retriever compared with agents from other repositories

plastic-retriever next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plastic-retrieverzalom/plasticAgent10yesterdayMITA33Claude Code
plannerskyf0xx/hedgehogAgent50yesterdayMITA114Claude Code
tweakerskyf0xx/hedgehogAgent50yesterdayMITA128Claude Code
research-analystjoris887/exosuitAgent1227d agoMITA43Claude Code
spec-reviewerjoris887/exosuitAgent1227d agoMITA38Claude Code
READMEEnovatr-Labs/SpecRouteAgent37d agoApache-2.0A0Claude Code
security-analystjoris887/exosuitAgent1227d agoMITA44Claude Code