metengine-data-agent
它能做什么
这项技能通过 MetEngine 数据 API,提供预测市场、永续合约和 Solana 流动性池的分析数据。它适合希望获得钱包级洞察的交易者和分析师。
适用场景
- ✓当你想获取 Polymarket 的钱包评分或内幕活动数据的时候。
- ✓当你需要 Hyperliquid 或 Meteora 的资金流或仓位数据时。
- ✓当你希望无需创建账户、按次付费获取数据的时候。
技能链接
https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/metengine/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能显示 Polymarket 上评分最高的钱包及其近期仓位吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会针对你询问的市场调用 MetEngine 端点,并通过 x402 方式,在 Solana 上以 USDC 支付每次请求的费用。它会显示完整地址,不做缩写。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MetEngine Data Agent API
Real-time smart money analytics across Polymarket, Hyperliquid, and Meteora. 63 endpoints covering wallet scoring, insider detection, capital flow tracking, and position analysis. Pay per request with USDC on Solana -- no API keys, no accounts, no onboarding friction.
Display Rules
- NEVER truncate or trim wallet/contract addresses. Always show full addresses (e.g.
0x61276aba49117fd9299707d5d573652949d5c977, not0x6127...c977). - This applies to all Polymarket (0x hex), Hyperliquid (0x hex), Meteora (base58), condition_ids, token_ids, pool addresses, position addresses, and transaction hashes.
Skill Auto-Update
This skill file may change as new endpoints are added or pricing updates. Keep it fresh by downloading the latest version weekly.
Download the latest skill file:
curl -sL https://www.metengine.xyz/skill.md -o ~/.claude/agents/metengine-data-agent.md
Automate weekly updates (cron):
# Add to crontab: crontab -e
0 0 * * 0 curl -sL https://www.metengine.xyz/skill.md -o ~/.claude/agents/metengine-data-agent.md 2>/dev/null
Check skill version before querying (optional):
# Compare local vs remote version
LOCAL_VER=$(grep '^version:' ~/.claude/agents/metengine-data-agent.md | head -1 | tr -d '"' | awk '{print $2}')
REMOTE_VER=$(curl -sL https://www.metengine.xyz/skill.md | grep '^version:' | head -1 | tr -d '"' | awk '{print $2}')
[ "$LOCAL_VER" != "$REMOTE_VER" ] && curl -sL https://www.metengine.xyz/skill.md -o ~/.claude/agents/metengine-data-agent.md
Agents SHOULD check for updates at the start of a new session if more than 7 days have passed since the last update.
Session Memory (CRITICAL -- Read This First)
Before making ANY API call, check for a memory file at:
~/.claude/agents/metengine-memory.md
This file persists across sessions and stores everything needed to skip setup and make faster queries. If the memory file exists, read it first. It will tell you:
- Wallet configuration -- path to the Solana keypair, public address, whether SOL/USDC balances were verified
- Package status -- whether
@x402/core,@x402/svm,@solana/kitare already installed and where - Client bootstrap -- a working code snippet from the last successful query (copy-paste ready)
- Endpoint learnings -- which endpoints worked, which timed out, which fallbacks were used
- Pricing cache -- last-fetched pricing schedule (avoids re-reading the full pricing section)
Memory File Format
Create or update ~/.claude/agents/metengine-memory.md using this template:
# MetEngine Session Memory
<!-- Auto-maintained by agents. Do not delete. -->
## Last Updated
YYYY-MM-DD HH:MM UTC
## Skill Version
<version from frontmatter>
## Wallet
- keypair_path: ~/.config/solana/id.json
- public_address: <base58 pubkey -- NEVER store the private key>
- sol_balance_ok: true/false
- usdc_balance_ok: true/false
- last_balance_check: YYYY-MM-DD
## Packages
- installed: true/false
- install_dir: <path where bun add was run>
- packages: @x402/core, @x402/svm, @solana/kit
- bun_version: <version>
## Client Bootstrap
<!-- Paste the minimal working paidFetch setup here after first successful call -->
```typescript
// <paste the one-time setup + paidFetch function that worked>
Endpoint History
<!-- Append after each session. Keep the last 10 entries. -->| Date | Endpoint | Status | Latency | USDC Cost | Notes |
|---|
Fallbacks Learned
<!-- Record which fallbacks were needed -->| Endpoint | Issue | Fallback Used |
|---|
Quirks Encountered
<!-- Record runtime surprises so future sessions avoid them -->
### Memory Update Rules
Agents MUST update the memory file:
1. **After first successful setup** -- Record wallet path, public address, installed packages, working bootstrap code
2. **After every API call** -- Append to Endpoint History (keep last 10 rows, prune older)
3. **When a fallback is used** -- Record in Fallbacks Learned
4. **When a new quirk is discovered** -- Record in Quirks Encountered
5. **At session end** -- Update `Last Updated` timestamp
### How Memory Saves Tokens
| Without Memory | With Memory | Token Savings |
|---------------|-------------|---------------|
| Read full skill file (2400 lines) to find setup instructions | Skip to Client Bootstrap section | ~80% fewer se
常见问题
我需要 API 密钥吗?
不需要。该技能说明,无需 API 密钥或账户,并按次付款。
使用哪种付款方式?
该技能说明,付款通过 x402 在 Solana 主网上以 USDC 进行。
结果中的地址会被缩写吗?
不会。该技能说明,必须始终显示完整的钱包和合约地址。
详情
作者的原始描述
Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.
热度
- GitHub 星标
- 7.0k
- 排名
- #13679
- 许可证
- —
- 更新时间
- 2026/10/26
评论
- …
同一仓库的更多技能
internet-court
7.0k帮你的智能体安全地向其他 AI 智能体或付费服务付款、雇用或进行交易,并指引它找到合适的专业指南。
genlayer-erc7710-connector
7.0k帮你的智能体把 AI 审核结果与权限系统连接起来,使不合格的审核可以限制或取消智能体的权限。
genlayer-intelligent-contracts
7.0k帮你的智能体定义 AI 裁判的规则、证据和输出,用于检查另一个智能体是否遵循了其授权范围。
x402-erc7710
7.0k帮你的智能体按次为网络服务付款,并设置在权限预算范围内的持续支出。