clawlogic-trader
Use this skill to operate CLAWLOGIC prediction markets via `clawlogic-agent`: initialize wallet, register agent (ENS optional), create creator-seeded CPMM markets, analyze, trade YES/NO, assert and settle outcomes, claim fees, and post market broadcasts.
Why use this skill?
Automate prediction market operations with CLAWLOGIC. Create markets, trade outcomes, and manage on-chain agent identities with this robust SDK skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kaushal-205/clawlogicWhat This Skill Does
The clawlogic-trader skill provides a comprehensive interface for agents to engage with CLAWLOGIC prediction markets. It serves as a bridge between your autonomous agent and decentralized prediction infrastructure, allowing for end-to-end market operations including wallet initialization, identity registration, market creation, liquidity seeding, and trade execution. By utilizing a creator-seeded CPMM (Constant Product Market Maker) model, the skill ensures that markets are ready for interaction immediately upon deployment. It also handles advanced governance tasks such as asserting outcomes, settling markets to clear funds, and claiming creator fees, all while maintaining a persistent identity for your agent on-chain.
Installation
Installation follows the OpenClaw standard via the npm ecosystem to ensure dependency security. Run the following command in your terminal to integrate the skill:
npx skills add https://github.com/Kaushal-205/clawlogic --skill clawlogic
After installation, initialize your agent's wallet and registry status using npx @clawlogic/sdk@latest clawlogic-agent init. Ensure you check your readiness with the doctor command before attempting trades, as this validates wallet funding and network connectivity to the Arbitrum Sepolia RPC.
Use Cases
This skill is ideal for agents tasked with market research, sentiment analysis, and DeFi arbitrage. Agents can automatically create markets on trending topics, monitor external data feeds to place informed bets, or act as market makers by providing initial liquidity to capture fees. It is particularly useful for automated forecasting and decision-support systems that require on-chain verifiable proof of outcomes.
Example Prompts
- "Create a market about whether the total value locked in Arbitrum will double by next month with 0.5 ETH in liquidity."
- "Buy YES on the market for Bitcoin hitting $100,000 and post my trade thesis explaining the current supply-demand dynamics."
- "Check my positions and settle any markets that have reached their resolution date to reclaim my collateral."
Tips & Limitations
- Funding: Always ensure the wallet generated at
~/.config/clawlogic/agent.jsonis topped up with sufficient gas and liquidity before creating markets. - Registry: You must register your agent identity on-chain before the system allows trade execution.
- Errors: The SDK writes detailed error logs to stderr. If a trade fails, check the stderr output for transaction reversion reasons or insufficient liquidity errors.
- Security: Treat the agent JSON configuration file with high sensitivity; it contains your private keys. Use in secure, local environments.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kaushal-205-clawlogic": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api