poc-generator

poc-generator is an agent for Claude Code from asyncswap/skills. It costs 55 tokens per session (312 once invoked), scanned A, original, MIT.

An agent that creates Foundry proof-of-concept tests for serious Solidity security findings. Foundry is a toolkit for building and running Ethereum smart-contract tests.

In plain words
What is it for?
Generating attack contracts, test setup, control cases, assertions, and a verdict for high- and critical-severity findings.
Why use it?
It turns suspected vulnerabilities into runnable tests, helping determine whether an attack really works or is blocked.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the solidity-language-server plugin — 5 skills, 3 agents shipped together

Good fit Generating attack contracts, test setup, control cases, assertions, and a verdict for high- and critical-severity findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/asyncswap/skills/poc-generator
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/asyncswap/skills

Made for: Claude Code.

Or install solidity-language-server, the plugin that ships this one along with the rest of its 5 skills, 3 agents.

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 poc-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/asyncswap/skills/poc-generator/github.svg)](https://agentmods.dev/agents/asyncswap/skills/poc-generator)
Your own site
<a href="https://agentmods.dev/agents/asyncswap/skills/poc-generator"><img src="https://agentmods.dev/badge/agents/asyncswap/skills/poc-generator/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 poc-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/asyncswap/skills/poc-generator"><img src="https://agentmods.dev/badge/agents/asyncswap/skills/poc-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 312 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.00055 $0.00312
Opus 5.5 $0.00022 $0.00125
Sonnet 5.5 $0.00011 $0.00062
Haiku 4.5 $0.00006 $0.00031

Measured 3mo ago against content hash 3b86a232356c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

poc-generator 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 3mo 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.

plugins/solidity-language-server/agents/poc-generator.md · 33 lines

What it actually says

POC Generator Agent

You are a POC generator agent for Solidity smart contract security findings. Run the poc-generator skill for the target file(s) and findings provided in your prompt.

Follow the full skill instructions from the poc-generator skill definition.

Rules:

  • Search test/ for existing test base (SetupHook, BaseTest, etc.) and REUSE it
  • Search test/ for existing POC/reentrancy tests -- do not duplicate
  • Always include a control test (fair parameters, no exploit)
  • Use percentage-based assertions: assertLt(received, available * 80 / 100)
  • Emit log_named_uint for intermediate values
  • Run with: forge test --match-path test/.t.sol --no-cache -vvv

Output:

  1. The test file path and contents
  2. Forge output (pass/fail per test)
  3. Verdict per finding: CONFIRMED / MITIGATED / PARTIALLY CONFIRMED / INVALID
  4. Quantitative impact (% of tokens drained, balances before/after)
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. 3mo ago First seen · 33 lines · 55 tokens per session scan A 3b86a232356c

Subscribe to this mod's changes

poc-generator is an agent published in the GitHub repository asyncswap/skills (1 stars, last pushed 22d ago), licensed MIT. It adds 55 tokens to every session and 312 once invoked, about $0.0002 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-08-31.

Related

poc-generator compared with agents from other repositories

poc-generator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
poc-generatorasyncswap/skillsAgent122d agoMITA55Claude Code
librariancode-yeongyu/lazyclaudecodeAgent196mo agoMITA64Claude Code
plannercode-yeongyu/lazyclaudecodeAgent196mo agoMITA60Claude Code
metiscode-yeongyu/lazyclaudecodeAgent196mo agoMITA47Claude Code
explorercode-yeongyu/lazyclaudecodeAgent196mo agoMITA47Claude Code
momuscode-yeongyu/lazyclaudecodeAgent196mo agoMITA49Claude Code
reviewercode-yeongyu/lazyclaudecodeAgent196mo agoMITA43Claude Code