Skip to main content
You can manage GLAM vaults through AI coding agents using the glam-skill. Instead of running CLI commands or clicking through the GUI, describe what you want in natural language and the agent handles the rest. The skill gives your agent a decision tree for vault operations, error handling, integration awareness, and knowledge of the GLAM CLI and SDK.

Supported platforms

The glam-skill works with any skills.sh-compatible platform:
  • Claude Code
  • Gemini CLI
  • Codex
  • OpenCode

Installation

For skills.sh-compatible platforms:
In Claude Code, you can also install with /skill or add the skill manually to your project configuration.

Configuration

Before your agent can manage vaults, you need the GLAM CLI installed and configured. Install the CLI:
Create your CLI config at ~/.config/glam/config.json:
config.json
Need an RPC endpoint? AI agents can create a Helius account and get an API key automatically. Your json_rpc_url would then be https://mainnet.helius-rpc.com/?api-key=<helius-api-key>.
The jupiter_api_key is optional but recommended. It’s required for commands that fetch token prices (e.g., vault token-balances). Get one for free on Jupiter Developer Platform.
The agent uses this config automatically when running CLI commands. If you have multiple keypairs (e.g., owner, delegate, user), you can either update the config or tell the agent to use a specific config file with the -C flag.

Example walkthrough

Here’s what managing a GLAM vault looks like through an AI agent. The following prompts mirror the CLI quickstart flow.
1

Create a vault

Prompt your agent:
The agent will generate the vault configuration JSON and run the appropriate glam-cli vault create command.
2

Enable integrations

The agent knows which integrations are available and runs:
3

Grant delegate permissions

The agent translates this into the correct delegate grant commands with the right protocol and permission names.
4

Manage portfolio

The skill knows the main Kamino market address, so this works out of the box. If you want to use a different market or vault, just paste the address in your prompt.
5

Handle investor flows

The agent runs glam-cli manage fulfill to process queued redemptions.

What the skill provides

  • Decision tree for vault operations — the agent knows which commands to run and in what order
  • Error handling — the agent interprets CLI errors and suggests fixes
  • Integration awareness — the agent understands which integrations need to be enabled before use and what permissions delegates need
  • CLI and SDK coverage — the agent can use either the CLI or the TypeScript SDK depending on your context

Learn more

See the full skill reference at skills.sh/glamsystems/glam-skill/glam.