Skip to content

Unique-Divine/jiyuu / ai-skills/sai-perps

sai-perps

Verified

Moved into agent skill `sai`. Query and reconcile Sai Perps data from live contracts, Sai Keeper GraphQL and Postgres, and DexPal REST. Use for markets, trades, fees, open interest, vaults, balances, referrals, Sai Keeper Postgres tables, columns, and schema questions, or disagreements between on-chain and indexed data. Load agent skill `sai` for everything except the Postgres table guide, which stays here. Use agent skill `sai-ops` for mutations.

Sai Perps

This skill moved into agent skill sai. Load sai and follow its router.

If agent skill sai is not installed, read it from its repository at https://github.com/Unique-Divine/jiyuu/tree/main/ai-skills/sai. The sai CLI also prints its packaged copy with sai --skill.

Old page in sai-perpsPage in sai
references/sai-contracts.mdreferences/contracts.md
references/sai-vaults.mdreferences/vaults.md
references/sai-graphql.mdreferences/graphql.md
references/sai-rest.mdreferences/rest.md
references/sai-referrals.mdreferences/referrals.md
references/sai-reconciliation.mdreferences/reconciliation.md
examples/sai-perps-prompts.mdexamples/prompts.md

The links above work when both skills sit in the same directory. Otherwise use the same paths under the repository URL.

Sai Keeper Postgres

For a question about a Sai Keeper Postgres table, column, unit, migration, or which table feeds a GraphQL field or REST metric, read references/sai-db.md. That page stays in this skill, because agent skill sai ships inside the public sai CLI and carries no database material.

For database access, primary and replica routing, or any write, use private agent skill sai-db. Do not infer connection details from repository configuration or environment variables.

Mutations

Contract and operator mutations belong to agent skill sai-ops.

deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall