# Send solana-light-sdk 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-light-sdk",
    "name": "solana-light-sdk",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tilo-14/solana-light-sdk",
    "canonicalUrl": "https://clawhub.ai/tilo-14/solana-light-sdk",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/solana-light-sdk",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-light-sdk",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/anchor.md",
      "references/pinocchio.md",
      "references/client-sdk.md",
      "references/router.md",
      "references/instructions.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "solana-light-sdk",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T16:49:52.290Z",
      "expiresAt": "2026-05-19T16:49:52.290Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-light-sdk",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-light-sdk",
        "contentDisposition": "attachment; filename=\"solana-light-sdk-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "solana-light-sdk"
      },
      "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-light-sdk"
    },
    "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-light-sdk",
    "downloadUrl": "https://openagent3.xyz/downloads/solana-light-sdk",
    "agentUrl": "https://openagent3.xyz/skills/solana-light-sdk/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-light-sdk/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-light-sdk/agent.md"
  }
}
```
## Documentation

### Rent-Free Solana Programs

The Light SDK pays rent-exemption for PDAs, token accounts, and mints. Program logic stays mostly untouched.

Rent cost (per account)Solana / SPLLight SDKToken account~2,000,000 lamports~11,000 lamportsAvg. DeFi pool~$2~$0.02

### 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 domain references 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: spawn subagent with Read, Glob, Grep, DeepWiki MCP access and load skills/ask-mcp

### Domain References

AudienceReferenceAnchor patternreferences/anchor.mdPinocchio patternreferences/pinocchio.mdClient SDK (LightProgramInterface)references/client-sdk.mdTestingreferences/testing.mdCPI instructionsreferences/instructions.mdFAQreferences/faq.mdRouter integrationreferences/router.md

### When to use which

CriteriaAnchorPinocchioFrameworkanchor-lang 0.31, #[light_program] macropinocchio 0.9, LightProgramPinocchio deriveState structOption<CompressionInfo> + LightAccount deriveCompressionInfo (non-optional) + bytemuck::Pod + Zeroable + #[repr(C)]Account creation#[light_account(init, ...)] attribute or CreateTokenAccountCpiCreateTokenAccountCpi, CreateMints batch patternCompress/decompress handlersAuto-generated by #[light_program] macroRoute ProgramAccounts::COMPRESS_ACCOUNTS_IDEMPOTENT etc. in entrypointProgram ID constantNot needed (macro derives it)pub const ID: Pubkey = pubkey_array!(...) + LIGHT_CPI_SIGNER requiredDependencieslight-sdk, light-sdk-macros, light-token, light-anchor-spllight-account-pinocchio, light-token-pinocchio, bytemuck

### DeFi integration

For DeFi programs (AMMs, lending, vaults): the Anchor and Pinocchio patterns above apply directly. DeFi-specific references:

TaskReferenceRouter/aggregator integration (cold account loading)references/router.mdLightProgramInterface trait (client SDK for routers)references/client-sdk.md

### Hot vs Cold Model

After extended inactivity (multiple epochs without writes), accounts auto-compress to cold state. Programs only interact with hot accounts. Clients load cold accounts back on-chain via create_load_instructions.

Hot (active)Cold (inactive)StorageOn-chainCompressedLatencyNormal+0-200msTx sizeNormal+100-2400 bytesCUNormal+15k-400k CUProgram codeNo changeNo change

The hot path has zero overhead.

### External References

ResourceLinkAnchor AMM referencecp-swap-referencePinocchio swap referencepinocchio-swapAnchor counter (rent-free PDA)basic-macros/counterPinocchio counter (zero-copy PDA)pinocchio/counter

### SDK references

PackageLinklight-sdkdocs.rslight-sdk-macrosdocs.rslight-sdk-pinocchiodocs.rslight-tokendocs.rslight-token-pinocchiodocs.rslight-account-pinocchiodocs.rslight-token-clientdocs.rslight-clientdocs.rslight-program-testdocs.rs

### Security

This skill does not pull, store, or transmit external secrets. It provides code patterns, documentation references, and development guidance only.

No credentials consumed. The skill requires no API keys, private keys, or signing secrets. env: [] is declared explicitly.
User-provided configuration. RPC endpoints, wallet keypairs, and authentication tokens (Privy, wallet adapters) are configured in the user's own application code — the skill only demonstrates how to use them.
Install source. npx skills add Lightprotocol/skills installs from the public GitHub repository (Lightprotocol/skills). Verify the source before running.
Subagent scope. This skill may spawn read-only subagents that use Read, Glob, and Grep to search the local repository. Restrict the working directory to your project.
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-12T16:49:52.290Z
- Expires at: 2026-05-19T16:49:52.290Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/solana-light-sdk)
- [Send to Agent page](https://openagent3.xyz/skills/solana-light-sdk/agent)
- [JSON manifest](https://openagent3.xyz/skills/solana-light-sdk/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/solana-light-sdk/agent.md)
- [Download page](https://openagent3.xyz/downloads/solana-light-sdk)