Skip to content

Unique-Divine/jiyuu / ai-skills/sai

Trade and inspect Sai perpetuals on Nibiru with the open-source `sai` CLI and its MCP server, and query or reconcile Sai Perps data from live contracts, Sai Keeper GraphQL, and DexPal REST. Use for Sai markets, prices, positions, balances, trade history, live watches, connecting a Sai account, previewing or submitting trades, checking intents, installing or configuring the Sai MCP server, `sai config`, `sai doctor`, `sai update`, `sai logs`, fees, open interest, SLP vaults, referrals, or disagreements between on-chain and indexed data. Use agent skill `sai-ops` for contract and operator mutations.

FileKindSize
SKILL.mdskill md6.1 KB
cli.mdmarkdown11.0 KB
examples/prompts.mdmarkdown2.1 KB
mcp.mdmarkdown8.1 KB
references/contracts.mdmarkdown28.1 KB
references/graphql.mdmarkdown4.5 KB
references/reconciliation.mdmarkdown3.4 KB
references/referrals.mdmarkdown6.9 KB
references/rest.mdmarkdown7.1 KB
references/vaults.mdmarkdown23.7 KB
trading-safety.mdmarkdown11.2 KB

examples/prompts.md

View on GitHub
# Sai Protocol Data Test Prompts

Use these prompts to tune whether agent skill `sai` triggers for protocol
data questions. The first group should trigger `sai` and its references; the
second group should not, or should use agent skill `sai-ops` because the task
is a private operator runbook.

## Should Trigger `sai`

- "check mainnet BTC/USDC OI right now and tell me whether pair OI or group OI is the binding limit. use contract state, not the API"
- "why does `GET /dexpal/v1/stats` say open interest is 0 even though I can see open trades in the app? compare REST, DB, and contract state"
- "for trader `nibi1...`, find open Sai positions, fee multiplier, and whether they have any trading credits"
- "can you compare the REST 24h volume against table `stats_perp_by_user` and explain any timing mismatch?" (the table half needs private agent skill `sai-db`)
- "does referral code `FOO` exist, who owns it, and does GraphQL show any redemptions or referred trades? don't create anything"
- "inspect SLP USDC vault health: collateralization, share price, max deposit, current epoch, and raw PnL state if it looks weird"
- "what GraphQL field should I use to subscribe to live perp trade updates for a trader, and how do the amounts scale?"
- "map Sai market index 1002 to its token, group, fee index, and current oracle price"
- "the app shows a different vault TVL than the contract query. help me reconcile GraphQL, REST, DB, and on-chain values"

## Should Not Trigger `sai`

- "upload the latest `perp.wasm`, compare the checksum to on-chain code, and migrate mainnet if needed" -> use `sai-ops`.
- "create referral code `FOO` for this EVM address and update the sheet afterward" -> use `sai-ops`.
- "issue 300 USDC of Sai trading credits to this affiliate" -> use `sai-ops`.
- "run the trigger-trades admin flow for this keeper batch" -> use `sai-ops`.
- "which `sai-keeper` table backs referral redemption history?" -> use `sai-db`.
- "debug a raw Nibiru EVM tx receipt unrelated to Sai contracts" -> use `evm-rpc` or `nibiru-cli`.
- "query a normal Nibiru wallet balance for staking rewards" -> use Nibiru/indexer balance or staking skills.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall