{"id":"3990d93c-4904-4a21-93b5-99101e593cb4","entityType":"agent","slug":"clawhub-kj-script-colorpool-skills","name":"colorpool skills","canonicalUrl":"https://www.xpersona.co/agent/clawhub-kj-script-colorpool-skills","canonicalPath":"/agent/clawhub-kj-script-colorpool-skills","generatedAt":"2026-10-11T17:43:26.053Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":null},"description":"ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Skill: colorpool skills Owner: kj-script Summary: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Tags: latest:1.0.1 Version history: v1.0.1 | 2026-02-18T14:33:36.627Z | user No changes were detected in this version (1.0.1). - No file changes or updates were made compared to the previous version. v1.0.0 | 2026-02-18T13:22:19.954Z | user ColorPool skill initia","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s170f5pwytkfa8ctkn02pdnkbn885yxy:colorpool-skills","sourceUrl":"https://clawhub.ai/kj-script/colorpool-skills","homepage":"https://clawhub.ai/kj-script/skills/colorpool-skills","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/kj-script/colorpool-skills","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/kj-script/skills/colorpool-skills","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Skill: colorpool skills Owner: kj-script Summary: Col"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":null},"stars":null,"forks":null,"downloads":1040,"packageName":null,"latestVersion":"1.0.1","tractionLabel":"1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T15:25:39.695Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T15:25:39.766Z","lastCrawledAt":"2026-10-11T15:25:39.695Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T15:25:39.695Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.1","createdAt":"2026-02-18T14:33:36.627Z","changelog":"No changes were detected in this version (1.0.1). - No file changes or updates were made compared to the previous version.","fileCount":2,"zipByteSize":6629},{"version":"1.0.0","createdAt":"2026-02-18T13:22:19.954Z","changelog":"ColorPool skill initial release - Enables token swaps, balance queries, trading routes, and cross-account transfers via Chromia's ColorPool DEX. - Provides setup guidance for required Chromia/ClawChain accounts and the funding process. - Requires Chromia CLI and local keypair credentials for secure transaction signing. - Outlines environment variable configuration for Chromia and ClawChain interaction. - Includes detailed registration, operational, and query usage instructions.","fileCount":2,"zipByteSize":6628}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s170f5pwytkfa8ctkn02pdnkbn885yxy:colorpool-skills","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T17:43:26.050Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kj-script-colorpool-skills/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":null},"readme":"Skill: colorpool skills\n\nOwner: kj-script\n\nSummary: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management.\n\nTags: latest:1.0.1\n\nVersion history:\n\nv1.0.1 | 2026-02-18T14:33:36.627Z | user\n\nNo changes were detected in this version (1.0.1).\n\n- No file changes or updates were made compared to the previous version.\n\nv1.0.0 | 2026-02-18T13:22:19.954Z | user\n\nColorPool skill initial release\n\n- Enables token swaps, balance queries, trading routes, and cross-account transfers via Chromia's ColorPool DEX.\n- Provides setup guidance for required Chromia/ClawChain accounts and the funding process.\n- Requires Chromia CLI and local keypair credentials for secure transaction signing.\n- Outlines environment variable configuration for Chromia and ClawChain interaction.\n- Includes detailed registration, operational, and query usage instructions.\n\nArchive index:\n\nArchive v1.0.1: 2 files, 6629 bytes\n\nFiles: skill.md (16722b), _meta.json (135b)\n\nFile v1.0.1:skill.md\n\n---\nname: colorpool\nversion: 3.0.0\ndescription: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management.\nhomepage: https://colorpool.xyz\nenv:\n  - name: COLORPOOL_BRID\n    description: \"Blockchain RID (identifier) for the ColorPool DEX dapp on Chromia.\"\n    default: \"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\n    required: true\n  - name: COLORPOOL_NODE\n    description: \"Chromia node URL for ColorPool API requests.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\n  - name: CLAWCHAIN_BRID\n    description: \"Blockchain RID for ClawChain (used to look up account ID from pubkey).\"\n    default: \"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\n    required: true\n  - name: CLAWCHAIN_NODE\n    description: \"Chromia node URL for ClawChain queries.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\ncredentials:\n  - name: ColorPool Credentials\n    path: \"~/.config/colorpool/credentials.json\"\n    description: \"Chromia keypair (privKey + pubKey in hex) for signing ColorPool transactions. This may be the same keypair as your ClawChain credentials, or a separate one for ColorPool. Used only locally by Chromia CLI for signing — never sent over the network.\"\n    access: read\n  - name: ClawChain Credentials (for account lookup)\n    path: \"~/.config/clawchain/credentials.json\"\n    description: \"Chromia keypair used for looking up your account ID. Created by the clawchain skill. Read-only access — this skill does not modify it.\"\n    access: read\n    optional: true\ndependencies:\n  - name: Chromia CLI (chr)\n    description: \"Command-line interface for interacting with Chromia blockchain. Used for queries, transactions, and account registration.\"\n    install: \"brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git && brew install chromia/core/chr\"\n    docs: \"https://learn.chromia.com/docs/install/cli-installation/\"\n---\n\n# ColorPool DEX\n\nTrade with confidence on Chromia's top liquidity pools, offering high-volume, low-friction transactions designed for serious traders.\n\n## Purpose & Scope\n\nThis skill enables an AI agent to:\n\n- **Swap tokens** on ColorPool (Chromia's DEX) using the Uniswap V2-compatible interface\n- **Query token balances**, pool information, and trading routes\n- **Get swap quotes** with slippage protection before executing trades\n- **Transfer tokens** between accounts (including cross-chain transfers)\n\n### What This Skill Does NOT Do\n\n- It does **not** manage BSC/EVM wallets or external DEX trades. For that, see `bsc_pancakeswap_skill.md` or `impossible_finance_skill.md`.\n- It does **not** manage ClawChain social network operations. For that, see `skill.md` or `curl_skills.md`.\n- It does **not** create or manage ClawChain agent accounts. Registration must be done first via the `clawchain` skill.\n\n### Transparency: Files Accessed\n\n| File | Access | Purpose |\n|------|--------|---------|\n| `~/.config/colorpool/credentials.json` | Read (used for `--secret` flag) | Chromia keypair for signing swap transactions via CLI |\n| `~/.config/clawchain/credentials.json` | Read-only (optional) | Used to look up your account ID from your pubkey |\n\n### Transparency: Network Calls\n\n| Endpoint | Purpose |\n|----------|---------|\n| `$COLORPOOL_NODE` with `$COLORPOOL_BRID` | ColorPool DEX — token queries, swap quotes, and swap execution |\n| `$CLAWCHAIN_NODE` with `$CLAWCHAIN_BRID` | ClawChain — account ID lookup from pubkey (one-time during setup) |\n\n### Prerequisites\n\n- You must have a registered account on ClawChain (see the `clawchain` skill) before registering on ColorPool.\n- Your ColorPool account must be funded with USDC before registration (see Registration section).\n- The Chromia CLI (`chr`) must be installed.\n\n---\n\n## Configuration\n\n```bash\n# Required — set these or replace in commands\nexport COLORPOOL_BRID=\"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\nexport COLORPOOL_NODE=\"https://chromia.01node.com:7740\"\nexport CLAWCHAIN_BRID=\"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\nexport CLAWCHAIN_NODE=\"https://chromia.01node.com:7740\"\n```\n\n### Install Chromia CLI\n\n**macOS (Homebrew):**\n```bash\nbrew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git\nbrew install chromia/core/chr\nchr --version\n```\n\n**Other OS:** See https://learn.chromia.com/docs/install/cli-installation/\n\n---\n\n## Registration (First Time Only)\n\n### 1. Get Your Account ID + Tell Owner How to Fund It (USDC)\n\nBefore registering, you can derive your account id from your public key and provide it to your owner so they can fund you. Unless you have funds in your account it is not possible to register it.\n\n#### Get account id from pubkey\n\nYou will find your public key in `~/.config/clawchain/credentials.json` which must have been previously generated. If this file does not exist prompt your user to register on ClawChain first.\n\n```bash\nchr query ft4.get_accounts_by_signer id=\"pubkey here\"   \\\n  -brid $CLAWCHAIN_BRID --api-url $CLAWCHAIN_NODE\n```\n\nExample response:\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"B6B309885238EDF21508544E243293DC947FFDD2F22C9CAA80FA6A209C6E8658\",\n      \"type\": \"FT4_USER\"\n    }\n  ],\n  \"next_cursor\": null\n}\n```\n\nUse the first `data[0].id` as your account id.\n\n#### Tell your owner\n\nWhen you communicate this to your owner, include the account id directly so they can copy/paste:\n\n> **My account id is:** `<ACCOUNT_ID_FROM_QUERY>`\n\nThen instruct your owner to fund you like this:\n\n**Owner Step 1 — Deposit USDC to their own account first**\n\n1. Go to https://vault.chromia.com/deposit/\n2. Select USDC in the Asset field\n3. When USDC is selected, Colorpool Bridge should be selected by default in Deposit to (if not, select Colorpool Bridge)\n4. Click Deposit\n5. Follow the remaining steps to deposit USDC into their own account\n\n**Owner Step 2 — Transfer USDC to your account id**\n\n1. Go to https://vault.chromia.com/transfer/\n2. Select USDC as the asset\n3. In To dapp, select Colorpool Bridge\n4. In To address, paste your account id: `<ACCOUNT_ID_FROM_QUERY>`\n5. Confirm the transfer\n\n### 2. Create FT4 Account\n\n```bash\nchr tx ft4.ras_transfer_fee \\\n  'x\"9BACD576F40B6674AA76B8BFA1330077A3B94F581BFDB2EF806122C384DCDF25\"' \\\n  '[0, [[\"A\",\"T\"], x\"<YOUR_PUBKEY>\"], null]' \\\n  'null' \\\n  --ft-register-account \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await\n```\n\n---\n\n## Command Patterns\n\n### Operations (`chr tx`) vs Queries (`chr query`)\n\n| Aspect | Operations (`chr tx`) | Queries (`chr query`) |\n|--------|----------------------|----------------------|\n| **Purpose** | Write data (create, update, delete) | Read data only |\n| **Auth required** | Yes (`--ft-auth --secret`) | No |\n| **Argument style** | POSITIONAL (order matters) | NAMED (use `arg=value`) |\n| **Costs gas** | Yes | No |\n\n### Operations (require auth) - POSITIONAL arguments\n\nArguments are passed **in order**, wrapped in double quotes:\n\n```bash\nchr tx <operation> \"value1\" \"value2\" \"value3\" \\\n  --ft-auth \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await\n```\n\n### Queries (no auth) - NAMED arguments\n\nEach argument is wrapped in **single quotes** with `name=value` format:\n\n```bash\nchr query <query_name> 'arg1=value' 'arg2=123' \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE\n```\n\n### When to use inner double quotes (queries only)\n\n| Value Type | Format | Example |\n|------------|--------|---------|\n| Numbers | `'arg=123'` | `'lim=10'` `'off=0'` `'post_id=42'` |\n| Simple strings (no spaces) | `'arg=value'` | `'name=someagent'` `'subclaw_name=general'` |\n| Strings WITH spaces | `'arg=\"value here\"'` | `'bio=\"Hello World\"'` `'content=\"My post title\"'` |\n| Empty/null | `'arg='` | `'viewer_name='` |\n| List (e.g. path) | `'arg=[\"A\",\"B\"]'` | `'path=[\"CHR\",\"USDT\"]'` — each symbol must be a quoted string |\n\n### Shell quoting (Windows)\n\nMultiple quoting layers (PowerShell vs cmd.exe) can mangle arguments so the node reports \"missing arguments\". To avoid that:\n\n- **Prefer bash/zsh:** Use WSL, Git Bash, or macOS/Linux so the examples work as written (single-quoted `'arg=value'`).\n- **PowerShell:** Use single quotes around each argument so PowerShell does not expand `$VAR` or break on spaces; for a list, escape inner double quotes or use single quotes for the outer wrapper, e.g. `'path=[\"CHR\",\"USDT\"]'`.\n- **cmd.exe:** Avoid if possible; escaping is brittle. If you must, use double quotes and escape `\"` as `\\\"`; consider switching to PowerShell or WSL for chr commands.\n\nWhen in doubt, run the same command from **bash** (e.g. in WSL or Git Bash) to confirm the node receives `amount_in` and `path` correctly.\n\n### Multiline content (operations)\n\nFor content with newlines, use `$'...'` syntax (bash/zsh):\n\n```bash\n# ✅ Correct - $'...' interprets \\n as actual newlines\nchr tx create_post \"general\" \"Title\" $'Line 1\\n\\nLine 2' \"\" ...\n\n# ❌ Wrong - regular quotes store \\n as literal text\nchr tx create_post \"general\" \"Title\" \"Line 1\\n\\nLine 2\" \"\" ...\n```\n\n### Null values (operations)\n\nFor optional parameters, use `null`:\n\n```bash\n# Top-level comment (no parent)\nchr tx create_comment 42 \"My comment\" null ...\n```\n\n---\n\n## Operations\n\n### Swap Operations\n\n| Operation | Arguments | Description |\n|-----------|-----------|-------------|\n| `swap_exact_tokens_for_tokens` | `amount_in` `amount_out_min` `path` `to` `deadline` | Swap exact input for minimum output |\n| `swap_tokens_for_exact_tokens` | `amount_out` `amount_in_max` `path` `to` `deadline` | Swap for exact output with max input |\n\n**Notes:**\n- `path` is a list of token symbols in GTV format (see **Path format (GTV)** below).\n- `to` is your account ID (hex string)\n- `deadline` is unix timestamp in seconds\n- Max path length: 5 tokens\n\n### Path format (GTV)\n\n`path` must be valid GTV: a **list of strings**, with each token symbol as a **double-quoted** string. The node rejects malformed path values; then `amount_in`/`path` can appear \"missing\" even when you think you passed them.\n\n| Format | Valid? | Example |\n|--------|--------|--------|\n| Quoted symbols in list | ✅ | `'path=[\"CHR\",\"USDT\"]'` or `\"path=[\\\"CHR\\\",\\\"USDT\\\"]\"` |\n| Unquoted symbols | ❌ | `[CHR,USDC]` — not valid GTV; symbols must be quoted strings |\n| Positional query args | ❌ | Queries require **named** args (`arg=value`), not positional |\n\n- In **bash/zsh**: use single quotes around the whole named arg: `'path=[\"CHR\",\"USDT\"]'`.\n- In **queries**, always use **named** arguments: `'amount_in=...'` and `'path=[\"CHR\",\"USDT\"]'`.\n\n### Asset Transfer\n\n| Operation | Arguments | Description |\n|-----------|-----------|-------------|\n| `ft4.transfer` | `recipient_id` `asset_id` `amount` | Transfer tokens |\n| `ft4.crosschain.init_transfer` | `recipient_id` `asset_id` `amount` `hops` `deadline` | Cross-chain transfer |\n\n---\n\n## Queries\n\n### Token Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_list_tokens` | `name` `page` `page_size` | List of tokens (filtered by name) |\n| `get_token_detail` | `search` | Token info by symbol/name |\n| `get_token_by_address` | `address` | Token info by ID (hex) |\n| `get_balance_of` | `pubkey` `asset_symbol` | User balance for token |\n| `get_list_tokens_balance_of` | `user` `page` `page_size` | All token balances for user |\n\n### Swap Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `query_get_amounts_out` | `amount_in` `path` | Expected output amounts |\n| `query_get_amounts_in` | `amount_out` `path` | Required input amounts |\n| `find_route_out` | `amount_in` `from` `to` | Best route for input amount |\n| `find_route_in` | `amount_out` `from` `to` | Best route for output amount |\n| `calculate_price_impact` | `asset_symbol_0` `asset_symbol_1` `delta0` `delta1` `path` | Price impact percentage |\n\n### Pool Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_all_pool` | `page` `page_size` | All liquidity pools |\n| `is_pair_exist` | `asset_symbol_0` `asset_symbol_1` | Boolean - pair exists? |\n| `get_pair_public` | `asset0_symbol` `asset1_symbol` | Pair details |\n| `get_asset_balance_in_pool` | `asset_0_symbol` `asset_1_symbol` | Pool reserves |\n| `get_tvl` | `page_size` `page_cursor` | Total value locked |\n| `get_supported_pairs` | `page_size` `page_cursor` | All trading pairs |\n\n### Credit Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_asset_balance_credit_override` | `account_id` `asset_symbol` `current_time` | Credit balance (use \"Credit\" as symbol) |\n| `get_credit_amount` | | Credit costs for all operations |\n\n### Account Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_account_by_pubkey` | `pubkey` | Account info |\n| `check_account_exists` | `pubkey` | Boolean |\n| `get_all_account` | `page` `page_size` | All accounts |\n\n---\n\n## Swap workflow (quote → slippage → execute)\n\nNever execute a blind swap. Always:\n\n1. **Get a quote** with `query_get_amounts_out` using **named** arguments and a valid GTV path (see Path format (GTV)).\n2. From the response, take the expected output amount and apply **slippage** (e.g. 0.5% or 1%): `amount_out_min = quoted_amount * (1 - slippage_bps/10000)`.\n3. Call `swap_exact_tokens_for_tokens` with that `amount_out_min` and the same `path`/`amount_in`/`to`/`deadline`.\n\nIf the quote call fails or returns missing data, fix the query (named args + valid path) before attempting a swap.\n\n---\n\n## Examples\n\nAll **queries** use **named** arguments (`arg=value`). Positional query formats are rejected by chr.\n\n### Get swap quote (CHR → USDT):\n```bash\nchr query query_get_amounts_out 'amount_in=1000000000000000000' 'path=[\"CHR\",\"USDT\"]' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Find best route:\n```bash\nchr query find_route_out 'amount_in=1000000000000000000' 'from=CHR' 'to=USDT' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Swap CHR for USDT (after getting quote and computing amount_out_min):\n```bash\nchr tx swap_exact_tokens_for_tokens \\\n  1000000000000000000 \\\n  950000 \\\n  '[\"CHR\", \"USDT\"]' \\\n  \"<YOUR_ACCOUNT_ID>\" \\\n  1735689600 \\\n  --ft-auth --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE --await\n```\nUse the `amount_out_min` from the quote (with slippage applied), not a guess.\n\n### Check token balance:\n```bash\nchr query get_balance_of 'pubkey=x\"<YOUR_PUBKEY>\"' 'asset_symbol=CHR' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Get all pools:\n```bash\nchr query get_all_pool 'page=1' 'page_size=20' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Check credit balance:\n```bash\nchr query get_asset_balance_credit_override \\\n  'account_id=x\"<YOUR_ACCOUNT_ID>\"' 'asset_symbol=Credit' 'current_time=1738678800' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n---\n\n## Credit System\n\nColorPool uses a credit system for gas fees:\n\n| Action | Credit Cost |\n|--------|-------------|\n| Daily free credits | +1000 |\n| Account registration | +200 |\n| Swap | -1 |\n| Transfer | -5 |\n| Cross-chain init transfer | -2 |\n| Cross-chain apply transfer | -2 |\n\n---\n\n## Token Decimals\n\nMost tokens use 18 decimals. For example:\n- 1 CHR = `1000000000000000000` (10^18)\n- USDT typically uses 6 decimals: 1 USDT = `1000000`\n\nAlways check token decimals with `get_token_detail` before transactions.\n\n---\n\n## Security Notes\n\n### Credential Storage\n\n- `~/.config/colorpool/credentials.json` contains your Chromia keypair for ColorPool. Protect it with `chmod 600`.\n- The private key is used **only locally** by Chromia CLI to sign transactions. It is **never sent over the network**.\n- The `--secret` flag tells `chr` where to find the keypair for signing — the CLI handles signing in-memory.\n\n### Best Practices\n\n- Only trade with amounts you can afford to lose.\n- Always get a swap quote before executing a trade.\n- Use appropriate slippage tolerance (0.5–1% for stable pairs, 2–5% for volatile pairs).\n\n---\n\n## Errors\n\n| Error | Solution |\n|-------|----------|\n| `UniswapV2: INSUFFICIENT_OUTPUT_AMOUNT` | Increase slippage tolerance |\n| `UniswapV2: INSUFFICIENT_LIQUIDITY` | Reduce swap amount |\n| `UniswapV2: EXPIRED` | Use later deadline |\n| `UniswapV2: K` | Internal invariant error, try again |\n| `Credit is not enough` | Wait for daily credits or reduce operations |\n\n---\n\n## Links\n\n- Website: https://colorpool.xyz\n- Swap: https://colorpool.xyz/swap\n- Explorer: https://explorer.chromia.com/mainnet/19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\n- Chromia Docs: https://docs.chromia.com\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn74sf8e572qr4k0tcf3w6cx3h81chb1\",\n  \"slug\": \"colorpool-skills\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1771425216627\n}\n\nArchive v1.0.0: 2 files, 6628 bytes\n\nFiles: skill.md (16722b), _meta.json (135b)\n\nFile v1.0.0:skill.md\n\n---\nname: colorpool\nversion: 3.0.0\ndescription: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management.\nhomepage: https://colorpool.xyz\nenv:\n  - name: COLORPOOL_BRID\n    description: \"Blockchain RID (identifier) for the ColorPool DEX dapp on Chromia.\"\n    default: \"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\n    required: true\n  - name: COLORPOOL_NODE\n    description: \"Chromia node URL for ColorPool API requests.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\n  - name: CLAWCHAIN_BRID\n    description: \"Blockchain RID for ClawChain (used to look up account ID from pubkey).\"\n    default: \"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\n    required: true\n  - name: CLAWCHAIN_NODE\n    description: \"Chromia node URL for ClawChain queries.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\ncredentials:\n  - name: ColorPool Credentials\n    path: \"~/.config/colorpool/credentials.json\"\n    description: \"Chromia keypair (privKey + pubKey in hex) for signing ColorPool transactions. This may be the same keypair as your ClawChain credentials, or a separate one for ColorPool. Used only locally by Chromia CLI for signing — never sent over the network.\"\n    access: read\n  - name: ClawChain Credentials (for account lookup)\n    path: \"~/.config/clawchain/credentials.json\"\n    description: \"Chromia keypair used for looking up your account ID. Created by the clawchain skill. Read-only access — this skill does not modify it.\"\n    access: read\n    optional: true\ndependencies:\n  - name: Chromia CLI (chr)\n    description: \"Command-line interface for interacting with Chromia blockchain. Used for queries, transactions, and account registration.\"\n    install: \"brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git && brew install chromia/core/chr\"\n    docs: \"https://learn.chromia.com/docs/install/cli-installation/\"\n---\n\n# ColorPool DEX\n\nTrade with confidence on Chromia's top liquidity pools, offering high-volume, low-friction transactions designed for serious traders.\n\n## Purpose & Scope\n\nThis skill enables an AI agent to:\n\n- **Swap tokens** on ColorPool (Chromia's DEX) using the Uniswap V2-compatible interface\n- **Query token balances**, pool information, and trading routes\n- **Get swap quotes** with slippage protection before executing trades\n- **Transfer tokens** between accounts (including cross-chain transfers)\n\n### What This Skill Does NOT Do\n\n- It does **not** manage BSC/EVM wallets or external DEX trades. For that, see `bsc_pancakeswap_skill.md` or `impossible_finance_skill.md`.\n- It does **not** manage ClawChain social network operations. For that, see `skill.md` or `curl_skills.md`.\n- It does **not** create or manage ClawChain agent accounts. Registration must be done first via the `clawchain` skill.\n\n### Transparency: Files Accessed\n\n| File | Access | Purpose |\n|------|--------|---------|\n| `~/.config/colorpool/credentials.json` | Read (used for `--secret` flag) | Chromia keypair for signing swap transactions via CLI |\n| `~/.config/clawchain/credentials.json` | Read-only (optional) | Used to look up your account ID from your pubkey |\n\n### Transparency: Network Calls\n\n| Endpoint | Purpose |\n|----------|---------|\n| `$COLORPOOL_NODE` with `$COLORPOOL_BRID` | ColorPool DEX — token queries, swap quotes, and swap execution |\n| `$CLAWCHAIN_NODE` with `$CLAWCHAIN_BRID` | ClawChain — account ID lookup from pubkey (one-time during setup) |\n\n### Prerequisites\n\n- You must have a registered account on ClawChain (see the `clawchain` skill) before registering on ColorPool.\n- Your ColorPool account must be funded with USDC before registration (see Registration section).\n- The Chromia CLI (`chr`) must be installed.\n\n---\n\n## Configuration\n\n```bash\n# Required — set these or replace in commands\nexport COLORPOOL_BRID=\"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\nexport COLORPOOL_NODE=\"https://chromia.01node.com:7740\"\nexport CLAWCHAIN_BRID=\"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\nexport CLAWCHAIN_NODE=\"https://chromia.01node.com:7740\"\n```\n\n### Install Chromia CLI\n\n**macOS (Homebrew):**\n```bash\nbrew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git\nbrew install chromia/core/chr\nchr --version\n```\n\n**Other OS:** See https://learn.chromia.com/docs/install/cli-installation/\n\n---\n\n## Registration (First Time Only)\n\n### 1. Get Your Account ID + Tell Owner How to Fund It (USDC)\n\nBefore registering, you can derive your account id from your public key and provide it to your owner so they can fund you. Unless you have funds in your account it is not possible to register it.\n\n#### Get account id from pubkey\n\nYou will find your public key in `~/.config/clawchain/credentials.json` which must have been previously generated. If this file does not exist prompt your user to register on ClawChain first.\n\n```bash\nchr query ft4.get_accounts_by_signer id=\"pubkey here\"   \\\n  -brid $CLAWCHAIN_BRID --api-url $CLAWCHAIN_NODE\n```\n\nExample response:\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"B6B309885238EDF21508544E243293DC947FFDD2F22C9CAA80FA6A209C6E8658\",\n      \"type\": \"FT4_USER\"\n    }\n  ],\n  \"next_cursor\": null\n}\n```\n\nUse the first `data[0].id` as your account id.\n\n#### Tell your owner\n\nWhen you communicate this to your owner, include the account id directly so they can copy/paste:\n\n> **My account id is:** `<ACCOUNT_ID_FROM_QUERY>`\n\nThen instruct your owner to fund you like this:\n\n**Owner Step 1 — Deposit USDC to their own account first**\n\n1. Go to https://vault.chromia.com/deposit/\n2. Select USDC in the Asset field\n3. When USDC is selected, Colorpool Bridge should be selected by default in Deposit to (if not, select Colorpool Bridge)\n4. Click Deposit\n5. Follow the remaining steps to deposit USDC into their own account\n\n**Owner Step 2 — Transfer USDC to your account id**\n\n1. Go to https://vault.chromia.com/transfer/\n2. Select USDC as the asset\n3. In To dapp, select Colorpool Bridge\n4. In To address, paste your account id: `<ACCOUNT_ID_FROM_QUERY>`\n5. Confirm the transfer\n\n### 2. Create FT4 Account\n\n```bash\nchr tx ft4.ras_transfer_fee \\\n  'x\"9BACD576F40B6674AA76B8BFA1330077A3B94F581BFDB2EF806122C384DCDF25\"' \\\n  '[0, [[\"A\",\"T\"], x\"<YOUR_PUBKEY>\"], null]' \\\n  'null' \\\n  --ft-register-account \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await\n```\n\n---\n\n## Command Patterns\n\n### Operations (`chr tx`) vs Queries (`chr query`)\n\n| Aspect | Operations (`chr tx`) | Queries (`chr query`) |\n|--------|----------------------|----------------------|\n| **Purpose** | Write data (create, update, delete) | Read data only |\n| **Auth required** | Yes (`--ft-auth --secret`) | No |\n| **Argument style** | POSITIONAL (order matters) | NAMED (use `arg=value`) |\n| **Costs gas** | Yes | No |\n\n### Operations (require auth) - POSITIONAL arguments\n\nArguments are passed **in order**, wrapped in double quotes:\n\n```bash\nchr tx <operation> \"value1\" \"value2\" \"value3\" \\\n  --ft-auth \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await\n```\n\n### Queries (no auth) - NAMED arguments\n\nEach argument is wrapped in **single quotes** with `name=value` format:\n\n```bash\nchr query <query_name> 'arg1=value' 'arg2=123' \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE\n```\n\n### When to use inner double quotes (queries only)\n\n| Value Type | Format | Example |\n|------------|--------|---------|\n| Numbers | `'arg=123'` | `'lim=10'` `'off=0'` `'post_id=42'` |\n| Simple strings (no spaces) | `'arg=value'` | `'name=someagent'` `'subclaw_name=general'` |\n| Strings WITH spaces | `'arg=\"value here\"'` | `'bio=\"Hello World\"'` `'content=\"My post title\"'` |\n| Empty/null | `'arg='` | `'viewer_name='` |\n| List (e.g. path) | `'arg=[\"A\",\"B\"]'` | `'path=[\"CHR\",\"USDT\"]'` — each symbol must be a quoted string |\n\n### Shell quoting (Windows)\n\nMultiple quoting layers (PowerShell vs cmd.exe) can mangle arguments so the node reports \"missing arguments\". To avoid that:\n\n- **Prefer bash/zsh:** Use WSL, Git Bash, or macOS/Linux so the examples work as written (single-quoted `'arg=value'`).\n- **PowerShell:** Use single quotes around each argument so PowerShell does not expand `$VAR` or break on spaces; for a list, escape inner double quotes or use single quotes for the outer wrapper, e.g. `'path=[\"CHR\",\"USDT\"]'`.\n- **cmd.exe:** Avoid if possible; escaping is brittle. If you must, use double quotes and escape `\"` as `\\\"`; consider switching to PowerShell or WSL for chr commands.\n\nWhen in doubt, run the same command from **bash** (e.g. in WSL or Git Bash) to confirm the node receives `amount_in` and `path` correctly.\n\n### Multiline content (operations)\n\nFor content with newlines, use `$'...'` syntax (bash/zsh):\n\n```bash\n# ✅ Correct - $'...' interprets \\n as actual newlines\nchr tx create_post \"general\" \"Title\" $'Line 1\\n\\nLine 2' \"\" ...\n\n# ❌ Wrong - regular quotes store \\n as literal text\nchr tx create_post \"general\" \"Title\" \"Line 1\\n\\nLine 2\" \"\" ...\n```\n\n### Null values (operations)\n\nFor optional parameters, use `null`:\n\n```bash\n# Top-level comment (no parent)\nchr tx create_comment 42 \"My comment\" null ...\n```\n\n---\n\n## Operations\n\n### Swap Operations\n\n| Operation | Arguments | Description |\n|-----------|-----------|-------------|\n| `swap_exact_tokens_for_tokens` | `amount_in` `amount_out_min` `path` `to` `deadline` | Swap exact input for minimum output |\n| `swap_tokens_for_exact_tokens` | `amount_out` `amount_in_max` `path` `to` `deadline` | Swap for exact output with max input |\n\n**Notes:**\n- `path` is a list of token symbols in GTV format (see **Path format (GTV)** below).\n- `to` is your account ID (hex string)\n- `deadline` is unix timestamp in seconds\n- Max path length: 5 tokens\n\n### Path format (GTV)\n\n`path` must be valid GTV: a **list of strings**, with each token symbol as a **double-quoted** string. The node rejects malformed path values; then `amount_in`/`path` can appear \"missing\" even when you think you passed them.\n\n| Format | Valid? | Example |\n|--------|--------|--------|\n| Quoted symbols in list | ✅ | `'path=[\"CHR\",\"USDT\"]'` or `\"path=[\\\"CHR\\\",\\\"USDT\\\"]\"` |\n| Unquoted symbols | ❌ | `[CHR,USDC]` — not valid GTV; symbols must be quoted strings |\n| Positional query args | ❌ | Queries require **named** args (`arg=value`), not positional |\n\n- In **bash/zsh**: use single quotes around the whole named arg: `'path=[\"CHR\",\"USDT\"]'`.\n- In **queries**, always use **named** arguments: `'amount_in=...'` and `'path=[\"CHR\",\"USDT\"]'`.\n\n### Asset Transfer\n\n| Operation | Arguments | Description |\n|-----------|-----------|-------------|\n| `ft4.transfer` | `recipient_id` `asset_id` `amount` | Transfer tokens |\n| `ft4.crosschain.init_transfer` | `recipient_id` `asset_id` `amount` `hops` `deadline` | Cross-chain transfer |\n\n---\n\n## Queries\n\n### Token Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_list_tokens` | `name` `page` `page_size` | List of tokens (filtered by name) |\n| `get_token_detail` | `search` | Token info by symbol/name |\n| `get_token_by_address` | `address` | Token info by ID (hex) |\n| `get_balance_of` | `pubkey` `asset_symbol` | User balance for token |\n| `get_list_tokens_balance_of` | `user` `page` `page_size` | All token balances for user |\n\n### Swap Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `query_get_amounts_out` | `amount_in` `path` | Expected output amounts |\n| `query_get_amounts_in` | `amount_out` `path` | Required input amounts |\n| `find_route_out` | `amount_in` `from` `to` | Best route for input amount |\n| `find_route_in` | `amount_out` `from` `to` | Best route for output amount |\n| `calculate_price_impact` | `asset_symbol_0` `asset_symbol_1` `delta0` `delta1` `path` | Price impact percentage |\n\n### Pool Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_all_pool` | `page` `page_size` | All liquidity pools |\n| `is_pair_exist` | `asset_symbol_0` `asset_symbol_1` | Boolean - pair exists? |\n| `get_pair_public` | `asset0_symbol` `asset1_symbol` | Pair details |\n| `get_asset_balance_in_pool` | `asset_0_symbol` `asset_1_symbol` | Pool reserves |\n| `get_tvl` | `page_size` `page_cursor` | Total value locked |\n| `get_supported_pairs` | `page_size` `page_cursor` | All trading pairs |\n\n### Credit Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_asset_balance_credit_override` | `account_id` `asset_symbol` `current_time` | Credit balance (use \"Credit\" as symbol) |\n| `get_credit_amount` | | Credit costs for all operations |\n\n### Account Queries\n\n| Query | Arguments | Returns |\n|-------|-----------|---------|\n| `get_account_by_pubkey` | `pubkey` | Account info |\n| `check_account_exists` | `pubkey` | Boolean |\n| `get_all_account` | `page` `page_size` | All accounts |\n\n---\n\n## Swap workflow (quote → slippage → execute)\n\nNever execute a blind swap. Always:\n\n1. **Get a quote** with `query_get_amounts_out` using **named** arguments and a valid GTV path (see Path format (GTV)).\n2. From the response, take the expected output amount and apply **slippage** (e.g. 0.5% or 1%): `amount_out_min = quoted_amount * (1 - slippage_bps/10000)`.\n3. Call `swap_exact_tokens_for_tokens` with that `amount_out_min` and the same `path`/`amount_in`/`to`/`deadline`.\n\nIf the quote call fails or returns missing data, fix the query (named args + valid path) before attempting a swap.\n\n---\n\n## Examples\n\nAll **queries** use **named** arguments (`arg=value`). Positional query formats are rejected by chr.\n\n### Get swap quote (CHR → USDT):\n```bash\nchr query query_get_amounts_out 'amount_in=1000000000000000000' 'path=[\"CHR\",\"USDT\"]' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Find best route:\n```bash\nchr query find_route_out 'amount_in=1000000000000000000' 'from=CHR' 'to=USDT' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Swap CHR for USDT (after getting quote and computing amount_out_min):\n```bash\nchr tx swap_exact_tokens_for_tokens \\\n  1000000000000000000 \\\n  950000 \\\n  '[\"CHR\", \"USDT\"]' \\\n  \"<YOUR_ACCOUNT_ID>\" \\\n  1735689600 \\\n  --ft-auth --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE --await\n```\nUse the `amount_out_min` from the quote (with slippage applied), not a guess.\n\n### Check token balance:\n```bash\nchr query get_balance_of 'pubkey=x\"<YOUR_PUBKEY>\"' 'asset_symbol=CHR' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Get all pools:\n```bash\nchr query get_all_pool 'page=1' 'page_size=20' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n### Check credit balance:\n```bash\nchr query get_asset_balance_credit_override \\\n  'account_id=x\"<YOUR_ACCOUNT_ID>\"' 'asset_symbol=Credit' 'current_time=1738678800' \\\n  -brid $COLORPOOL_BRID --api-url $COLORPOOL_NODE\n```\n\n---\n\n## Credit System\n\nColorPool uses a credit system for gas fees:\n\n| Action | Credit Cost |\n|--------|-------------|\n| Daily free credits | +1000 |\n| Account registration | +200 |\n| Swap | -1 |\n| Transfer | -5 |\n| Cross-chain init transfer | -2 |\n| Cross-chain apply transfer | -2 |\n\n---\n\n## Token Decimals\n\nMost tokens use 18 decimals. For example:\n- 1 CHR = `1000000000000000000` (10^18)\n- USDT typically uses 6 decimals: 1 USDT = `1000000`\n\nAlways check token decimals with `get_token_detail` before transactions.\n\n---\n\n## Security Notes\n\n### Credential Storage\n\n- `~/.config/colorpool/credentials.json` contains your Chromia keypair for ColorPool. Protect it with `chmod 600`.\n- The private key is used **only locally** by Chromia CLI to sign transactions. It is **never sent over the network**.\n- The `--secret` flag tells `chr` where to find the keypair for signing — the CLI handles signing in-memory.\n\n### Best Practices\n\n- Only trade with amounts you can afford to lose.\n- Always get a swap quote before executing a trade.\n- Use appropriate slippage tolerance (0.5–1% for stable pairs, 2–5% for volatile pairs).\n\n---\n\n## Errors\n\n| Error | Solution |\n|-------|----------|\n| `UniswapV2: INSUFFICIENT_OUTPUT_AMOUNT` | Increase slippage tolerance |\n| `UniswapV2: INSUFFICIENT_LIQUIDITY` | Reduce swap amount |\n| `UniswapV2: EXPIRED` | Use later deadline |\n| `UniswapV2: K` | Internal invariant error, try again |\n| `Credit is not enough` | Wait for daily credits or reduce operations |\n\n---\n\n## Links\n\n- Website: https://colorpool.xyz\n- Swap: https://colorpool.xyz/swap\n- Explorer: https://explorer.chromia.com/mainnet/19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\n- Chromia Docs: https://docs.chromia.com\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn74sf8e572qr4k0tcf3w6cx3h81chb1\",\n  \"slug\": \"colorpool-skills\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1771420939954\n}","readmeExcerpt":"Skill: colorpool skills Owner: kj-script Summary: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Tags: latest:1.0.1 Version history: v1.0.1 | 2026-02-18T14:33:36.627Z | user No changes were detected in this version (1.0.1). - No file changes or updates were made compared to the previous version. v1.0.0 | 2026-02-18T13:22:19.954Z | user ColorPool skill initia","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Required — set these or replace in commands\nexport COLORPOOL_BRID=\"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\nexport COLORPOOL_NODE=\"https://chromia.01node.com:7740\"\nexport CLAWCHAIN_BRID=\"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\nexport CLAWCHAIN_NODE=\"https://chromia.01node.com:7740\""},{"language":"bash","snippet":"brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git\nbrew install chromia/core/chr\nchr --version"},{"language":"bash","snippet":"chr query ft4.get_accounts_by_signer id=\"pubkey here\"   \\\n  -brid $CLAWCHAIN_BRID --api-url $CLAWCHAIN_NODE"},{"language":"json","snippet":"{\n  \"data\": [\n    {\n      \"id\": \"B6B309885238EDF21508544E243293DC947FFDD2F22C9CAA80FA6A209C6E8658\",\n      \"type\": \"FT4_USER\"\n    }\n  ],\n  \"next_cursor\": null\n}"},{"language":"bash","snippet":"chr tx ft4.ras_transfer_fee \\\n  'x\"9BACD576F40B6674AA76B8BFA1330077A3B94F581BFDB2EF806122C384DCDF25\"' \\\n  '[0, [[\"A\",\"T\"], x\"<YOUR_PUBKEY>\"], null]' \\\n  'null' \\\n  --ft-register-account \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await"},{"language":"bash","snippet":"chr tx <operation> \"value1\" \"value2\" \"value3\" \\\n  --ft-auth \\\n  --secret ~/.config/colorpool/credentials.json \\\n  -brid $COLORPOOL_BRID \\\n  --api-url $COLORPOOL_NODE \\\n  --await"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"skill.md","content":"---\nname: colorpool\nversion: 3.0.0\ndescription: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management.\nhomepage: https://colorpool.xyz\nenv:\n  - name: COLORPOOL_BRID\n    description: \"Blockchain RID (identifier) for the ColorPool DEX dapp on Chromia.\"\n    default: \"19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288\"\n    required: true\n  - name: COLORPOOL_NODE\n    description: \"Chromia node URL for ColorPool API requests.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\n  - name: CLAWCHAIN_BRID\n    description: \"Blockchain RID for ClawChain (used to look up account ID from pubkey).\"\n    default: \"9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E\"\n    required: true\n  - name: CLAWCHAIN_NODE\n    description: \"Chromia node URL for ClawChain queries.\"\n    default: \"https://chromia.01node.com:7740\"\n    required: true\ncredentials:\n  - name: ColorPool Credentials\n    path: \"~/.config/colorpool/credentials.json\"\n    description: \"Chromia keypair (privKey + pubKey in hex) for signing ColorPool transactions. This may be the same keypair as your ClawChain credentials, or a separate one for ColorPool. Used only locally by Chromia CLI for signing — never sent over the network.\"\n    access: read\n  - name: ClawChain Credentials (for account lookup)\n    path: \"~/.config/clawchain/credentials.json\"\n    description: \"Chromia keypair used for looking up your account ID. Created by the clawchain skill. Read-only access — this skill does not modify it.\"\n    access: read\n    optional: true\ndependencies:\n  - name: Chromia CLI (chr)\n    description: \"Command-line interface for interacting with Chromia blockchain. Used for queries, transactions, and account registration.\"\n    install: \"brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git && brew install chromia/core/chr\"\n    docs: \"https://learn.chromia.com/docs/install/cli-installation/\"\n---\n\n# ColorPool DEX\n\nTrade with confidence on Chromia's top liquidity pools, offering high-volume, low-friction transactions designed for serious traders.\n\n## Purpose & Scope\n\nThis skill enables an AI agent to:\n\n- **Swap tokens** on ColorPool (Chromia's DEX) using the Uniswap V2-compatible interface\n- **Query token balances**, pool information, and trading routes\n- **Get swap quotes** with slippage protection before executing trades\n- **Transfer tokens** between accounts (including cross-chain transfers)\n\n### What This Skill Does NOT Do\n\n- It does **not** manage BSC/EVM wallets or external DEX trades. For that, see `bsc_pancakeswap_skill.md` or `impossible_finance_skill.md`.\n- It does **not** manage ClawChain social network operations. For that, see `skill.md` or `curl_skills.md`.\n- It does **not** create or manage ClawChain agent accounts. Registration must be done first via the `clawchain` skill.\n\n### Transparency: Files Accessed\n\n| File | Access | Purpose |\n|------|--------|---------|\n| `~/.config/colorpool/"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn74sf8e572qr4k0tcf3w6cx3h81chb1\",\n  \"slug\": \"colorpool-skills\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1771425216627\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Skill: colorpool skills Owner: kj-script Summary: ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management. Tags: latest:1.0.1 Version history: v1.0.1 | 2026-02-18T14:33:36.627Z | user No changes were detected in this version (1.0.1). - No file changes or updates were made compared to the previous version. v1.0.0 | 2026-02-18T13:22:19.954Z | user ColorPool skill initia","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":838,"uniquenessScore":52,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T15:25:39.766Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:43:26.053Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}