[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78SKJ9GYAVVTMK5J02ZEXV4":3,"skill-same:01M78SKJ9GYAVVTMK5J02ZEXV4":181},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":78,"commitSha":79,"skillDirectory":80,"forksCount":13,"repositoryHtmlUrl":81,"repositoryHomepageUrl":6,"ownerHtmlUrl":82,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":83,"install":84,"resources":96},"01M78SKJ9GYAVVTMK5J02ZEXV4","torch-liquidation-bot",null,"Autonomous vault-based liquidation keeper for Torch Market lending on Solana. Scans all migrated tokens for underwater loan positions (LTV > 65%), builds and executes liquidation transactions through a Torch Vault, and collects a 10% collateral bonus. The agent keypair is generated in-process -- disposable, holds nothing of value. All SOL and collateral tokens route through the vault. The human principal creates the vault, funds it, links the agent, and retains full control. Built on torchsdk v3.2.3 and the Torch Market protocol.","meghal86\u002Fstacksignal","meghal86","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37388715?v=4","01M6CS2EW8SK89GH52R2ZEN8QQ","01M728J5CGY456EETEFG6HJBTM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: torch-liquidation-bot\nversion: \"3.0.2\"\ndescription: Autonomous vault-based liquidation keeper for Torch Market lending on Solana. Scans all migrated tokens for underwater loan positions (LTV > 65%), builds and executes liquidation transactions through a Torch Vault, and collects a 10% collateral bonus. The agent keypair is generated in-process -- disposable, holds nothing of value. All SOL and collateral tokens route through the vault. The human principal creates the vault, funds it, links the agent, and retains full control. Built on torchsdk v3.2.3 and the Torch Market protocol.\nlicense: MIT\ndisable-model-invocation: true\nrequires:\n  env:\n    - SOLANA_RPC_URL\n    - VAULT_CREATOR\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - SOLANA_RPC_URL\n        - VAULT_CREATOR\n    primaryEnv: SOLANA_RPC_URL\n    install:\n      - id: npm-torch-liquidation-bot\n        kind: npm\n        package: torch-liquidation-bot@^3.0.2\n        flags: []\n        label: \"Install Torch Liquidation Bot (npm, optional -- SDK is bundled in lib\u002Ftorchsdk\u002F and bot source is bundled under lib\u002Fkit on clawhub)\"\n  author: torch-market\n  version: \"3.0.2\"\n  clawhub: https:\u002F\u002Fclawhub.ai\u002Fmrsirg97-rgb\u002Ftorch-liquidation-bot\n  kit-source: https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit\n  website: https:\u002F\u002Ftorch.market\n  program-id: 8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT\n  keywords:\n    - solana\n    - defi\n    - liquidation\n    - liquidation-bot\n    - liquidation-keeper\n    - collateral-lending\n    - vault-custody\n    - ai-agents\n    - agent-wallet\n    - agent-safety\n    - treasury-lending\n    - bonding-curve\n    - fair-launch\n    - token-2022\n    - raydium\n    - community-treasury\n    - protocol-rewards\n    - solana-agent-kit\n    - escrow\n    - anchor\n    - pda\n    - on-chain\n    - autonomous-agent\n    - keeper-bot\n    - torch-market\n  categories:\n    - solana-protocols\n    - defi-primitives\n    - lending-markets\n    - agent-infrastructure\n    - custody-solutions\n    - liquidation-keepers\ncompatibility: Requires SOLANA_RPC_URL (HTTPS Solana RPC endpoint) and VAULT_CREATOR (vault creator pubkey) as environment variables. SOLANA_PRIVATE_KEY is optional -- the bot generates a fresh disposable keypair in-process if not provided. The agent wallet holds nothing of value (~0.01 SOL for gas). All liquidation proceeds (collateral tokens) route to the vault. The vault can be created and funded entirely by the human principal. The Torch SDK is bundled in lib\u002Ftorchsdk\u002F -- all source included for full auditability. No API server dependency.\n---\n\n# Torch Liquidation Bot\n\nYou're here because you want to run a liquidation keeper on Torch Market -- and you want to do it safely.\n\nEvery migrated token on Torch has a built-in lending market. Holders lock tokens as collateral and borrow SOL from the community treasury (up to 50% LTV, 2% weekly interest). When a loan's LTV crosses 65%, it becomes liquidatable. Anyone can liquidate it and collect a **10% bonus** on the collateral value.\n\nThat's where this bot comes in.\n\nIt scans every migrated token's lending market, checks every borrower's loan position, and when it finds one that's underwater -- it liquidates it through your vault. The collateral tokens go to your vault ATA. The SOL cost comes from your vault. The agent wallet that signs the transaction holds nothing.\n\n**This is not a read-only scanner.** This is a fully operational keeper that generates its own keypair, verifies vault linkage, and executes liquidation transactions autonomously in a continuous loop.\n\n---\n\n## How It Works\n\n```\n┌─────────────────────────────────────────────────────────┐\n│                  LIQUIDATION LOOP                         │\n│                                                          │\n│  1. Discover migrated tokens (getTokens)                 │\n│  2. For each token, check lending state (getLendingInfo)  │\n│  3. Skip tokens with no active loans                     │\n│  4. Get token holders (getHolders)                       │\n│  5. For each holder, check loan position (getLoanPosition)│\n│  6. If health === 'liquidatable':                        │\n│     → buildLiquidateTransaction(vault=creator)           │\n│     → sign with agent keypair                            │\n│     → submit and confirm                                 │\n│  7. Sleep SCAN_INTERVAL_MS, repeat                       │\n│                                                          │\n│  All SOL comes from vault. All collateral goes to vault. │\n│  Agent wallet holds nothing. Vault is the boundary.      │\n└─────────────────────────────────────────────────────────┘\n```\n\n### The Agent Keypair\n\nThe bot generates a fresh `Keypair` in-process on every startup. No private key file. No environment variable (unless you want to provide one). The keypair is disposable -- it signs transactions but holds nothing of value.\n\nOn first run, the bot checks if this keypair is linked to your vault. If not, it prints the exact SDK call you need to link it:\n\n```\n--- ACTION REQUIRED ---\nagent wallet is NOT linked to the vault.\nlink it by running (from your authority wallet):\n\n  buildLinkWalletTransaction(connection, {\n    authority: \"\u003Cyour-authority-pubkey>\",\n    vault_creator: \"\u003Cyour-vault-creator>\",\n    wallet_to_link: \"\u003Cagent-pubkey>\"\n  })\n\nthen restart the bot.\n-----------------------\n```\n\nLink it from your authority wallet (hardware wallet, multisig, whatever you use). The agent never needs the authority's key. The authority never needs the agent's key. They share a vault, not keys.\n\n### The Vault\n\nThis is the same Torch Vault from the full Torch Market protocol. It holds all assets -- SOL and tokens. The agent is a disposable controller.\n\nWhen the bot liquidates a position:\n- **SOL cost** comes from the vault (the liquidation payment to cover the borrower's debt)\n- **Collateral tokens** go to the vault's associated token account (ATA)\n- **10% bonus** means the collateral received is worth 10% more than the SOL spent\n\nThe human principal retains full control:\n- `withdrawVault()` — pull SOL at any time\n- `withdrawTokens(mint)` — pull collateral tokens at any time\n- `unlinkWallet(agent)` — revoke agent access instantly\n\nIf the agent keypair is compromised, the attacker gets dust and vault access that you revoke in one transaction.\n\n---\n\n## Getting Started\n\n### 1. Install\n\n```bash\nnpm install torch-liquidation-bot@3.0.2\n```\n\nOr use the bundled source from ClawHub — the Torch SDK is included in `lib\u002Ftorchsdk\u002F` and the bot source is in `lib\u002Fkit\u002F`.\n\n### 2. Create and Fund a Vault (Human Principal)\n\nFrom your authority wallet:\n\n```typescript\nimport { Connection } from \"@solana\u002Fweb3.js\";\nimport {\n  buildCreateVaultTransaction,\n  buildDepositVaultTransaction,\n} from \".\u002Flib\u002Ftorchsdk\u002Findex.js\";\n\nconst connection = new Connection(process.env.SOLANA_RPC_URL);\n\n\u002F\u002F Create vault\nconst { transaction: createTx } = await buildCreateVaultTransaction(connection, {\n  creator: authorityPubkey,\n});\n\u002F\u002F sign and submit with authority wallet...\n\n\u002F\u002F Fund vault with SOL for liquidations\nconst { transaction: depositTx } = await buildDepositVaultTransaction(connection, {\n  depositor: authorityPubkey,\n  vault_creator: authorityPubkey,\n  amount_sol: 5_000_000_000, \u002F\u002F 5 SOL\n});\n\u002F\u002F sign and submit with authority wallet...\n```\n\n### 3. Run the Bot\n\n```bash\nVAULT_CREATOR=\u003Cyour-vault-creator-pubkey> SOLANA_RPC_URL=\u003Crpc-url> npx torch-liquidation-bot\n```\n\nOn first run, the bot prints the agent keypair and instructions to link it. Link it from your authority wallet, then restart.\n\n### 4. Configuration\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `SOLANA_RPC_URL` | **Yes** | -- | Solana RPC endpoint (HTTPS). Fallback: `RPC_URL` |\n| `VAULT_CREATOR` | **Yes** | -- | Vault creator pubkey |\n| `SOLANA_PRIVATE_KEY` | No | -- | Disposable controller keypair (base58 or JSON byte array). If omitted, generates fresh keypair on startup (recommended) |\n| `SCAN_INTERVAL_MS` | No | `30000` | Milliseconds between scan cycles (min 5000) |\n| `LOG_LEVEL` | No | `info` | `debug`, `info`, `warn`, `error` |\n\n---\n\n## Architecture\n\n```\npackages\u002Fbot\u002Fsrc\u002F\n├── index.ts    — entry point: keypair generation, vault verification, scan loop\n├── config.ts   — loadConfig(): validates SOLANA_RPC_URL, VAULT_CREATOR, SOLANA_PRIVATE_KEY, SCAN_INTERVAL_MS, LOG_LEVEL\n├── types.ts    — BotConfig, LogLevel interfaces\n└── utils.ts    — sol(), bpsToPercent(), createLogger()\n```\n\nThe bot is ~190 lines of TypeScript. It does one thing: find underwater loans and liquidate them through the vault.\n\n### Dependencies\n\n| Package | Version | Purpose |\n|---------|---------|---------|\n| `@solana\u002Fweb3.js` | 1.98.4 | Solana RPC, keypair, transaction |\n| `torchsdk` | 3.2.3 | Token queries, lending state, liquidation builder, vault queries |\n\nTwo runtime dependencies. Both pinned to exact versions. No `^` or `~` ranges.\n\n---\n\n## Vault Safety Model\n\nThe same seven guarantees from the Torch Market vault apply here:\n\n| Property | Guarantee |\n|----------|-----------|\n| **Full custody** | Vault holds all SOL and all collateral tokens. Agent wallet holds nothing. |\n| **Closed loop** | Liquidation SOL comes from vault, collateral tokens go to vault. No leakage to agent. |\n| **Authority separation** | Creator (immutable PDA seed) vs Authority (transferable admin) vs Controller (disposable signer). |\n| **One link per wallet** | Agent can only belong to one vault. PDA uniqueness enforces this on-chain. |\n| **Permissionless deposits** | Anyone can top up the vault. Hardware wallet deposits, agent liquidates. |\n| **Instant revocation** | Authority can unlink the agent at any time. One transaction. |\n| **Authority-only withdrawals** | Only the vault authority can withdraw SOL or tokens. The agent cannot extract value. |\n\n### The Closed Economic Loop for Liquidations\n\n| Direction | Flow |\n|-----------|------|\n| **SOL out** | Vault → Borrower's treasury debt (covers the loan) |\n| **Tokens in** | Borrower's collateral → Vault ATA (at 10% discount) |\n| **Net** | Vault receives collateral worth 110% of SOL spent |\n\nThe bot is profitable by design — every successful liquidation returns more value than it costs. The profit accumulates in the vault. The authority withdraws when ready.\n\n---\n\n## Lending Parameters\n\n| Parameter | Value |\n|-----------|-------|\n| Max LTV | 50% |\n| Liquidation Threshold | 65% |\n| Interest Rate | 2% per epoch (~weekly) |\n| Liquidation Bonus | 10% |\n| Utilization Cap | 50% of treasury |\n| Min Borrow | 0.1 SOL |\n\nCollateral value is calculated from Raydium pool reserves. The 1% Token-2022 transfer fee applies on collateral deposits and withdrawals (~2% round-trip).\n\n### When Liquidations Happen\n\nA loan becomes liquidatable when its LTV exceeds 65%. This happens when:\n- The token price drops (collateral value decreases relative to debt)\n- Interest accrues (debt grows at 2% per epoch)\n- A combination of both\n\nThe bot checks `position.health === 'liquidatable'` — the SDK calculates LTV from on-chain Raydium reserves and the loan's accrued debt.\n\n---\n\n## SDK Functions Used\n\nThe bot uses a focused subset of the Torch SDK:\n\n| Function | Purpose |\n|----------|---------|\n| `getTokens(connection, { status: 'migrated' })` | Discover all tokens with active lending markets |\n| `getLendingInfo(connection, mint)` | Check if a token has active loans |\n| `getHolders(connection, mint)` | Get token holders (potential borrowers) |\n| `getLoanPosition(connection, mint, wallet)` | Check a holder's loan health |\n| `getVault(connection, creator)` | Verify vault exists on startup |\n| `getVaultForWallet(connection, wallet)` | Verify agent is linked to vault |\n| `buildLiquidateTransaction(connection, params)` | Build the liquidation transaction (vault-routed) |\n| `confirmTransaction(connection, sig, wallet)` | Confirm transaction on-chain via RPC (verifies signer, checks Torch instructions) |\n\n### buildLiquidateTransaction Parameters\n\n```typescript\nconst { transaction, message } = await buildLiquidateTransaction(connection, {\n  mint: token.mint,           \u002F\u002F token with the underwater loan\n  liquidator: agentPubkey,    \u002F\u002F agent wallet (signer)\n  borrower: holderAddress,    \u002F\u002F borrower being liquidated\n  vault: vaultCreator,        \u002F\u002F vault creator pubkey (SOL from vault, tokens to vault)\n});\n```\n\n---\n\n## Log Output\n\n```\n=== torch liquidation bot ===\nagent wallet: 7xK9...\nvault creator: 4yN2...\nscan interval: 30000ms\n\n[09:15:32] INFO  vault found — authority=8cpW...\n[09:15:32] INFO  agent wallet linked to vault — starting scan loop\n[09:15:32] INFO  treasury: 5.0000 SOL\n[09:15:33] INFO  LIQUIDATABLE | SDKTEST | borrower=3AyZ... | LTV=72.50% > threshold=65.00% | owed=0.5000 SOL\n[09:15:34] INFO  LIQUIDATED | SDKTEST | borrower=3AyZ... | sig=4vK9... | collateral received at 10% discount\n```\n\n---\n\n## Signing & Key Safety\n\n**The vault is the security boundary, not the key.**\n\nThe agent keypair is generated fresh on every startup with `Keypair.generate()`. It holds ~0.01 SOL for gas fees. If the key is compromised, the attacker gets:\n- Dust (the gas SOL)\n- Vault access that the authority revokes in one transaction\n\nThe agent never needs the authority's private key. The authority never needs the agent's private key. They share a vault, not keys.\n\n### Rules\n\n1. **Never ask a user for their private key or seed phrase.** The vault authority signs from their own device.\n2. **Never log, print, store, or transmit private key material.** The agent keypair exists only in runtime memory.\n3. **Never embed keys in source code or logs.** The agent pubkey is printed — the secret key is never exposed.\n4. **Use a secure RPC endpoint.** Default to a private RPC provider. Never use an unencrypted HTTP endpoint for mainnet transactions.\n\n### Environment Variables\n\n| Variable | Required | Purpose |\n|----------|----------|---------|\n| `SOLANA_RPC_URL` \u002F `RPC_URL` | **Yes** | Solana RPC endpoint (HTTPS) |\n| `VAULT_CREATOR` | **Yes** | Vault creator pubkey — identifies which vault the bot operates through |\n| `SOLANA_PRIVATE_KEY` | No | Optional — if omitted, the bot generates a fresh keypair on startup (recommended) |\n\n### External Runtime Dependencies\n\nThe SDK contains functions that make outbound HTTPS requests to external services. The bot's runtime path contacts **two** of them:\n\n| Service | Purpose | When Called | Bot Uses? |\n|---------|---------|------------|-----------|\n| **CoinGecko** (`api.coingecko.com`) | SOL\u002FUSD price for display | Token queries with USD pricing | Yes — via `getTokens()`, `getToken()` |\n| **Irys Gateway** (`gateway.irys.xyz`) | Token metadata fallback (name, symbol, image) | `getToken()` when on-chain metadata URI points to Irys | Yes — via `getTokens()` |\n| **SAID Protocol** (`api.saidprotocol.com`) | Agent identity verification and trust tier lookup | `verifySaid()` only | **No** — the bot does not call `verifySaid()` |\n\n**`confirmTransaction()` does NOT contact SAID.** Despite living in the SDK's `said.js` module, it only calls `connection.getParsedTransaction()` (Solana RPC) to verify the transaction succeeded on-chain and determine the event type. No data is sent to any external service.\n\nNo credentials are sent to CoinGecko or Irys. All requests are read-only GET. If either service is unreachable, the SDK degrades gracefully. No private key material is ever transmitted to any external endpoint.\n\n---\n\n## Testing\n\nRequires [Surfpool](https:\u002F\u002Fgithub.com\u002Fnicholasgasior\u002Fsurfpool) running a mainnet fork:\n\n```bash\nsurfpool start --network mainnet --no-tui\npnpm test\n```\n\n**Test result:** 7 passed, 1 informational (Surfpool RPC limitation on `getTokenLargestAccounts` — works on mainnet).\n\n| Test | What It Validates |\n|------|-------------------|\n| Connection | RPC reachable |\n| getTokens | Discovers migrated tokens |\n| getLendingInfo | Reads lending state for all tokens |\n| getHolders + getLoanPosition | Checks holder positions |\n| getToken | Token metadata, price, status |\n| getVaultForWallet | Vault link returns null for unlinked wallet |\n| In-process keypair | No external key required |\n\n---\n\n## Error Codes\n\n- `VAULT_NOT_FOUND`: No vault exists for this creator\n- `WALLET_NOT_LINKED`: Agent wallet is not linked to the vault\n- `NOT_LIQUIDATABLE`: Position LTV below liquidation threshold\n- `NO_ACTIVE_LOAN`: No open loan for this wallet\u002Ftoken\n- `INVALID_MINT`: Token not found\n\n---\n\n## Links\n\n- Liquidation Kit (source): [github.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit](https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit)\n- Liquidation Bot (npm): [npmjs.com\u002Fpackage\u002Ftorch-liquidation-bot](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftorch-liquidation-bot)\n- Torch SDK (bundled): `lib\u002Ftorchsdk\u002F` -- included in this skill\n- Torch SDK (source): [github.com\u002Fmrsirg97-rgb\u002Ftorchsdk](https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorchsdk)\n- Torch SDK (npm): [npmjs.com\u002Fpackage\u002Ftorchsdk](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftorchsdk)\n- Torch Market (protocol skill): [clawhub.ai\u002Fmrsirg97-rgb\u002Ftorchmarket](https:\u002F\u002Fclawhub.ai\u002Fmrsirg97-rgb\u002Ftorchmarket)\n- Whitepaper: [torch.market\u002Fwhitepaper.md](https:\u002F\u002Ftorch.market\u002Fwhitepaper.md)\n- Security Audit: [torch.market\u002Faudit.md](https:\u002F\u002Ftorch.market\u002Faudit.md)\n- Website: [torch.market](https:\u002F\u002Ftorch.market)\n- Program ID: `8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT`\n\n---\n\nThis bot exists because Torch lending markets need keepers. When loans go underwater and nobody liquidates them, the treasury takes the loss. Active liquidation keepers protect treasury health and earn a profit doing it. The vault makes it safe — all value stays in the escrow, all risk is bounded, and the human principal keeps the keys.\n","# Torch Liquidation Bot\n\nYou're here because you want to run a liquidation keeper on Torch Market -- and you want to do it safely.\n\nEvery migrated token on Torch has a built-in lending market. Holders lock tokens as collateral and borrow SOL from the community treasury (up to 50% LTV, 2% weekly interest). When a loan's LTV crosses 65%, it becomes liquidatable. Anyone can liquidate it and collect a **10% bonus** on the collateral value.\n\nThat's where this bot comes in.\n\nIt scans every migrated token's lending market, checks every borrower's loan position, and when it finds one that's underwater -- it liquidates it through your vault. The collateral tokens go to your vault ATA. The SOL cost comes from your vault. The agent wallet that signs the transaction holds nothing.\n\n**This is not a read-only scanner.** This is a fully operational keeper that generates its own keypair, verifies vault linkage, and executes liquidation transactions autonomously in a continuous loop.\n\n---\n\n## How It Works\n\n```\n┌─────────────────────────────────────────────────────────┐\n│                  LIQUIDATION LOOP                         │\n│                                                          │\n│  1. Discover migrated tokens (getTokens)                 │\n│  2. For each token, check lending state (getLendingInfo)  │\n│  3. Skip tokens with no active loans                     │\n│  4. Get token holders (getHolders)                       │\n│  5. For each holder, check loan position (getLoanPosition)│\n│  6. If health === 'liquidatable':                        │\n│     → buildLiquidateTransaction(vault=creator)           │\n│     → sign with agent keypair                            │\n│     → submit and confirm                                 │\n│  7. Sleep SCAN_INTERVAL_MS, repeat                       │\n│                                                          │\n│  All SOL comes from vault. All collateral goes to vault. │\n│  Agent wallet holds nothing. Vault is the boundary.      │\n└─────────────────────────────────────────────────────────┘\n```\n\n### The Agent Keypair\n\nThe bot generates a fresh `Keypair` in-process on every startup. No private key file. No environment variable (unless you want to provide one). The keypair is disposable -- it signs transactions but holds nothing of value.\n\nOn first run, the bot checks if this keypair is linked to your vault. If not, it prints the exact SDK call you need to link it:\n\n```\n--- ACTION REQUIRED ---\nagent wallet is NOT linked to the vault.\nlink it by running (from your authority wallet):\n\n  buildLinkWalletTransaction(connection, {\n    authority: \"\u003Cyour-authority-pubkey>\",\n    vault_creator: \"\u003Cyour-vault-creator>\",\n    wallet_to_link: \"\u003Cagent-pubkey>\"\n  })\n\nthen restart the bot.\n-----------------------\n```\n\nLink it from your authority wallet (hardware wallet, multisig, whatever you use). The agent never needs the authority's key. The authority never needs the agent's key. They share a vault, not keys.\n\n### The Vault\n\nThis is the same Torch Vault from the full Torch Market protocol. It holds all assets -- SOL and tokens. The agent is a disposable controller.\n\nWhen the bot liquidates a position:\n- **SOL cost** comes from the vault (the liquidation payment to cover the borrower's debt)\n- **Collateral tokens** go to the vault's associated token account (ATA)\n- **10% bonus** means the collateral received is worth 10% more than the SOL spent\n\nThe human principal retains full control:\n- `withdrawVault()` — pull SOL at any time\n- `withdrawTokens(mint)` — pull collateral tokens at any time\n- `unlinkWallet(agent)` — revoke agent access instantly\n\nIf the agent keypair is compromised, the attacker gets dust and vault access that you revoke in one transaction.\n\n---\n\n## Getting Started\n\n### 1. Install\n\n```bash\nnpm install torch-liquidation-bot@3.0.2\n```\n\nOr use the bundled source from ClawHub — the Torch SDK is included in `lib\u002Ftorchsdk\u002F` and the bot source is in `lib\u002Fkit\u002F`.\n\n### 2. Create and Fund a Vault (Human Principal)\n\nFrom your authority wallet:\n\n```typescript\nimport { Connection } from \"@solana\u002Fweb3.js\";\nimport {\n  buildCreateVaultTransaction,\n  buildDepositVaultTransaction,\n} from \".\u002Flib\u002Ftorchsdk\u002Findex.js\";\n\nconst connection = new Connection(process.env.SOLANA_RPC_URL);\n\n\u002F\u002F Create vault\nconst { transaction: createTx } = await buildCreateVaultTransaction(connection, {\n  creator: authorityPubkey,\n});\n\u002F\u002F sign and submit with authority wallet...\n\n\u002F\u002F Fund vault with SOL for liquidations\nconst { transaction: depositTx } = await buildDepositVaultTransaction(connection, {\n  depositor: authorityPubkey,\n  vault_creator: authorityPubkey,\n  amount_sol: 5_000_000_000, \u002F\u002F 5 SOL\n});\n\u002F\u002F sign and submit with authority wallet...\n```\n\n### 3. Run the Bot\n\n```bash\nVAULT_CREATOR=\u003Cyour-vault-creator-pubkey> SOLANA_RPC_URL=\u003Crpc-url> npx torch-liquidation-bot\n```\n\nOn first run, the bot prints the agent keypair and instructions to link it. Link it from your authority wallet, then restart.\n\n### 4. Configuration\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `SOLANA_RPC_URL` | **Yes** | -- | Solana RPC endpoint (HTTPS). Fallback: `RPC_URL` |\n| `VAULT_CREATOR` | **Yes** | -- | Vault creator pubkey |\n| `SOLANA_PRIVATE_KEY` | No | -- | Disposable controller keypair (base58 or JSON byte array). If omitted, generates fresh keypair on startup (recommended) |\n| `SCAN_INTERVAL_MS` | No | `30000` | Milliseconds between scan cycles (min 5000) |\n| `LOG_LEVEL` | No | `info` | `debug`, `info`, `warn`, `error` |\n\n---\n\n## Architecture\n\n```\npackages\u002Fbot\u002Fsrc\u002F\n├── index.ts    — entry point: keypair generation, vault verification, scan loop\n├── config.ts   — loadConfig(): validates SOLANA_RPC_URL, VAULT_CREATOR, SOLANA_PRIVATE_KEY, SCAN_INTERVAL_MS, LOG_LEVEL\n├── types.ts    — BotConfig, LogLevel interfaces\n└── utils.ts    — sol(), bpsToPercent(), createLogger()\n```\n\nThe bot is ~190 lines of TypeScript. It does one thing: find underwater loans and liquidate them through the vault.\n\n### Dependencies\n\n| Package | Version | Purpose |\n|---------|---------|---------|\n| `@solana\u002Fweb3.js` | 1.98.4 | Solana RPC, keypair, transaction |\n| `torchsdk` | 3.2.3 | Token queries, lending state, liquidation builder, vault queries |\n\nTwo runtime dependencies. Both pinned to exact versions. No `^` or `~` ranges.\n\n---\n\n## Vault Safety Model\n\nThe same seven guarantees from the Torch Market vault apply here:\n\n| Property | Guarantee |\n|----------|-----------|\n| **Full custody** | Vault holds all SOL and all collateral tokens. Agent wallet holds nothing. |\n| **Closed loop** | Liquidation SOL comes from vault, collateral tokens go to vault. No leakage to agent. |\n| **Authority separation** | Creator (immutable PDA seed) vs Authority (transferable admin) vs Controller (disposable signer). |\n| **One link per wallet** | Agent can only belong to one vault. PDA uniqueness enforces this on-chain. |\n| **Permissionless deposits** | Anyone can top up the vault. Hardware wallet deposits, agent liquidates. |\n| **Instant revocation** | Authority can unlink the agent at any time. One transaction. |\n| **Authority-only withdrawals** | Only the vault authority can withdraw SOL or tokens. The agent cannot extract value. |\n\n### The Closed Economic Loop for Liquidations\n\n| Direction | Flow |\n|-----------|------|\n| **SOL out** | Vault → Borrower's treasury debt (covers the loan) |\n| **Tokens in** | Borrower's collateral → Vault ATA (at 10% discount) |\n| **Net** | Vault receives collateral worth 110% of SOL spent |\n\nThe bot is profitable by design — every successful liquidation returns more value than it costs. The profit accumulates in the vault. The authority withdraws when ready.\n\n---\n\n## Lending Parameters\n\n| Parameter | Value |\n|-----------|-------|\n| Max LTV | 50% |\n| Liquidation Threshold | 65% |\n| Interest Rate | 2% per epoch (~weekly) |\n| Liquidation Bonus | 10% |\n| Utilization Cap | 50% of treasury |\n| Min Borrow | 0.1 SOL |\n\nCollateral value is calculated from Raydium pool reserves. The 1% Token-2022 transfer fee applies on collateral deposits and withdrawals (~2% round-trip).\n\n### When Liquidations Happen\n\nA loan becomes liquidatable when its LTV exceeds 65%. This happens when:\n- The token price drops (collateral value decreases relative to debt)\n- Interest accrues (debt grows at 2% per epoch)\n- A combination of both\n\nThe bot checks `position.health === 'liquidatable'` — the SDK calculates LTV from on-chain Raydium reserves and the loan's accrued debt.\n\n---\n\n## SDK Functions Used\n\nThe bot uses a focused subset of the Torch SDK:\n\n| Function | Purpose |\n|----------|---------|\n| `getTokens(connection, { status: 'migrated' })` | Discover all tokens with active lending markets |\n| `getLendingInfo(connection, mint)` | Check if a token has active loans |\n| `getHolders(connection, mint)` | Get token holders (potential borrowers) |\n| `getLoanPosition(connection, mint, wallet)` | Check a holder's loan health |\n| `getVault(connection, creator)` | Verify vault exists on startup |\n| `getVaultForWallet(connection, wallet)` | Verify agent is linked to vault |\n| `buildLiquidateTransaction(connection, params)` | Build the liquidation transaction (vault-routed) |\n| `confirmTransaction(connection, sig, wallet)` | Confirm transaction on-chain via RPC (verifies signer, checks Torch instructions) |\n\n### buildLiquidateTransaction Parameters\n\n```typescript\nconst { transaction, message } = await buildLiquidateTransaction(connection, {\n  mint: token.mint,           \u002F\u002F token with the underwater loan\n  liquidator: agentPubkey,    \u002F\u002F agent wallet (signer)\n  borrower: holderAddress,    \u002F\u002F borrower being liquidated\n  vault: vaultCreator,        \u002F\u002F vault creator pubkey (SOL from vault, tokens to vault)\n});\n```\n\n---\n\n## Log Output\n\n```\n=== torch liquidation bot ===\nagent wallet: 7xK9...\nvault creator: 4yN2...\nscan interval: 30000ms\n\n[09:15:32] INFO  vault found — authority=8cpW...\n[09:15:32] INFO  agent wallet linked to vault — starting scan loop\n[09:15:32] INFO  treasury: 5.0000 SOL\n[09:15:33] INFO  LIQUIDATABLE | SDKTEST | borrower=3AyZ... | LTV=72.50% > threshold=65.00% | owed=0.5000 SOL\n[09:15:34] INFO  LIQUIDATED | SDKTEST | borrower=3AyZ... | sig=4vK9... | collateral received at 10% discount\n```\n\n---\n\n## Signing & Key Safety\n\n**The vault is the security boundary, not the key.**\n\nThe agent keypair is generated fresh on every startup with `Keypair.generate()`. It holds ~0.01 SOL for gas fees. If the key is compromised, the attacker gets:\n- Dust (the gas SOL)\n- Vault access that the authority revokes in one transaction\n\nThe agent never needs the authority's private key. The authority never needs the agent's private key. They share a vault, not keys.\n\n### Rules\n\n1. **Never ask a user for their private key or seed phrase.** The vault authority signs from their own device.\n2. **Never log, print, store, or transmit private key material.** The agent keypair exists only in runtime memory.\n3. **Never embed keys in source code or logs.** The agent pubkey is printed — the secret key is never exposed.\n4. **Use a secure RPC endpoint.** Default to a private RPC provider. Never use an unencrypted HTTP endpoint for mainnet transactions.\n\n### Environment Variables\n\n| Variable | Required | Purpose |\n|----------|----------|---------|\n| `SOLANA_RPC_URL` \u002F `RPC_URL` | **Yes** | Solana RPC endpoint (HTTPS) |\n| `VAULT_CREATOR` | **Yes** | Vault creator pubkey — identifies which vault the bot operates through |\n| `SOLANA_PRIVATE_KEY` | No | Optional — if omitted, the bot generates a fresh keypair on startup (recommended) |\n\n### External Runtime Dependencies\n\nThe SDK contains functions that make outbound HTTPS requests to external services. The bot's runtime path contacts **two** of them:\n\n| Service | Purpose | When Called | Bot Uses? |\n|---------|---------|------------|-----------|\n| **CoinGecko** (`api.coingecko.com`) | SOL\u002FUSD price for display | Token queries with USD pricing | Yes — via `getTokens()`, `getToken()` |\n| **Irys Gateway** (`gateway.irys.xyz`) | Token metadata fallback (name, symbol, image) | `getToken()` when on-chain metadata URI points to Irys | Yes — via `getTokens()` |\n| **SAID Protocol** (`api.saidprotocol.com`) | Agent identity verification and trust tier lookup | `verifySaid()` only | **No** — the bot does not call `verifySaid()` |\n\n**`confirmTransaction()` does NOT contact SAID.** Despite living in the SDK's `said.js` module, it only calls `connection.getParsedTransaction()` (Solana RPC) to verify the transaction succeeded on-chain and determine the event type. No data is sent to any external service.\n\nNo credentials are sent to CoinGecko or Irys. All requests are read-only GET. If either service is unreachable, the SDK degrades gracefully. No private key material is ever transmitted to any external endpoint.\n\n---\n\n## Testing\n\nRequires [Surfpool](https:\u002F\u002Fgithub.com\u002Fnicholasgasior\u002Fsurfpool) running a mainnet fork:\n\n```bash\nsurfpool start --network mainnet --no-tui\npnpm test\n```\n\n**Test result:** 7 passed, 1 informational (Surfpool RPC limitation on `getTokenLargestAccounts` — works on mainnet).\n\n| Test | What It Validates |\n|------|-------------------|\n| Connection | RPC reachable |\n| getTokens | Discovers migrated tokens |\n| getLendingInfo | Reads lending state for all tokens |\n| getHolders + getLoanPosition | Checks holder positions |\n| getToken | Token metadata, price, status |\n| getVaultForWallet | Vault link returns null for unlinked wallet |\n| In-process keypair | No external key required |\n\n---\n\n## Error Codes\n\n- `VAULT_NOT_FOUND`: No vault exists for this creator\n- `WALLET_NOT_LINKED`: Agent wallet is not linked to the vault\n- `NOT_LIQUIDATABLE`: Position LTV below liquidation threshold\n- `NO_ACTIVE_LOAN`: No open loan for this wallet\u002Ftoken\n- `INVALID_MINT`: Token not found\n\n---\n\n## Links\n\n- Liquidation Kit (source): [github.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit](https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit)\n- Liquidation Bot (npm): [npmjs.com\u002Fpackage\u002Ftorch-liquidation-bot](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftorch-liquidation-bot)\n- Torch SDK (bundled): `lib\u002Ftorchsdk\u002F` -- included in this skill\n- Torch SDK (source): [github.com\u002Fmrsirg97-rgb\u002Ftorchsdk](https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorchsdk)\n- Torch SDK (npm): [npmjs.com\u002Fpackage\u002Ftorchsdk](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftorchsdk)\n- Torch Market (protocol skill): [clawhub.ai\u002Fmrsirg97-rgb\u002Ftorchmarket](https:\u002F\u002Fclawhub.ai\u002Fmrsirg97-rgb\u002Ftorchmarket)\n- Whitepaper: [torch.market\u002Fwhitepaper.md](https:\u002F\u002Ftorch.market\u002Fwhitepaper.md)\n- Security Audit: [torch.market\u002Faudit.md](https:\u002F\u002Ftorch.market\u002Faudit.md)\n- Website: [torch.market](https:\u002F\u002Ftorch.market)\n- Program ID: `8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT`\n\n---\n\nThis bot exists because Torch lending markets need keepers. When loans go underwater and nobody liquidates them, the treasury takes the loss. Active liquidation keepers protect treasury health and earn a profit doing it. The vault makes it safe — all value stays in the escrow, all risk is bounded, and the human principal keeps the keys.\n",{"name":5,"license":14,"version":23,"metadata":24,"requires":74,"description":7,"compatibility":76,"disable-model-invocation":77},"3.0.2",{"author":25,"clawhub":26,"version":23,"website":27,"keywords":28,"openclaw":53,"categories":65,"kit-source":72,"program-id":73},"torch-market","https:\u002F\u002Fclawhub.ai\u002Fmrsirg97-rgb\u002Ftorch-liquidation-bot","https:\u002F\u002Ftorch.market",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,25],"solana","defi","liquidation","liquidation-bot","liquidation-keeper","collateral-lending","vault-custody","ai-agents","agent-wallet","agent-safety","treasury-lending","bonding-curve","fair-launch","token-2022","raydium","community-treasury","protocol-rewards","solana-agent-kit","escrow","anchor","pda","on-chain","autonomous-agent","keeper-bot",{"install":54,"requires":61,"primaryEnv":63},[55],{"id":56,"kind":57,"flags":58,"label":59,"package":60},"npm-torch-liquidation-bot","npm",[],"Install Torch Liquidation Bot (npm, optional -- SDK is bundled in lib\u002Ftorchsdk\u002F and bot source is bundled under lib\u002Fkit on clawhub)","torch-liquidation-bot@^3.0.2",{"env":62},[63,64],"SOLANA_RPC_URL","VAULT_CREATOR",[66,67,68,69,70,71],"solana-protocols","defi-primitives","lending-markets","agent-infrastructure","custody-solutions","liquidation-keepers","https:\u002F\u002Fgithub.com\u002Fmrsirg97-rgb\u002Ftorch-liquidation-kit","8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT",{"env":75},[63,64],"Requires SOLANA_RPC_URL (HTTPS Solana RPC endpoint) and VAULT_CREATOR (vault creator pubkey) as environment variables. SOLANA_PRIVATE_KEY is optional -- the bot generates a fresh disposable keypair in-process if not provided. The agent wallet holds nothing of value (~0.01 SOL for gas). All liquidation proceeds (collateral tokens) route to the vault. The vault can be created and funded entirely by the human principal. The Torch SDK is bundled in lib\u002Ftorchsdk\u002F -- all source included for full auditability. No API server dependency.",true,"main","54afe4b75ed2eb8f0feabb2f5b57dfa4bcbb3c44",".agents\u002Fskills\u002Ftorch-liquidation-bot","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal","https:\u002F\u002Fgithub.com\u002Fmeghal86","2026-05-17 14:11:28",{"source":8,"skillName":5,"commands":85,"prompt":95,"zipAvailable":77},[86,89,92],{"tool":87,"command":88},"npx","npx skills add meghal86\u002Fstacksignal --skill torch-liquidation-bot",{"tool":90,"command":91},"bunx","bunx skills add meghal86\u002Fstacksignal --skill torch-liquidation-bot",{"tool":93,"command":94},"pnpm","pnpm dlx skills add meghal86\u002Fstacksignal --skill torch-liquidation-bot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002FSKILL.md",[97,103,107,111,115,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177],{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"_meta.json","REFERENCE","参考文档",1004,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002F_meta.json",{"path":104,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":105,"sourceHtmlUrl":106},"agent.json",6042,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Fagent.json",{"path":108,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":109,"sourceHtmlUrl":110},"audit.md",16832,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Faudit.md",{"path":112,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":113,"sourceHtmlUrl":114},"design.md",11573,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Fdesign.md",{"path":116,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":119,"sourceHtmlUrl":120},"lib\u002Fkit\u002Fconfig.js","SCRIPT","脚本",1577,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Fkit\u002Fconfig.js",{"path":122,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":123,"sourceHtmlUrl":124},"lib\u002Fkit\u002Findex.js",7654,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Fkit\u002Findex.js",{"path":126,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":127,"sourceHtmlUrl":128},"lib\u002Fkit\u002Ftypes.js",182,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Fkit\u002Ftypes.js",{"path":130,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":131,"sourceHtmlUrl":132},"lib\u002Fkit\u002Futils.js",1693,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Fkit\u002Futils.js",{"path":134,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":135,"sourceHtmlUrl":136},"lib\u002Ftorchsdk\u002Fconstants.js",3664,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fconstants.js",{"path":138,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":139,"sourceHtmlUrl":140},"lib\u002Ftorchsdk\u002Fephemeral.js",1330,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fephemeral.js",{"path":142,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":143,"sourceHtmlUrl":144},"lib\u002Ftorchsdk\u002Fgateway.js",1290,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fgateway.js",{"path":146,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":147,"sourceHtmlUrl":148},"lib\u002Ftorchsdk\u002Findex.js",6822,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Findex.js",{"path":150,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":151,"sourceHtmlUrl":152},"lib\u002Ftorchsdk\u002Fprogram.js",11763,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fprogram.js",{"path":154,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":155,"sourceHtmlUrl":156},"lib\u002Ftorchsdk\u002Fquotes.js",3652,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fquotes.js",{"path":158,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":159,"sourceHtmlUrl":160},"lib\u002Ftorchsdk\u002Fsaid.js",3617,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Fsaid.js",{"path":162,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":163,"sourceHtmlUrl":164},"lib\u002Ftorchsdk\u002Ftokens.js",27788,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Ftokens.js",{"path":166,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":167,"sourceHtmlUrl":168},"lib\u002Ftorchsdk\u002Ftorch_market.json",217226,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Ftorch_market.json",{"path":170,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":171,"sourceHtmlUrl":172},"lib\u002Ftorchsdk\u002Ftransactions.js",47215,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Ftransactions.js",{"path":174,"resourceType":117,"resourceTypeDesc":118,"sizeBytes":175,"sourceHtmlUrl":176},"lib\u002Ftorchsdk\u002Ftypes.js",144,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Flib\u002Ftorchsdk\u002Ftypes.js",{"path":178,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":179,"sourceHtmlUrl":180},"whitepaper.md",6947,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftorch-liquidation-bot\u002Fwhitepaper.md",[182,190,198,206,214,221],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":186,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":18},"01M78XH0FRP65NYEDHF2BT7NB1","zvukogram","Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FSKILL.md",[],[],{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":194,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":18},"01M78XEND5ASXYB6MN8AQQGJAF","zohomail","Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels.\nUse this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FSKILL.md",[],[],{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":202,"sourceHtmlUrl":203,"categories":204,"keywords":205,"publishedAt":18},"01M78XEBBV3C6DRZFAJXP6RDKS","zoho-recruit","Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows.\nUse this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FSKILL.md",[],[],{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":210,"sourceHtmlUrl":211,"categories":212,"keywords":213,"publishedAt":18},"01M78XE5CQG75DZWYSKGXFR99T","zoho-people","Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave.\nUse this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FSKILL.md",[],[],{"skillNo":215,"name":216,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":217,"sourceHtmlUrl":218,"categories":219,"keywords":220,"publishedAt":18},"01M78XDZKMZAJYFJJFT7MR5ZN2","zoho-mail","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FSKILL.md",[],[],{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":225,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":18},"01M78XDST8JK0WVDA1F3VPNWXD","zoho-inventory","Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments.\nUse this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FSKILL.md",[],[]]