Skip to content

Add RegimeShift skill — regime-aware risk & rate benchmarks (x402 + MCP on Base)#444

Open
tradingdesk26 wants to merge 1 commit into
BankrBot:mainfrom
regimeshift-xyz:add-regimeshift-skill
Open

Add RegimeShift skill — regime-aware risk & rate benchmarks (x402 + MCP on Base)#444
tradingdesk26 wants to merge 1 commit into
BankrBot:mainfrom
regimeshift-xyz:add-regimeshift-skill

Conversation

@tradingdesk26
Copy link
Copy Markdown

RegimeShift — regime-aware risk & rate benchmarks for agents on Base

Adds the regimeshift skill: quantitative risk/rate inputs an on-chain agent needs before sizing a position, pricing an inter-agent loan, or gating leverage to the current market regime.

Install

> install the regimeshift skill from https://github.com/BankrBot/skills/tree/main/regimeshift

Four read-only GET tools$0.001 USDC per call via x402 on Base (eip155:8453), or the same tools over MCP (https://mcp.regimeshift.xyz/mcp):

Tool Returns
eth_vrp / btc_vrp Volatility risk premium = Deribit DVOL − Parkinson RV(72h) + LOW/MID/HIGH regime. Positive ⇒ sell-vol.
agent_sofr Decentralized USD short rate (horizon 1h/1d/1w), decomposed into base + variance + regime.
max_ltv Regime-capped max-safe LTV for a collateralized loan + which constraint binds (math vs regime cap).

Notes for review

  • Payment is standard x402 v2: HTTP 402 with the challenge in the payment-required header; exact scheme, USDC 0x8335…2913, payTo 0x82B17D…cd7B. Any x402 client (TS x402-fetch / @coinbase/x402, Python x402) settles automatically — same pattern as the alchemy / zerion skills. A funded Bankr agent wallet is a valid payer.
  • Every response returns its raw inputs + an open methodology URL, so outputs are auditable rather than black-box.
  • All endpoints and example responses in SKILL.md were verified live against the production regimeshift.xyz 402 envelopes.
  • Single SKILL.md, MIT-licensed. No scripts, no secrets.

🤖 Generated with Claude Code

…CP on Base)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tradingdesk26 tradingdesk26 force-pushed the add-regimeshift-skill branch from ebbaf03 to 81d91e8 Compare June 8, 2026 16:15
@tradingdesk26
Copy link
Copy Markdown
Author

Rebased onto latest main — this is now a single clean commit, conflict-free and mergeable.

What it adds: a regimeshift skill for regime-aware risk & rate benchmarks on Base — ETH/BTC variance risk premium, the Agent-SOFR short rate, and volatility-regime max-LTV. Callable pay-per-call via x402 ($0.001 USDC, no account or API key) or over MCP; every response carries its raw inputs plus an open, versioned methodology URL for audit.

Happy to adjust anything you'd like. Thanks for maintaining the marketplace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant