token-integration-analyzer — Claude Code skill
Checks ERC20 and ERC721 implementations plus code that integrates external tokens. Use it before accepting tokens with non-standard transfer or approval behaviour.
npx skills add trailofbits/skills --skill token-integration-analyzer -a claude-codeWhat token-integration-analyzer does
This skill reviews ERC20 or ERC721 implementations and protocol code that interacts with external tokens. It checks standards conformance, contract composition and owner powers, then looks for more than 20 unusual token behaviours such as transfer fees, rebasing, blocklists and missing return values.
For Solidity projects, it can guide runs of slither-check-erc, slither --print human-summary, slither --print contract-summary and slither-prop. With a deployed contract address, it also examines supply, holder distribution, exchange listings and on-chain configuration. That makes Slither command availability worth checking in your environment.
What it helps with
- check ERC20 conformance
- detect transfer fees and rebasing
- assess contract owner powers
- find handling of missing return values
- inspect token supply and holder distribution
Example prompts for the agent
- Review the ERC20 implementation in `contracts/Token.sol` for non-standard behaviour.
- Assess how this protocol handles tokens that charge transfer fees.
- Check the contract address I provide for blocklists and owner powers.
How to install token-integration-analyzer
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill token-integration-analyzer -a claude-code2Manually: put the files in place
~/.claude/skills/token-integration-analyzer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/token-integration-analyzer/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill token-integration-analyzer -a codex2Manually: put the files in place
.agents/skills/token-integration-analyzer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill token-integration-analyzer -a cursor2Manually: put the files in place
.cursor/skills/token-integration-analyzer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills token-integration-analyzer2Manually: put the files in place
.github/skills/token-integration-analyzer/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill token-integration-analyzer -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/building-secure-contracts/skills/token-integration-analyzerManually: put the files in place
.devin/skills/token-integration-analyzer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill token-integration-analyzer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set35
The whole set →Similar
Questions about token-integration-analyzer
How do I install token-integration-analyzer in Claude Code?
Run npx skills add trailofbits/skills --skill token-integration-analyzer -a claude-code, then run npx skills add trailofbits/skills --skill token-integration-analyzer -a claude-code again. The skill file is at ~/.claude/skills/token-integration-analyzer/SKILL.md.
What does token-integration-analyzer do?
It reviews ERC20 and ERC721 implementations, external token integrations, owner powers and known unusual token patterns. For deployed contracts, it can also examine on-chain data.
When is a contract address needed?
A contract address enables the on-chain portion of the review, including supply, holder distribution, exchange listings and contract configuration.