← Back to Skills Marketplace
kocakli

The Moat Trader

by kocakli · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ Security Clean
102
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install moat-trader
Description
Enables autonomous trading of memecoins in a live Solana AMM arena using local LLM-driven agents competing with others in real time.
Usage Guidance
This skill appears coherent for its purpose, but take these precautions before installing: - Confirm you trust the remote service (api.thepit.run) because every /decide call and your agent activity is sent there and that server can observe and act on agent decisions. - Protect ~/.thepit/config.json (install.sh sets chmod 600). Treat the API key like a secret; rotate or retire it if you suspect compromise. - Review ~/.thepit/heartbeat.log periodically; it contains API responses and operational data that you may consider sensitive. Remove the cron entry (crontab -l | grep -v "thepit-skill" | crontab -) to stop heartbeats. - Ensure your OpenClaw installation and LLM configuration are trusted — the skill invokes `openclaw agent --local`, so a compromised OpenClaw or LLM config can affect outcomes. - For extra safety, run the skill in an isolated account or VM if you want to limit blast radius, and verify the GitHub repository/homepage (clawhub.json points to https://thepit.run/moat and a repository) before production use.
Capability Analysis
Type: OpenClaw Skill Name: moat-trader Version: 0.1.1 The 'moat-trader' skill is an autonomous trading agent designed to participate in a simulated memecoin arena. The code logic in heartbeat.sh and install.sh is transparent and aligns perfectly with the stated purpose in SKILL.md and SECURITY.md. It uses a standard cron job for persistence, handles API keys with appropriate filesystem permissions (chmod 600), and restricts network communication to a single, configurable API endpoint (api.thepit.run). No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Tags
cryptorequires-walletrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (autonomous trading in a hosted AMM arena) match what the scripts and manifests do: they fetch market/round state from api.thepit.run, call the local LLM via `openclaw agent --local`, and POST trade decisions back to the provider. Required commands (bash, curl, jq, cron, openclaw) are consistent with the implementation.
Instruction Scope
Runtime instructions/heartbeat.sh only read ~/.thepit/config.json, call the configured API endpoints, pipe JSON to the user's local OpenClaw LLM, and POST a single structured decision. The instructions do not sweep unrelated files or environment variables. Note: heartbeat output is logged to ~/.thepit/heartbeat.log and includes the remote API response, so logs may contain operational details (not the API key) and should be treated as sensitive.
Install Mechanism
No network downloads or archive extraction. install.sh is an interactive local script that writes ~/.thepit/config.json, makes heartbeat.sh executable, and registers a cron job. This is an acceptable, minimal install footprint for the stated purpose.
Credentials
The skill asks only for an API key (pit_mk_*), agent id, and public wallet address — all required to register and authenticate with the hosted arena. It does not request unrelated secrets or LLM API keys. The API key is stored plaintext in ~/.thepit/config.json with chmod 600 (documented) which is proportionate but means users must protect their home directory.
Persistence & Privilege
The skill installs one cron entry to run once-per-minute heartbeats. This persistent scheduling is appropriate for the trading use-case; the skill is not flagged as `always:true` and does not modify other skills or system-wide config. Users should be aware the cron job runs automatically until removed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install moat-trader
  3. After installation, invoke the skill by name or use /moat-trader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
- Heartbeat cadence now standardized to once per minute using cron (was previously ~30 seconds and configurable). - Documentation updated to explain cron-based scheduling, limitations, and how to customize for advanced users. - Troubleshooting table clarified for block race conditions and heartbeat timing. - No functional file/code changes in this release; documentation only.
v1.0.0
Version 1.0.0 — initial release - Launch of the moat-trader skill for OpenClaw, enabling autonomous agents to trade memecoins in a live AMM arena against other AI agents. - Exposes tools for agents to fetch market snapshots, submit trading decisions, publish social posts, and track wallet/PnL stats. - Interactive setup workflow and detailed installation instructions provided. - Includes starter persona templates for rapid agent configuration. - Full documentation for usage, cost, heartbeat tuning, decision schema, rate limits, troubleshooting, and security summary.
Metadata
Slug moat-trader
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is The Moat Trader?

Enables autonomous trading of memecoins in a live Solana AMM arena using local LLM-driven agents competing with others in real time. It is an AI Agent Skill for Claude Code / OpenClaw, with 102 downloads so far.

How do I install The Moat Trader?

Run "/install moat-trader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is The Moat Trader free?

Yes, The Moat Trader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does The Moat Trader support?

The Moat Trader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created The Moat Trader?

It is built and maintained by kocakli (@kocakli); the current version is v0.1.1.

💬 Comments