Overview
defi-protocol-templates is an open-source workflow skill for Claude Code and compatible agents, published by wshobson. Its author describes it as: “Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or smart contract protocols.”. The project has 39k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add wshobson/agents`.
What defi-protocol-templates does
Production-ready templates for common DeFi protocols including staking, AMMs, governance, and flash loans.
What’s inside
The SKILL.md for defi-protocol-templates is organised into these sections:
- When to Use This Skill
- Staking Contract
- AMM (Automated Market Maker)
- Additional patterns and templates
Installation
Add defi-protocol-templates to your agent with:
/plugin marketplace add wshobson/agents Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
- Codex — declared in the repository topics
- Cursor — declared in the repository topics
- OpenCode — declared in the repository topics
- GitHub Copilot — declared in the repository topics
- Antigravity — declared in the repository topics
License
defi-protocol-templates is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in wshobson/agents, an established project with 39,066 GitHub stars
- Works with Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Antigravity
- Actively maintained — repository updated in the last 90 days
- Its repository gained 669 GitHub stars over the last 24 days
Author
Topics
Frequently asked questions
- What does defi-protocol-templates do?
- Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or smart contract protocols.
- How do I install defi-protocol-templates?
- Run /plugin marketplace add wshobson/agents in your agent, then reload your skills. Review the source at https://github.com/wshobson/agents before installing.
- Is defi-protocol-templates free to use?
- Yes. defi-protocol-templates is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does defi-protocol-templates work with?
- defi-protocol-templates lists Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Antigravity — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does defi-protocol-templates come from?
- defi-protocol-templates ships inside wshobson/agents, a repository that contains 54 catalogued skills in total. The repository's 39,066 GitHub stars apply to that whole collection, not to this skill on its own.