# Send solana-token-distribution to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "solana-token-distribution",
    "name": "solana-token-distribution",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/tilo-14/solana-token-distribution",
    "canonicalUrl": "https://clawhub.ai/tilo-14/solana-token-distribution",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/solana-token-distribution",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-token-distribution",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/simple-airdrop.md",
      "references/batched-airdrop.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "solana-token-distribution",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T04:32:09.704Z",
      "expiresAt": "2026-05-12T04:32:09.704Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-token-distribution",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-token-distribution",
        "contentDisposition": "attachment; filename=\"solana-token-distribution-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "solana-token-distribution"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/solana-token-distribution"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/solana-token-distribution",
    "downloadUrl": "https://openagent3.xyz/downloads/solana-token-distribution",
    "agentUrl": "https://openagent3.xyz/skills/solana-token-distribution/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-token-distribution/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-token-distribution/agent.md"
  }
}
```
## Documentation

### Airdrop

Distribute compressed tokens to multiple recipients using TypeScript client.

Disclaimer: This guide demonstrates efficient token distribution on Solana using ZK compression. It does not constitute financial advice and does not endorse any specific token or project.

### Workflow

Clarify intent

Recommend plan mode, if it's not activated
Use AskUserQuestion to resolve blind spots
All questions must be resolved before execution


Identify references and skills

Match task to distribution approaches below
Locate relevant documentation and examples


Write plan file (YAML task format)

Use AskUserQuestion for anything unclear — never guess or assume
Identify blockers: permissions, dependencies, unknowns
Plan must be complete before execution begins


Execute

Use Task tool with subagents for parallel research
Subagents load skills via Skill tool
Track progress with TodoWrite


When stuck: ask to spawn a read-only subagent with Read, Glob, Grep, and DeepWiki MCP access, loading skills/ask-mcp. Scope reads to skill references, example repos, and docs.

### Distribution via Client

ScaleApproach<10,000 recipientsSingle transaction - see simple-airdrop.md10,000+ recipientsBatched with retry - see batched-airdrop.mdNo-codeAirship by Helius (up to 200k)

### Cost Comparison

CreationSolanaCompressedToken Account~2,000,000 lamports5,000 lamports

### Claim Program Reference Implementations

Customize token distribution and let users claim.

Simple Implementation: simple-claim - Distributes compressed tokens that get decompressed on claim.

Advanced Implementation: distributor - Distributes SPL tokens, uses compressed PDAs to track claims. Based on jito Merkle distributor.

distributorsimple-claimVestingLinear VestingCliff at Slot XPartial claimsYesNoClawbackYesNoFrontendREST API + CLINone

The programs are reference implementations and not audited. The Light Protocol Programs are audited and live on Solana Mainnet.

### Cost

Per-claim100k claimssimple-claim~0.00001 SOL~1 SOLdistributor (compressed)~0.00005 SOL~5 SOLdistributor (original)~0.002 SOL~200 SOL

### Core Pattern

import { CompressedTokenProgram, getTokenPoolInfos, selectTokenPoolInfo } from "@lightprotocol/compressed-token";
import { bn, createRpc, selectStateTreeInfo, buildAndSignTx, sendAndConfirmTx } from "@lightprotocol/stateless.js";
import { ComputeBudgetProgram } from "@solana/web3.js";

const rpc = createRpc(RPC_ENDPOINT);

// 1. Get infrastructure
const treeInfo = selectStateTreeInfo(await rpc.getStateTreeInfos());
const tokenPoolInfo = selectTokenPoolInfo(await getTokenPoolInfos(rpc, mint));

// 2. Build compress instruction (SPL → compressed to multiple recipients)
const ix = await CompressedTokenProgram.compress({
  payer: payer.publicKey,
  owner: payer.publicKey,
  source: sourceAta.address,           // SPL associated token account holding tokens
  toAddress: recipients,                // PublicKey[]
  amount: recipients.map(() => bn(amount)),
  mint,
  tokenPoolInfo,
  outputStateTreeInfo: treeInfo,
});

// 3. Send with compute budget (120k CU per recipient)
const instructions = [
  ComputeBudgetProgram.setComputeUnitLimit({ units: 120_000 * recipients.length }),
  ix,
];
const { blockhash } = await rpc.getLatestBlockhash();
const tx = buildAndSignTx(instructions, payer, blockhash, []);
await sendAndConfirmTx(rpc, tx);

### Setup: Create Mint

import { createMint } from "@lightprotocol/compressed-token";
import { getOrCreateAssociatedTokenAccount, mintTo } from "@solana/spl-token";

const { mint } = await createMint(rpc, payer, payer.publicKey, 9);
const ata = await getOrCreateAssociatedTokenAccount(rpc, payer, mint, payer.publicKey);
await mintTo(rpc, payer, mint, ata.address, payer.publicKey, 100_000_000_000);

### Compute Units

Recipients/instructionCU1120,0005170,000Batched tx500,000

### Lookup Tables

Reduce transaction size:

NetworkAddressMainnet9NYFyEqPkyXUhkerbGHXUXkvb4qpzeEdHuGpgbgpH1NJDevnetqAJZMgnQJ8G6vA3WRcjD9Jan1wtKkaCFWLWskxJrR5V

### Advanced: Claim-Based

For vesting, clawback, or user-initiated claims:

ImplementationFeaturesMerkle DistributorLinear vesting, partial claims, clawback, REST APISimple ClaimCliff vesting at slot X

### Resources

Docs: Airdrop Guide
Code: examples-light-token
Tool: Airship by Helius

### SDK references

PackageLink@lightprotocol/stateless.jsAPI docs@lightprotocol/compressed-tokenAPI docs

### Security

This skill provides code patterns and documentation references only.

Declared dependencies. Reference examples require HELIUS_API_KEY (RPC provider key) and a payer keypair for signing transactions. Neither is needed for read-only or localnet testing. In production, load both from a secrets manager — never hard-code private keys.
Filesystem scope. Read, Glob, and Grep must be limited to the current project directory and skill references. Do not read outside these paths.
Subagent scope. When stuck, the skill asks to spawn a read-only subagent with Read, Glob, Grep scoped to skill references, example repos, and docs.
Install source. npx skills add Lightprotocol/skills from Lightprotocol/skills.
Audited protocol. Light Protocol smart contracts are independently audited. Reports are published at github.com/Lightprotocol/light-protocol/tree/main/audits.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tilo-14
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T04:32:09.704Z
- Expires at: 2026-05-12T04:32:09.704Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/solana-token-distribution)
- [Send to Agent page](https://openagent3.xyz/skills/solana-token-distribution/agent)
- [JSON manifest](https://openagent3.xyz/skills/solana-token-distribution/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/solana-token-distribution/agent.md)
- [Download page](https://openagent3.xyz/downloads/solana-token-distribution)