Agent skill

Foundry Testing

by sablier-labs in sablier-labs/evm-monorepo

Write Foundry tests, bulloak BTT tree specs, and Solidity scripts.

Custom licenceAuto-check passedBackend & APIs

Install Foundry Testing

skills CLI
$ npx skills add sablier-labs/evm-monorepo --skill foundry-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sablier-labs/evm-monorepo foundry-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sablier-labs/evm-monorepo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/foundry-testing .claude/skills/foundry-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
foundry-testing
GitHub stars
353
Token cost
~2.9k tokens
SKILL.md length
977 words
Files
8 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

Write Foundry tests, bulloak BTT tree specs, and Solidity scripts.

  • Works in 5 steps: Integration Tests (Concrete, BTT) → Fuzz Tests → Fork Tests → …
  • Phrases - foundry testing
  • SKILL.md covers Bundled References, Test Types, 1. Integration Tests… and 2. Fuzz Tests, plus 6 more sections
  • Calls just and cargo; needs PRIVATE_KEY

What it does

Foundry Testing is an agent skill from sablier-labs/evm-monorepo. Write Foundry tests, bulloak BTT tree specs, and Solidity scripts. Trigger phrases - foundry testing, write test, write a tree, BTT spec, bulloak tree, Branching Tree Technique, fuzz test, fork test, invariant test, deploy script, gas benchmark, coverage, or when working in tests/ or scripts/ directories.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `agents/openai.yaml`, `references/btt-examples.md` and `references/cheat-codes.md`).

It sits in Backend & APIs, covering Smart contracts and Test generation. It works with Solidity. The repository describes itself as: Monorepo for Sablier's EVM smart contracts including Lockup, Flow, Airdrops, Bob and Utils protocols.

When your agent uses it

  • Phrases - foundry testing
  • Branching Tree Technique
  • Working in tests/
  • Scripts/ directories

Example prompts

  • “/foundry-testing”

Requirements

  • A credential in PRIVATE_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Integration Tests (Concrete, BTT)
  2. Fuzz Tests
  3. Fork Tests
  4. Invariant Tests
  5. Solidity Scripts

What it can do on your machine

Read from SKILL.md and the folder at commit f317dc2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • just
    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • getfoundry.sh

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PRIVATE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Foundry Testing loads about 2.9k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 977 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 977 words (~2,890 tokens).

“Rules and patterns for Foundry tests, bulloak .tree specs, and scripts. Find examples in the actual codebase.”

— opening of SKILL.md by sablier-labs, Custom licence
name
foundry-testing

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (references) in .agents/skills/foundry-testing of sablier-labs/evm-monorepo.

  • SKILL.md
  • agents/openai.yaml
  • references/btt-examples.md
  • references/cheat-codes.md
  • references/gas-benchmarking.md
  • references/invariant-patterns.md
  • references/sablier-conventions.md
  • references/test-infrastructure.md

Open the folder on GitHubat commit f317dc2

Compare with similar skills

Foundry Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Foundry Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Foundry Testing this skillsablier-labs/evm-monorepo353—~2.9kAutomated safety check: PassCustom licence
Web3 Testingwshobson/agents40k12 repos~2kAutomated safety check: PassMIT
Fizz Convertpashov/skills1.2k2 repos~3.7kAutomated safety check: PassMIT
Feynman Auditor0xiehnnkta/nemesis-auditor2431 repos~11kAutomated safety check: PassMIT
Smart Contract Auditgreatpie/smart-contract-audit-skill101—~1.1kAutomated safety check: PassNone
RadarAuditware/radar154—~2.1kAutomated safety check: PassGPL-3.0

