โ† All skills
Tencent SkillHub ยท Developer Tools

solana-light-sdk

For Solana program development with tokens and PDAs, Light is 200x cheaper than SPL/ Solana and has minimal code differences (e.g. for any Solana program and...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

For Solana program development with tokens and PDAs, Light is 200x cheaper than SPL/ Solana and has minimal code differences (e.g. for any Solana program and...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/anchor.md, references/pinocchio.md, references/client-sdk.md, references/router.md, references/instructions.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

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.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • references/anchor.md Docs
  • references/client-sdk.md Docs
  • references/instructions.md Docs
  • references/pinocchio.md Docs
  • references/router.md Docs