internet-court/internet-court-skill / vendored/sendaifun/glam
glam
VerifiedSolana 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.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.1 KB |
| SKILL.md | skill md | 7.2 KB |
| docs/troubleshooting.md | markdown | 4.8 KB |
| evaluations.json | config | 10.7 KB |
| examples/EXAMPLES.md | markdown | 10.9 KB |
| resources/cli/advanced.md | markdown | 4.1 KB |
| resources/cli/alt.md | markdown | 1.6 KB |
| resources/cli/delegate.md | markdown | 3.6 KB |
| resources/cli/invest.md | markdown | 1.8 KB |
| resources/cli/jupiter.md | markdown | 2.8 KB |
| resources/cli/kamino-farms.md | markdown | 2.1 KB |
| resources/cli/kamino-lend.md | markdown | 3.4 KB |
| resources/cli/kamino-vaults.md | markdown | 2.3 KB |
| resources/cli/lst.md | markdown | 2.8 KB |
| resources/cli/manage.md | markdown | 2.9 KB |
| resources/cli/staking.md | markdown | 3.8 KB |
| resources/cli/transfer.md | markdown | 1.9 KB |
| resources/cli/vault.md | markdown | 8.0 KB |
| resources/concepts.md | markdown | 6.9 KB |
| resources/sdk/client.md | markdown | 10.3 KB |
| resources/sdk/integrations.md | markdown | 9.7 KB |
| resources/sdk/ix-mapper.md | markdown | 3.9 KB |
| resources/sdk/mint.md | markdown | 2.8 KB |
| resources/sdk/multisig.md | markdown | 3.3 KB |
resources/cli/manage.md
View on GitHub# CLI: Manage Commands
Vault management operations for tokenized vaults: pricing, fulfillment, fees, and subscription controls.
## Commands
### `glam-cli manage price`
Price vault assets (update NAV).
```bash
glam-cli manage price
```
Updates the vault's Net Asset Value based on current market prices.
### `glam-cli manage fulfill`
Fulfill queued subscriptions and redemptions.
```bash
glam-cli manage fulfill
```
Processes pending investor subscriptions and redemptions at current NAV.
### `glam-cli manage claim-fees`
Claim accrued management fees.
```bash
glam-cli manage claim-fees
```
### `glam-cli manage update-min-subscription`
Set minimum subscription amount.
```bash
glam-cli manage update-min-subscription <AMOUNT> [--yes]
```
**Options:**
| Flag | Description |
|------|-------------|
| `-y, --yes` | Skip confirmation prompt |
**Example:**
```bash
# Set minimum subscription to 100 USDC
glam-cli manage update-min-subscription 100
```
### `glam-cli manage update-min-redemption`
Set minimum redemption amount.
```bash
glam-cli manage update-min-redemption <AMOUNT> [--yes]
```
### `glam-cli manage pause`
Pause subscription or redemption.
```bash
glam-cli manage pause <ACTION> [--yes]
```
**Arguments:**
| Argument | Values |
|----------|--------|
| `ACTION` | `subscription` or `redemption` |
**Example:**
```bash
# Pause new subscriptions
glam-cli manage pause subscription
# Pause redemptions
glam-cli manage pause redemption
```
### `glam-cli manage unpause`
Resume subscription or redemption.
```bash
glam-cli manage unpause <ACTION> [--yes]
```
**Example:**
```bash
# Resume subscriptions
glam-cli manage unpause subscription
```
### `glam-cli manage list-requests`
List pending user requests in the subscription/redemption queue.
```bash
glam-cli manage list-requests
```
**Output shows:**
- User public key
- Request type (subscription or redemption)
- Incoming/outgoing amounts
- Status (pending or fulfilled/claimable)
- Created timestamp
### `glam-cli manage cancel-for-user`
Cancel a queued request on behalf of a user.
```bash
glam-cli manage cancel-for-user <pubkey> [--yes]
```
### `glam-cli manage claim-for-user`
Claim a fulfilled request on behalf of a user.
```bash
glam-cli manage claim-for-user <pubkey> [--yes]
```
---
## Manager Workflow
```bash
# Daily/periodic operations for tokenized vault managers:
# 1. Price vault (update NAV)
glam-cli manage price
# 2. Process pending subscriptions/redemptions
glam-cli manage fulfill
# 3. Claim fees (when desired)
glam-cli manage claim-fees
```
---
## Emergency Controls
```bash
# Pause all new subscriptions (e.g., during market volatility)
glam-cli manage pause subscription
# Resume when ready
glam-cli manage unpause subscription
```
---
## Important Notes
- **For tokenized vaults only**: These commands apply to vaults with share classes
- **Pricing first**: Always price before fulfill to ensure accurate NAV
- **Pause controls**: Useful for maintenance windows or emergencies
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |