Skip to content
Skillpedia
APIs & servers (backend)7.0k · #13677

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.md

Copy 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

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/glam/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

repo: internet-court/internet-court-skill

Popularity

GitHub stars
7.0k
Ranking position
#13677
License
—
Updated
10/26/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills