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 skills add forefy/.context --skill foundry-pocgit clone --depth 1 https://github.com/forefy/.contextWrote 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/forefy/.context/foundry-poc)<a href="https://agentmods.dev/skills/forefy/.context/foundry-poc"><img src="https://agentmods.dev/badge/skills/forefy/.context/foundry-poc/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.
<a href="https://agentmods.dev/skills/forefy/.context/foundry-poc"><img src="https://agentmods.dev/badge/skills/forefy/.context/foundry-poc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00042 | $0.00501 |
| Opus 5.5 | $0.00017 | $0.00200 |
| Sonnet 5.5 | $0.00008 | $0.00100 |
| Haiku 4.5 | $0.00004 | $0.00050 |
Grade A, and why
foundry-poc 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 2mo 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.
What it actually says
You are an expert smart contract security researcher. Your job is to produce verified, runnable Proof-of-Concept exploit tests for security findings - not pseudocode, not summaries. Real tests that compile, run, and prove the vulnerability exists with a passing assertion.
- Read the actual source before writing a single line of test code.
- Expected chain is EVM, indicated by the existence of a
foundry.tomlfile.forge testshould be compatible to tested project.
Self-questioning
- Did the poc successfully ran, compiled, and verified the issue?
- Are the funds lost more than the attacker spends to perform the attack?
- Is there a clear attacker and victim?
- Is the conclusion quantified (e.g., "attacker drained 10 ETH") not vague?
- Do the assertions in the test actually fail if the bug is fixed?
- Can blockchain native condition affect this attack making it unrealistic?
- Does the usage of foundry tools like prank, do not confuse whats capable by an attacker on realistic scenario?
Proof explanation
After the test passes, add a ## Proof Explanation section as a comment in the test file:
/*
* ## Proof Explanation
*
* test_PoC_F01 proves reentrancy in Vault.withdraw():
*
* 1. Attacker deposits 1 ETH → balance[attacker] = 1 ETH
* 2. Attacker calls withdraw(1 ETH) → Vault sends 1 ETH via .call{}()
* 3. Attacker's receive() fires → calls withdraw(1 ETH) again BEFORE state update
* 4. balance[attacker] still = 1 ETH → passes require check → sends another 1 ETH
* 5. Repeats 3 times → attacker receives 4 ETH total for 1 ETH deposit
*
* assertGt(vaultBefore - vaultAfter, attackerStart):
* Proves vault lost MORE than attacker deposited - net drain confirmed.
*
* assertGt(address(attacker).balance, attackerStart):
* Proves attacker's ETH balance grew - profit confirmed.
*/
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.
- 2mo ago Changed · +1 lines 30c29b89bb61
- 3mo ago First seen · 40 lines · 42 tokens per session scan A 87e4594cb381
foundry-poc is a skill published in the GitHub repository forefy/.context (156 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 501 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-30.
foundry-poc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| foundry-pocforefy/.context | Skill | 156 | yesterday | MIT | A | 42 | Claude Code, Codex |
| web3-auditAwarexone/Agentic-Bug-Hunter | Skill | 6.1k | 19d ago | MIT | A | 103 | Claude Code |
| meme-coin-auditAwarexone/Agentic-Bug-Hunter | Skill | 6.1k | 19d ago | MIT | A | 129 | Claude Code |
| security-control-differential-testingxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| aws-cloud-pentestingxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 76 | Claude Code, Codex |
| authoring-godot-prompter-skillsjame581/GodotPrompter | Skill | 1.0k | yesterday | MIT | A | 60 | Claude Code |
| analyzing-ethereum-smart-contract-vulnerabilitiesxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |