@oracle-agent/oracle 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/README.md +525 -13
  2. package/SECURITY.md +114 -0
  3. package/SETUP.md +319 -0
  4. package/artifacts/inscription/oracle-was-here-preview.png +0 -0
  5. package/artifacts/inscription/oracle-was-here.svg +1 -0
  6. package/artifacts/specialist-packs/oracle-full-crypto.json +298 -0
  7. package/dist/action-receipts.mjs +1 -0
  8. package/dist/action-semantics.mjs +1 -0
  9. package/dist/address-book.mjs +2 -0
  10. package/dist/assets/profiles/_template/SOUL.md +54 -0
  11. package/dist/assets/profiles/_template/profile.json +22 -0
  12. package/dist/assets/profiles/bitcoin-agent/SOUL.md +31 -0
  13. package/dist/assets/profiles/bitcoin-agent/profile.json +32 -0
  14. package/dist/assets/profiles/hyperliquid-agent/SOUL.md +34 -0
  15. package/dist/assets/profiles/hyperliquid-agent/profile.json +38 -0
  16. package/dist/assets/profiles/oracle/SOUL.md +134 -0
  17. package/dist/assets/profiles/oracle/profile.json +40 -0
  18. package/dist/assets/profiles/polymarket-agent/SOUL.md +35 -0
  19. package/dist/assets/profiles/polymarket-agent/profile.json +34 -0
  20. package/dist/assets/profiles/profile.schema.json +90 -0
  21. package/dist/assets/profiles/protocol-builder/SOUL.md +57 -0
  22. package/dist/assets/profiles/protocol-builder/profile.json +39 -0
  23. package/dist/assets/profiles/robinhood-agent/SOUL.md +53 -0
  24. package/dist/assets/profiles/robinhood-agent/profile.json +41 -0
  25. package/dist/assets/profiles/solana-agent/SOUL.md +37 -0
  26. package/dist/assets/profiles/solana-agent/profile.json +38 -0
  27. package/dist/assets/profiles/stable-agent/SOUL.md +43 -0
  28. package/dist/assets/profiles/stable-agent/profile.json +38 -0
  29. package/dist/assets/skills/balance/SKILL.md +176 -0
  30. package/dist/assets/skills/bitcoin-l1.md +33 -0
  31. package/dist/assets/skills/chain-defi-ecosystem-profiling.md +27 -0
  32. package/dist/assets/skills/evm-contract-research.md +27 -0
  33. package/dist/assets/skills/hyperliquid.md +26 -0
  34. package/dist/assets/skills/multichain-exec-desk.md +33 -0
  35. package/dist/assets/skills/oracle-action-semantics/SKILL.md +40 -0
  36. package/dist/assets/skills/oracle-best-execution/SKILL.md +127 -0
  37. package/dist/assets/skills/oracle-best-execution.md +27 -0
  38. package/dist/assets/skills/oracle-bitcoin/SKILL.md +53 -0
  39. package/dist/assets/skills/oracle-chain-graphs-telegram-cards/SKILL.md +59 -0
  40. package/dist/assets/skills/oracle-chat/SKILL.md +61 -0
  41. package/dist/assets/skills/oracle-chat/chain.SKILL.md +31 -0
  42. package/dist/assets/skills/oracle-chat/setup.SKILL.md +37 -0
  43. package/dist/assets/skills/oracle-circuit-breaker/SKILL.md +51 -0
  44. package/dist/assets/skills/oracle-contract-research/SKILL.md +55 -0
  45. package/dist/assets/skills/oracle-desk/SKILL.md +58 -0
  46. package/dist/assets/skills/oracle-desk.md +27 -0
  47. package/dist/assets/skills/oracle-dex-launch/SKILL.md +38 -0
  48. package/dist/assets/skills/oracle-equities/SKILL.md +62 -0
  49. package/dist/assets/skills/oracle-grants/SKILL.md +69 -0
  50. package/dist/assets/skills/oracle-hypercore-staking/SKILL.md +57 -0
  51. package/dist/assets/skills/oracle-hyperliquid/SKILL.md +56 -0
  52. package/dist/assets/skills/oracle-meme-token-sniper/SKILL.md +73 -0
  53. package/dist/assets/skills/oracle-multichain-nft-launch/SKILL.md +338 -0
  54. package/dist/assets/skills/oracle-multichain-token-launch/SKILL.md +300 -0
  55. package/dist/assets/skills/oracle-nft-gacha-launch/SKILL.md +48 -0
  56. package/dist/assets/skills/oracle-nft-mint-gas-war/SKILL.md +63 -0
  57. package/dist/assets/skills/oracle-polymarket/SKILL.md +60 -0
  58. package/dist/assets/skills/oracle-protocol-builder/SKILL.md +59 -0
  59. package/dist/assets/skills/oracle-protocol-security/SKILL.md +60 -0
  60. package/dist/assets/skills/oracle-public-product/SKILL.md +44 -0
  61. package/dist/assets/skills/oracle-receipts/SKILL.md +52 -0
  62. package/dist/assets/skills/oracle-receipts.md +29 -0
  63. package/dist/assets/skills/oracle-rfq-tokenized-assets/SKILL.md +69 -0
  64. package/dist/assets/skills/oracle-smart-wallet-scanner/SKILL.md +49 -0
  65. package/dist/assets/skills/oracle-solana/SKILL.md +65 -0
  66. package/dist/assets/skills/oracle-solana-nft/SKILL.md +54 -0
  67. package/dist/assets/skills/oracle-token-research/SKILL.md +67 -0
  68. package/dist/assets/skills/solana.md +22 -0
  69. package/dist/bin/desk-server.mjs +59 -0
  70. package/dist/bin/oracle-data-mcp.mjs +8 -0
  71. package/dist/bin/oracle-equities.mjs +20 -0
  72. package/dist/bin/oracle-init.mjs +24 -0
  73. package/dist/bin/oracle-public-server.mjs +5 -0
  74. package/dist/bin/oracle-route.mjs +22 -0
  75. package/dist/bin/oracle-scan.mjs +18 -0
  76. package/dist/bin/oracle-upgrade.mjs +21 -0
  77. package/dist/bin/oracle.mjs +76 -0
  78. package/dist/chains.mjs +1 -0
  79. package/dist/cli/commands/auth.mjs +16 -0
  80. package/dist/cli/commands/bootstrap.mjs +18 -0
  81. package/dist/cli/commands/chain.mjs +21 -0
  82. package/dist/cli/commands/chat.mjs +45 -0
  83. package/dist/cli/commands/credential.mjs +1 -0
  84. package/dist/cli/commands/data-mcp.mjs +2 -0
  85. package/dist/cli/commands/data.mjs +12 -0
  86. package/dist/cli/commands/doctor.mjs +5 -0
  87. package/dist/cli/commands/equities.mjs +15 -0
  88. package/dist/cli/commands/farm.mjs +59 -0
  89. package/dist/cli/commands/follow.mjs +28 -0
  90. package/dist/cli/commands/gate.mjs +13 -0
  91. package/dist/cli/commands/harness.mjs +15 -0
  92. package/dist/cli/commands/help.mjs +1 -0
  93. package/dist/cli/commands/init.mjs +3 -0
  94. package/dist/cli/commands/mcp.mjs +60 -0
  95. package/dist/cli/commands/model.mjs +54 -0
  96. package/dist/cli/commands/plugins.mjs +38 -0
  97. package/dist/cli/commands/prepare.mjs +2 -0
  98. package/dist/cli/commands/public.mjs +3 -0
  99. package/dist/cli/commands/resolve.mjs +23 -0
  100. package/dist/cli/commands/route.mjs +2 -0
  101. package/dist/cli/commands/runner.mjs +1 -0
  102. package/dist/cli/commands/scan.mjs +2 -0
  103. package/dist/cli/commands/setup.mjs +34 -0
  104. package/dist/cli/commands/sign.mjs +21 -0
  105. package/dist/cli/commands/signer.mjs +1 -0
  106. package/dist/cli/commands/swap.mjs +36 -0
  107. package/dist/cli/commands/upgrade.mjs +2 -0
  108. package/dist/cli/commands/vault.mjs +1 -0
  109. package/dist/cli/commands/version.mjs +2 -0
  110. package/dist/data/desk-data.mjs +55 -0
  111. package/dist/data/names.mjs +2 -0
  112. package/dist/data/providers/farming.mjs +2 -0
  113. package/dist/equities/index.mjs +1 -0
  114. package/dist/index.mjs +60 -0
  115. package/dist/nft-gas-war-guard.mjs +1 -0
  116. package/dist/onboarding/harness-configs.mjs +4 -0
  117. package/dist/portfolio-risk.mjs +1 -0
  118. package/dist/prepare-envelope.mjs +1 -0
  119. package/dist/public-api/agent-grants.mjs +3 -0
  120. package/dist/public-control/policy-schema.mjs +1 -0
  121. package/dist/router/index.mjs +2 -0
  122. package/dist/scanner/index.mjs +4 -0
  123. package/dist/signals/index.mjs +1 -0
  124. package/dist/watch-preferences.mjs +1 -0
  125. package/package.json +66 -16
  126. package/public/agent-connect/app.js +84 -0
  127. package/public/agent-connect/index.html +83 -0
  128. package/public/agent-connect/styles.css +70 -0
  129. package/public/index.html +12 -0
  130. package/public/oracle-console/app.js +272 -0
  131. package/public/oracle-console/bitcoin-wallets.js +206 -0
  132. package/public/oracle-console/index.html +91 -0
  133. package/public/oracle-console/styles.css +239 -0
  134. package/public/oracle-splash/_variants/ice.html +2073 -0
  135. package/public/oracle-splash/_variants/ivory.html +2075 -0
  136. package/public/oracle-splash/assets/agents/claude.png +0 -0
  137. package/public/oracle-splash/assets/agents/codex.png +0 -0
  138. package/public/oracle-splash/assets/cli-chain-hyperliquid.jpg +0 -0
  139. package/public/oracle-splash/assets/desktop-app.jpg +0 -0
  140. package/public/oracle-splash/assets/hero/cli-session-poster.jpg +0 -0
  141. package/public/oracle-splash/assets/hero/cli-session.mp4 +0 -0
  142. package/public/oracle-splash/assets/hero/cli-session.webm +0 -0
  143. package/public/oracle-splash/assets/hero/orb-poster.jpg +0 -0
  144. package/public/oracle-splash/assets/hero/orb.avif +0 -0
  145. package/public/oracle-splash/assets/hero/orb.webm +0 -0
  146. package/public/oracle-splash/assets/hero/risk-session-poster.jpg +0 -0
  147. package/public/oracle-splash/assets/hero/risk-session.mp4 +0 -0
  148. package/public/oracle-splash/assets/hero/risk-session.webm +0 -0
  149. package/public/oracle-splash/assets/hero/route-session-poster.jpg +0 -0
  150. package/public/oracle-splash/assets/hero/route-session.mp4 +0 -0
  151. package/public/oracle-splash/assets/hero/route-session.webm +0 -0
  152. package/public/oracle-splash/assets/llms/claude.svg +1 -0
  153. package/public/oracle-splash/assets/llms/codex-icon.svg +1 -0
  154. package/public/oracle-splash/assets/llms/codex.svg +1 -0
  155. package/public/oracle-splash/assets/llms/cursor-icon.svg +12 -0
  156. package/public/oracle-splash/assets/llms/cursor.svg +17 -0
  157. package/public/oracle-splash/assets/llms/deepseek.svg +1 -0
  158. package/public/oracle-splash/assets/llms/gemini-icon.svg +1 -0
  159. package/public/oracle-splash/assets/llms/gemini.svg +1 -0
  160. package/public/oracle-splash/assets/llms/grok.svg +8 -0
  161. package/public/oracle-splash/assets/llms/hermes.png +0 -0
  162. package/public/oracle-splash/assets/llms/kimi-icon.svg +1 -0
  163. package/public/oracle-splash/assets/llms/kimi.svg +1 -0
  164. package/public/oracle-splash/assets/llms/manus.svg +18 -0
  165. package/public/oracle-splash/assets/llms/openclaw.svg +22 -0
  166. package/public/oracle-splash/assets/llms/perplexity.svg +1 -0
  167. package/public/oracle-splash/assets/llms/qwen.svg +1 -0
  168. package/public/oracle-splash/assets/llms/windsurf.svg +1 -0
  169. package/public/oracle-splash/assets/protocols/abcdex.png +0 -0
  170. package/public/oracle-splash/assets/protocols/across.png +0 -0
  171. package/public/oracle-splash/assets/protocols/aerodrome.png +0 -0
  172. package/public/oracle-splash/assets/protocols/balancer.png +0 -0
  173. package/public/oracle-splash/assets/protocols/cowswap.png +0 -0
  174. package/public/oracle-splash/assets/protocols/curve.png +0 -0
  175. package/public/oracle-splash/assets/protocols/dreamcash.png +0 -0
  176. package/public/oracle-splash/assets/protocols/felix.png +0 -0
  177. package/public/oracle-splash/assets/protocols/gmx.png +0 -0
  178. package/public/oracle-splash/assets/protocols/hyena.png +0 -0
  179. package/public/oracle-splash/assets/protocols/hyperbeat.png +0 -0
  180. package/public/oracle-splash/assets/protocols/hyperliquid.png +0 -0
  181. package/public/oracle-splash/assets/protocols/hyperswap.png +0 -0
  182. package/public/oracle-splash/assets/protocols/jupiter.png +0 -0
  183. package/public/oracle-splash/assets/protocols/kinetiq.png +0 -0
  184. package/public/oracle-splash/assets/protocols/lfj.png +0 -0
  185. package/public/oracle-splash/assets/protocols/lifi.png +0 -0
  186. package/public/oracle-splash/assets/protocols/magic-eden.png +0 -0
  187. package/public/oracle-splash/assets/protocols/morpho.png +0 -0
  188. package/public/oracle-splash/assets/protocols/odos.png +0 -0
  189. package/public/oracle-splash/assets/protocols/oneinch.png +0 -0
  190. package/public/oracle-splash/assets/protocols/opensea.png +0 -0
  191. package/public/oracle-splash/assets/protocols/pancakeswap.png +0 -0
  192. package/public/oracle-splash/assets/protocols/paragon.png +0 -0
  193. package/public/oracle-splash/assets/protocols/paraswap.png +0 -0
  194. package/public/oracle-splash/assets/protocols/pendle.png +0 -0
  195. package/public/oracle-splash/assets/protocols/polymarket.png +0 -0
  196. package/public/oracle-splash/assets/protocols/quickswap.png +0 -0
  197. package/public/oracle-splash/assets/protocols/relay.png +0 -0
  198. package/public/oracle-splash/assets/protocols/stargate.png +0 -0
  199. package/public/oracle-splash/assets/protocols/tradexyz.png +0 -0
  200. package/public/oracle-splash/assets/protocols/uniswap.png +0 -0
  201. package/public/oracle-splash/assets/protocols/velodrome.png +0 -0
  202. package/public/oracle-splash/assets/protocols/ventuals.png +0 -0
  203. package/public/oracle-splash/assets/wordmarks/across-icon.webp +0 -0
  204. package/public/oracle-splash/assets/wordmarks/across.svg +4 -0
  205. package/public/oracle-splash/assets/wordmarks/aerodrome.svg +23 -0
  206. package/public/oracle-splash/assets/wordmarks/balancer.svg +3 -0
  207. package/public/oracle-splash/assets/wordmarks/cowswap.svg +1 -0
  208. package/public/oracle-splash/assets/wordmarks/curve.png +0 -0
  209. package/public/oracle-splash/assets/wordmarks/gmx.svg +13 -0
  210. package/public/oracle-splash/assets/wordmarks/hop-icon.webp +0 -0
  211. package/public/oracle-splash/assets/wordmarks/hyena.svg +7 -0
  212. package/public/oracle-splash/assets/wordmarks/hyperliquid.svg +21 -0
  213. package/public/oracle-splash/assets/wordmarks/hyperswap.svg +13 -0
  214. package/public/oracle-splash/assets/wordmarks/jupiter.svg +35 -0
  215. package/public/oracle-splash/assets/wordmarks/kinetiq.svg +1 -0
  216. package/public/oracle-splash/assets/wordmarks/lfj.webp +0 -0
  217. package/public/oracle-splash/assets/wordmarks/lifi.png +0 -0
  218. package/public/oracle-splash/assets/wordmarks/magic-eden.svg +1 -0
  219. package/public/oracle-splash/assets/wordmarks/markets.svg +1 -0
  220. package/public/oracle-splash/assets/wordmarks/morpho.svg +1 -0
  221. package/public/oracle-splash/assets/wordmarks/odos.svg +3 -0
  222. package/public/oracle-splash/assets/wordmarks/oneinch-icon.webp +0 -0
  223. package/public/oracle-splash/assets/wordmarks/oneinch.svg +6 -0
  224. package/public/oracle-splash/assets/wordmarks/opensea-icon.svg +17 -0
  225. package/public/oracle-splash/assets/wordmarks/opensea.svg +1 -0
  226. package/public/oracle-splash/assets/wordmarks/outcome.svg +16 -0
  227. package/public/oracle-splash/assets/wordmarks/pancakeswap.svg +18 -0
  228. package/public/oracle-splash/assets/wordmarks/paragon.svg +9 -0
  229. package/public/oracle-splash/assets/wordmarks/paraswap.svg +16 -0
  230. package/public/oracle-splash/assets/wordmarks/pendle.png +0 -0
  231. package/public/oracle-splash/assets/wordmarks/polymarket.png +0 -0
  232. package/public/oracle-splash/assets/wordmarks/quickswap.png +0 -0
  233. package/public/oracle-splash/assets/wordmarks/relay.svg +8 -0
  234. package/public/oracle-splash/assets/wordmarks/satflow-icon.png +0 -0
  235. package/public/oracle-splash/assets/wordmarks/stargate-icon.webp +0 -0
  236. package/public/oracle-splash/assets/wordmarks/stargate.svg +15 -0
  237. package/public/oracle-splash/assets/wordmarks/uniswap.svg +18 -0
  238. package/public/oracle-splash/assets/wordmarks/velodrome.svg +84 -0
  239. package/public/oracle-splash/assets/wordmarks/xyz.svg +12 -0
  240. package/public/oracle-splash/assets/wordmarks/zerox-icon.webp +0 -0
  241. package/public/oracle-splash/brand/aave.webp +0 -0
  242. package/public/oracle-splash/brand/aavev2.webp +0 -0
  243. package/public/oracle-splash/brand/aborean.webp +0 -0
  244. package/public/oracle-splash/brand/across.webp +0 -0
  245. package/public/oracle-splash/brand/aerodrome.webp +0 -0
  246. package/public/oracle-splash/brand/afi.webp +0 -0
  247. package/public/oracle-splash/brand/arcus.webp +0 -0
  248. package/public/oracle-splash/brand/aster.webp +0 -0
  249. package/public/oracle-splash/brand/avant.webp +0 -0
  250. package/public/oracle-splash/brand/balancer.webp +0 -0
  251. package/public/oracle-splash/brand/beefy.webp +0 -0
  252. package/public/oracle-splash/brand/benqi.webp +0 -0
  253. package/public/oracle-splash/brand/bestinslot.ico +0 -0
  254. package/public/oracle-splash/brand/bitfi.webp +0 -0
  255. package/public/oracle-splash/brand/bonkswap.webp +0 -0
  256. package/public/oracle-splash/brand/bouncebit.webp +0 -0
  257. package/public/oracle-splash/brand/camelot.webp +0 -0
  258. package/public/oracle-splash/brand/compound.webp +0 -0
  259. package/public/oracle-splash/brand/concrete.webp +0 -0
  260. package/public/oracle-splash/brand/cow.webp +0 -0
  261. package/public/oracle-splash/brand/curve.webp +0 -0
  262. package/public/oracle-splash/brand/derive.webp +0 -0
  263. package/public/oracle-splash/brand/dolomite.webp +0 -0
  264. package/public/oracle-splash/brand/eigenlayer.webp +0 -0
  265. package/public/oracle-splash/brand/ekubo.webp +0 -0
  266. package/public/oracle-splash/brand/ethena.webp +0 -0
  267. package/public/oracle-splash/brand/etherfi.webp +0 -0
  268. package/public/oracle-splash/brand/etherfiborrow.webp +0 -0
  269. package/public/oracle-splash/brand/felix.webp +0 -0
  270. package/public/oracle-splash/brand/fluid.webp +0 -0
  271. package/public/oracle-splash/brand/fluxbeam.webp +0 -0
  272. package/public/oracle-splash/brand/folks.webp +0 -0
  273. package/public/oracle-splash/brand/fortyacres.webp +0 -0
  274. package/public/oracle-splash/brand/gainsnetwork.webp +0 -0
  275. package/public/oracle-splash/brand/gassss.webp +0 -0
  276. package/public/oracle-splash/brand/gmx.webp +0 -0
  277. package/public/oracle-splash/brand/harmonix.webp +0 -0
  278. package/public/oracle-splash/brand/hlorderbook.webp +0 -0
  279. package/public/oracle-splash/brand/hlp.webp +0 -0
  280. package/public/oracle-splash/brand/hop.webp +0 -0
  281. package/public/oracle-splash/brand/hyperbeat.webp +0 -0
  282. package/public/oracle-splash/brand/hyperlend.webp +0 -0
  283. package/public/oracle-splash/brand/hyperliquid.webp +0 -0
  284. package/public/oracle-splash/brand/hyperliquidhpl.webp +0 -0
  285. package/public/oracle-splash/brand/hyperliquidspot.webp +0 -0
  286. package/public/oracle-splash/brand/hyperswap.webp +0 -0
  287. package/public/oracle-splash/brand/hypha.webp +0 -0
  288. package/public/oracle-splash/brand/joedex.webp +0 -0
  289. package/public/oracle-splash/brand/jupiter.webp +0 -0
  290. package/public/oracle-splash/brand/kelp.webp +0 -0
  291. package/public/oracle-splash/brand/kinetiq.webp +0 -0
  292. package/public/oracle-splash/brand/kmhype.webp +0 -0
  293. package/public/oracle-splash/brand/kona.webp +0 -0
  294. package/public/oracle-splash/brand/konalend.webp +0 -0
  295. package/public/oracle-splash/brand/lfj.webp +0 -0
  296. package/public/oracle-splash/brand/lido.webp +0 -0
  297. package/public/oracle-splash/brand/lifi.webp +0 -0
  298. package/public/oracle-splash/brand/lighter.webp +0 -0
  299. package/public/oracle-splash/brand/lista.webp +0 -0
  300. package/public/oracle-splash/brand/loopedhype.webp +0 -0
  301. package/public/oracle-splash/brand/lorenzo.webp +0 -0
  302. package/public/oracle-splash/brand/magic-eden.webp +0 -0
  303. package/public/oracle-splash/brand/magiceden.webp +0 -0
  304. package/public/oracle-splash/brand/mempool.png +0 -0
  305. package/public/oracle-splash/brand/meteora.webp +0 -0
  306. package/public/oracle-splash/brand/morpho.webp +0 -0
  307. package/public/oracle-splash/brand/myriad.webp +0 -0
  308. package/public/oracle-splash/brand/noxa.webp +0 -0
  309. package/public/oracle-splash/brand/odos.webp +0 -0
  310. package/public/oracle-splash/brand/oneinch.webp +0 -0
  311. package/public/oracle-splash/brand/openbook.webp +0 -0
  312. package/public/oracle-splash/brand/opensea.webp +0 -0
  313. package/public/oracle-splash/brand/orca.webp +0 -0
  314. package/public/oracle-splash/brand/ordinals.png +0 -0
  315. package/public/oracle-splash/brand/ostium.webp +0 -0
  316. package/public/oracle-splash/brand/pancakeswap.webp +0 -0
  317. package/public/oracle-splash/brand/pendle.webp +0 -0
  318. package/public/oracle-splash/brand/perena.webp +0 -0
  319. package/public/oracle-splash/brand/pharaoh.webp +0 -0
  320. package/public/oracle-splash/brand/phoenix.webp +0 -0
  321. package/public/oracle-splash/brand/polymarket.webp +0 -0
  322. package/public/oracle-splash/brand/polynomial.webp +0 -0
  323. package/public/oracle-splash/brand/projectx.webp +0 -0
  324. package/public/oracle-splash/brand/pumpfun.webp +0 -0
  325. package/public/oracle-splash/brand/quickswap.webp +0 -0
  326. package/public/oracle-splash/brand/rain.webp +0 -0
  327. package/public/oracle-splash/brand/raydium.webp +0 -0
  328. package/public/oracle-splash/brand/relay.webp +0 -0
  329. package/public/oracle-splash/brand/rocketpool.webp +0 -0
  330. package/public/oracle-splash/brand/saber.webp +0 -0
  331. package/public/oracle-splash/brand/sakuraswap.webp +0 -0
  332. package/public/oracle-splash/brand/sanctum.webp +0 -0
  333. package/public/oracle-splash/brand/satflow.png +0 -0
  334. package/public/oracle-splash/brand/sierra.webp +0 -0
  335. package/public/oracle-splash/brand/sky.webp +0 -0
  336. package/public/oracle-splash/brand/solv.webp +0 -0
  337. package/public/oracle-splash/brand/spark.webp +0 -0
  338. package/public/oracle-splash/brand/sparksavings.webp +0 -0
  339. package/public/oracle-splash/brand/sphere.webp +0 -0
  340. package/public/oracle-splash/brand/ssv.webp +0 -0
  341. package/public/oracle-splash/brand/stabble.webp +0 -0
  342. package/public/oracle-splash/brand/stableswap.webp +0 -0
  343. package/public/oracle-splash/brand/stakewise.webp +0 -0
  344. package/public/oracle-splash/brand/stargate.webp +0 -0
  345. package/public/oracle-splash/brand/sthype.webp +0 -0
  346. package/public/oracle-splash/brand/sushiswap.webp +0 -0
  347. package/public/oracle-splash/brand/unisat.png +0 -0
  348. package/public/oracle-splash/brand/uniswap.webp +0 -0
  349. package/public/oracle-splash/brand/uniswapv2.webp +0 -0
  350. package/public/oracle-splash/brand/uniswapv4.webp +0 -0
  351. package/public/oracle-splash/brand/unit.webp +0 -0
  352. package/public/oracle-splash/brand/velodrome.webp +0 -0
  353. package/public/oracle-splash/brand/velora.webp +0 -0
  354. package/public/oracle-splash/brand/venus.webp +0 -0
  355. package/public/oracle-splash/brand/wbeth.webp +0 -0
  356. package/public/oracle-splash/brand/xsy.webp +0 -0
  357. package/public/oracle-splash/brand/yieldyak.webp +0 -0
  358. package/public/oracle-splash/brand/zerobase.webp +0 -0
  359. package/public/oracle-splash/brand/zerox.webp +0 -0
  360. package/public/oracle-splash/downloads/index.html +241 -0
  361. package/public/oracle-splash/favicon.ico +0 -0
  362. package/public/oracle-splash/favicon.svg +6 -0
  363. package/public/oracle-splash/index.html +2537 -0
  364. package/public/oracle-splash/mesh-graph.png +0 -0
  365. package/public/oracle-splash/mesh-graph.svg +216 -0
  366. package/bin/oracle.mjs +0 -25
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "./profile.schema.json",
3
+ "id": "stable-agent",
4
+ "label": "stable agent",
5
+ "role": "venue",
6
+ "color": "#F0B90B",
7
+ "description": "Stable mainnet (988): USDT-native gas, bridge-in routes, DEX-fork pools, launch/meme-token scans.",
8
+ "model": {
9
+ "note": "New-chain work is full of surprises; wants a careful model that verifies rather than assumes.",
10
+ "suggested": "careful-verifier"
11
+ },
12
+ "skills": [
13
+ "oracle-contract-research",
14
+ "oracle-receipts",
15
+ "oracle-circuit-breaker",
16
+ "oracle-best-execution",
17
+ "oracle-equities",
18
+ "oracle-meme-token-sniper",
19
+ "oracle-chain-graphs-telegram-cards",
20
+ "oracle-rfq-tokenized-assets"
21
+ ],
22
+ "mcp": [
23
+ "oracle-data"
24
+ ],
25
+ "chains": [
26
+ 988
27
+ ],
28
+ "posture": {
29
+ "default": "DISARMED",
30
+ "grantActions": [
31
+ "read:chain",
32
+ "simulate:tx",
33
+ "prepare:swap"
34
+ ],
35
+ "signing": "user-wallet",
36
+ "rationale": "A young chain has thin liquidity and unverified forks. Every venue needs on-chain verification before use."
37
+ }
38
+ }
@@ -0,0 +1,176 @@
1
+ ---
2
+ name: balance
3
+ description: Use when the user says balance, holdings, portfolio, wallet balance, or invokes /balance. Call the deterministic read-only multichain portfolio tool and report coverage honestly.
4
+ ---
5
+
6
+ # Balance
7
+
8
+ Use `portfolio_snapshot` for every fresh balance request. It runs the deterministic
9
+ multichain balance and NFT inventory reads once, then records one compact local
10
+ observation so the user can build history without a separate tracker.
11
+
12
+ Use `portfolio_history` for balance-history requests and `portfolio_value_graph`
13
+ for charts. Use `portfolio_balance` only when the user explicitly asks for a
14
+ non-recorded read or when local history storage is unavailable.
15
+
16
+ This skill is read-only. Public addresses are identifiers, not signing rights.
17
+ Never request a private key, seed phrase, wallet export, session key, or signature.
18
+
19
+ ## Trigger
20
+
21
+ Run this workflow when the user:
22
+
23
+ - invokes `/balance`;
24
+ - says `balance` by itself;
25
+ - asks for holdings, wallet balance, portfolio, net assets, or assets across chains;
26
+ - supplies one or more public wallet addresses and asks what they hold.
27
+
28
+ ## Address routing
29
+
30
+ Parse only public addresses supplied with the request:
31
+
32
+ - `0x...` maps to `addresses.evm` and `addresses.hyperliquid` unless the user
33
+ explicitly assigns different addresses;
34
+ - a Solana base58 public key maps to `addresses.solana`;
35
+ - a Bitcoin `bc1`, `1`, or `3` address maps to `addresses.bitcoin`;
36
+ - explicit labels such as `evm:`, `solana:`, `bitcoin:`, and `hyperliquid:` win.
37
+
38
+ If no addresses are in the request, call `portfolio_snapshot` with an empty object.
39
+ The tool uses configured public-address defaults:
40
+
41
+ - `ORACLE_EVM_ADDRESS`, with legacy fallback `ORACLE_DEFAULT_ADDRESS`;
42
+ - `ORACLE_SOLANA_ADDRESS`;
43
+ - `ORACLE_BITCOIN_ADDRESS`;
44
+ - `ORACLE_HYPERLIQUID_ADDRESS`, with EVM fallback.
45
+
46
+ If every family returns `not-configured`, ask only for the missing public addresses.
47
+ Do not call a zero address a user wallet and do not report missing families as zero.
48
+
49
+ ## Mandatory call
50
+
51
+ Call `portfolio_snapshot`:
52
+
53
+ ```json
54
+ {
55
+ "addresses": {
56
+ "evm": "optional public address",
57
+ "solana": "optional public key",
58
+ "bitcoin": "optional public address",
59
+ "hyperliquid": "optional public address"
60
+ },
61
+ "includeTokens": true,
62
+ "includeCollectibles": true,
63
+ "includePrices": true,
64
+ "includeNfts": true
65
+ }
66
+ ```
67
+
68
+ Omit address fields the user did not supply. Omit `evmChainIds` unless the user
69
+ asks for a subset. The default queries every configured EVM chain. Read fungible
70
+ and chain details from `result.balance`, NFT holdings from `result.nfts`, and the
71
+ combined historical observation from `result.snapshot`.
72
+
73
+ Never call a chain write, prepare, sign, send, submit, execute, or broadcast tool
74
+ while answering a balance request. The compact profile-local history append made
75
+ by `portfolio_snapshot` is allowed and contains no keys or executable payloads.
76
+
77
+ ## Coverage contract
78
+
79
+ The current aggregator covers:
80
+
81
+ - native balances on every configured EVM chain;
82
+ - Solana SOL plus SPL Token and Token-2022 accounts;
83
+ - Bitcoin BTC plus Runes and inscriptions when an address indexer is configured;
84
+ - Hyperliquid HyperCore spot balances and perp account state;
85
+ - OpenSea-supported EVM/Solana NFT inventory and Bitcoin inscriptions where the
86
+ configured providers expose owner data;
87
+ - profile-local snapshots and an SVG known-value history graph.
88
+
89
+ It must explicitly report unsupported or unavailable surfaces:
90
+
91
+ - EVM token and NFT enumeration is unavailable without an address indexer;
92
+ - Solana token accounts are unverified until metadata confirms symbol and spam
93
+ status;
94
+ - a Solana amount of one with zero decimals is only a collectible candidate;
95
+ - Bitcoin Runes and inscriptions require an address-indexed provider;
96
+ - Cosmos requires a chain-specific bech32 address and LCD/RPC adapter;
97
+ - Sui and Aptos remain unsupported until their balance adapters are installed;
98
+ - any provider failure is `unavailable`, never a zero balance;
99
+ - NFT prices are provider estimates, not executable bids.
100
+
101
+ ## History and graph
102
+
103
+ For “balance history”, “portfolio history”, or a date range, call
104
+ `portfolio_history` with the same public addresses and the requested `since`,
105
+ `until`, and `limit`. Keep `null` values unavailable. Do not interpolate them.
106
+
107
+ For “graph”, “chart”, or “show me performance”, call `portfolio_value_graph`.
108
+ State the returned `summary.changeUsd`, `summary.changePct`, point count, and
109
+ whether any plotted snapshots were incomplete. The image plots known priced
110
+ value, not guaranteed liquidation value or net worth.
111
+
112
+ ## Response format
113
+
114
+ Start with:
115
+
116
+ ```text
117
+ Balance, <queriedAt>
118
+ Known priced value: $<knownUsd> (not a complete total)
119
+ Coverage: <ok>/<requestedSurfaces> surfaces live
120
+ ```
121
+
122
+ If `valuation.complete` is true, you may remove the parenthetical. Do not rename
123
+ `knownUsd` to `total`, `net worth`, or `portfolio value` when coverage is partial.
124
+
125
+ Then show nonzero assets first, grouped by family:
126
+
127
+ ```text
128
+ EVM
129
+ Ethereum: 0.42 ETH $...
130
+ Base: 18.1 ETH $...
131
+
132
+ Solana
133
+ SOL: ...
134
+ SPL: <mint> <amount> unverified
135
+
136
+ Bitcoin
137
+ BTC: ...
138
+ Runes: ...
139
+ Inscriptions: ...
140
+
141
+ Hyperliquid
142
+ Spot: ...
143
+ Perps account value: $...
144
+ Positions: ...
145
+ ```
146
+
147
+ Collapse successful zero-native EVM chains into one line:
148
+
149
+ ```text
150
+ Zero native: Polygon, Optimism, Arbitrum
151
+ ```
152
+
153
+ End with concise exceptions:
154
+
155
+ ```text
156
+ Unavailable: <failed providers or unconfigured addresses>
157
+ Unpriced: <nonzero assets without a price>
158
+ Warnings: <spam, stale, unknown-not-empty, or incomplete discovery warnings>
159
+ ```
160
+
161
+ Do not dump raw RPC payloads unless the user asks. Keep exact public addresses in
162
+ the response only when the user supplied multiple addresses and disambiguation is
163
+ necessary.
164
+
165
+ ## Truth rules
166
+
167
+ - `0` means a provider successfully returned zero.
168
+ - `unavailable` means the provider failed or the adapter is absent.
169
+ - `not-configured` means the public address is missing.
170
+ - `unknownNotEmpty` means the provider cannot tell whether assets exist. Never
171
+ convert it to an empty portfolio.
172
+ - Every USD figure must carry a price source and query timestamp in the tool
173
+ result.
174
+ - Do not sum Stable Mainnet native USDT0 with its mirrored ERC-20 representation.
175
+ - Do not price unverified or spam tokens by symbol alone.
176
+ - Do not hide failed chains to make the summary look complete.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: bitcoin-l1
3
+ description: Use for Bitcoin L1, Ordinals, and Runes operations.
4
+ ---
5
+
6
+ # Bitcoin L1
7
+
8
+ ## Read
9
+ - `data btc_balance <addr>` — balance in sats
10
+ - `data btc_utxos <addr>` — UTXO set
11
+ - `data btc_fees` — current fee rates (sats/vB)
12
+ - `data btc_tx <txid>` — transaction lookup
13
+
14
+ ## Ordinals
15
+ - `data btc_inscriptions <addr>` — inscriptions held
16
+ - `data btc_inscription_info <id>` — inscription metadata
17
+ - `data satflow_floors <collection>` — floor prices
18
+ - `data satflow_floor_listings <collection>` — active listings
19
+
20
+ ## Runes
21
+ - `data btc_rune_balance <addr>` — rune balances
22
+ - `exec bitcoin_runes_prepare_transfer` — prepare transfer
23
+
24
+ ## Prepare
25
+ - `exec bitcoin_prepare <from> <to> <amountSats>` — payment intent
26
+ - `exec bitcoin_inscribe_prepare` — inscription commit/reveal
27
+ - `exec bitcoin_satflow_prepare_purchase` — buy ordinals/rune
28
+
29
+ ## Key rules
30
+ - 1 BTC = 100,000,000 sats
31
+ - Never consume inscribed/rare-sat UTXOs as fee inputs
32
+ - PSBT review before sign — user must approve
33
+ - Payment and ordinals addresses should be distinct when wallet separates them
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: chain-defi-ecosystem-profiling
3
+ description: Use when profiling a chain's DeFi ecosystem — TVL, protocols, gaps.
4
+ ---
5
+
6
+ # Chain ecosystem profiling
7
+
8
+ ## Data sources
9
+ - `data llama_protocols` — DeFiLlama protocol list with TVL
10
+ - `data llama_prices` — current prices keyed by chain:address
11
+ - `data dex_search` — token discovery
12
+ - `data data_health` — which data providers are live
13
+ - `data scanner_coverage` — which chains scanner supports
14
+
15
+ ## What to report
16
+ 1. **TVL** — total value locked, top 5 protocols by TVL
17
+ 2. **DEX volume** — 24h volume, active pairs
18
+ 3. **Lending** — money markets, rates
19
+ 4. **Bridges** — canonical bridge, third-party options
20
+ 5. **Gaps** — missing primitives (no lending, no stablecoin, etc.)
21
+ 6. **Risk** — bridge risk, oracle risk, concentration risk
22
+
23
+ ## Confidence
24
+ - Live DeFiLlama data = high confidence
25
+ - Recent but not real-time = moderate
26
+ - Community estimates = low
27
+ - Unknown = say unknown
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: evm-contract-research
3
+ description: Use when researching or verifying EVM contracts, routers, factories, or tokens.
4
+ ---
5
+
6
+ # EVM contract research
7
+
8
+ ## Verification
9
+ 1. `data dex_search <symbol>` → find token home chain + address
10
+ 2. `data dex_token <address>` → live pairs, volume, liquidity, age
11
+ 3. `data rpc_balance <address>` → native balance on chain
12
+ 4. `exec evm_erc20_allowance <owner> <spender>` → check approvals
13
+ 5. Use block explorer for source code verification
14
+
15
+ ## Red flags
16
+ - No verified contract on explorer
17
+ - Created < 24h ago
18
+ - Liquidity < $10k
19
+ - Single LP holding > 50%
20
+ - Buy/sell tax > 5%
21
+ - Honeypot (can buy, can't sell)
22
+ - Proxy with unverified implementation
23
+
24
+ ## Trusted routers (verify on-chain, don't assume)
25
+ - Uniswap V2 Router: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D (Ethereum)
26
+ - Uniswap V3 Router: 0xE592427A0AEce92De3Edee1F18E0157C05861564
27
+ - UniversalRouter: 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: hyperliquid
3
+ description: Use when working with Hyperliquid L1 — perps, spot, points, or HyperEVM.
4
+ ---
5
+
6
+ # Hyperliquid
7
+
8
+ ## Read plane (keyless)
9
+ - `data data_call hl-info allMids` — all perp mid prices
10
+ - `data data_call hl-info l2Book` — L2 orderbook depth
11
+ - `data data_call hl-info userState` — user positions + margin
12
+ - `data data_call hl-info userFills` — trade history
13
+ - `data data_call hl-info candleSnapshot` — OHLCV candles
14
+ - `data data_call hl-info spotMeta` — spot market metadata
15
+ - `data data_call hl-ws allMids` — fast WS snapshot
16
+
17
+ ## HyperEVM (chain 999)
18
+ - RPC: https://rpc.hyperliquid.xyz/evm
19
+ - Explorer: https://www.hyperscan.com
20
+ - DEX search via `data dex_token` on chain 999
21
+ - Gas: paid in HyperEVM native token, ~0.1-0.5 USD typical
22
+
23
+ ## Points
24
+ - Earned through perp trading volume
25
+ - No public API for points balance — uses userState for volume inference
26
+ - Wallet age + volume are primary signals
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: multichain-exec-desk
3
+ description: Use for cross-chain or multi-chain execution tasks.
4
+ ---
5
+
6
+ # Multichain execution desk
7
+
8
+ ## Chain routing
9
+ - RH 4663 → oracle owns it (rhbot executor)
10
+ - Hyperliquid → hl-info / hl-ws (read-only, keyless)
11
+ - EVM chains → mad_exec evm_* tools
12
+ - Solana → Jupiter tools
13
+ - Bitcoin → btc_* tools
14
+
15
+ ## Execution flow
16
+ 1. `data evm_chains` — list supported chains
17
+ 2. `data dex_search` — resolve token
18
+ 3. `exec evm_quote` — quote swap
19
+ 4. `data best_swap_route` — compare aggregators
20
+ 5. `exec evm_prepare` — build unsigned tx
21
+ 6. `exec evm_simulate` — simulate (optional but recommended)
22
+ 7. `exec evm_sign` — sign (gated)
23
+ 8. `exec evm_send` — broadcast (gated)
24
+
25
+ ## Cross-chain
26
+ - `data best_bridge_route` — compare bridge providers
27
+ - `data prepare_best_bridge_route` — build signable bridge tx
28
+ - `data rfq_quote` — RFQ/intent routing for large sizes
29
+
30
+ ## Safety
31
+ - Verify destination chainId matches intent
32
+ - Check bridge provider is live (data health first)
33
+ - Never route through unverified contracts
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: oracle-action-semantics
3
+ description: Use for watch, ping, prepare, arm, sign, send, or execution-capability questions.
4
+ ---
5
+
6
+ # Oracle action semantics
7
+
8
+ Keep these planes distinct:
9
+
10
+ 1. **Public prepare plane**: reads, quotes, simulates, and prepares unsigned artifacts. It never signs or broadcasts.
11
+ 2. **Generic Oracle signer**: the unattended daemon exposes six *bounded* surfaces — `hl`, `poly`, `evm-swap`, `evm-bridge`, `btc`, `sol`. Bounded is not generic chain authority: each surface decodes and validates its own envelope shape and refuses while its allowlists are empty. Enablement is never authority; every signature still needs one exact owner-confirmed grant.
12
+ 3. **User-wallet EVM**: ordinary EVM preparations require the user's wallet signature.
13
+ 4. **Optional bounded EVM execution**: a deployment may expose a separate same-host, owner-gated EVM executor such as MAD. Verify its status and policy before saying it is available. Never infer it from the public package or the generic signer.
14
+
15
+ Do not turn a deployment fact into a universal claim. If no bounded EVM executor is installed or healthy, say the current deployment cannot execute EVM. Do not say Oracle can never execute EVM.
16
+
17
+ ## Binding vocabulary
18
+
19
+ - `watch`, `watch this`, `ping`, `ping me`, `alert`, and `notify` mean notification only.
20
+ - Persist them as `active: true` and `actionMode: alert_only`.
21
+ - `arm` means authorization intent for one exact bounded action.
22
+ - Persist it as `active: true` and `actionMode: execute` only after the exact action and owner authorization are present.
23
+ - Never convert `watch` into execution.
24
+ - Never convert `arm` into a watch.
25
+ - A status field such as `armed` is not action authority. Current records require explicit `active` and `actionMode` fields.
26
+
27
+ Before accepting `arm`, require the exact chain, token pair, amount or fraction, trigger, recipient, router, deadline, slippage bound, and approval bound. Require the owner-gated executor to be healthy and disarmed until that exact action is authorized. Refuse global, implied, or reusable authorization.
28
+
29
+ ## Execution states
30
+
31
+ Report each state separately:
32
+
33
+ - `executionReady`
34
+ - `requiresUserSignature`
35
+ - `signingReady`
36
+ - `broadcastReady`
37
+
38
+ A quote is not a preparation. A preparation is not a signature. A signature is not a broadcast. A broadcast is not mined execution. Claim success only after a transaction hash, successful receipt, and expected balance delta.
39
+
40
+ ERC-20 approval is a separate transaction. Use an exact bounded amount unless the user explicitly authorizes another cap. Never silently create an unlimited approval.
@@ -0,0 +1,127 @@
1
+ ---
2
+ name: oracle-best-execution
3
+ description: Use whenever swapping or bridging. The rule that the highest quote is not the cheapest trade, and how to compare routes honestly.
4
+ ---
5
+
6
+ # Best execution
7
+
8
+ The biggest `amountOut` is not the best route. Rank on **net received after gas and
9
+ fees**, every time.
10
+
11
+ ## Get the comparison
12
+
13
+ ```
14
+ best_swap_route { chainId, tokenIn, tokenOut, amountIn, decimalsIn, decimalsOut }
15
+ best_bridge_route { fromChainId, toChainId, tokenIn, tokenOut, amountIn }
16
+ ```
17
+
18
+ Or at a shell:
19
+
20
+ ```bash
21
+ oracle-route swap base <tokenIn> <tokenOut> [amountIn]
22
+ oracle-route bridge arbitrum base [token] [amountIn]
23
+ ```
24
+
25
+ ## Read the result properly
26
+
27
+ Report the winner **and** the runners-up. A user who sees only the winner cannot tell
28
+ whether it won by 0.01% or 3%, and that difference decides whether the route is worth
29
+ any extra risk.
30
+
31
+ Three fields carry most of the meaning:
32
+
33
+ - **`rankedOn`** — `net-of-cost` means gas was accounted for. `gross` means it was
34
+ **not**, and the ordering may be wrong.
35
+ - **`costAccounted`** (per route) — `false` means that route's gas is unknown. It is
36
+ ranked on gross, which **flatters it**. Say so.
37
+ - **`improvementBps`** — `null` means no honest spread exists, usually because the
38
+ top two routes measure cost differently. Do not invent one.
39
+
40
+ ## What to say
41
+
42
+ Good: *"ParaSwap nets 1903.88 USDC after $0.01 gas. CoW is 0.01% behind but gasless,
43
+ so on a larger size it likely wins. LI.FI quotes competitively but $4.78 of gas puts
44
+ it 0.5% down."*
45
+
46
+ Bad: *"Best route: LI.FI, 1899 USDC."* — that is the gross number, and it lost.
47
+
48
+ ## Preparing the winner
49
+
50
+ `prepare_best_route` compares, then builds the signable artifact for the winner:
51
+
52
+ ```
53
+ prepare_best_route { chainId, tokenIn, tokenOut, amountIn, taker }
54
+ ```
55
+
56
+ `taker` must be the **real wallet that will sign**. Quoting is anonymous; preparing
57
+ is not. Placeholder and burn addresses are rejected.
58
+
59
+ **Check `artifactKind` before telling the user what to do.** They are not
60
+ interchangeable:
61
+
62
+ - `unsigned-transaction` (LI.FI, ParaSwap, 0x) — sign and **broadcast** it.
63
+ - `typed-data-order` (CoW) — sign the data and **submit it to the CoW API**. There is
64
+ nothing to broadcast. Signing authorizes a solver to settle on your behalf.
65
+
66
+ **Approval comes first, and the spender is not always the destination.** For CoW the
67
+ approval goes to the *vault relayer*, not the settlement contract — approving the
68
+ wrong one produces an order that silently never fills. Read `requiresApproval.spender`
69
+ rather than assuming it equals `destination`.
70
+
71
+ Some venues refuse to build calldata until the approval already exists on-chain
72
+ (ParaSwap does). That surfaces as `failureKind: "approval-required-first"`, which is
73
+ a real ordering constraint, not a bug: approve, then prepare again.
74
+
75
+ If the winner has no prepare path, the result names an `alternative`. Say that the
76
+ winner could not be prepared and what you used instead — do not silently substitute.
77
+
78
+ **Read `driftBps`.** Prepare re-quotes, so this is how far the route moved since the
79
+ comparison. A large negative number means the ranking may no longer hold.
80
+
81
+ ## Preparing a bridge
82
+
83
+ `prepare_best_bridge_route` — same idea, different hazards.
84
+
85
+ **`transactions` is always a list.** Some routes need an approval *and* a deposit,
86
+ signed in order. Tell the user how many and that order matters: signing only the
87
+ first leaves funds approved but not bridged.
88
+
89
+ **Two chains are in play.** Every transaction executes on `fromChainId`; the value
90
+ lands on `toChainId`. Report both. A prepared artifact whose transaction chain does
91
+ not match the origin is refused outright (`failureKind: "chain-mismatch"`).
92
+
93
+ **Bridging is not atomic — say so unprompted.** The origin transaction confirming does
94
+ **not** mean funds arrived. Give the `durationSeconds` estimate and tell the user not
95
+ to re-send while pending. This is the single most common bridging panic, and silence
96
+ here causes double-sends.
97
+
98
+ **Across quotes but cannot be prepared** in this build. It often wins on gross because
99
+ its gas is unreported, so expect `failureKind: "no-prepare-path"` with an
100
+ `alternative`. Say the winner could not be prepared and name what you used instead.
101
+
102
+ ## Rules
103
+
104
+ **One answer is not a comparison.** If only one source responded, say the route is
105
+ unbenchmarked. `sourcesAnswered` vs `sourcesTried` tells you.
106
+
107
+ **Never present an unknown cost as zero.** A route missing gas data is not free; it
108
+ is unmeasured. Those are different claims and only one of them is true.
109
+
110
+ **Duration is a cost on bridges.** A route saving $2 that takes 30 minutes is not
111
+ strictly better than one costing $2 more that lands in 20 seconds. Surface both and
112
+ let the user choose — do not silently pick for them.
113
+
114
+ **Quotes decay.** Every number here is from a past block. Re-quote immediately before
115
+ preparing, and never carry a minOut computed from a stale quote into a signature.
116
+
117
+ **A comparison is not an execution.** Ranking a route does not prepare, sign, or send
118
+ it. Preparing is a separate step, and signing belongs to the user.
119
+
120
+ ## When sources fail
121
+
122
+ Aggregators go down, rate-limit, and get sunset (Odos sunset its public API in
123
+ July 2026). Individual failures are expected and appear in `failed[]`. Two things
124
+ follow:
125
+
126
+ 1. Fewer sources means a weaker comparison. Report `sourcesAnswered`, do not hide it.
127
+ 2. A failing source is **not** a bad price. Never rank it last — it did not answer.
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: oracle-best-execution
3
+ description: Use whenever swapping or bridging. The rule that the highest-output route wins.
4
+ ---
5
+
6
+ # Best execution
7
+
8
+ ## One rule
9
+ The highest **net output** (after gas + bridge + impact) wins. Not the best quote, not the shortest route, not the prettiest UI.
10
+
11
+ ## Swap flow
12
+ 1. `data dex_search` → resolve token to chain + address
13
+ 2. `data dex_token` → get live pairs, liquidity, price
14
+ 3. `exec evm_quote` → exact-input quote from Uniswap V3
15
+ 4. `data best_swap_route` → compare across aggregators (Li.Fi, Paraswap, 0x, CoW)
16
+ 5. `data best_bridge_route` → if cross-chain, rank by net output
17
+ 6. `exec evm_prepare` → build unsigned tx
18
+ 7. Report: best route, net output, slippage, gas estimate
19
+
20
+ ## Comparison always in USD
21
+ Convert gas + bridge fees to USD. 0.001 ETH ≠ 0.001 ETH across chains.
22
+
23
+ ## Slippage
24
+ - Stable pools: 0.1% default
25
+ - Volatile pools: 0.5% default
26
+ - Memecoins: 1-3% or auto-detect from depth
27
+ - Block >1% slippage without explicit user approval
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: oracle-bitcoin
3
+ description: Use for Bitcoin L1, Ordinals/runes research, and inscription PSBT preparation. User-wallet signing only.
4
+ ---
5
+
6
+ # Bitcoin L1 / Ordinals
7
+
8
+ Bitcoin is a separate signing plane. Do not route it through EVM grants, EVM
9
+ signers, or EVM calldata policy.
10
+
11
+ ## What this skill owns
12
+
13
+ - Bitcoin L1 reads through Esplora: tip height, fee rates, address state, UTXOs,
14
+ transactions.
15
+ - Ordinals/runes reads through the Bitcoin metaprotocol data providers.
16
+ - Satflow marketplace research and unsigned PSBT intents for ordinals/runes market
17
+ actions when a Satflow key is configured.
18
+ - Inscription planning and **PSBT preparation** for user-wallet signing.
19
+
20
+ ## Inscription flow
21
+
22
+ Default path is self-custodial:
23
+
24
+ 1. Collect the inscription content, MIME type, destination address, change address,
25
+ and fee preference.
26
+ 2. Check Bitcoin health, fee rates, and the inscription body-size cap.
27
+ 3. Estimate commit/reveal cost and UTXO needs before preparing.
28
+ 4. Prepare commit/reveal PSBTs or unsigned artifacts.
29
+ 5. User signs in Xverse, UniSat, Leather, OKX, Phantom, Magic Eden wallet, or a
30
+ compatible injected Bitcoin wallet.
31
+ 6. Broadcast only after explicit user confirmation.
32
+ 7. Report commit txid, reveal txid, inscription id when known, and mempool/receipt
33
+ status.
34
+
35
+ ## Hard rules
36
+
37
+ - Never request or print a seed, WIF, xprv, or wallet export.
38
+ - Operator WIF/local signing is not part of the public default. If a deployment
39
+ has it, it must be separately armed and still explicit-confirm gated.
40
+ - Inscribe is Bitcoin L1 commit/reveal. Satflow is marketplace inventory/listing,
41
+ not the inscription path.
42
+ - Fee facts are live facts. Re-read fees immediately before prepare.
43
+ - If content exceeds the current cap, refuse and offer compression/splitting.
44
+ - Never claim an inscription landed without a real reveal txid or inscription id.
45
+
46
+ ## Review checklist
47
+
48
+ - Content hash and byte length shown before signing.
49
+ - MIME type shown in plain language.
50
+ - Destination and change addresses displayed and user-confirmed.
51
+ - Fee rate, estimated vbytes, and worst-case spend shown.
52
+ - Commit/reveal sequence explained as non-atomic.
53
+ - Mempool status checked after broadcast.
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: oracle-chain-graphs-telegram-cards
3
+ description: Render per-chain market graphs and Telegram cards for Oracle alerts, including meme launches, HL HIP-3/HIP-4, and Polymarket.
4
+ ---
5
+
6
+ # Oracle chain graphs + Telegram cards
7
+
8
+ Use when Oracle needs visual alerts: per-chain scanner cards, meme-token launch
9
+ cards, route-comparison charts, Hyperliquid HIP-3/HIP-4 cards, or Polymarket
10
+ cards.
11
+
12
+ ## Surfaces
13
+
14
+ - Per-chain token charts: price, volume, liquidity, market cap, age, and venue.
15
+ - Launch/sniper cards: token, chain, pool, route readiness, sellability, smart-wallet
16
+ overlap, risk status, and prepared-ticket status.
17
+ - Hyperliquid HIP-3 builder-dex cards: dex, market, mark/oracle, funding, OI,
18
+ depth, liquidation/risk notes when account context is provided.
19
+ - Hyperliquid HIP-4 outcome-market cards: event/outcome, bid/ask, depth, edge,
20
+ held-position context when API keys/account reads are configured.
21
+ - Polymarket cards: event, market, Yes/No prices, volume, BBO, resolution-risk
22
+ notes, and prepared order intent only when user auth/API keys are configured.
23
+
24
+ ## Data rules
25
+
26
+ - Public/keyless reads are allowed where the venue supports them.
27
+ - API-key surfaces activate only when the user self-hosts and provides their own
28
+ keys. Never ship DEMI keys or assume hosted secrets.
29
+ - A graph is evidence, not authorization. It can trigger a prepared ticket; it
30
+ must not bypass quote freshness, sell-sim, grant caps, or wallet signing.
31
+ - Every card states chain/venue and confidence. Unknown data stays `UNKNOWN`.
32
+
33
+ ## Telegram card rules
34
+
35
+ - Send text card and graph as separate messages when the card is long.
36
+ - Avoid markdown traps: no unescaped underscore labels, avoid repeated `$` spans.
37
+ - Keep full contracts/mints visible; never truncate the only identifier.
38
+ - Chart rendering must soft-fail: card still sends if the image fails.
39
+ - No buy/sell buttons unless the recipient has a valid local grant/session.
40
+
41
+ ## Graph schema
42
+
43
+ A graph payload should include:
44
+
45
+ - `chainId` / `cluster` / venue
46
+ - token/market id
47
+ - time window and candle interval
48
+ - price/volume/liquidity series or order-book snapshots
49
+ - source/provider and fetched timestamp
50
+ - warnings for stale, sparse, or degraded data
51
+
52
+ ## HIP-3 / HIP-4 / Polymarket notes
53
+
54
+ - HIP-3 builder perps require Hyperliquid `perpDexs` and `metaAndAssetCtxs` with
55
+ `dex` selected; core `meta` does not include all builder-dex markets.
56
+ - HIP-4 outcome markets require the configured Hyperliquid/API-key path for user
57
+ account/order actions. Keyless cards can still show public market data.
58
+ - Polymarket public reads work keyless; trading/order placement needs the user's
59
+ CLOB auth/API setup and stays prepared/user-signed.