Skill / SKILL.md

Recover Eco Funds

circlefin/skills

Recover USDC from a legacy Circle CLI Gateway `--method eco` deposit whose fixed refund recipient is the SCA's backing EOA. Use this skill for legacy Eco intents that are stuck, expired, waiting for refund, refunded to `eoaOwnerAddress`, missing from Gateway, or need a permissionless self-refund. Do not use its executable recovery phases for current Gateway v2 deposits, which set `refundRecipient` to the SCA. It covers calling Eco's Portal `refund(...)` with exact onchain intent data, then moving refunded USDC from the backing EOA to the linked SCA with ERC-3009, relayed by the SCA so the backing EOA needs no gas. The backing-EOA sweep also applies when USDC was sent directly to an Agent Wallet's backing EOA and the CLI reports "Wallet not found" for that address.
3 views 171 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Recover USDC from a legacy Circle CLI Gateway `--method eco` deposit whose fixed refund recipient is the SCA's backing EOA. Use this skill for legacy Eco intents that are stuck, expired, waiting for refund, refunded to `eoaOwnerAddress`, missing from Gateway, or need a permissionless self-refund. Do not use its executable recovery phases for current Gateway v2 deposits, which set `refundRecipient` to the SCA. It covers calling Eco's Portal `refund(...)` with exact onchain intent data, then moving refunded USDC from the backing EOA to the linked SCA with ERC-3009, relayed by the SCA so the backing EOA needs no gas. The backing-EOA sweep also applies when USDC was sent directly to an Agent Wallet's backing EOA and the CLI reports "Wallet not found" for that address.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/circlefin/skills' skill-source

Use the complete skill-source/plugins/circle/skills/recover-eco-funds directory with your client’s skill installer.

  • plugins/circle/skills/recover-eco-funds

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/circle/skills/recover-eco-funds

Compatibility & requirements

Declared tools

['Read', 'Bash(mkdir -p ./eco-recovery-evidence)', 'Bash(circle --version)', 'Bash(circle wallet status --output json)', 'Bash(circle gateway deposit --help)', 'Bash(circle wallet execute --help)', 'Bash(circle contract query --help)', 'Bash(circle wallet list --chain * --type agent --output json)', 'Bash(circle wallet balance --address * --chain * --output json)', 'Bash(circle gateway balance --address * --chain * --output json)', 'Bash(circle transaction list --address * --chain * --operation transfer --tx-type outbound --state complete --output json)', 'Bash(curl -fsS "https://api.eco.com/circle-gateway/v2/depositAddresses/*")', 'Bash(curl -fsS --request POST --url https://quotes.eco.com/api/v3/intents/intentStatus --header "Content-Type: application/json" --data \'{"intentHash":"*"}\')', 'Bash(curl -fsS --request POST --url https://quotes.eco.com/api/v3/intents/intentStatus --header "Content-Type: application/json" --data \'{"intentCreatedHash":"*"}\')', 'Bash(node */scripts/eco-self-refund.mjs *)', 'Bash(node */scripts/sign-eoa-authorization.mjs *)', 'Bash(npm ci --prefix * --ignore-scripts)', 'Bash(circle transaction list --address * --chain * --operation execute --output json)']

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
9c6937fe4ad79bba64757bf2ad1052b8271de5ee659d43d6fde7417651962a1c
Format validation findings
  • Invalid allowed-tools declaration.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills