agentsclimarketplace

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

Install
npx -y skills add auralshin/agent-skills --skill defi-transaction-builder

Assembled 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

  1. Confirm intent and constraints:
    • Chain/network
    • Token amounts and units
    • Slippage and deadline
  2. Build the unsigned transaction payload(s).
  3. Validate shape and safety checks using scripts/validate_tx_bundle.py.
  4. 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

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.