Agent skill

GLAM Solana Vault Management

by internet-court in internet-court/internet-court-skill

Creates and manages tokenized Solana vaults with the GLAM CLI and TypeScript SDK, including Jupiter swaps, Kamino lending, staking, access control and investor subscriptions.

Apache-2.0Auto-check passedBusiness, Finance & HR

Install GLAM Solana Vault Management

skills CLI
$ npx skills add internet-court/internet-court-skill --skill glam -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install internet-court/internet-court-skill glam --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vendored/sendaifun/glam .claude/skills/glam && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
glam
GitHub stars
6.6k
Used in
1 other repo
Token cost
~1.8k tokens
SKILL.md length
280 words
Files
25
Skills in repo
80
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates and manages tokenized Solana vaults with the GLAM CLI and TypeScript SDK, including Jupiter swaps, Kamino lending, staking, access control and investor subscriptions.

  • Creating a tokenized vault on Solana from a template file
  • SKILL.md covers Quick Start, Critical: Integration Enablement, Workflows and Decision Tree, plus 4 more sections
  • Calls vault and npm; reaches api.mainnet-beta.solana.com
  • Enabling and using Jupiter swaps or Kamino lending from a vault

What it does

This skill covers GLAM Protocol, which provides programmable investment infrastructure on Solana: vaults with access control, DeFi integrations and tokenization. It works through the glam-cli command line tool, installed from npm as @glamsystems/glam-cli, and through the TypeScript SDK.

Its central warning is that each integration must be enabled on the vault before use, which it calls the most common error. Available integrations are JupiterSwap, KaminoLend, KaminoVaults, KaminoFarms, SplToken, CCTP, GlamMint and several staking integrations marked staging (Marinade, StakePool, SanctumSingle, SanctumMulti, StakeProgram) that need a --bypass-warning flag. Workflows cover tokenized vault setup from a JSON template, Kamino lending after a one-time init, and a decision table mapping goals such as swapping, lending, staking and investor subscriptions to commands.

Further CLI reference files cover delegate permissions, investing, Jupiter, Kamino farms, lending and vaults, liquid staking tokens, vault management, staking and transfers, alongside an examples file and a troubleshooting guide.

When your agent uses it

  • Creating a tokenized vault on Solana from a template file
  • Enabling and using Jupiter swaps or Kamino lending from a vault
  • Staking SOL through Marinade, stake pools, Sanctum or the native stake program
  • Granting delegate permissions or access control on a vault
  • Setting NAV pricing and handling investor subscriptions and redemptions

Example prompts

  • “Create a tokenized vault from ./tokenized-vault-template.json and enable JupiterSwap and KaminoLend.”
  • “Show the glam-cli steps to deposit into Kamino lending from my vault.”
  • “Stake SOL from the vault through Marinade and tell me which flag the staging integration needs.”
  • “Explain how an investor subscribes to the vault after I set the share price.”

Requirements

  • Node.js and npm to install @glamsystems/glam-cli
  • A Solana wallet and a vault to operate on

What it can do on your machine

Read from SKILL.md and the folder at commit fa89195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • vault
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.mainnet-beta.solana.com

    Also links to:

    • docs.glam.systems

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GLAM Solana Vault Management loads about 1.8k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 280 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from internet-court/internet-court-skill at commit fa89195, republished under its Apache-2.0 licence (© internet-court). 280 words, ~1,838 tokens.

