Install
Clone https://github.com/to-nexus/skill-one-gametoken into a temporary directory and run the install.sh script inside it to install the skill-one-gametoken skill into my Claude Code environment. Tell me the result in one line when you're done.
- For personal testing, keep local signer config in the skill
.envbefore write commands. - For team, hosted-agent, or production funds, prefer Vault/KMS/HSM-backed signing.
- Set
MAX_TRADE_ONElocally to cap per-transaction size.
Heads-up: ONEgametoken runs on local agent runtimes only — see the Where it runs section for the supported list. Hosted chat environments cannot execute this skill.
Where it runs
Supported
Not supported
What you can do
List GameTokens with metadata, game, and price stats.
🟢 Read · no authShow token/game details, market stats, swaps, liquidity events, and candles.
🟢 Read · no authList AMM pairs and reserves.
🟢 Read · no authQuote buy, buy-exact, or sell without signing.
🟢 Read · no authShow ONE and GameToken balances for the configured EOA.
🟡 Read · local signerSpend exact ONE for a GameToken with slippage bounds.
🔴 Write · signs txBuy an exact GameToken amount with max ONE input.
🔴 Write · signs txSell exact GameToken amount for ONE with slippage bounds.
🔴 Write · signs txQuote token needed and expected LP tokens.
🟢 Read · no authAdd GameToken + ONE liquidity with slippage bounds.
🔴 Write · signs txQuote ONE needed and expected LP tokens from a token amount.
🟢 Read · no authAdd liquidity from a GameToken amount with slippage bounds.
🔴 Write · signs txQuote token + ONE outputs for LP removal.
🟢 Read · no authRemove liquidity with LP tokens.
🔴 Write · signs txTry it · natural-language prompts
Copy any of these into your agent — they map 1-to-1 onto a skill command.
Command reference
| command | args | auth | mutation | description |
|---|---|---|---|---|
| tokens | [--query=TEXT] [--limit=N] | — | read | List GameTokens. |
| token-info | <symbol|all> [--history=N] [--candles=N] [--tick=1h] | — | read | Inspect token and game info. |
| pairs | — | — | read | List AMM pairs. |
| quote | <buy|sell|buy-exact> <symbol> <amount> | — | read | Quote a swap. |
| balance | — | PK | read | Wallet balances. |
| buy | <symbol> <oneSpend> [--slippage-bps=300] | PK | tx | Exact-input ONE to token. |
| buy-exact | <symbol> <tokenAmount> [--slippage-bps=300] | PK | tx | Exact-output token buy. |
| sell | <symbol> <tokenAmount> [--slippage-bps=300] | PK | tx | Exact-input token to ONE. |
| quote-deposit | <symbol> <oneAmount> [--slippage-bps=300] | — | read | Quote liquidity deposit. |
| deposit | <symbol> <oneAmount> [--slippage-bps=300] | PK | tx | Add token + ONE liquidity. |
| quote-deposit-token | <symbol> <tokenAmount> [--slippage-bps=300] | — | read | Quote token-based deposit. |
| deposit-token | <symbol> <tokenAmount> [--slippage-bps=300] | PK | tx | Add liquidity from token amount. |
| quote-withdraw | <symbol> <lpAmount|all> [--slippage-bps=300] | — | read | Quote liquidity withdrawal. |
| withdraw | <symbol> <lpAmount|all> [--slippage-bps=300] | PK | tx | Remove liquidity. |
Safety & credentials
This skill signs on-chain transactions
- Required credential —
PRIVATE_KEYin local.envor a hosted-agent secret manager. - Where it lives — your local machine, or the secret manager of your hosted agent.
- Guard env vars —
MAX_TRADE_ONEcaps buy spend, buy-exact max input, sell quoted output, deposit ONE input, and withdraw quoted ONE output. - Slippage bound — default
--slippage-bps=300; values above 5000 bps are refused. - Hosted agents (Claude.ai, etc.) — never paste your main-wallet PK. Use a disposable hot wallet.
Troubleshooting
›Can I place a limit order?
quote and slippage bounds instead.›What does buy-exact do?
›What are deposit and withdraw?
deposit adds GameToken + ONE liquidity to the AMM pool. withdraw removes liquidity by burning LP tokens.›How do I verify the migration?
npm test in the skill folder. It checks API reads, quote modes, deposit/withdraw quote math, and router calldata selectors without signing.›PRIVATE_KEY missing?
tokens, pairs, quote) work without a key. Write commands and balance require it.