← 返回 Skills 市场
nickymick8

Claw Trader Lite

作者 nickymick8 · GitHub ↗ · v1.0.3
cross-platform ✓ 安全检测通过
788
总下载
2
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install claw-trader-lite
功能描述
Multi-platform market intelligence for OpenClaw agents. Monitor real-time prices, balances, and positions across Hyperliquid (DeFi) and LNMarkets (Bitcoin)....
使用说明 (SKILL.md)

To create the file yourself:\r \r \r \r # Create the directory\r \r mkdir -p ~/.openclaw/workspace/skills/claw-trader-lite\r \r \r \r # Create the file\r \r cat > ~/.openclaw/workspace/skills/claw-trader-lite/SKILL.md \x3C\x3C 'EOF'\r \r ---\r \r name: claw-trader-lite\r \r description: |\r \r   Free read-only market monitoring for Hyperliquid and LN Markets. \r \r   Track real-time prices, view public balances, and monitor positions \r \r   across DeFi and Bitcoin derivatives platforms. Zero private keys required.\r \r env:\r \r   HYPERLIQUID_ACCOUNT_ADDRESS:\r \r   description: "Optional: Your Hyperliquid wallet address to view balance/positions (e.g., 0x...)"\r \r   required: false\r \r ---\r \r \r \r # Claw Trader Lite\r \r \r \r **Free read-only market intelligence for Hyperliquid and LN Markets.**\r \r \r \r Monitor real-time prices, track your portfolio, and view positions across DeFi and Bitcoin derivatives platforms. Perfect for keeping tabs on your trades without execution risk.\r \r \r \r ---\r \r \r \r ## What It Does\r \r \r \r Claw Trader Lite provides **read-only** access to market data and account information. It can view prices, balances, and positions but **cannot execute trades**—making it safe to use anywhere.\r \r \r \r ### Platforms Supported\r \r \r \r - **Hyperliquid** - DeFi perpetuals (ETH, SOL, AVAX, and 100+ altcoins)\r \r - **LN Markets** - Bitcoin derivatives via Lightning Network\r \r \r \r ---\r \r \r \r ## Key Features\r \r \r \r ✅ **Real-Time Price Feeds** - Live market data for BTC, ETH, SOL, and major assets \r \r ✅ **Portfolio Overview** - View balances and open positions at a glance \r \r ✅ **Zero Risk** - Read-only access, no private keys or API secrets needed \r \r ✅ **Lightweight** - Minimal dependencies, runs anywhere \r \r ✅ **Free Forever** - No costs, no limits, no catch \r \r \r \r ---\r \r \r \r ## Installation\r \r \r \r

\r
pip install requests\r
\r
\r
\r
\r
\r
Quick Start\r
\r
\r
\r
from claw\_lite import create\_monitor\r
\r
\r
\r
\# Create monitor\r
\r
monitor = create\_monitor()\r
\r
\r
\r
\# Check current prices\r
\r
btc\_price = monitor.get\_price("BTC", "lnmarkets")\r
\r
eth\_price = monitor.get\_price("ETH", "hyperliquid")\r
\r
sol\_price = monitor.get\_price("SOL", "hyperliquid")\r
\r
\r
\r
print(f"BTC: ${btc\_price:,.2f}")\r
\r
print(f"ETH: ${eth\_price:,.2f}")\r
\r
print(f"SOL: ${sol\_price:,.2f}")\r
\r
\r
\r
\r
\r
Usage Examples\r
\r
\r
\r
Get Single Asset Price\r
\r
\r
\r
\# Bitcoin price from LN Markets\r
\r
btc\_price = monitor.get\_price("BTC", "lnmarkets")\r
\r
\r
\r
\# Ethereum price from Hyperliquid\r
\r
eth\_price = monitor.get\_price("ETH", "hyperliquid")\r
\r
\r
\r
Get Multiple Prices\r
\r
\r
\r
assets = \["BTC", "ETH", "SOL", "AVAX"]\r
\r
prices = monitor.get\_prices(assets, "hyperliquid")\r
\r
\r
\r
for asset, price in prices.items():\r
\r
    print(f"{asset}: ${price:,.2f}")\r
\r
\r
\r
View Account Balance (Hyperliquid)\r
\r
\r
\r
Note: Requires setting your public wallet address\r
\r
\r
\r
export HYPERLIQUID\_ACCOUNT\_ADDRESS="0xYourAddressHere"\r
\r
\r
\r
balance = monitor.get\_balance("hyperliquid")\r
\r
print(f"Account Value: ${balance:,.2f}")\r
\r
\r
\r
View Open Positions (Hyperliquid)\r
\r
\r
\r
positions = monitor.get\_positions("hyperliquid")\r
\r
\r
\r
for pos in positions:\r
\r
    print(f"{pos\['coin']}: {pos\['size']} @ ${pos\['entryPx']}")\r
