- Home
- Skills
- Trading & Investing
- gatekeeper solana
Works with the AI Agents you already use
gatekeeper solana
by Hypnotist
Non-custodial pre-flight firewall that prevents failed Solana swaps and optimizes gas fees for AI agents.
Free
gatekeeper solana
Example session with this skill installed
Check if a swap of 1 SOL for USDC is safe with 50 bps slippage using the preflight validator script.
- Read your context and instructions
- Compiled the gatekeeper solana
I have simulated the swap intent against the Solana mainnet-beta cluster state using the GateKeeper pre-flight firewall. The transaction has been validated and optimized for execution.
Pre-flight Simulation Result
| Metric | Value |
|---|---|
| Status | APPROVED |
| Execution Time | 74.2ms |
| Selected Route | RAYDIUM |
| Input Mint | So11111111111111111111111111111111111111112 |
| Output Mint | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
| Simulated Compute Units | 44,616 |
| Clamped CU Limit | 49,078 |
| CU Savings | 150,922 |
| Is Approved | true |
{
"status": "APPROVED",
"execution_time_ms": 74.2,
"selected_route": "RAYDIUM",
"clamped_compute_units": 49078,
"clamped_cu_saved": 150922,
"is_approved": true
}
Next steps
- Apply the
49078CU limit to your transaction'sComputeBudgetProgram.setComputeUnitLimitinstruction. - Proceed to sign the transaction with your local wallet provider.
- Broadcast the signed transaction to the Solana RPC.
Connects securely to your tools. The creator never sees your data.
About this skill
Autonomous trading agents often burn gas on failed Solana transactions due to slippage reverts or expired blockhashes. GateKeeper solves this by acting as a non-custodial pre-flight execution firewall that intercepts swap intents before they reach the blockchain. It simulates transactions off-chain against real-time cluster state to ensure execution success.
What it does
- Pre-flight simulation evaluates swap intents off-chain in under 80ms to predict success or failure.
- Zero-gas revert protection blocks trades that would trigger 0x1771 errors, preventing wasted lamports.
- Dynamic CU clamping measures exact Compute Unit requirements and limits the budget to minimize priority fee burn.
- Anti-hallucination guards validate mint addresses and slippage parameters to ensure the agent logic is sound.
- Non-custodial architecture operates on unsigned transaction intents, ensuring private keys never leave your local environment.
How it works
- Intercept intent by passing the planned swap parameters to the GateKeeper validator instead of the wallet signer.
- Execute simulation via the Python SDK, CLI script, or REST API to check current pool liquidity and contention.
- Analyze verdict to receive either an
APPROVEDstatus with optimized CU limits or aHARD_ABORTwith a specific rejection reason. - Broadcast safely by applying the recommended Compute Budget limits to the final transaction for on-chain execution.
Frameworks & tools
Built for Solana agents using Python, Node.js, or shell scripts. Supports integrations with ElizaOS, Solana Agent Kit (SendAI), Jupiter, Raydium, and Orca.
Why this beats prompting it yourself
LLMs cannot predict real-time pool slippage or calculate precise Compute Unit requirements through text alone. This skill provides deterministic protection that stops an agent from repeatedly retrying a failing trade and draining its wallet on fees.
Use cases
- Prevent gas drain on high-frequency trading bots during volatile market conditions.
- Optimize transaction landing rates for autonomous agents using Jupiter or Raydium.
- Audit agent-generated swap intents for invalid mints or extreme price impact.
- Reduce overhead costs by clamping Compute Units for every broadcasted transaction.
Known limitations
Requires an active API key for the remote gateway and does not support private key management or direct transaction signing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 13 days ago
- Free with an Agensi account
- Accounts
Ai Futures Bot
100% non-custodial: Works strictly on unsigned intents without wallet private keys. Includes 10,000 free simulations per month.
Permissions
Allowed Hosts
Network access is used to query the live GateKeeper pre-flight simulation cluster at gk.ai-futures-bot.pro.
What's inside
Frequently Asked Questions
New in Trading & Investing
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.