glam
What it does
This skill guides managing Solana vaults through the GLAM protocol and its command line tool. It is for teams and developers who run tokenized treasuries or investment vaults.
When to use it
- ✓When you want to create and configure a Solana vault for a treasury or fund.
- ✓When you need to enable DeFi integrations such as swaps or lending inside a vault.
- ✓When you want to set delegate permissions or manage share classes and NAV pricing.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/glam/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you create a Solana vault with GLAM and enable Jupiter swaps and Kamino lending for it?”
5 new skills a week. 1 minute to read.
How it works
The agent installs the GLAM command line tool, creates the vault from a template, and sets it as active. It enables the integrations you need, since each must be turned on before it can be used.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
GLAM Protocol Skill
GLAM provides programmable investment infrastructure on Solana: vaults with access control, DeFi integrations, and tokenization.
Quick Start
# Install CLI
npm install -g @glamsystems/glam-cli
# Configure (~/.config/glam/config.json)
cat > ~/.config/glam/config.json << 'EOF'
{
"keypair_path": "~/.config/solana/id.json",
"json_rpc_url": "https://api.mainnet-beta.solana.com"
}
EOF
# Create vault, set active, enable integrations, verify
glam-cli vault create ./vault-template.json
glam-cli vault set <VAULT_STATE_PUBKEY>
glam-cli integration enable JupiterSwap KaminoLend
glam-cli vault view
Critical: Integration Enablement
You MUST enable integrations BEFORE using them. This is the most common error.
Available: JupiterSwap, KaminoLend, KaminoVaults, KaminoFarms, SplToken, CCTP, GlamMint, Marinade (staging), StakePool (staging), SanctumSingle (staging), SanctumMulti (staging), StakeProgram (staging).
Staging integrations require --bypass-warning.
Workflows
Tokenized Vault Setup
glam-cli vault create ./tokenized-vault-template.json
glam-cli vault set <VAULT_STATE_PUBKEY>
glam-cli integration enable JupiterSwap KaminoLend
glam-cli manage price # Set initial NAV price
glam-cli jupiter set-max-slippage 100 # Configure swap policy
# Optional: delegate trading permissions (protocol-scoped)
glam-cli delegate grant <TRADER_PUBKEY> SwapAny --protocol JupiterSwap
# Optional: set timelock (24 hours)
glam-cli timelock set 86400
Kamino Lending
glam-cli integration enable KaminoLend
glam-cli kamino-lend init # Required once
glam-cli kamino-lend deposit \
7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF \
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v \
1000
Decision Tree
| Goal | Integration | Command |
|---|---|---|
| Swap tokens | JupiterSwap |
jupiter swap |
| Lend for yield | KaminoLend |
kamino-lend deposit |
| Stake SOL (liquid) | Marinade (staging) |
marinade --bypass-warning stake |
| Stake SOL (LST) | StakePool / SanctumSingle / SanctumMulti (staging) |
lst --bypass-warning stake <pool> <amount> |
| Stake SOL (native) | StakeProgram (staging) |
stake --bypass-warning list / deactivate / withdraw |
| Kamino vaults | KaminoVaults |
kamino-vaults deposit |
| Tokenized vault | — | vault create → manage price → investors invest subscribe |
| Manage share tokens | — | SDK only: client.mint.* (freeze, issue, burn, forceTransfer) |
| Bridge USDC | CCTP |
cctp bridge-usdc <amount> <domain> <dest> (0=ETH, 1=AVAX, 2=OP, 3=ARB, 6=BASE, 7=POLYGON) |
| Timelock | — | timelock set <seconds> |
Common Errors
| Error | Solution |
|---|---|
| "Signer is not authorized" | Check vault view for owner; grant delegate if needed |
| "Integration not enabled" | integration enable <NAME> |
| "Asset not in allowlist" | vault allowlist-asset <MINT> |
| "User not initialized" | kamino-lend init |
| "No route found" | Try smaller amount; check token liquidity |
| "Slippage exceeded" | Increase --slippage-bps or reduce amount |
| "Account is frozen" | SDK: client.mint.setTokenAccountsStates() |
| "Missi |
FAQ
Do I need to enable integrations first?
Yes. The skill says integrations must be enabled before they are used, which is the most common error.
Which integrations are available?
The skill lists JupiterSwap, KaminoLend, KaminoVaults, KaminoFarms, CCTP, and several staking options.
Are some integrations experimental?
Yes. Staging integrations need a bypass flag, according to the skill.
Details
Original description by the author
Solana vault management via GLAM Protocol. Triggers: glam, glam-cli, glam-sdk, vault create/manage, tokenized vault, share class, DeFi vault, treasury, asset management, access control, delegate permissions, Jupiter swap, Kamino lending/borrow/vaults/farms, staking (Marinade/native/SPL/Sanctum/LST), cross-chain USDC (CCTP), timelock, subscription/redemption, NAV pricing, token transfer. Supports CLI and TypeScript SDK.
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13677
- License
- —
- Updated
- 10/26/2026
Comments
- …
More skills from this repository
internet-court
7.0kHelps your agent pay, hire, or deal safely with another AI agent or paid service, and points it to the right specialized guide.
genlayer-erc7710-connector
7.0kHelps your agent connect an AI review result to a permission system, so a bad review can limit or cancel an agent's permissions.
genlayer-intelligent-contracts
7.0kHelps your agent define the rules, evidence and outputs of an AI judge that checks whether another agent followed its mandate.
x402-erc7710
7.0kHelps your agent pay for web services one request at a time, and set up ongoing spending that stays within a permission budget.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.