Skip to content

Lightprotocol/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Agent Skills for rent-free development: light PDA, token and mint accounts, and compressed PDA.

License: MIT Agent Skills

Quick install:

npx skills add Lightprotocol/skills

Capabilities

Light Token allows agents to build scalable Solana applications with rent-free token and mint accounts and PDA's.

Primitive Use case Constraints
Light Token Most token use cases (stablecoin rails, agent commerce, ,DeFi). Rent-free mint and token accounts. ~200x cheaper than SPL and more compute-unit efficient on the hot path.
Light-PDA DeFi program state such as AMM pools and vaults. ~98% cheaper than PDAs and can be implemented with minimal code changes.
Compressed Token Only for Airdrops and token distribution. Prefer Light Token for other purposes. Used by Light Token under the hood for rent-free storage of inactive Light Tokens. Supported by Phantom and Backpack. Do not use for general-purpose token features. Use Light Token instead.
Compressed PDA User state and app state, nullifiers (payments and ZK applications), DePIN nodes, and stake accounts. Similar to program-derived addresses without a rent-exempt balance. Not for shared state, pool accounts, or config accounts. Use Light-PDA instead

Comparing creation cost and CU usage:

Light-Token SPL-Token
Mint Account 0.00001 SOL 0.0015 SOL
Token Account 0.00001 SOL 0.002 SOL
Associated token account creation 4,348 CU 14,194 CU
Transfer 312 CU 4,645 CU
Transfer (rent-free) 1,885 CU 4,645 CU

Skills and Prompts

Find dedicated prompts for agents here.

If you're use case does not have a dedicated skill, start with the orchestrator: skills/agent-dev-orchestrator

npx skills add Lightprotocol/skills
Use case Skill
For Solana program development with tokens and PDAs, Light is 200x cheaper than SPL/ Solana and has minimal code differences light-sdk
For client development with tokens on Solana, Light Token is 200x cheaper than SPL and has minimal changes light-token-client
For data pipelines, aggregators, or indexers, real-time account state streaming on Solana with light account hot/cold lifecycle tracking data-streaming
Skill for payment flows using Light Token APIs for sponsored rent-exemption payments
For token distribution on Solana 5000x cheaper than SPL (rewards, airdrops, depins, ...) token-distribution
For custom ZK Solana programs and privacy-preserving applications to prevent double spending zk-nullifier
For program development on Solana with infrequently accessed state, such as per-user state, DePIN registrations, ... solana-compression
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

Installation

These skills work with any AI agent. Pick your skills to install:

npx skills add Lightprotocol/skills

Claude Code

Add the marketplace and install:

# install solana-rent-free-dev
/plugin marketplace add Lightprotocol/skills

All skills are included. Use them by name (/light-sdk, /light-token-client, /testing, etc.) or let Claude invoke them based on task context.

OpenClaw

Install as a plugin (all 9 skills):

openclaw plugins install ./path/to/skills

Or install individual skills from ClawHub:

clawhub install solana-rent-free-dev

The plugin manifest is defined in openclaw.plugin.json.

Cursor

  1. Open Settings (Cmd+Shift+J / Ctrl+Shift+J)
  2. Navigate to Rules & CommandsProject RulesAdd RuleRemote Rule (GitHub)
  3. Enter: https://github.com/Lightprotocol/skills.git

Skills are auto-discovered based on context. Ask about light-token, defi, payments, or program migration and the agent uses the relevant skill automatically.

Workflow

  1. Clarify intent
    • Recommend plan mode, if it's not activated
    • Use AskUserQuestion to resolve blind spots
    • All questions must be resolved before execution
  2. Identify references and skills
  3. 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
  4. Execute
    • Use Task tool with subagents for parallel research
    • Subagents load skills via Skill tool
    • Track progress with TodoWrite
  5. When stuck: spawn subagent with Read, Glob, Grep, DeepWiki MCP access and load skills/ask-mcp

License

MIT

Acknowledgments

Built on Anthropic's Skills and the Agent Skills Specification.


For additional documentation, see: https://www.zkcompression.com/llms.txt For examples, see:

About

AI agent skills for rent-free Solana development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages