trustless-work-skill_v2
v1.0.0
Published
Install the Trustless Work escrow skill for your AI coding agent (Claude Code, Cursor, Copilot, and more)
Maintainers
Readme
Trustless Work Skill
Comprehensive Claude Code skill for integrating Trustless Work Escrow-as-a-Service (EaaS).
Overview
Trustless Work is an Escrow-as-a-Service platform built on Stellar (Soroban) for stablecoin escrow. This skill provides complete integration guidance for building non-custodial escrow flows with milestones, approvals, and disputes.
Platform Compatibility
This skill uses the open Agent Skills standard and works with:
- ✅ Claude Code
- ✅ Cursor
- ✅ GitHub Copilot (VS Code)
- ✅ OpenAI Codex CLI
- ✅ Google Gemini CLI
- ✅ Windsurf
- ✅ Cline
- ✅ Roo Code
Installation
The easiest way is via npx — no installation required:
npx trustless-work-skillOr install it globally and run it anywhere:
npm install -g trustless-work-skill
trustless-work-skillThe CLI will ask you which agent you want to install the skill for and copy the files to the right location automatically.
Manual installation
Claude Code:
claude install https://github.com/wmendes/trustless-work-skillOpenAI Codex CLI / Gemini CLI:
cd ~/.agents/skills
git clone https://github.com/wmendes/trustless-work-skillCursor:
cd .cursor/skills
git clone https://github.com/wmendes/trustless-work-skillSkill Structure
After installation for Claude Code the files land at:
~/.claude/commands/
├── trustless-work.md # Slash command → /trustless-work
└── trustless-work/
├── escrow-types.md # Single vs Multi-Release comparison
├── roles-reference.md # Complete role permissions guide
├── lifecycle-guide.md # Detailed lifecycle phases
├── api-reference.md # REST API documentation
├── examples.md # Complete integration examples
└── stellar-guide.md # Stellar network integrationFor other agents the layout follows the Agent Skills standard (all files in one folder).
What This Skill Covers
Core Concepts
- Escrow Types: Single-Release vs Multi-Release
- Roles System: 6 roles (Service Provider, Approver, Release Signer, Dispute Resolver, Receiver, Platform Address)
- Escrow Lifecycle: Initiation → Funding → Milestone Updates → Approval → Release → (Dispute Resolution)
- Stellar Integration: Trustlines, wallets, USDC on Stellar
Technical Integration
- REST API: Complete endpoint reference
- React SDK: Hooks and components
- JavaScript/TypeScript Examples: Production-ready code
- Wallet Integration: Freighter and others
Use Cases
- Freelance/gig marketplaces
- DAO grant programs
- Security deposits (rentals, bookings)
- Crowdfunding platforms
- E-commerce escrow
- B2B payment automation
Using This Skill
Invoke with Claude Code
# General help
/trustless-work
# Specific use case
/trustless-work create a freelance marketplace escrow
# With escrow type
/trustless-work single-release
/trustless-work multi-releaseWhen Claude Uses This Skill
Claude will automatically use this skill when you:
- Ask about implementing escrow flows
- Mention marketplace payments, milestones, or disputes
- Want to integrate stablecoin payments with approval logic
- Need non-custodial payment infrastructure
- Ask about Trustless Work specifically
Quick Reference
Key Resources
- API Docs: https://dev.api.trustlesswork.com/docs
- Backoffice dApp: https://dapp.trustlesswork.com
- Demo dApp: https://demo.trustlesswork.com
- Escrow Viewer: https://viewer.trustlesswork.com
- GitHub: https://github.com/Trustless-Work
USDC on Stellar
Issuer: GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5Fees
- Protocol Fee: 0.3% (automatic)
- Platform Fee: Configurable (you set it)
Networks
- Testnet API: https://dev.api.trustlesswork.com
- Mainnet API: https://api.trustlesswork.com
Supporting Files
1. escrow-types.md
Complete comparison of Single-Release vs Multi-Release escrows:
- Structure differences
- Use case recommendations
- JSON examples
- Decision guide
2. roles-reference.md
Full role permissions and interaction patterns:
- What each role can do
- Common role assignment patterns
- Multi-role addresses
- Security considerations
3. lifecycle-guide.md
Step-by-step guide through all lifecycle phases:
- Initiation (define schema)
- Funding (lock assets)
- Milestone Updates (mark progress)
- Approval (validate work)
- Release (execute payout)
- Dispute Resolution (handle conflicts)
4. api-reference.md
Complete REST API documentation:
- All endpoints with examples
- Authentication
- Request/response formats
- Error codes
- Rate limits
- SDK usage
5. examples.md
Production-ready code examples:
- Freelance marketplace
- DAO grant program
- Security deposit (rental)
- Crowdfunding platform
- E-commerce escrow
- React components
6. stellar-guide.md
Stellar network integration guide:
- Why Stellar for escrow
- Trustline management
- Wallet integration (Freighter)
- Sending USDC
- Testing on Testnet
- Security best practices
Example Queries
Creating escrows:
- "How do I create a single-release escrow for a freelance job?"
- "Help me build a multi-release escrow for a grant program"
- "What's the difference between single and multi-release?"
Understanding roles:
- "What can each role do in an escrow?"
- "How should I assign roles for a marketplace?"
- "Can one address have multiple roles?"
Lifecycle management:
- "Walk me through the complete escrow lifecycle"
- "How does milestone approval work?"
- "What happens during dispute resolution?"
API integration:
- "Show me how to fund an escrow with the API"
- "How do I update milestone status?"
- "Give me a complete freelance escrow example"
Stellar/USDC:
- "How do trustlines work on Stellar?"
- "How do I set up USDC for my users?"
- "What wallets work with Trustless Work?"
Testing
Always test on Testnet first:
- Create testnet account via https://friendbot.stellar.org
- Add USDC trustline
- Get testnet USDC
- Create test escrow on dev.api.trustlesswork.com
- Walk through full lifecycle
- Verify on https://viewer.trustlesswork.com
Security Notes
- All role addresses must have the trustline enabled
- Never commit private keys to Git
- Use hardware wallets for platform accounts
- Test with small amounts on Mainnet first
- Set up multi-signature for critical roles
License & Attribution
This skill is based on the official Trustless Work documentation.
For the most up-to-date information, always refer to:
- Documentation: Read the PDF in project root
- Swagger API: https://dev.api.trustlesswork.com/docs
- GitHub: https://github.com/Trustless-Work
Support
For Trustless Work support:
- GitHub Issues: https://github.com/Trustless-Work
- Documentation: Full PDF in project root
- Contact: Visit https://trustlesswork.com
Updates
This skill was created on 2026-03-11 based on Trustless Work documentation version English.
Check the original PDF for the latest updates and features.