Similar skills

  • Web3 Testing

    wshobson/agents

    Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking.

    40k GitHub starsUsed in 12 repos~2k tokens
    Testing & QAAuto-check passed
  • Fizz Convert

    pashov/skills

    Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing fuzz harness, then flip their checkboxes.

    1.2k GitHub starsUsed in 2 repos~3.7k tokens
    Backend & APIsAuto-check passed
  • Feynman Auditor

    0xiehnnkta/nemesis-auditor

    Deep business logic bug finder using the Feynman technique. An agent skill from 0xiehnnkta/nemesis-auditor.

    243 GitHub starsUsed in 1 repo~11k tokens
    Backend & APIsAuto-check passed
  • Smart Contract Audit

    greatpie/smart-contract-audit-skill

    Script-backed, out-of-box auditing workflow for Solidity/EVM repositories based on EVMbench detect/patch/exploit methodology.

    101 GitHub stars~1.1k tokensUpdated 7 mo ago
    Backend & APIsAuto-check passed
  • Radar

    Auditware/radar

    Use radar for smart contract security analysis, AST generation, and detection template development.

    154 GitHub stars~2.1k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Solidity Auditor

    Gabson0x/bountyforge

    Security audit of Solidity code while you develop. An agent skill from Gabson0x/bountyforge.

    443 GitHub stars~3.7k tokensUpdated 21 days ago
    Backend & APIsAuto-check passed

More from sablier-labs/evm-monorepo

  • Protocol Deployment

    sablier-labs/evm-monorepo

    Deploy Sablier protocols to a new EVM chain. An agent skill from sablier-labs/evm-monorepo.

    353 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes
  • Explorer Contract Verification

    sablier-labs/evm-monorepo

    Verify smart contracts on Etherscan, Routescan, and Blockscout block explorers.

    353 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Solidity Coding

    sablier-labs/evm-monorepo

    Write production-quality Solidity contracts. An agent skill from sablier-labs/evm-monorepo.

    353 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Audit

    sablier-labs/evm-monorepo

    Security audit and code review for Solidity smart contracts.

    353 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Handbook

    sablier-labs/evm-monorepo

    Protocol domain knowledge - Lockup (vesting), Flow (streaming), Airdrops (merkle distribution).

    353 GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Foundry Testing

What does Foundry Testing do?

Write Foundry tests, bulloak BTT tree specs, and Solidity scripts. Foundry Testing is an agent skill from sablier-labs/evm-monorepo. Write Foundry tests, bulloak BTT tree specs, and Solidity scripts.

When should I use Foundry Testing?

Foundry Testing fits situations like: phrases - foundry testing; branching Tree Technique; working in tests/; scripts/ directories.

How do I install Foundry Testing in Claude Code?

Run `npx skills add sablier-labs/evm-monorepo --skill foundry-testing -a claude-code`. Or copy the skill folder (.agents/skills/foundry-testing in sablier-labs/evm-monorepo) into .claude/skills/foundry-testing in your project. Claude Code loads it when a task matches its description.

How do I install Foundry Testing in Codex?

Run `npx skills add sablier-labs/evm-monorepo --skill foundry-testing -a codex`. Or copy the skill folder (.agents/skills/foundry-testing in sablier-labs/evm-monorepo) into .agents/skills/foundry-testing in your project. Codex loads it when a task matches its description.

Can I use Foundry Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sablier-labs/evm-monorepo --skill foundry-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/foundry-testing, .gemini/skills/foundry-testing, .github/skills/foundry-testing and .opencode/skills/foundry-testing in your project.

What does Foundry Testing need to run?

Going by SKILL.md and its folder, Foundry Testing needs the command-line tools its instructions call (just and cargo) and credentials named PRIVATE_KEY. Our summary lists: A credential in PRIVATE_KEY.

Does Foundry Testing access the network?

SKILL.md names 2 domains. As links in the text: github.com and getfoundry.sh. This is read from the text; nothing was executed.

Is Foundry Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Foundry Testing use?

Foundry Testing has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Foundry Testing use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.5k tokens, read only when the agent opens those files.

What are the alternatives to Foundry Testing?

Skills that share tags, products or a category with Foundry Testing: Web3 Testing (wshobson/agents, 40k stars), Fizz Convert (pashov/skills, 1.2k stars), Feynman Auditor (0xiehnnkta/nemesis-auditor, 243 stars) and Smart Contract Audit (greatpie/smart-contract-audit-skill, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Foundry Testing?

sablier-labs (a GitHub organization) maintains it in sablier-labs/evm-monorepo, which has 353 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: sablier-labs/evm-monorepo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.