\r
\r
\r
\r
\r
Platform-Specific Notes\r
\r
\r
\r
Hyperliquid\r
\r
\r
\r
• Supports 100+ altcoins\r
\r
• Balance/positions require HYPERLIQUID\_ACCOUNT\_ADDRESS env var\r
\r
• Uses public API endpoints (no authentication needed for prices)\r
\r
LN Markets\r
\r
\r
\r
• Bitcoin-focused\r
\r
• Price data is public\r
\r
• Balances/positions require authenticated API (not included in Lite version)\r
\r
\r
\r
API Reference\r
\r
\r
\r
create\_monitor()\r
\r
\r
\r
Factory function to create a new MarketMonitor instance.\r
\r
\r
\r
Returns: MarketMonitor object\r
\r
\r
\r
MarketMonitor.get\_price(asset, platform)\r
\r
\r
\r
Get current price for an asset.\r
\r
\r
\r
Parameters:\r
\r
\r
\r
• asset (str): Asset symbol (e.g., "BTC", "ETH", "SOL")\r
\r
• platform (str): Platform name ("hyperliquid" or "lnmarkets")\r
\r
Returns: float - Current price in USD\r
\r
\r
\r
MarketMonitor.get\_prices(assets, platform)\r
\r
\r
\r
Get prices for multiple assets at once.\r
\r
\r
\r
Parameters:\r
\r
\r
\r
• assets (List\[str]): List of asset symbols\r
\r
• platform (str): Platform name\r
\r
Returns: Dict\[str, float] - Mapping of asset symbols to prices\r
\r
\r
\r
MarketMonitor.get\_balance(platform)\r
\r
\r
\r
Get account balance.\r
\r
\r
\r
Parameters:\r
\r
\r
\r
• platform (str): Platform name\r
\r
Returns: float - Account balance in USD\r
\r
\r
\r
Claw 🦞, \[2/18/2026 2:55 PM]\r
\r
Note: Requires HYPERLIQUID\_ACCOUNT\_ADDRESS for Hyperliquid\r
\r
\r
\r
MarketMonitor.get\_positions(platform)\r
\r
\r
\r
Get open positions.\r
\r
\r
\r
Parameters:\r
\r
\r
\r
• platform (str): Platform name\r
\r
Returns: List\[Dict] - List of position dictionaries\r
\r
\r
\r
Note: Requires HYPERLIQUID\_ACCOUNT\_ADDRESS for Hyperliquid\r
\r
\r
\r
\r
\r
Environment Variables\r
\r
\r
\r
| Variable                    | Required | Description                                                |\r
\r
| --------------------------- | -------- | ---------------------------------------------------------- |\r
\r
| HYPERLIQUID\_ACCOUNT\_ADDRESS | Optional | Your Hyperliquid wallet address to view balances/positions |\r
\r
\r
\r
\r
\r
Limitations\r
\r
\r
\r
This is a Lite read-only version:\r
\r
\r
\r
• ✅ View prices, balances, positions\r
\r
• ❌ Cannot execute trades\r
\r
• ❌ Cannot place orders\r
\r
• ❌ Cannot manage positions\r
\r
For trading execution, build your own integration or use platform-specific SDKs.\r
\r
\r
\r
\r
\r
Troubleshooting\r
\r
\r
\r
"Error fetching price"\r
\r
\r
\r
• Check internet connection\r
\r
• Verify asset symbol is correct (case-sensitive on some platforms)\r
\r
• Try again (may be temporary API issue)\r
\r
"HYPERLIQUID\_ACCOUNT\_ADDRESS not set"\r
\r
\r
\r
• Export your wallet address: export HYPERLIQUID\_ACCOUNT\_ADDRESS="0x..."\r
\r
• Or pass directly in code (not recommended for shared environments)\r
\r
Balance shows 0 for LN Markets\r
\r
\r
\r
• LN Markets requires authentication for balance data\r
\r
• Lite version only provides public price feeds for LN Markets\r
\r
\r
\r
Technical Details\r
\r
\r
\r
Dependencies:\r
\r
\r
\r
• requests - HTTP library for API calls\r
\r
Data Sources:\r
\r
\r
\r
• Hyperliquid Public API (https://api.hyperliquid.xyz)\r
\r
• LN Markets Public API (https://api.lnmarkets.com)\r
\r
License: MIT\r
\r
\r
\r
\r
\r
About\r
\r
\r
\r
Built for traders who want simple, free market monitoring without complexity or risk.\r
\r
\r
\r
🦞 Free forever. No signup. No API keys.\r
\r
安全使用建议
This skill appears to be what it claims: a read-only market monitor. Before installing, note that: (1) if you set HYPERLIQUID_ACCOUNT_ADDRESS the skill will read that env var to retrieve balances/positions — do not set it if you don't want your public wallet looked up; (2) LN Markets authenticated endpoints are not included in this Lite version; (3) the package has no install script beyond 'pip install requests' but the source and homepage are unknown — if you need higher assurance, review the provided claw_lite.py source yourself or only install from a trusted registry. Also be cautious about the textual prompts in the example (they reference an external bot for a 'Pro' upgrade); those are not executed by the code but indicate an external contact for paid upgrades.
功能分析
Type: OpenClaw Skill Name: claw-trader-lite Version: 1.0.3 The skill 'claw-trader-lite' is designed for read-only market monitoring and explicitly states it requires no private keys or API secrets. The `claw_lite.py` code confirms this, only accessing public API endpoints for Hyperliquid and LN Markets (`https://api.hyperliquid.xyz`, `https://api.lnmarkets.com`). It retrieves the `HYPERLIQUID_ACCOUNT_ADDRESS` from environment variables, which is a public wallet address, not a secret. The `SKILL.md` documentation consistently reinforces the read-only nature and lack of execution risk. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts to subvert the agent's intended purpose. The marketing message for a 'Claw Pro' upgrade is an external call to action, not a security vulnerability within the skill itself.
能力评估
Purpose & Capability
The Python code implements read-only monitoring for Hyperliquid and LN Markets as described: fetching public price endpoints and returning balances/positions for Hyperliquid when a public wallet address is provided. There are no unexpected services accessed.
Instruction Scope
SKILL.md and the code stay within the stated read-only scope. One minor inconsistency: the SKILL.md documents an optional HYPERLIQUID_ACCOUNT_ADDRESS env var and instructs how to set it, while the registry metadata lists no required env vars. The code will read HYPERLIQUID_ACCOUNT_ADDRESS from the environment if present.
Install Mechanism
There is no install spec and the only dependency is the standard requests library (SKILL.md suggests pip install requests). No downloads from untrusted URLs or archive extraction are present.
Credentials
The skill does not request credentials in the registry, but the code and SKILL.md optionally use HYPERLIQUID_ACCOUNT_ADDRESS (a public wallet address) to show balances/positions. This is proportionate to the feature, but the registry/metadata omission is an inconsistency to be aware of.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configs, and has no persistent install steps. It runs in-process and makes outbound API requests only to the documented platform endpoints.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claw-trader-lite
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claw-trader-lite 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated documentation for improved clarity and readability, including expanded usage examples and troubleshooting tips. - Clarified feature set, limitations, and supported platforms in a more concise format. - Simplified language and structure to make onboarding easier for new users. - No changes to underlying code or functionality; this update is focused solely on user guidance and documentation.
v1.0.2
claw-trader-lite 1.0.2 - Clarified that only public addresses are required for monitoring; private/API credentials are not needed or accepted. - Added environment variable option (HYPERLIQUID_ACCOUNT_ADDRESS) for specifying the Hyperliquid account's public address. - Updated key features and capabilities to emphasize strict read-only operation using public information. - Streamlined support and documentation links for improved user guidance. - Removed references to execution logic, leverage, and risk management for clearer scope as a query-only tool.
v1.0.1
**Changelog for version 1.0.1:** - Removed the requirements.txt file. - Updated documentation to streamline feature description and usage instructions. - Simplified explanations of supported commands and advanced connectivity. - Clarified read-only, zero-custody architecture and platform coverage. - Enhanced contact and support details for technical assistance.
v1.0.0
Initial public release of the Claw multi-platform market intelligence suite.
元数据
Slug claw-trader-lite
版本 1.0.3
许可证
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Claw Trader Lite 是什么?

Multi-platform market intelligence for OpenClaw agents. Monitor real-time prices, balances, and positions across Hyperliquid (DeFi) and LNMarkets (Bitcoin).... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 788 次。

如何安装 Claw Trader Lite?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-trader-lite」即可一键安装,无需额外配置。

Claw Trader Lite 是免费的吗?

是的,Claw Trader Lite 完全免费(开源免费),可自由下载、安装和使用。

Claw Trader Lite 支持哪些平台?

Claw Trader Lite 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Claw Trader Lite?

由 nickymick8(@nickymick8)开发并维护,当前版本 v1.0.3。

💬 留言讨论