Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gblinproject/gblin-treasury-risk-regime --skill jit-redemption-patterngit clone --depth 1 https://github.com/gblinproject/gblin-treasury-risk-regimeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gblinproject/gblin-treasury-risk-regime/jit-redemption-pattern)<a href="https://agentmods.dev/skills/gblinproject/gblin-treasury-risk-regime/jit-redemption-pattern"><img src="https://agentmods.dev/badge/skills/gblinproject/gblin-treasury-risk-regime/jit-redemption-pattern/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gblinproject/gblin-treasury-risk-regime/jit-redemption-pattern"><img src="https://agentmods.dev/badge/skills/gblinproject/gblin-treasury-risk-regime/jit-redemption-pattern.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.01522 |
| Opus 5.5 | $0.00024 | $0.00609 |
| Sonnet 5.5 | $0.00012 | $0.00304 |
| Haiku 4.5 | $0.00006 | $0.00152 |
Grade A, and why
jit-redemption-pattern scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const response = await fetch(url); How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JIT Redemption Pattern (GBLIN → USDC)
When this skill applies
Trigger when:
- The agent's treasury is in GBLIN and needs to pay an outgoing x402 invoice in USDC
- The user wants a deterministic, scripted GBLIN → USDC conversion (three transactions, batchable)
- The agent is building "lazy treasury" patterns (only convert when needed)
What JIT redemption does
The /api/x402/jit endpoint (MCP tool swap_gblin_to_usdc_jit) returns unsigned calldata for three transactions:
- Approve the shares to the GBLIN Zap
GBLINZap.sellGBLINForEth: the Zap redeems the shares in kind on the vault and sells every leg for ETH, all or nothing (a leg that cannot be sold reverts the whole step)- A Uniswap V3 WETH -> USDC swap that spends only the guaranteed ETH minimum of step 2 and still returns at least the requested USDC
Every step carries a non-zero minimum. Compatible with EOA, ERC-4337 Smart Accounts, and EIP-7702 (smart accounts can batch the three steps in one operation). Each step also carries to, data and chainId, so it maps one to one onto wallet batch APIs such as send_calls.
Endpoint
GET https://gblin.digital/api/x402/jit?wallet=<address>&usdc=<amount>
Response (free, no payment):
{
"action": "sequential_txs",
"steps": [
{ "step": 1, "target": "0xc2181d975c05c8c724b334bcED0764c0b86B1D53", "calldata": "0x...", "value": "0", "description": "Approve the shares to the GBLIN Zap" },
{ "step": 2, "target": "0x0E9D6Ceb6D313b021622C121Cda9C62e86e60200", "calldata": "0x...", "value": "0", "description": "Redeem in kind and sell every leg for ETH through the Zap (all or nothing)" },
{ "step": 3, "target": "0x2626664c2603336E57B271c5C0b26F421741e481", "calldata": "0x...", "value": "...", "description": "Swap the received ETH to USDC via Uniswap V3 (WETH->USDC)" }
],
"compatibility": { "eoa": true, "erc4337": true, "eip7702": true }
}
When to use JIT redemption
Use when:
- You need exactly X USDC and have at least X-equivalent in GBLIN
- The payment is happening now (within the next minute)
- You want a deterministic scripted redemption (3 txs, or 1 batched UserOp on smart accounts)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -1 lines 553c0832a1b3
- 1mo ago Changed 417ea549042f
- 1mo ago Changed · +1 lines 8e28f0a06fc4
- 1mo ago Changed · +1 lines · +1 tokens per session 2a602a5ca1e7
- 2mo ago First seen · 140 lines · 59 tokens per session scan A 9bf8ec066643
jit-redemption-pattern is a skill published in the GitHub repository gblinproject/gblin-treasury-risk-regime (1 stars, last pushed 15d ago), licensed MIT. It adds 60 tokens to every session and 1,522 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
grey-ridge-x402
Base-native pre-trade safety gate and onchain data for AI agents — pay-per-call in USDC on Base via x402, no account or API key. Use BEFORE an agent buys or sells a Base token (honeypot, rug, proxy, mint/fee authority, liquidity) and get a GO/HOLD/BLOCK or SAFE/CAUTION/AVOID verdict, or when it needs Base RPC reads…
wealthville
Score Solana and EVM liquidity pools before providing liquidity. Returns a 0-100 pool score, an ENTER/HOLD/EXIT/REDUCE/AVOID verdict with calibrated confidence, and a public miss-inclusive track record. Use when a user asks whether a pool is worth LPing into, which pools currently look best, or how the scores have…
trading-solana
Trade tokens on Solana DEXes - Jupiter, Raydium, Orca, Meteora, Pump.fun.
pump-swarm
Coordinated multi-wallet trading on Pump.fun.
bridge
Cross-chain token transfers using Wormhole and CCTP.
pumpfun
Pump.fun - Complete Solana memecoin launchpad. Discovery, trending, gainers, losers, token data all work without a key. Trading requires SOLANAPRIVATEKEY.