[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71DMZWVVYEN2RXNW32VTFBT":3,"skill-same:01M71DMZWVVYEN2RXNW32VTFBT":175},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":71,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M71DMZWVVYEN2RXNW32VTFBT","clawd-code-skill",null,"Control Clawd via MCP protocol. Trigger with \"plan\" to write a precise execution plan then feed it to Clawd. Also supports direct commands, persistent sessions, agent teams, and advanced tool control.","x402agent\u002Fopenclawd-main","x402agent","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F243432990?v=4","01M71D6NTS5STS5KG360KMCGNJ","ClawdBot 🦞","01M71D6NVEWQSFGXWT7QDCXEM7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"clawd","code skill","clawd code skill","code","use","execution","teams","sessions","tool","trigger","execution plan","direct","commands","node","write","plan","MCP","local","advanced","agent teams","2026-11-10 10:12:30",false,"---\nname: clawd-code-skill\ndescription: Control Clawd via MCP protocol. Trigger with \"plan\" to write a precise execution plan then feed it to Clawd. Also supports direct commands, persistent sessions, agent teams, and advanced tool control.\nhomepage: https:\u002F\u002Fgithub.com\u002Fenderfga\u002Fclawd-code-skill\nmetadata: {\n  \"solanaos\": {\n    \"emoji\": \"🤖\",\n    \"requires\": {\n      \"bins\": [\"node\"],\n      \"env\": []\n    },\n    \"install\": [\n      {\n        \"id\": \"local\",\n        \"kind\": \"local\",\n        \"path\": \"~\u002Fclawd\u002Fclawd-code-skill\",\n        \"label\": \"Use local installation\"\n      }\n    ]\n  }\n}\n---\n\n# Clawd Skill\n\nControl Clawd via MCP (Model Context Protocol). This skill unleashes the full power of Clawd for solanaos agents, including persistent sessions, agent teams, and advanced tool control.\n\n\n---\n\n## ⚡ Quick Start\n\n```bash\n# Start a persistent Claude session for your project\nclawd-code-skill session-start myproject -d ~\u002Fproject \\\n  --permission-mode acceptEdits \\\n  --allowed-tools \"Bash,Read,Edit,Write,Glob,Grep\"\n\n# Send a plan (Claude will execute precisely)\nclawd-code-skill session-send myproject --stream '\u003C精确的执行计划>'\n\n# Send with high effort (ultrathink) for complex reasoning\nclawd-code-skill session-send myproject --stream --ultrathink 'Refactor the auth module'\n\n# Enter plan mode — Claude creates a plan first, then executes\nclawd-code-skill session-send myproject --stream --plan 'Implement rate limiting'\n\n# Check progress\nclawd-code-skill session-status myproject\n\n# Compact session when context gets large\nclawd-code-skill session-compact myproject\n\n# Switch model mid-session\nclawd-code-skill session-model myproject opus\n```\n\n## 🎯 When to Use This Skill\n\n### Use Persistent Sessions When:\n- ✅ Multi-step tasks requiring multiple tool calls\n- ✅ Iterative development (write code → test → fix → repeat)\n- ✅ Long conversations needing full context\n- ✅ Agent needs to work autonomously\n- ✅ You want streaming real-time feedback\n\n### Use Direct MCP Tools When:\n- ✅ Single command execution\n- ✅ Quick file read\u002Fwrite\n- ✅ One-off searches\n- ✅ No context needed between operations\n\n## 📚 Command Reference\n\n### Basic MCP Operations\n\n```bash\n# Connect to Clawd MCP\nclawd-code-skill connect\nclawd-code-skill status\nclawd-code-skill tools\n\n# Direct tool calls (no persistent session)\nclawd-code-skill bash \"npm test\"\nclawd-code-skill read \u002Fpath\u002Fto\u002Ffile.ts\nclawd-code-skill glob \"**\u002F*.ts\" -p ~\u002Fproject\nclawd-code-skill grep \"TODO\" -p ~\u002Fproject -c\nclawd-code-skill call Write -a '{\"file_path\":\"\u002Ftmp\u002Ftest.txt\",\"content\":\"Hello\"}'\n\n# Disconnect\nclawd-code-skill disconnect\n```\n\n### Persistent Sessions (Agent Loop)\n\n#### Starting Sessions\n\n```bash\n# Basic start\nclawd-code-skill session-start myproject -d ~\u002Fproject\n\n# With custom API endpoint (for Gemini\u002FGPT proxy)\nclawd-code-skill session-start gemini-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model gemini-2.0-flash\n\n# With permission mode (plan = preview changes before applying)\nclawd-code-skill session-start review -d ~\u002Fproject --permission-mode plan\n\n# With tool whitelist (auto-approve these tools)\nclawd-code-skill session-start safe -d ~\u002Fproject \\\n  --allowed-tools \"Bash(git:*),Read,Glob,Grep\"\n\n# With budget limit\nclawd-code-skill session-start limited -d ~\u002Fproject --max-budget 1.50\n\n# Full configuration\nclawd-code-skill session-start advanced -d ~\u002Fproject \\\n  --permission-mode acceptEdits \\\n  --allowed-tools \"Bash,Read,Edit,Write\" \\\n  --disallowed-tools \"Task\" \\\n  --max-budget 5.00 \\\n  --model claude-opus-4-5 \\\n  --append-system-prompt \"Always write tests\" \\\n  --add-dir \"\u002Ftmp,\u002Fvar\u002Flog\"\n```\n\n**Permission Modes:**\n| Mode | Description |\n|------|-------------|\n| `acceptEdits` | Auto-accept file edits (default) |\n| `plan` | Preview changes before applying |\n| `default` | Ask for each operation |\n| `bypassPermissions` | Skip all prompts (dangerous!) |\n| `delegate` | Delegate decisions to parent |\n| `dontAsk` | Never ask, reject by default |\n\n#### Sending Messages\n\n```bash\n# Basic send (blocks until complete)\nclawd-code-skill session-send myproject \"Write unit tests for auth.ts\"\n\n# Streaming (see progress in real-time)\nclawd-code-skill session-send myproject \"Refactor this module\" --stream\n\n# With custom timeout\nclawd-code-skill session-send myproject \"Run all tests\" -t 300000\n\n# With effort control\nclawd-code-skill session-send myproject \"Quick lint fix\" --effort low\nclawd-code-skill session-send myproject \"Design new auth system\" --ultrathink\n\n# Plan mode — Claude creates a plan, then executes\nclawd-code-skill session-send myproject --plan \"Add rate limiting to all API endpoints\"\n\n# Auto-resume stopped sessions\nclawd-code-skill session-send myproject \"Continue the migration\" --auto-resume\n\n# NDJSON output for programmatic consumption\nclawd-code-skill session-send myproject \"Run tests\" --stream --ndjson\n```\n\n#### Managing Sessions\n\n```bash\n# List active sessions\nclawd-code-skill session-list\n\n# Get detailed status\nclawd-code-skill session-status myproject\n\n# View conversation history\nclawd-code-skill session-history myproject -n 50\n\n# Pause and resume\nclawd-code-skill session-pause myproject\nclawd-code-skill session-resume-paused myproject\n\n# Fork a session (create a branch for experiments)\nclawd-code-skill session-fork myproject myproject-experiment\n\n# Stop\nclawd-code-skill session-stop myproject\n\n# Restart a failed session\nclawd-code-skill session-restart myproject\n```\n\n#### Effort & Model Control\n\n```bash\n# Set effort level for a session (persists across messages)\nclawd-code-skill session-effort myproject low      # Fast, minimal thinking\nclawd-code-skill session-effort myproject medium   # Balanced (default for Opus 4.6)\nclawd-code-skill session-effort myproject high     # Deep thinking\nclawd-code-skill session-effort myproject max      # Maximum capability, no token limit (Opus 4.6 only)\nclawd-code-skill session-effort myproject auto     # Reset to default\n\n# Switch model mid-session\nclawd-code-skill session-model myproject opus\nclawd-code-skill session-model myproject sonnet\nclawd-code-skill session-model myproject gemini-pro\n\n# Start session with effort preset\nclawd-code-skill session-start myproject -d ~\u002Fproject --effort high\n\n# Model aliases (built-in: opus, sonnet, haiku, gemini-flash, gemini-pro)\n# Custom aliases via --model-overrides\nclawd-code-skill session-start myproject -d ~\u002Fproject \\\n  --model-overrides '{\"fast\":\"gemini-2.0-flash\",\"smart\":\"claude-opus-4-5\"}'\n```\n\n#### Cost Tracking\n\n```bash\n# Show cost breakdown for a session\nclawd-code-skill session-cost myproject\n# → Model: claude-opus-4-5\n# → Tokens in: 12,345 | out: 3,456 | cached: 8,901\n# → Breakdown: Input $0.0103 | Cached $0.0033 | Output $0.0518\n# → 💰 Total: $0.0654\n```\n\n#### Branching\n\n```bash\n# Branch a session (fork + optional model\u002Feffort change)\nclawd-code-skill session-branch myproject experiment\nclawd-code-skill session-branch myproject fast-branch --model sonnet --effort low\n\n# Branch preserves full conversation history from parent\n# Both parent and branch continue independently\n```\n\n#### Hooks (Webhook Callbacks)\n\n```bash\n# List available hooks\nclawd-code-skill session-hooks myproject\n\n# Register webhook URLs for events\nclawd-code-skill session-hooks myproject \\\n  --on-tool-error http:\u002F\u002Flocalhost:8080\u002Fwebhook \\\n  --on-context-high http:\u002F\u002Flocalhost:8080\u002Fwebhook \\\n  --on-stop http:\u002F\u002Flocalhost:8080\u002Fwebhook\n\n# Available hooks:\n# onToolError    — a tool call failed\n# onContextHigh  — context usage exceeded 70%\n# onStop         — session stopped (includes cost summary)\n# onTurnComplete — each turn finished (includes usage)\n# onStopFailure  — API error (rate limit, auth failure)\n```\n\n#### Config Files\n\n```bash\n# Load session config from JSON file\nclawd-code-skill session-start myproject --config agent.json\n\n# agent.json example:\n# {\n#   \"cwd\": \"~\u002Fproject\",\n#   \"permissionMode\": \"acceptEdits\",\n#   \"allowedTools\": [\"Bash\", \"Read\", \"Edit\", \"Write\"],\n#   \"effort\": \"high\",\n#   \"maxBudget\": \"5.00\",\n#   \"modelOverrides\": { \"fast\": \"gemini-2.0-flash\" },\n#   \"appendSystemPrompt\": \"Always write tests\"\n# }\n```\n\n#### Context Management\n\n```bash\n# Compact session to reclaim context window\nclawd-code-skill session-compact myproject\n\n# Compact with custom summary\nclawd-code-skill session-compact myproject --summary \"Finished auth refactor, now on tests\"\n\n# Check context usage\nclawd-code-skill session-context myproject\n```\n\n### Session History & Search\n\n```bash\n# Browse all Clawd sessions\nclawd-code-skill sessions -n 20\n\n# Search sessions by project\nclawd-code-skill session-search --project ~\u002Fmyapp\n\n# Search by time\nclawd-code-skill session-search --since \"2h\"\nclawd-code-skill session-search --since \"2024-02-01\"\n\n# Search by query\nclawd-code-skill session-search \"bug fix\"\n\n# Resume a historical session\nclawd-code-skill resume \u003Csession-id> \"Continue where we left off\" -d ~\u002Fproject\n```\n\n### Batch Operations\n\n```bash\n# Read multiple files at once\nclawd-code-skill batch-read \"src\u002F**\u002F*.ts\" \"tests\u002F**\u002F*.test.ts\" -p ~\u002Fproject\n```\n\n## 🤝 Agent Team Features\n\nDeploy multiple Claude agents working together on complex tasks.\n\n### Basic Agent Team\n\n```bash\n# Define a team of agents\nclawd-code-skill session-start team-project -d ~\u002Fproject \\\n  --agents '{\n    \"architect\": {\n      \"description\": \"Designs system architecture\",\n      \"prompt\": \"You are a senior software architect. Design scalable, maintainable systems.\"\n    },\n    \"developer\": {\n      \"description\": \"Implements features\",\n      \"prompt\": \"You are a full-stack developer. Write clean, tested code.\"\n    },\n    \"reviewer\": {\n      \"description\": \"Reviews code quality\",\n      \"prompt\": \"You are a code reviewer. Check for bugs, style issues, and improvements.\"\n    }\n  }' \\\n  --agent architect\n\n# Switch between agents mid-conversation\nclawd-code-skill session-send team-project \"Design the authentication system\"\n# (architect responds)\n\nclawd-code-skill session-send team-project \"@developer implement the design\"\n# (developer agent takes over)\n\nclawd-code-skill session-send team-project \"@reviewer review the implementation\"\n# (reviewer agent takes over)\n```\n\n### Pre-configured Team Templates\n\n```bash\n# Code review team\nclawd-code-skill session-start review -d ~\u002Fproject \\\n  --agents '{\n    \"security\": {\"prompt\": \"Focus on security vulnerabilities\"},\n    \"performance\": {\"prompt\": \"Focus on performance issues\"},\n    \"quality\": {\"prompt\": \"Focus on code quality and maintainability\"}\n  }' \\\n  --agent security\n\n# Full-stack team\nclawd-code-skill session-start fullstack -d ~\u002Fproject \\\n  --agents '{\n    \"frontend\": {\"prompt\": \"React\u002FTypeScript frontend specialist\"},\n    \"backend\": {\"prompt\": \"Node.js\u002FExpress backend specialist\"},\n    \"database\": {\"prompt\": \"PostgreSQL\u002FRedis database specialist\"}\n  }' \\\n  --agent frontend\n```\n\n## 🔧 Advanced Features\n\n### Tool Control\n\n```bash\n# Allow specific tools with patterns\n--allowed-tools \"Bash(git:*,npm:*),Read,Edit\"\n\n# Deny dangerous operations\n--disallowed-tools \"Bash(rm:*,sudo:*),Write(\u002Fetc\u002F*)\"\n\n# Limit to specific tool set\n--tools \"Read,Glob,Grep\"\n\n# Disable all tools\n--tools \"\"\n```\n\n### System Prompts\n\n```bash\n# Replace system prompt completely\n--system-prompt \"You are a Python expert. Always use type hints.\"\n\n# Append to existing prompt\n--append-system-prompt \"Always run tests after changes.\"\n```\n\n### Session Management\n\n```bash\n# Resume with fork (create a branch)\n--resume \u003Csession-id> --fork-session\n\n# Use custom UUID for session\n--session-id \"550e8400-e29b-41d4-a716-446655440000\"\n\n# Add additional working directories\n--add-dir \"\u002Fvar\u002Flog,\u002Ftmp\u002Fworkspace\"\n```\n\n### Multi-Model Support (Proxy)\n\nUse `--base-url` to route requests through a proxy, enabling other models (Gemini, GPT) to power Clawd:\n\n```bash\n# Use Gemini via claude-code-proxy\nclawd-code-skill session-start gemini-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model claude-3-5-sonnet-20241022  # Proxy will map to Gemini\n\n# Use GPT via proxy\nclawd-code-skill session-start gpt-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model claude-3-haiku-20240307  # Proxy will map to GPT\n```\n\n**Note:** Requires `claude-code-proxy` running on port 8082 with proper API keys configured.\n\n```bash\n# Start the proxy\ncd ~\u002Fclawd\u002Fclaude-code-proxy && source .venv\u002Fbin\u002Factivate\nuvicorn server:app --host 127.0.0.1 --port 8082\n```\n\n## 🎓 Best Practices\n\n### For SolanaOS Agents\n\n1. **Always use persistent sessions for multi-step tasks**\n   ```bash\n   # ❌ Bad: Multiple disconnect\u002Freconnect cycles\n   clawd-code-skill bash \"step1\"\n   clawd-code-skill bash \"step2\"\n\n   # ✅ Good: Single persistent session\n   clawd-code-skill session-start task -d ~\u002Fproject\n   clawd-code-skill session-send task \"Do step1 then step2\"\n   ```\n\n2. **Use `--stream` for long-running tasks**\n   ```bash\n   clawd-code-skill session-send task \"Run full test suite\" --stream\n   ```\n\n3. **Set budget limits for safety**\n   ```bash\n   --max-budget 2.00  # Stop after $2 of API usage\n   ```\n\n4. **Use plan mode for critical changes**\n   ```bash\n   --permission-mode plan  # Preview before applying\n   ```\n\n5. **Fork before experiments**\n   ```bash\n   clawd-code-skill session-fork main experimental\n   clawd-code-skill session-send experimental \"Try risky refactor\"\n   ```\n\n### Error Recovery\n\n```bash\n# If session fails:\nclawd-code-skill session-status myproject  # Check what happened\nclawd-code-skill session-history myproject -n 20  # See recent events\nclawd-code-skill session-restart myproject  # Restart from last good state\n\n# If you need to start over:\nclawd-code-skill session-stop myproject\nclawd-code-skill session-start myproject -d ~\u002Fproject --resume \u003Cold-session-id>\n```\n\n## 🏗️ Architecture\n\n```\nsolanaos agent\n    ↓\nclawd-code-skill CLI (this tool)\n    ↓ HTTP\nbackend-api API (:18795)\n    ↓ MCP\nclaude mcp serve (Clawd)\n    ↓\nYour files & tools\n```\n\n## 🔌 Available Tools (via MCP)\n\nAll Clawd tools are accessible:\n\n| Tool | Description |\n|------|-------------|\n| Bash | Execute shell commands |\n| Read | Read file contents |\n| Write | Create\u002Foverwrite files |\n| Edit | Edit files with string replacement |\n| Glob | Find files by pattern |\n| Grep | Search file contents |\n| Task | Launch sub-agents |\n| WebFetch | Fetch web content |\n| WebSearch | Search the web |\n| Git* | Git operations |\n| AskUserQuestion | Interactive prompts |\n| ... | and 10+ more |\n\n## 📊 Examples\n\n### Example 1: Code Review\n\n```bash\nclawd-code-skill session-start review -d ~\u002Fmyapp \\\n  --permission-mode plan \\\n  --agents '{\"security\":{\"prompt\":\"Focus on security\"},\"quality\":{\"prompt\":\"Focus on quality\"}}' \\\n  --agent security\n\nclawd-code-skill session-send review \\\n  \"Review all TypeScript files in src\u002F, check for security issues and code quality problems\" \\\n  --stream\n```\n\n### Example 2: Automated Testing\n\n```bash\nclawd-code-skill session-start test -d ~\u002Fmyapp \\\n  --allowed-tools \"Bash(npm:*,git:*),Read,Write\" \\\n  --max-budget 1.00\n\nclawd-code-skill session-send test \\\n  \"Find all untested functions, write unit tests, run tests, fix failures\"\n```\n\n### Example 3: Multi-Agent Debugging\n\n```bash\nclawd-code-skill session-start debug -d ~\u002Fmyapp \\\n  --agents '{\n    \"detective\": {\"prompt\": \"Find the root cause of bugs\"},\n    \"fixer\": {\"prompt\": \"Implement fixes\"},\n    \"tester\": {\"prompt\": \"Verify fixes work\"}\n  }' \\\n  --agent detective\n\nclawd-code-skill session-send debug \"We have a memory leak in the API server\" --stream\n# Detective investigates, then hands off to fixer, then to tester\n```\n\n## 🔗 Integration with SolanaOS\n\nWhen solanaos needs to perform complex coding tasks:\n\n```bash\n# From within solanaos agent context:\nsolanaos skills run clawd-code-skill -- session-start task -d ~\u002Fproject\nsolanaos skills run clawd-code-skill -- session-send task \"Implement feature X\" --stream\nsolanaos skills run clawd-code-skill -- session-status task\n```\n\nOr use the skill programmatically via backend-api HTTP API (see TOOLS.md section 3).\n\n## 📖 See Also\n\n- **TOOLS.md section 3** - Full HTTP API documentation\n- **backend-api endpoints** - Backend integration details\n- **Clawd docs** - Official Clawd documentation (query via `qmd` tool)\n","# Clawd Skill\n\nControl Clawd via MCP (Model Context Protocol). This skill unleashes the full power of Clawd for solanaos agents, including persistent sessions, agent teams, and advanced tool control.\n\n\n---\n\n## ⚡ Quick Start\n\n```bash\n# Start a persistent Claude session for your project\nclawd-code-skill session-start myproject -d ~\u002Fproject \\\n  --permission-mode acceptEdits \\\n  --allowed-tools \"Bash,Read,Edit,Write,Glob,Grep\"\n\n# Send a plan (Claude will execute precisely)\nclawd-code-skill session-send myproject --stream '\u003C精确的执行计划>'\n\n# Send with high effort (ultrathink) for complex reasoning\nclawd-code-skill session-send myproject --stream --ultrathink 'Refactor the auth module'\n\n# Enter plan mode — Claude creates a plan first, then executes\nclawd-code-skill session-send myproject --stream --plan 'Implement rate limiting'\n\n# Check progress\nclawd-code-skill session-status myproject\n\n# Compact session when context gets large\nclawd-code-skill session-compact myproject\n\n# Switch model mid-session\nclawd-code-skill session-model myproject opus\n```\n\n## 🎯 When to Use This Skill\n\n### Use Persistent Sessions When:\n- ✅ Multi-step tasks requiring multiple tool calls\n- ✅ Iterative development (write code → test → fix → repeat)\n- ✅ Long conversations needing full context\n- ✅ Agent needs to work autonomously\n- ✅ You want streaming real-time feedback\n\n### Use Direct MCP Tools When:\n- ✅ Single command execution\n- ✅ Quick file read\u002Fwrite\n- ✅ One-off searches\n- ✅ No context needed between operations\n\n## 📚 Command Reference\n\n### Basic MCP Operations\n\n```bash\n# Connect to Clawd MCP\nclawd-code-skill connect\nclawd-code-skill status\nclawd-code-skill tools\n\n# Direct tool calls (no persistent session)\nclawd-code-skill bash \"npm test\"\nclawd-code-skill read \u002Fpath\u002Fto\u002Ffile.ts\nclawd-code-skill glob \"**\u002F*.ts\" -p ~\u002Fproject\nclawd-code-skill grep \"TODO\" -p ~\u002Fproject -c\nclawd-code-skill call Write -a '{\"file_path\":\"\u002Ftmp\u002Ftest.txt\",\"content\":\"Hello\"}'\n\n# Disconnect\nclawd-code-skill disconnect\n```\n\n### Persistent Sessions (Agent Loop)\n\n#### Starting Sessions\n\n```bash\n# Basic start\nclawd-code-skill session-start myproject -d ~\u002Fproject\n\n# With custom API endpoint (for Gemini\u002FGPT proxy)\nclawd-code-skill session-start gemini-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model gemini-2.0-flash\n\n# With permission mode (plan = preview changes before applying)\nclawd-code-skill session-start review -d ~\u002Fproject --permission-mode plan\n\n# With tool whitelist (auto-approve these tools)\nclawd-code-skill session-start safe -d ~\u002Fproject \\\n  --allowed-tools \"Bash(git:*),Read,Glob,Grep\"\n\n# With budget limit\nclawd-code-skill session-start limited -d ~\u002Fproject --max-budget 1.50\n\n# Full configuration\nclawd-code-skill session-start advanced -d ~\u002Fproject \\\n  --permission-mode acceptEdits \\\n  --allowed-tools \"Bash,Read,Edit,Write\" \\\n  --disallowed-tools \"Task\" \\\n  --max-budget 5.00 \\\n  --model claude-opus-4-5 \\\n  --append-system-prompt \"Always write tests\" \\\n  --add-dir \"\u002Ftmp,\u002Fvar\u002Flog\"\n```\n\n**Permission Modes:**\n| Mode | Description |\n|------|-------------|\n| `acceptEdits` | Auto-accept file edits (default) |\n| `plan` | Preview changes before applying |\n| `default` | Ask for each operation |\n| `bypassPermissions` | Skip all prompts (dangerous!) |\n| `delegate` | Delegate decisions to parent |\n| `dontAsk` | Never ask, reject by default |\n\n#### Sending Messages\n\n```bash\n# Basic send (blocks until complete)\nclawd-code-skill session-send myproject \"Write unit tests for auth.ts\"\n\n# Streaming (see progress in real-time)\nclawd-code-skill session-send myproject \"Refactor this module\" --stream\n\n# With custom timeout\nclawd-code-skill session-send myproject \"Run all tests\" -t 300000\n\n# With effort control\nclawd-code-skill session-send myproject \"Quick lint fix\" --effort low\nclawd-code-skill session-send myproject \"Design new auth system\" --ultrathink\n\n# Plan mode — Claude creates a plan, then executes\nclawd-code-skill session-send myproject --plan \"Add rate limiting to all API endpoints\"\n\n# Auto-resume stopped sessions\nclawd-code-skill session-send myproject \"Continue the migration\" --auto-resume\n\n# NDJSON output for programmatic consumption\nclawd-code-skill session-send myproject \"Run tests\" --stream --ndjson\n```\n\n#### Managing Sessions\n\n```bash\n# List active sessions\nclawd-code-skill session-list\n\n# Get detailed status\nclawd-code-skill session-status myproject\n\n# View conversation history\nclawd-code-skill session-history myproject -n 50\n\n# Pause and resume\nclawd-code-skill session-pause myproject\nclawd-code-skill session-resume-paused myproject\n\n# Fork a session (create a branch for experiments)\nclawd-code-skill session-fork myproject myproject-experiment\n\n# Stop\nclawd-code-skill session-stop myproject\n\n# Restart a failed session\nclawd-code-skill session-restart myproject\n```\n\n#### Effort & Model Control\n\n```bash\n# Set effort level for a session (persists across messages)\nclawd-code-skill session-effort myproject low      # Fast, minimal thinking\nclawd-code-skill session-effort myproject medium   # Balanced (default for Opus 4.6)\nclawd-code-skill session-effort myproject high     # Deep thinking\nclawd-code-skill session-effort myproject max      # Maximum capability, no token limit (Opus 4.6 only)\nclawd-code-skill session-effort myproject auto     # Reset to default\n\n# Switch model mid-session\nclawd-code-skill session-model myproject opus\nclawd-code-skill session-model myproject sonnet\nclawd-code-skill session-model myproject gemini-pro\n\n# Start session with effort preset\nclawd-code-skill session-start myproject -d ~\u002Fproject --effort high\n\n# Model aliases (built-in: opus, sonnet, haiku, gemini-flash, gemini-pro)\n# Custom aliases via --model-overrides\nclawd-code-skill session-start myproject -d ~\u002Fproject \\\n  --model-overrides '{\"fast\":\"gemini-2.0-flash\",\"smart\":\"claude-opus-4-5\"}'\n```\n\n#### Cost Tracking\n\n```bash\n# Show cost breakdown for a session\nclawd-code-skill session-cost myproject\n# → Model: claude-opus-4-5\n# → Tokens in: 12,345 | out: 3,456 | cached: 8,901\n# → Breakdown: Input $0.0103 | Cached $0.0033 | Output $0.0518\n# → 💰 Total: $0.0654\n```\n\n#### Branching\n\n```bash\n# Branch a session (fork + optional model\u002Feffort change)\nclawd-code-skill session-branch myproject experiment\nclawd-code-skill session-branch myproject fast-branch --model sonnet --effort low\n\n# Branch preserves full conversation history from parent\n# Both parent and branch continue independently\n```\n\n#### Hooks (Webhook Callbacks)\n\n```bash\n# List available hooks\nclawd-code-skill session-hooks myproject\n\n# Register webhook URLs for events\nclawd-code-skill session-hooks myproject \\\n  --on-tool-error http:\u002F\u002Flocalhost:8080\u002Fwebhook \\\n  --on-context-high http:\u002F\u002Flocalhost:8080\u002Fwebhook \\\n  --on-stop http:\u002F\u002Flocalhost:8080\u002Fwebhook\n\n# Available hooks:\n# onToolError    — a tool call failed\n# onContextHigh  — context usage exceeded 70%\n# onStop         — session stopped (includes cost summary)\n# onTurnComplete — each turn finished (includes usage)\n# onStopFailure  — API error (rate limit, auth failure)\n```\n\n#### Config Files\n\n```bash\n# Load session config from JSON file\nclawd-code-skill session-start myproject --config agent.json\n\n# agent.json example:\n# {\n#   \"cwd\": \"~\u002Fproject\",\n#   \"permissionMode\": \"acceptEdits\",\n#   \"allowedTools\": [\"Bash\", \"Read\", \"Edit\", \"Write\"],\n#   \"effort\": \"high\",\n#   \"maxBudget\": \"5.00\",\n#   \"modelOverrides\": { \"fast\": \"gemini-2.0-flash\" },\n#   \"appendSystemPrompt\": \"Always write tests\"\n# }\n```\n\n#### Context Management\n\n```bash\n# Compact session to reclaim context window\nclawd-code-skill session-compact myproject\n\n# Compact with custom summary\nclawd-code-skill session-compact myproject --summary \"Finished auth refactor, now on tests\"\n\n# Check context usage\nclawd-code-skill session-context myproject\n```\n\n### Session History & Search\n\n```bash\n# Browse all Clawd sessions\nclawd-code-skill sessions -n 20\n\n# Search sessions by project\nclawd-code-skill session-search --project ~\u002Fmyapp\n\n# Search by time\nclawd-code-skill session-search --since \"2h\"\nclawd-code-skill session-search --since \"2024-02-01\"\n\n# Search by query\nclawd-code-skill session-search \"bug fix\"\n\n# Resume a historical session\nclawd-code-skill resume \u003Csession-id> \"Continue where we left off\" -d ~\u002Fproject\n```\n\n### Batch Operations\n\n```bash\n# Read multiple files at once\nclawd-code-skill batch-read \"src\u002F**\u002F*.ts\" \"tests\u002F**\u002F*.test.ts\" -p ~\u002Fproject\n```\n\n## 🤝 Agent Team Features\n\nDeploy multiple Claude agents working together on complex tasks.\n\n### Basic Agent Team\n\n```bash\n# Define a team of agents\nclawd-code-skill session-start team-project -d ~\u002Fproject \\\n  --agents '{\n    \"architect\": {\n      \"description\": \"Designs system architecture\",\n      \"prompt\": \"You are a senior software architect. Design scalable, maintainable systems.\"\n    },\n    \"developer\": {\n      \"description\": \"Implements features\",\n      \"prompt\": \"You are a full-stack developer. Write clean, tested code.\"\n    },\n    \"reviewer\": {\n      \"description\": \"Reviews code quality\",\n      \"prompt\": \"You are a code reviewer. Check for bugs, style issues, and improvements.\"\n    }\n  }' \\\n  --agent architect\n\n# Switch between agents mid-conversation\nclawd-code-skill session-send team-project \"Design the authentication system\"\n# (architect responds)\n\nclawd-code-skill session-send team-project \"@developer implement the design\"\n# (developer agent takes over)\n\nclawd-code-skill session-send team-project \"@reviewer review the implementation\"\n# (reviewer agent takes over)\n```\n\n### Pre-configured Team Templates\n\n```bash\n# Code review team\nclawd-code-skill session-start review -d ~\u002Fproject \\\n  --agents '{\n    \"security\": {\"prompt\": \"Focus on security vulnerabilities\"},\n    \"performance\": {\"prompt\": \"Focus on performance issues\"},\n    \"quality\": {\"prompt\": \"Focus on code quality and maintainability\"}\n  }' \\\n  --agent security\n\n# Full-stack team\nclawd-code-skill session-start fullstack -d ~\u002Fproject \\\n  --agents '{\n    \"frontend\": {\"prompt\": \"React\u002FTypeScript frontend specialist\"},\n    \"backend\": {\"prompt\": \"Node.js\u002FExpress backend specialist\"},\n    \"database\": {\"prompt\": \"PostgreSQL\u002FRedis database specialist\"}\n  }' \\\n  --agent frontend\n```\n\n## 🔧 Advanced Features\n\n### Tool Control\n\n```bash\n# Allow specific tools with patterns\n--allowed-tools \"Bash(git:*,npm:*),Read,Edit\"\n\n# Deny dangerous operations\n--disallowed-tools \"Bash(rm:*,sudo:*),Write(\u002Fetc\u002F*)\"\n\n# Limit to specific tool set\n--tools \"Read,Glob,Grep\"\n\n# Disable all tools\n--tools \"\"\n```\n\n### System Prompts\n\n```bash\n# Replace system prompt completely\n--system-prompt \"You are a Python expert. Always use type hints.\"\n\n# Append to existing prompt\n--append-system-prompt \"Always run tests after changes.\"\n```\n\n### Session Management\n\n```bash\n# Resume with fork (create a branch)\n--resume \u003Csession-id> --fork-session\n\n# Use custom UUID for session\n--session-id \"550e8400-e29b-41d4-a716-446655440000\"\n\n# Add additional working directories\n--add-dir \"\u002Fvar\u002Flog,\u002Ftmp\u002Fworkspace\"\n```\n\n### Multi-Model Support (Proxy)\n\nUse `--base-url` to route requests through a proxy, enabling other models (Gemini, GPT) to power Clawd:\n\n```bash\n# Use Gemini via claude-code-proxy\nclawd-code-skill session-start gemini-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model claude-3-5-sonnet-20241022  # Proxy will map to Gemini\n\n# Use GPT via proxy\nclawd-code-skill session-start gpt-task -d ~\u002Fproject \\\n  --base-url http:\u002F\u002F127.0.0.1:8082 \\\n  --model claude-3-haiku-20240307  # Proxy will map to GPT\n```\n\n**Note:** Requires `claude-code-proxy` running on port 8082 with proper API keys configured.\n\n```bash\n# Start the proxy\ncd ~\u002Fclawd\u002Fclaude-code-proxy && source .venv\u002Fbin\u002Factivate\nuvicorn server:app --host 127.0.0.1 --port 8082\n```\n\n## 🎓 Best Practices\n\n### For SolanaOS Agents\n\n1. **Always use persistent sessions for multi-step tasks**\n   ```bash\n   # ❌ Bad: Multiple disconnect\u002Freconnect cycles\n   clawd-code-skill bash \"step1\"\n   clawd-code-skill bash \"step2\"\n\n   # ✅ Good: Single persistent session\n   clawd-code-skill session-start task -d ~\u002Fproject\n   clawd-code-skill session-send task \"Do step1 then step2\"\n   ```\n\n2. **Use `--stream` for long-running tasks**\n   ```bash\n   clawd-code-skill session-send task \"Run full test suite\" --stream\n   ```\n\n3. **Set budget limits for safety**\n   ```bash\n   --max-budget 2.00  # Stop after $2 of API usage\n   ```\n\n4. **Use plan mode for critical changes**\n   ```bash\n   --permission-mode plan  # Preview before applying\n   ```\n\n5. **Fork before experiments**\n   ```bash\n   clawd-code-skill session-fork main experimental\n   clawd-code-skill session-send experimental \"Try risky refactor\"\n   ```\n\n### Error Recovery\n\n```bash\n# If session fails:\nclawd-code-skill session-status myproject  # Check what happened\nclawd-code-skill session-history myproject -n 20  # See recent events\nclawd-code-skill session-restart myproject  # Restart from last good state\n\n# If you need to start over:\nclawd-code-skill session-stop myproject\nclawd-code-skill session-start myproject -d ~\u002Fproject --resume \u003Cold-session-id>\n```\n\n## 🏗️ Architecture\n\n```\nsolanaos agent\n    ↓\nclawd-code-skill CLI (this tool)\n    ↓ HTTP\nbackend-api API (:18795)\n    ↓ MCP\nclaude mcp serve (Clawd)\n    ↓\nYour files & tools\n```\n\n## 🔌 Available Tools (via MCP)\n\nAll Clawd tools are accessible:\n\n| Tool | Description |\n|------|-------------|\n| Bash | Execute shell commands |\n| Read | Read file contents |\n| Write | Create\u002Foverwrite files |\n| Edit | Edit files with string replacement |\n| Glob | Find files by pattern |\n| Grep | Search file contents |\n| Task | Launch sub-agents |\n| WebFetch | Fetch web content |\n| WebSearch | Search the web |\n| Git* | Git operations |\n| AskUserQuestion | Interactive prompts |\n| ... | and 10+ more |\n\n## 📊 Examples\n\n### Example 1: Code Review\n\n```bash\nclawd-code-skill session-start review -d ~\u002Fmyapp \\\n  --permission-mode plan \\\n  --agents '{\"security\":{\"prompt\":\"Focus on security\"},\"quality\":{\"prompt\":\"Focus on quality\"}}' \\\n  --agent security\n\nclawd-code-skill session-send review \\\n  \"Review all TypeScript files in src\u002F, check for security issues and code quality problems\" \\\n  --stream\n```\n\n### Example 2: Automated Testing\n\n```bash\nclawd-code-skill session-start test -d ~\u002Fmyapp \\\n  --allowed-tools \"Bash(npm:*,git:*),Read,Write\" \\\n  --max-budget 1.00\n\nclawd-code-skill session-send test \\\n  \"Find all untested functions, write unit tests, run tests, fix failures\"\n```\n\n### Example 3: Multi-Agent Debugging\n\n```bash\nclawd-code-skill session-start debug -d ~\u002Fmyapp \\\n  --agents '{\n    \"detective\": {\"prompt\": \"Find the root cause of bugs\"},\n    \"fixer\": {\"prompt\": \"Implement fixes\"},\n    \"tester\": {\"prompt\": \"Verify fixes work\"}\n  }' \\\n  --agent detective\n\nclawd-code-skill session-send debug \"We have a memory leak in the API server\" --stream\n# Detective investigates, then hands off to fixer, then to tester\n```\n\n## 🔗 Integration with SolanaOS\n\nWhen solanaos needs to perform complex coding tasks:\n\n```bash\n# From within solanaos agent context:\nsolanaos skills run clawd-code-skill -- session-start task -d ~\u002Fproject\nsolanaos skills run clawd-code-skill -- session-send task \"Implement feature X\" --stream\nsolanaos skills run clawd-code-skill -- session-status task\n```\n\nOr use the skill programmatically via backend-api HTTP API (see TOOLS.md section 3).\n\n## 📖 See Also\n\n- **TOOLS.md section 3** - Full HTTP API documentation\n- **backend-api endpoints** - Backend integration details\n- **Clawd docs** - Official Clawd documentation (query via `qmd` tool)\n",{"name":5,"homepage":55,"metadata":56,"description":7},"https:\u002F\u002Fgithub.com\u002Fenderfga\u002Fclawd-code-skill",{"solanaos":57},{"emoji":58,"install":59,"requires":63},"🤖",[60],{"id":47,"kind":47,"path":61,"label":62},"~\u002Fclawd\u002Fclawd-code-skill","Use local installation",{"env":64,"bins":65},[],[43],"main","58c363db4179b9a612289d4a328d877ac3e7e04d","solana-clawd\u002Fskills\u002Fclawd-code-skill-main",1,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main","https:\u002F\u002Fsolanaclawd.com","https:\u002F\u002Fgithub.com\u002Fx402agent","The official Github of ClawdBot.","2026-05-16 13:16:08",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add x402agent\u002Fopenclawd-main --skill clawd-code-skill",{"tool":81,"command":82},"bunx","bunx skills add x402agent\u002Fopenclawd-main --skill clawd-code-skill",{"tool":84,"command":85},"pnpm","pnpm dlx skills add x402agent\u002Fopenclawd-main --skill clawd-code-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002FSKILL.md",true,[89,95,101,105,109,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},".gitignore","OTHER","其他",277,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002F.gitignore",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"examples\u002Fbasic-mcp.ts","SCRIPT","脚本",1420,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fexamples\u002Fbasic-mcp.ts",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"examples\u002Fchat-store.ts",3656,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fexamples\u002Fchat-store.ts",{"path":106,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":16},"LICENSE","许可证",1065,{"path":110,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":113,"sourceHtmlUrl":114},"mcp_config.example.json","REFERENCE","参考文档",648,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fmcp_config.example.json",{"path":116,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":117,"sourceHtmlUrl":118},"package-lock.json",21399,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fpackage-lock.json",{"path":120,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":121,"sourceHtmlUrl":122},"package.json",679,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fpackage.json",{"path":124,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":125,"sourceHtmlUrl":126},"README.md",14112,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002FREADME.md",{"path":128,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":129,"sourceHtmlUrl":130},"src\u002Findex.ts",36119,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Findex.ts",{"path":132,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":133,"sourceHtmlUrl":134},"src\u002Fmcp\u002Factions.ts",9606,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Factions.ts",{"path":136,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":137,"sourceHtmlUrl":138},"src\u002Fmcp\u002Fclient.ts",1434,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Fclient.ts",{"path":140,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":141,"sourceHtmlUrl":142},"src\u002Fmcp\u002Findex.ts",189,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Findex.ts",{"path":144,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":145,"sourceHtmlUrl":146},"src\u002Fmcp\u002Flogger.ts",1244,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Flogger.ts",{"path":148,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":149,"sourceHtmlUrl":150},"src\u002Fmcp\u002Ftypes.ts",3315,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Ftypes.ts",{"path":152,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":153,"sourceHtmlUrl":154},"src\u002Fmcp\u002Futils.ts",477,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fmcp\u002Futils.ts",{"path":156,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":157,"sourceHtmlUrl":158},"src\u002Fstore\u002Findex.ts",148,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fstore\u002Findex.ts",{"path":160,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":161,"sourceHtmlUrl":162},"src\u002Fstore\u002Findexeddb-storage.ts",1638,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fstore\u002Findexeddb-storage.ts",{"path":164,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":165,"sourceHtmlUrl":166},"src\u002Fstore\u002Fpersist.ts",2270,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fstore\u002Fpersist.ts",{"path":168,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":169,"sourceHtmlUrl":170},"src\u002Fstore\u002Fsync.ts",3215,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Fsrc\u002Fstore\u002Fsync.ts",{"path":172,"resourceType":111,"resourceTypeDesc":112,"sizeBytes":173,"sourceHtmlUrl":174},"tsconfig.json",399,"https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fclawd-code-skill-main\u002Ftsconfig.json",[176,202,231,263,270,281],{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":180,"sourceHtmlUrl":181,"categories":182,"keywords":184,"publishedAt":50},"01M71DSB11KY88J1ND0GGSJACW","qedgen","Formally verify programs by writing Lean 4 proofs. Trigger this skill whenever the user wants to formally verify code, generate Lean 4 proofs, prove properties about algorithms or smart contracts, verify invariants, convert program logic into formal specifications, or anything involving Lean 4 and formal verification. Also trigger when the user mentions \"qedgen\", \"lean proof\", \"formal proof\", \"verify my code\", \"prove correctness\", \"formal verification\", or wants mathematical guarantees about their implementation.","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fsolana-formal-verification\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fsolana-formal-verification\u002FSKILL.md",[183],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[178,185,186,187,33,188,189,190,191,192,193,194,39,195,196,197,198,199,200,201],"lean","writing","when","program","verification","generate","invariants","my","contracts","algorithms","prove","correctness","convert","verify","logic","properties","specifications",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":206,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":211,"publishedAt":50},"01M71DS25B2H00XQNAB45VRD82","skill-creator","Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references\u002F or scripts\u002F, removing stale content, validating against the AgentSkills spec). Triggers on phrases like \"create a skill\", \"author a skill\", \"tidy up a skill\", \"improve this skill\", \"review the skill\", \"clean up the skill\", \"audit the skill\".","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002Fskills\u002Fskill-creator\u002FSKILL.md",[210],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[212,213,214,215,216,217,218,219,187,220,221,222,223,224,225,226,227,228,229,230],"skill creator","creator","up","clean","improve","tidy","new","files","review","create","references","audit","directory","scripts","edit","a skill","new skill","existing skill","editing",{"skillNo":232,"name":233,"nameZh":6,"description":234,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":235,"sourceHtmlUrl":236,"categories":237,"keywords":246,"publishedAt":50},"01M71DM1RK8B85JEQNDY6D8G62","solana-clawd","solana-clawd — an open-source Solana AI agent framework built from Clawd Code's leaked agentic engine and the SolanaOS operator runtime. TypeScript MCP server for Clawd Desktop, Cursor, VS Code, or headless node. 31+ tools for Solana trading, on-chain intelligence, wallet management, Pump.fun scanning, MawdBot trading agents, Honcho v3 memory, Privy agentic wallets, and multi-venue perp execution (Hyperliquid + Aster). Use when asked about Solana trading, memecoin analysis, Pump.fun launches, MawdBot operations, OODA loops, wallet management, token research, agentic wallets, or any SolanaOS\u002Fsolana-clawd surface.","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fsolana-clawd\u002FSKILL.md",[238,241,244,245],{"categoryNo":239,"categoryName":240,"taxonomyType":22,"taxonomyTypeDesc":23},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":242,"categoryName":243,"taxonomyType":22,"taxonomyTypeDesc":23},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[30,247,248,249,250,251,252,253,254,255,256,46,257,258,259,187,260,261,262,33],"solana clawd","solana","solanaos","Wallet","headless","chain","memory","fun","privy","open","token research","agent framework","ai agent","agentic","mcp server","analysis",{"skillNo":264,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":265,"sourceHtmlUrl":266,"categories":267,"keywords":269,"publishedAt":50},"01M71DJZVSXC21XA2CM4FG6VYW","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-formal-verification\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-formal-verification\u002FSKILL.md",[268],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[178,185,186,187,33,188,189,190,191,192,193,194,39,195,196,197,198,199,200,201],{"skillNo":271,"name":272,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":273,"sourceHtmlUrl":274,"categories":275,"keywords":276,"publishedAt":50},"01M71DJV1FZRP9ZMK9GQ5F9WBQ","solana-dev-skill-main","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-dev-skill-main\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-dev-skill-main\u002FSKILL.md",[],[277,278,66,248,279,280],"dev","solana dev skill main","solana dev","solana dev skill",{"skillNo":282,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":206,"licenseFileUrl":283,"sourceHtmlUrl":284,"categories":285,"keywords":287,"publishedAt":50},"01M71DJJ1S5PHFP0B7YYH6ZJ1R","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Fx402agent\u002Fopenclawd-main\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002FSKILL.md",[286],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[212,213,214,215,216,217,218,219,187,220,221,222,223,224,225,226,227,228,229,230]]