From 12a8d145363bd4749b628e2b94d497e7fa12cba7 Mon Sep 17 00:00:00 2001 From: James Lawton Date: Wed, 15 Apr 2026 11:56:27 +0100 Subject: [PATCH 1/2] fix(skills): use absolute URLs for sub-skill discovery --- packages/connector-ui/public/skills/SKILL.md | 14 ++++++++------ packages/polygon-agent-cli/skills/SKILL.md | 14 ++++++++------ skills/SKILL.md | 12 ++++++------ 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/packages/connector-ui/public/skills/SKILL.md b/packages/connector-ui/public/skills/SKILL.md index dc37953..5906959 100644 --- a/packages/connector-ui/public/skills/SKILL.md +++ b/packages/connector-ui/public/skills/SKILL.md @@ -54,6 +54,8 @@ polygon-agent wallet create --usdc-limit 100 --native-limit 5 # → user approves in browser, browser shows a 6-digit code # → enter the 6-digit code in the terminal when prompted # → session saved to ~/.polygon-agent/wallets/main.json +# → notify the user and send them to https://agentconnect.polygon.technology/?rid= +# so they can fund their wallet with access to the session # Step 3: Fund wallet polygon-agent fund @@ -175,13 +177,13 @@ CLI commands output JSON (non-TTY). After running a command, always render the r ## Use-Case Skills -For specific workflows, load the relevant sub-skill: +For specific workflows, fetch and load the relevant sub-skill: -| Use Case | Skill | -|----------|-------| -| Polymarket prediction market trading | [polygon-polymarket/SKILL.md](polygon-polymarket/SKILL.md) | -| DeFi — swap, deposit, yield | [polygon-defi/SKILL.md](polygon-defi/SKILL.md) | -| x402 discovery & pay-per-call APIs | [polygon-discovery/SKILL.md](polygon-discovery/SKILL.md) | +| Use Case | Skill URL | +|----------|-----------| +| Polymarket prediction market trading | https://agentconnect.polygon.technology/polygon-polymarket/SKILL.md | +| DeFi — swap, deposit, yield | https://agentconnect.polygon.technology/polygon-defi/SKILL.md | +| x402 discovery & pay-per-call APIs | https://agentconnect.polygon.technology/polygon-discovery/SKILL.md | --- diff --git a/packages/polygon-agent-cli/skills/SKILL.md b/packages/polygon-agent-cli/skills/SKILL.md index dc37953..5906959 100644 --- a/packages/polygon-agent-cli/skills/SKILL.md +++ b/packages/polygon-agent-cli/skills/SKILL.md @@ -54,6 +54,8 @@ polygon-agent wallet create --usdc-limit 100 --native-limit 5 # → user approves in browser, browser shows a 6-digit code # → enter the 6-digit code in the terminal when prompted # → session saved to ~/.polygon-agent/wallets/main.json +# → notify the user and send them to https://agentconnect.polygon.technology/?rid= +# so they can fund their wallet with access to the session # Step 3: Fund wallet polygon-agent fund @@ -175,13 +177,13 @@ CLI commands output JSON (non-TTY). After running a command, always render the r ## Use-Case Skills -For specific workflows, load the relevant sub-skill: +For specific workflows, fetch and load the relevant sub-skill: -| Use Case | Skill | -|----------|-------| -| Polymarket prediction market trading | [polygon-polymarket/SKILL.md](polygon-polymarket/SKILL.md) | -| DeFi — swap, deposit, yield | [polygon-defi/SKILL.md](polygon-defi/SKILL.md) | -| x402 discovery & pay-per-call APIs | [polygon-discovery/SKILL.md](polygon-discovery/SKILL.md) | +| Use Case | Skill URL | +|----------|-----------| +| Polymarket prediction market trading | https://agentconnect.polygon.technology/polygon-polymarket/SKILL.md | +| DeFi — swap, deposit, yield | https://agentconnect.polygon.technology/polygon-defi/SKILL.md | +| x402 discovery & pay-per-call APIs | https://agentconnect.polygon.technology/polygon-discovery/SKILL.md | --- diff --git a/skills/SKILL.md b/skills/SKILL.md index 933b583..5906959 100644 --- a/skills/SKILL.md +++ b/skills/SKILL.md @@ -177,13 +177,13 @@ CLI commands output JSON (non-TTY). After running a command, always render the r ## Use-Case Skills -For specific workflows, load the relevant sub-skill: +For specific workflows, fetch and load the relevant sub-skill: -| Use Case | Skill | -|----------|-------| -| Polymarket prediction market trading | [polygon-polymarket/SKILL.md](polygon-polymarket/SKILL.md) | -| DeFi — swap, deposit, yield | [polygon-defi/SKILL.md](polygon-defi/SKILL.md) | -| x402 discovery & pay-per-call APIs | [polygon-discovery/SKILL.md](polygon-discovery/SKILL.md) | +| Use Case | Skill URL | +|----------|-----------| +| Polymarket prediction market trading | https://agentconnect.polygon.technology/polygon-polymarket/SKILL.md | +| DeFi — swap, deposit, yield | https://agentconnect.polygon.technology/polygon-defi/SKILL.md | +| x402 discovery & pay-per-call APIs | https://agentconnect.polygon.technology/polygon-discovery/SKILL.md | --- From 7dcfb29d4e5b8c8b5c7227835ce84118adca7b47 Mon Sep 17 00:00:00 2001 From: James Lawton Date: Wed, 15 Apr 2026 12:02:45 +0100 Subject: [PATCH 2/2] fix(skills): update Twitter/X description to follower/following counts and tweet metrics --- .../connector-ui/public/skills/polygon-discovery/SKILL.md | 4 ++-- packages/polygon-agent-cli/skills/polygon-discovery/SKILL.md | 4 ++-- skills/polygon-discovery/SKILL.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/connector-ui/public/skills/polygon-discovery/SKILL.md b/packages/connector-ui/public/skills/polygon-discovery/SKILL.md index 13090b3..6667596 100644 --- a/packages/connector-ui/public/skills/polygon-discovery/SKILL.md +++ b/packages/connector-ui/public/skills/polygon-discovery/SKILL.md @@ -11,7 +11,7 @@ Pay-per-call APIs accessible via `x402-pay`. No API keys or subscriptions — ea --- -## Read Twitter/X Profiles & Tweets +## Read Twitter/X Profile $0.005 USDC per call. @@ -30,7 +30,7 @@ polygon-agent x402-pay \ --wallet main --method POST ``` -Returns: follower count, recent tweets, engagement metrics. +Returns: follower/following counts and tweet metrics. **Troubleshooting:** If the direct endpoint fails, check the live catalog for the current URL: ```bash diff --git a/packages/polygon-agent-cli/skills/polygon-discovery/SKILL.md b/packages/polygon-agent-cli/skills/polygon-discovery/SKILL.md index 13090b3..6667596 100644 --- a/packages/polygon-agent-cli/skills/polygon-discovery/SKILL.md +++ b/packages/polygon-agent-cli/skills/polygon-discovery/SKILL.md @@ -11,7 +11,7 @@ Pay-per-call APIs accessible via `x402-pay`. No API keys or subscriptions — ea --- -## Read Twitter/X Profiles & Tweets +## Read Twitter/X Profile $0.005 USDC per call. @@ -30,7 +30,7 @@ polygon-agent x402-pay \ --wallet main --method POST ``` -Returns: follower count, recent tweets, engagement metrics. +Returns: follower/following counts and tweet metrics. **Troubleshooting:** If the direct endpoint fails, check the live catalog for the current URL: ```bash diff --git a/skills/polygon-discovery/SKILL.md b/skills/polygon-discovery/SKILL.md index 13090b3..6667596 100644 --- a/skills/polygon-discovery/SKILL.md +++ b/skills/polygon-discovery/SKILL.md @@ -11,7 +11,7 @@ Pay-per-call APIs accessible via `x402-pay`. No API keys or subscriptions — ea --- -## Read Twitter/X Profiles & Tweets +## Read Twitter/X Profile $0.005 USDC per call. @@ -30,7 +30,7 @@ polygon-agent x402-pay \ --wallet main --method POST ``` -Returns: follower count, recent tweets, engagement metrics. +Returns: follower/following counts and tweet metrics. **Troubleshooting:** If the direct endpoint fails, check the live catalog for the current URL: ```bash