Defi transaction builder
Skill auralshin/agent-skills/skills/defi-transaction-builder
Use this skill to build and sanity-check unsigned DeFi transaction payloads (to/data/value/chain) for swaps, lending, staking, and bridging.From its SKILL.md
npx -y skills add auralshin/agent-skills --skill defi-transaction-builderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, 381 tokens by cl100k_base, as published. Nobody here has run it
DeFi Transaction Builder
Purpose
Prepare transaction plans and calldata for user review. This skill is strictly for unsigned payload generation and validation.
Use this skill when
- The user wants transaction parameters for swaps, supply/borrow, staking, claiming, or bridging.
- The user requests calldata formatting or simulation-ready bundles.
Never do
- Never ask for private keys, seed phrases, or wallet exports.
- Never sign or broadcast transactions.
- Never omit warnings for network, slippage, or allowance risk.
Workflow
- Confirm intent and constraints:
- Chain/network
- Token amounts and units
- Slippage and deadline
- Build the unsigned transaction payload(s).
- Validate shape and safety checks using
scripts/validate_tx_bundle.py. - Output a simulation-first transaction plan with human-readable checks.
Required output format
{
"intent": "string",
"network": {
"chain_id": 0,
"name": "string"
},
"transactions": [
{
"description": "string",
"to": "0x...",
"function_signature": "string",
"calldata": "0x...",
"value_wei": "0",
"recommended_gas_limit": 0,
"preconditions": ["string"],
"postconditions": ["string"]
}
],
"simulation_recommendation": "string",
"critical_warnings": ["string"]
}
Bundled resources
references/pre-sign-checklist.md: Mandatory pre-sign review checks.references/common-patterns.md: Common DeFi call patterns and pitfalls.scripts/validate_tx_bundle.py: Local validator for transaction-plan JSON.assets/tx-plan-template.json: Starter template for consistent output.
What ships with it: 4 files
4.0 KB alongside SKILL.md, 1 of them executable
assets/
references/
- common-patterns.md596 B
- pre-sign-checklist.md627 B
scripts/
- validate_tx_bundle.pyruns2.0 KB