Skip to content
Back to skills

Sol Program Idl

ASecurity

Use this skill when the user asks "fetch IDL", "program IDL", "anchor idl", "program interface", or mentions fetching Solana program IDL. Requires a program address and optional chain parameter.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill sol-program-idl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sol Program Idl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sol Program Idl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-sol-program-idl/badge)](https://www.skillsdirectory.com/skills/majiayu000-sol-program-idl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sol-program-idl
description: Use this skill when the user asks "fetch IDL", "program IDL", "anchor idl", "program interface", or mentions fetching Solana program IDL. Requires a program address and optional chain parameter.
allowed-tools: Bash
---

# Solana Program IDL

Fetches the IDL (Interface Definition Language) for Anchor programs on Solana.

## Usage

Run the script with program address and optional chain:
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-sol-program-idl.sh <program_address> [chain]
```

## Arguments

- `program_address` (required): Program address (Base58)
- `chain` (optional): Chain name - solana (default), solana-devnet

## Supported Chains

| Chain | Aliases | Network |
|-------|---------|---------|
| solana | sol | mainnet-beta |
| solana-devnet | sol-devnet, devnet | devnet |

## Requirements

- `anchor` CLI must be installed
- Program must be an Anchor program with published IDL

## Examples

```bash
# Fetch IDL for Marinade Finance
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-sol-program-idl.sh MarBmsSgKXdrN1egZf5sqe1TMai9K1rChYNDJgjq7aD solana

# Fetch IDL on devnet
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-sol-program-idl.sh <program_address> solana-devnet
```

## Note

For EVM contract source code, use the `evm-contract-source` skill instead.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.