Download SKILL.mdSave it as .claude/skills/glam/SKILL.md (or your agent's skills folder). This skill also uses 24 other files; get the full folder from GitHub.
name
glam
description
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.

GLAM Protocol Skill

GLAM provides programmable investment infrastructure on Solana: vaults with access control, DeFi integrations, and tokenization.

Quick Start

bash
# 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
bash
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
bash
glam-cli integration enable KaminoLend
glam-cli kamino-lend init                      # Required once
glam-cli kamino-lend deposit \
  7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF \
  EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v \
  1000

Decision Tree

GoalIntegrationCommand
Swap tokensJupiterSwapjupiter swap
Lend for yieldKaminoLendkamino-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 vaultsKaminoVaultskamino-vaults deposit
Tokenized vault—vault create → manage price → investors invest subscribe
Manage share tokens—SDK only: client.mint.* (freeze, issue, burn, forceTransfer)
Bridge USDCCCTPcctp bridge-usdc <amount> <domain> <dest> (0=ETH, 1=AVAX, 2=OP, 3=ARB, 6=BASE, 7=POLYGON)
Timelock—timelock set <seconds>

Common Errors

ErrorSolution
"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()
"Missing jupiter_api_key"Add jupiter_api_key to config.json

See troubleshooting for detailed solutions.


Common Mints

TokenAddress
SOLSo11111111111111111111111111111111111111112
USDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
USDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
mSOLmSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So
jitoSOLJ1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn

SDK Quick Start

typescript
import {
  GlamClient,
  WSOL,
  USDC,
  getProgramAndBitflagByProtocolName,
} from "@glamsystems/glam-sdk";
import { BN } from "@coral-xyz/anchor";

const client = new GlamClient({ wallet });

// Create vault
const { vaultPda } = await client.vault.create({
  name: "My Vault",
  assets: [WSOL, USDC],
});

// Enable Jupiter integration
const perms = getProgramAndBitflagByProtocolName();
const [program, bitflag] = perms["JupiterSwap"];
await client.access.enableProtocols(vaultPda, program, parseInt(bitflag, 2));

// Swap
await client.jupiterSwap.swap(vaultPda, {
  inputMint: USDC,
  outputMint: WSOL,
  amount: new BN(100_000_000),
  slippageBps: 50,
});

For advanced proxy instruction remapping (convert standard Solana instructions into GLAM-proxied instructions), see the ix-mapper SDK reference.


Reference

© internet-court, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 24 other files in vendored/sendaifun/glam of internet-court/internet-court-skill.

  • SKILL.md
  • LICENSE
  • docs/troubleshooting.md
  • evaluations.json
  • examples/EXAMPLES.md
  • resources/cli/advanced.md
  • resources/cli/alt.md
  • resources/cli/delegate.md
  • resources/cli/invest.md
  • resources/cli/jupiter.md
  • resources/cli/kamino-farms.md
  • resources/cli/kamino-lend.md
  • resources/cli/kamino-vaults.md
  • resources/cli/lst.md
  • resources/cli/manage.md
  • resources/cli/staking.md
  • resources/cli/transfer.md
  • … and 8 more

Open the folder on GitHubat commit fa89195

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in internet-court/internet-court-skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

GLAM Solana Vault Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GLAM Solana Vault Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GLAM Solana Vault Management this skillinternet-court/internet-court-skill6.6k1 repos~1.8kAutomated safety check: PassApache-2.0
Pump TS Vanitynirholas/pump-fun-sdk134—~738Automated safety check: PassCustom licence
Trust Wallet SDKtrustwallet/tw-agent-skills106—~364Automated safety check: PassMIT
Web3 PolymarketPolymarket/agent-skills1921 repos~2kAutomated safety check: PassNone
Solana Token Extensionssolanabr/ai-kit109—~3.5kAutomated safety check: PassMIT
Payram Crypto PaymentsPayRam/payram-mcp158—~2kAutomated safety check: NotesNone

Similar skills

  • Pump TS Vanity

    nirholas/pump-fun-sdk

    Educational single-threaded TypeScript vanity address generator for Solana using @solana/web3.js with async iteration, event-loop yielding, streaming generator API, and best-effort memory zeroization.

    134 GitHub stars~738 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Trust Wallet SDK

    trustwallet/tw-agent-skills

    Trust Wallet open-source libraries — Wallet Core (HD wallets, address derivation, tx signing in Swift/Kotlin/TypeScript/Go for 140+ chains), Web3 Provider (dApp connection for…

    106 GitHub stars~364 tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Web3 Polymarket

    Polymarket/agent-skills

    Polymarket integration for prediction market trading on Polygon.

    192 GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • Helps choose, combine and create Token-2022 mint and account extensions on Solana with the spl-token CLI, @solana/kit or Anchor, and integrate the resulting mints.

    109 GitHub stars~3.5k tokensUpdated today
    Backend & APIsAuto-check passed
  • Payram Crypto Payments

    PayRam/payram-mcp

    Self-hosted crypto and stablecoin payment gateway. An agent skill from PayRam/payram-mcp.

    158 GitHub stars~2k tokensUpdated 2 days ago
    Backend & APIsAuto-check: notes
  • Swap Tokens

    circlefin/skills

    Build browser or server token swaps with Circle App Kit or standalone Swap Kit.

    155 GitHub stars~4.6k tokensUpdated yesterday
    Backend & APIsAuto-check: notes

More from internet-court/internet-court-skill

All 80 skills in this repo
  • Kleros IPFS Upload

    internet-court/internet-court-skill

    Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.

    6.6k GitHub stars~4.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • 0G Compute Network Guide

    internet-court/internet-court-skill

    Guides building on the 0G Compute Network, a decentralized GPU marketplace for AI inference and fine-tuning, with SDK patterns and CLI commands.

    6.6k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • PNP Prediction Markets on Solana

    internet-court/internet-court-skill

    Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.

    6.6k GitHub stars~7.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • BNB Chain MCP Server

    internet-court/internet-court-skill

    Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

    6.6k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • GenLayer ERC-7710 Connector

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract decision about an agent's performance becomes an ERC-7710 revocation or policy change, through a relayer or bridge and an EVM controller.

    6.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • GenLayer Agent Supervision Adapter

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract should supervise an AI agent, with review rubrics, evidence schemas and continue, warn, constrain or revoke decisions.

    6.6k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Questions about GLAM Solana Vault Management

What does GLAM Solana Vault Management do?

Creates and manages tokenized Solana vaults with the GLAM CLI and TypeScript SDK, including Jupiter swaps, Kamino lending, staking, access control and investor subscriptions. This skill covers GLAM Protocol, which provides programmable investment infrastructure on Solana: vaults with access control, DeFi integrations and tokenization. It works through the glam-cli command line tool, installed from npm as @glamsystems/glam-cli, and through the TypeScript SDK.

When should I use GLAM Solana Vault Management?

GLAM Solana Vault Management fits situations like: creating a tokenized vault on Solana from a template file; enabling and using Jupiter swaps or Kamino lending from a vault; staking SOL through Marinade, stake pools, Sanctum or the native stake program; granting delegate permissions or access control on a vault.

How do I install GLAM Solana Vault Management in Claude Code?

Run `npx skills add internet-court/internet-court-skill --skill glam -a claude-code`. Or copy the skill folder (vendored/sendaifun/glam in internet-court/internet-court-skill) into .claude/skills/glam in your project. Claude Code loads it when a task matches its description.

How do I install GLAM Solana Vault Management in Codex?

Run `npx skills add internet-court/internet-court-skill --skill glam -a codex`. Or copy the skill folder (vendored/sendaifun/glam in internet-court/internet-court-skill) into .agents/skills/glam in your project. Codex loads it when a task matches its description.

Can I use GLAM Solana Vault Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add internet-court/internet-court-skill --skill glam -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/glam, .gemini/skills/glam, .github/skills/glam and .opencode/skills/glam in your project.

What does GLAM Solana Vault Management need to run?

Going by SKILL.md and its folder, GLAM Solana Vault Management needs the command-line tools its instructions call (vault and npm). Our summary lists: Node.js and npm to install @glamsystems/glam-cli; A Solana wallet and a vault to operate on.

Does GLAM Solana Vault Management access the network?

SKILL.md names 2 domains. In commands or code: api.mainnet-beta.solana.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.glam.systems. This is read from the text; nothing was executed.

Is GLAM Solana Vault Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GLAM Solana Vault Management use?

GLAM Solana Vault Management is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GLAM Solana Vault Management use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GLAM Solana Vault Management?

Skills that share tags, products or a category with GLAM Solana Vault Management: Pump TS Vanity (nirholas/pump-fun-sdk, 134 stars), Trust Wallet SDK (trustwallet/tw-agent-skills, 106 stars), Web3 Polymarket (Polymarket/agent-skills, 192 stars) and Solana Token Extensions (solanabr/ai-kit, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GLAM Solana Vault Management?

internet-court (a GitHub organization) maintains it in internet-court/internet-court-skill, which has 6,551 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on August 19, 2026.

Source: internet-court/internet-court-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.