ZK Compression lets you build scalable Solana applications with rent-free compressed token accounts and compressed PDAs.
| Creation cost | Compressed | Standard Solana |
|---|---|---|
| Token Account | ~5,000 lamports | ~2,000,000 lamports |
| PDA (128-byte) | ~5,000 lamports | ~1,100,000 lamports |
- Compressed token accounts are always compressed and rent-free. Any SPL or Token-2022 token can be compressed and decompressed at will. The SPL mint and interface PDA still pay rent; each holder's compressed token account does not.
- Compressed PDAs are derived like regular PDAs, but the program invokes the Light System Program (not the System Program) with a validity proof. Use them for per-user state, DePIN registrations, nullifiers, and infrequently accessed accounts.
npx skills add Lightprotocol/skillsFind dedicated prompts for agents here.
| Use case | Skill |
|---|---|
| For compressed token operations on Solana ~400x cheaper than SPL: create mints, mint, transfer, approve, burn, compress/decompress, merge, Token-2022, and token distribution | compressed-token |
| For program development on Solana with infrequently accessed state, such as per-user state, DePIN registrations, nullifiers, or custom compressed accounts | compressed-pda |
| For custom ZK Solana programs and privacy-preserving applications to prevent double spending | zk |
| For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation | testing |
| For questions about compressed accounts, Light SDK, Solana development, Claude Code features, or agent skills | ask-mcp |
For additional documentation, see: zkcompression.com For examples, see: Lightprotocol/examples
- Clarify intent
- Recommend plan mode, if it's not activated
- Use
AskUserQuestionto resolve blind spots - All questions must be resolved before execution
- Identify references and skills
- Match task to available skills below
- Locate relevant documentation and examples
- Write plan file (YAML task format)
- Use
AskUserQuestionfor anything unclear — never guess or assume - Identify blockers: permissions, dependencies, unknowns
- Plan must be complete before execution begins
- Use
- Execute
- Use
Tasktool with subagents for parallel research - Subagents load skills via
Skilltool - Track progress with
TodoWrite
- Use
- When stuck: spawn subagent with
Read,Glob,Grep, DeepWiki MCP access and loadskills/ask-mcp
These skills work with any AI agent. Pick your skills to install:
npx skills add Lightprotocol/skills
Add the marketplace and install:
# install solana-rent-free-dev
/plugin marketplace add Lightprotocol/skills
All skills are included. Use them by name (/compressed-token, /compressed-pda, /zk, /testing, /ask-mcp) or let Claude invoke them based on task context.
Install as a plugin (all 5 skills):
openclaw plugins install ./path/to/skillsOr install individual skills from ClawHub:
clawhub install solana-rent-free-devThe plugin manifest is defined in openclaw.plugin.json.
- Open Settings (Cmd+Shift+J / Ctrl+Shift+J)
- Navigate to Rules & Commands → Project Rules → Add Rule → Remote Rule (GitHub)
- Enter:
https://github.com/Lightprotocol/skills.git
Skills are auto-discovered based on context. Ask about compressed tokens, compressed PDAs, ZK programs, or testing and the agent uses the relevant skill automatically.
Built on Anthropic's Skills and the Agent Skills Specification.
For additional documentation, see: https://www.zkcompression.com For examples, see: https://github.com/Lightprotocol/examples