Natural language wallet security policy generator for Privy-managed wallets.
Works with
Converts plain-language security requirements into Privy policy rule JSON, supporting transfer limits, address allowlists, method restrictions, chain constraints, and time windows
Covers both EVM (Ethereum, Base, Arbitrum, Polygon, etc.) and Solana chains with dedicated condition types for each ecosystem
Sends proposed policies to the frontend via wallet_propose_policy tool for user review and signature appr
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionwallet-policyExecute the skills CLI command in your project's root directory to begin installation:
Fetches wallet-policy from starchild-ai-agent/official-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate wallet-policy. Access via /wallet-policy in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
1
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
1
stars
You help users create wallet security policy rules. The user describes what they want in plain language, and you generate the exact Privy policy rules JSON. After generating the rules, you MUST call the wallet_propose_policy tool to send the proposal to the user for review and approval.
Always respond in the user's language.
After generating the policy rules, call the wallet_propose_policy tool:
wallet_propose_policy(
chain_type="ethereum", # "ethereum" or "solana"
title="Update EVM Wallet Policy",
description="Allow transfers to treasury address",
rules=[
{
"name": "Allow transfers to treasury",
"method": "eth_sendTransaction",
"conditions": [
{
"field_source": "ethereum_transaction",
"field": "to",
"operator": "eq",
"value": "0x1234567890abcdef1234567890abcdef12345678"
}
],
"action": "ALLOW"
}
]
)
The tool sends an action_request event to the frontend, which displays the proposed policy to the user for confirmation. The user must approve (and sign) before the policy is applied. Do NOT output rules as code blocks — always use the tool.
If the user's request covers both EVM and Solana, call wallet_propose_policy twice — once with chain_type="ethereum" and once with chain_type="solana".
CRITICAL — Tool invocation is mandatory:
wallet_propose_policy for EVERY policy request. Never output rules as plain text or code blocks.Tell the user these fundamentals when relevant:
For any on-chain service (Hyperliquid, Orderly, 1inch, or any new dapp), propose the standard wildcard policy:
wallet_propose_policy(
chain_type="ethereum",
title="Enable Wallet Operations",
description="Allows all transactions and signing on all EVM chains. Only blocks private key export. The user signs each individual transaction for approval.",
rules=[
{
"name": "Deny key export",
"method": "exportPrivateKey",
"conditions": [],
"action": "DENY"
},
{
"name": "Allow all operations",
"method": "*",
"conditions": [],
"action": "ALLOW"
}
]
)
This works because:
exportPrivateKey prevents the most dangerous operation (key extraction)* wildcard covers all transaction types, signing methods, and chains — no service-specific rules neededWhen to use specific rules instead: Only when the user explicitly requests tighter restrictions (e.g. "only allow transfers under 1 ETH", "only allow transactions on Arbitrum", "only allow this specific contract address"). In that case, use the rule-building reference below.
If the user wants tighter control, identify what transactions the service needs:
to field)chain_id)Map each transaction type to a policy rule:
| Transaction type | Rule pattern |
|---|---|
| Call a specific contract | ethereum_transaction.to = contract address + chain_id = chain |
| ERC-20 token approval | ethereum_transaction.value = "0" + chain_id = chain (approvals are zero-value calls to the token contract) |
| EIP-712 typed data signing | ethereum_typed_data_domain.verifyingContract = contract address |
| Any transaction on a chain | ethereum_transaction.chain_id = chain |
| Smart contract deployment | Use wildcard pattern (deployments have no fixed to address) |
Always use wallet_propose_policy to send the proposal to the user. In the description field, explain:
{
"name": "string (1-50 chars, descriptive)",
"method": "<method>",
"conditions": [ <condition>, ... ],
"action": "ALLOW" | "DENY"
}
| Method | Chain | Description |
|---|---|---|
eth_sendTransaction |
EVM | Broadcast a transaction |
eth_signTransaction |
EVM | Sign without broadcasting |
eth_signTypedData_v4 |
EVM | Sign EIP-712 typed data |
eth_signUserOperation |
EVM | Sign ERC-4337 UserOperation |
eth_sign7702Authorization |
EVM | EIP-7702 authorization |
signTransaction |
Solana | Sign a Solana transaction |
signAndSendTransaction |
Solana | Sign and broadcast |
signTransactionBytes |
Tron/SUI | Sign raw transaction bytes |
exportPrivateKey |
Any | Export the private key |
* |
Any | Wildcard — matches all methods |
Note: personal_sign (message signing) and signMessage (Solana) are NOT valid policy methods. They cannot be individually allowed/denied. To allow message signing, use * wildcard. Under deny-all (empty rules), message signing is also blocked.
{
"field_source": "<source>",
"field": "<field_name>",
"operator": "<op>",
"value": "<string>" | ["<string>", ...]
}
Operators:
eq — equals (single value)gt, gte, lt, lte — comparison operators (numeric string values)in — matches any value in array (max 100 values). Use this for multiple addresses/values.Do NOT use in_condition_set:
in_condition_set — This operator requires pre-created condition sets via Privy API, which you cannot create. Always use the in operator instead for arrays of addresses or values. If you need more than 100 values, split into multiple rules.Examples:
// ✅ CORRECT: Multiple addresses with "in" operator
{"field": "to", "operator": "in", "value": ["0xAddr1...", "0xAddr2...", "0xAddr3..."]}
// ❌ WRONG: Do NOT use "in_condition_set" - you cannot create condition sets
{"field": "to", "operator": "in_condition_set", "value": "a2p4etpcbj2dltbjfigybi8j"}
{"field": "to", "operator": "in_condition_set", "value": ["0xAddr1...", "0xAddr2..."]}
// ✅ CORRECT: For many addresses, use multiple rules with "in" operator
// Rule 1: First 100 addresses
{"field": "to", "operator": "in", "value": ["0xAddr1...", "0xAddr2...", /* ... 100 addresses */]}
// Rule 2: Next batch
{"field": "to", "operator": "in", "value": ["0xAddr101...", "0xAddr102...", /* ... */]}
ethereum_transactionFields: to, value, chain_id
{"field_source": "ethereum_transaction", "field": "to", "operator": "eq", "value": "0xAbC..."}
{"field_source": "ethereum_transaction", "field": "value", "operator": "lte", "value": "1000000000000000000"}
{"field_source": "ethereum_transaction", "field": "chain_id", "operator": "in", "value": ["1", "8453", "10"]}
value is in wei (string). 1 ETH = "1000000000000000000"chain_id is string (e.g. "1" for mainnet, "8453" for Base)to is checksummed addressethereum_calldataFor decoded smart contract calls. Requires an abi field.
{
"field_source": "ethereum_calldata",
"field": "transfer.to",
"operator": "eq",
"value": "0xRecipient...",
"abi": {
"type": "function",
"name": "transfer",
"inputs": [
{"name": "to", "type": "address"},
{"name": "amount", "type": "uint256"}
]
}
}
Field format: <functionName>.<paramName> — references decoded parameter.
ethereum_typed_data_domainFields: chainId, verifyingContract
{"field_source": "ethereum_typed_data_domain", "field": "verifyingContract", "operator": "eq", "value": "0xContract..."}
{"field_source": "ethereum_typed_data_domain", "field": ✓Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
✓Save 3-5 hours/week on communication overhead
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Steps
- 1Install product management skill
- 2Start with user story generation for known feature
- 3Progress to competitive analysis: research 2-3 competitors
- 4Use for roadmap prioritization: apply RICE/ICE scoring
- 5Draft stakeholder communications and refine based on feedback
- 6Build template library for recurring PM tasks
- 7Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Related Skills
grill-me
704mattpocock/skills
Productivitysame categorypremortem
218parcadei/continuous-claude-v3
Productivitysame categorydeslop
164cursor/plugins
Productivitysame categorytravel-planner
145ailabs-393/ai-labs-claude-skills
Productivitysame categorynutritional-specialist
141ailabs-393/ai-labs-claude-skills
Productivitysame categoryframer-motion
140pproenca/dot-skills
Productivitysame categoryReviews
4.5★★★★★31 reviews- AAditi Abbas★★★★★Dec 12, 2024
Registry listing for wallet-policy matched our evaluation — installs cleanly and behaves as described in the markdown.
- SShikha Mishra★★★★★Dec 4, 2024
I recommend wallet-policy for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- YYash Thakker★★★★★Nov 23, 2024
Useful defaults in wallet-policy — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- MMichael Ghosh★★★★★Nov 19, 2024
We added wallet-policy from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- AAditi White★★★★★Nov 3, 2024
wallet-policy fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- VValentina Chen★★★★★Oct 22, 2024
wallet-policy is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- DDhruvi Jain★★★★★Oct 14, 2024
wallet-policy has been reliable in day-to-day use. Documentation quality is above average for community skills.
- AAanya Thomas★★★★★Oct 10, 2024
Solid pick for teams standardizing on skills: wallet-policy is focused, and the summary matches what you get after install.
- AAarav Haddad★★★★★Sep 25, 2024
Registry listing for wallet-policy matched our evaluation — installs cleanly and behaves as described in the markdown.
- OOshnikdeep★★★★★Sep 21, 2024
Solid pick for teams standardizing on skills: wallet-policy is focused, and the summary matches what you get after install.
showing 1-10 of 31
1 / 4Discussion
Comments — not star reviews- No comments yet — start the thread.