# Send Claude Code Mastery to your agent
Use the source page and any available docs to guide the install because the item currently does not return a direct package file.
## Fast path
- Open the source page via Open source listing.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required. Then review README.md for any prerequisites, environment setup, or post-install checks.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need. Then review README.md for any prerequisites, environment setup, or post-install checks.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-code-mastery",
    "name": "Claude Code Mastery",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cheenu1092-oss/claude-code-mastery",
    "canonicalUrl": "https://clawhub.ai/cheenu1092-oss/claude-code-mastery",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/claude-code-mastery",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-mastery",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CONTRIBUTING.md",
      "README.md",
      "SKILL.md",
      "agents/ai-engineer.md",
      "agents/backend-dev.md",
      "agents/data-engineer.md"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-code-mastery",
      "status": "source_issue",
      "reason": "not_found",
      "recommendedAction": "review_source",
      "checkedAt": "2026-05-01T11:30:28.274Z",
      "expiresAt": "2026-05-02T11:30:28.274Z",
      "httpStatus": 404,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-mastery",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-mastery",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-code-mastery"
      },
      "scope": "item",
      "summary": "Known item issue.",
      "detail": "This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.",
      "primaryActionLabel": "Open source listing",
      "primaryActionHref": "https://clawhub.ai/cheenu1092-oss/claude-code-mastery"
    },
    "validation": {
      "installChecklist": [
        "Open the source listing and confirm there is a real package or setup artifact available.",
        "Review SKILL.md before asking your agent to continue.",
        "Treat this source as manual setup until the upstream download flow is fixed."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-code-mastery",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-code-mastery",
    "agentUrl": "https://openagent3.xyz/skills/claude-code-mastery/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-mastery/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-mastery/agent.md"
  }
}
```
## Documentation

### Claude Code Mastery

Complete skill for setting up, optimizing, and mastering Claude Code with a full development team of subagents.

Official Docs: https://code.claude.com/docs

### ⚡ Quick Check: Is Setup Complete?

Run this first:

command -v claude >/dev/null && echo "✅ Claude Code installed - SKIP to 'Daily Use' section" || echo "❌ Not installed - follow 'First-Time Setup' below"

If Claude Code is already installed, skip directly to the "Daily Use" section below.

### 🔧 FIRST-TIME SETUP (Skip if already installed)

Note to bot: Only follow this section if Claude Code is NOT installed. Check with the command above. Once setup is complete, this section can be ignored on future invocations.

### Setup Scripts

Run these in order:

cd ~/clawd/skills/claude-code-mastery/scripts

# 1. Check dependencies
./01-check-dependencies.sh

# 2. Install Claude Code
./02-install-claude-code.sh

# 3. Authenticate
./03-first-time-auth.sh

# 4. Install dev team subagents
./04-install-subagents.sh              # Starter pack (3 agents) - recommended
./04-install-subagents.sh --full-team  # All 11 agents

# 5. (Optional) Persistent memory - prompts y/N, default No
./05-setup-claude-mem.sh               # Interactive prompt
./05-setup-claude-mem.sh --skip        # Skip entirely
./05-setup-claude-mem.sh --yes         # Install without prompting

### Configuration

Edit config.sh to customize:

VALID_MODELS — Add models as Anthropic releases them
HEARTBEAT_DIAGNOSTICS — Enable/disable in heartbeat (default: false)
INSTALL_MODE — Default to "starter" or "full"

### Setup Gotchas

IssueSolution"Command not found"Add ~/.local/bin to PATHAuth errorsRun ./03-first-time-auth.shSlow startupFirst run indexes codebaseSubagents not showingRun ./04-install-subagents.sh

### Post-Setup: Add Heartbeat Task

After setup, add the maintenance task to your HEARTBEAT.md (see "Heartbeat Maintenance" in Daily Use section).

Setup complete! Continue to Daily Use section.

### 📘 DAILY USE (Always relevant)

This section covers ongoing usage - reference this for all coding tasks.

### Dev Team Subagents

Subagents are installed to ~/.claude/agents/. Each has a "Learn More" section with curated links to deepen expertise.

### Starter Pack (Default) — 3 Core Agents

Most users only need these:

AgentModelPurposesenior-devSonnetArchitecture, complex code, code reviewproject-managerSonnetTask breakdown, timelines, dependenciesjunior-devHaikuQuick fixes, simple tasks (fast & cheap)

Install: ./04-install-subagents.sh (or --minimal)

### Full Team (Optional) — All 10 Agents

For larger projects, install all 11 with --full-team:

AgentModelPurposesenior-devSonnetArchitecture, complex code, code reviewproject-managerSonnetTask breakdown, timelines, dependenciesjunior-devHaikuQuick fixes, simple tasks (fast & cheap)frontend-devSonnetReact, UI, CSS, client-sidebackend-devSonnetAPIs, databases, server-sideai-engineerSonnetLLM apps, RAG, prompts, agentsml-engineerSonnetML models, training, MLOpsdata-scientistSonnetSQL, analysis, statisticsdata-engineerSonnetPipelines, ETL, data infrastructureproduct-managerSonnetRequirements, user stories, prioritizationdevopsSonnetCI/CD, Docker, K8s, infrastructure, automation

### Using Subagents

Interactive mode: Use the /agent slash command or natural language:

/agent senior-dev
Use the senior-dev agent to review this code

Non-interactive mode (-p): Use the --agent flag:

claude --agent senior-dev -p "review this code for security issues"
claude --agent project-manager -p "create a task breakdown for auth feature"
claude --agent junior-dev -p "fix the typo in README.md"

Note: Claude Code does NOT auto-delegate to subagents based on task type. You must explicitly specify which agent to use.

Multi-agent handoff: For tasks needing multiple specialists, use HANDOFF.md to pass context between agents. See docs/workflows.md for the full pattern.

### CLI Commands

claude              # Start interactive
claude -c           # Continue previous session
claude -p "prompt"  # Non-interactive mode

### Slash Commands

/agents   - Manage subagents
/clear    - Clear conversation (use between tasks!)
/compact  - Compress context
/model    - Change model
/help     - All commands

### Keyboard Shortcuts

Shift+Tab - Toggle Plan mode (read-only exploration)
Ctrl+C    - Cancel operation
Ctrl+B    - Background task

### Context Management (Critical!)

CommandWhat it doesWhen to use/clearClear conversation, start freshBetween unrelated tasks/compactSummarize and compress contextWhen context getting fullShift+TabToggle Plan mode (read-only)Exploration before implementing

Best practices:

/clear between unrelated tasks
Use Plan mode for exploration before implementing
Subagents isolate verbose operations
Create HANDOFF.md for session continuity

### settings.json

Create .claude/settings.json in your project:

{
  "model": "sonnet",
  "permissions": {
    "allow": ["Bash(npm:*)", "Bash(git:*)", "Read", "Write", "Edit"],
    "deny": ["Bash(rm -rf:*)", "Bash(sudo:*)"]
  }
}

### CLAUDE.md

Create CLAUDE.md in your project root (Claude reads this automatically):

# Project: MyApp

## Tech Stack
- Frontend: React, TypeScript, Tailwind
- Backend: Node.js, PostgreSQL

## Commands
- \`npm run dev\` - Start dev server
- \`npm test\` - Run tests

See examples/CLAUDE-template.md for a full template.

### Claude-Mem (If Installed)

Check status:

pgrep -f "worker-service" >/dev/null && echo "running" || echo "stopped"

Start if stopped:

cd ~/.claude/plugins/marketplaces/thedotmack && bun plugin/scripts/worker-service.cjs start

Web UI: http://localhost:37777

### Diagnostics & Troubleshooting

Quick diagnostics:

~/clawd/skills/claude-code-mastery/scripts/06-diagnostics.sh

Full troubleshooting (if issues found):

~/clawd/skills/claude-code-mastery/scripts/08-troubleshoot.sh

Common issues guide: See docs/troubleshooting.md for solutions to:

Authentication problems (API key, OAuth, logout bugs)
Installation issues (PATH, WSL, Node.js version)
Network errors (firewalls, VPNs, proxies)
Performance problems (high CPU, hangs, slow search)

### Heartbeat Maintenance

Add to your HEARTBEAT.md for automatic maintenance:

## Claude Code Maintenance

**Last Health Check:** [timestamp]
**Last Learning Session:** [timestamp]

### Every Heartbeat (if coding tasks active):
1. Quick claude-mem check (if installed):
   \`pgrep -f "worker-service" >/dev/null && echo "running" || echo "stopped"\`
   - Only restart if stopped
   - Note: pgrep saves ~500 tokens vs full status command

### Daily (morning):
1. Quick health check: \`command -v claude && pgrep -f "worker-service"\`
2. Only run full diagnostics if quick check fails

### Weekly (Sunday):
1. Run: \`~/clawd/skills/claude-code-mastery/scripts/07-weekly-improvement-cron.sh\`
2. Propose improvements (require human approval)

### Weekly Learning & Skill Improvement (rotate through agents):
1. Pick ONE agent file from the skill's \`agents/\` folder (rotate weekly)
2. Read the "Learn More" section
3. Visit 2-3 links that are relevant to current projects
4. Internalize key concepts and update your workflows
5. **Improve the skill itself:**
   - Found a better resource? Add it to "Learn More"
   - Discovered a new best practice? Update the agent's guidelines
   - Link broken or outdated? Remove or replace it
   - New tool or framework worth mentioning? Add it
6. Commit changes locally with clear commit messages
7. **Don't push directly to shared repos** — propose changes as a PR or request human review first
8. Note learnings in your memory files

**Rotation schedule:**
- Week 1: senior-dev, junior-dev
- Week 2: frontend-dev, backend-dev
- Week 3: ai-engineer, ml-engineer
- Week 4: data-scientist, data-engineer
- Week 5: project-manager, product-manager
- Week 6: devops

**What to update:**
- \`agents/*.md\` — Add new links, update best practices, fix outdated info
- \`SKILL.md\` — Improve documentation, add tips discovered
- \`docs/*.md\` — Enhance guides based on real usage

Why this matters:

Skill improves over time through actual use
Links stay current (broken ones get fixed)
Best practices evolve with the ecosystem
Each Clawdbot contributes back to the skill

### Scripts Reference

ScriptPurposeWhen to use06-diagnostics.shHealth check and status reportWhen issues occur07-weekly-improvement-cron.shGenerate improvement reportWeekly (Sunday)08-troubleshoot.shComprehensive troubleshootingWhen 06 finds issues

### Summary

For coding tasks:

Use appropriate subagent for the task
Manage context with /clear and Plan mode
Run diagnostics if something breaks

Heartbeat handles:

claude-mem health checks
Daily quick diagnostics
Weekly improvement research

The dev team subagents turn Claude Code into a full development organization.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cheenu1092-oss
- Version: 1.4.3
## Source health
- Status: source_issue
- Known item issue.
- This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.
- Health scope: item
- Reason: not_found
- Checked at: 2026-05-01T11:30:28.274Z
- Expires at: 2026-05-02T11:30:28.274Z
- Recommended action: Open source listing
## Links
- [Detail page](https://openagent3.xyz/skills/claude-code-mastery)
- [Send to Agent page](https://openagent3.xyz/skills/claude-code-mastery/agent)
- [JSON manifest](https://openagent3.xyz/skills/claude-code-mastery/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/claude-code-mastery/agent.md)
- [Download page](https://openagent3.xyz/downloads/claude-code-mastery)