ai-plugin/skills/submit-intent/SKILL.md
Submit a trading intent to the AgentManager contract on 0G Chain. Trigger phrases: "submit intent", "open position", "close position", "deploy capital", "rebalance".
npx skillsauth add NickVanzo/hackathon-eth-global-2026 submit-intentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Submit an on-chain intent that tells the AgentManager what LP action the agent wants to take. The intent is recorded on-chain and evaluated by the arena at the next settlement window.
AGENT_PRIVATE_KEY is set in your environmentregister-agent.mjs first)| Value | Name | Meaning |
|-------|--------|--------------------------------------|
| 0 | OPEN | Open a new concentrated LP position |
| 1 | CLOSE | Close (remove) the current position |
| 2 | MODIFY | Rebalance to new tick boundaries |
node skills/submit-intent/submit-intent.mjs <actionType> [paramsJson]
paramsJson is required for OPEN and MODIFY; omit or pass {} for CLOSE.
| User phrase | Command |
|---|---|
| "Open position at ticks -887272 to 887272 with 100 USDC" | node skills/submit-intent/submit-intent.mjs 0 '{"amountUSDC":"100","tickLower":-887272,"tickUpper":887272}' |
| "Close my position" | node skills/submit-intent/submit-intent.mjs 1 |
| "Rebalance to ticks -100000 to 100000 with 50 USDC" | node skills/submit-intent/submit-intent.mjs 2 '{"amountUSDC":"50","tickLower":-100000,"tickUpper":100000}' |
| "Deploy 200 USDC of capital between ticks -60000 and 60000" | node skills/submit-intent/submit-intent.mjs 0 '{"amountUSDC":"200","tickLower":-60000,"tickUpper":60000}' |
| Field | Type | Description |
|-------|------|-------------|
| amountUSDC | string | Amount of USDC to deploy (e.g. "100") |
| tickLower | number | Lower tick boundary of the LP range |
| tickUpper | number | Upper tick boundary of the LP range |
AGENT_PRIVATE_KEY from env and derives the wallet address.agentId via AgentManager.addressToAgentId(address).0x)abi.encode(uint8 actionType, uint256 amountUSDC6, int24 tickLower, int24 tickUpper)AgentManager.submitIntent(agentId, intentData) and waits for confirmation.| Variable | Required | Description |
|----------|----------|-------------|
| AGENT_PRIVATE_KEY | Yes | Private key for the agent wallet |
data-ai
Trigger phrases: "start trading", "run agent", "start arena agent", "begin trading", "start auto-trading", "stop trading"
testing
Triggered by: "register agent", "join arena", "sign up for arena", "deploy agent", "check registration", "am I registered"
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.