Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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...
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...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
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
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
AudienceReferenceAnchor patternreferences/anchor.mdPinocchio patternreferences/pinocchio.mdClient SDK (LightProgramInterface)references/client-sdk.mdTestingreferences/testing.mdCPI instructionsreferences/instructions.mdFAQreferences/faq.mdRouter integrationreferences/router.md
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
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
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.
ResourceLinkAnchor AMM referencecp-swap-referencePinocchio swap referencepinocchio-swapAnchor counter (rent-free PDA)basic-macros/counterPinocchio counter (zero-copy PDA)pinocchio/counter
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
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.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.