# Send Claude Code Setup to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-code-setup",
    "name": "Claude Code Setup",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "canonicalUrl": "https://clawhub.ai/EaveLuo/claude-code-setup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/claude-code-setup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "index.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-code-setup",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T11:27:45.127Z",
      "expiresAt": "2026-05-08T11:27:45.127Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-setup",
        "contentDisposition": "attachment; filename=\"claude-code-setup-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-code-setup"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claude-code-setup"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "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-setup",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-code-setup",
    "agentUrl": "https://openagent3.xyz/skills/claude-code-setup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-setup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-setup/agent.md"
  }
}
```
## Documentation

### Claude Code Setup

Setup production-grade \`.claude/\` AI collaboration layer for projects.

### Overview

This skill ensures projects have a proper \`.claude/\` configuration before agents start development work with Claude Code. It acts as a supervisor to maintain and enforce project standards.

### Important: Target Project Directory

.claude/ must be created in the target project directory, NOT in your workspace root.

Example:

❌ Wrong: /home/user/workspace-xiaolong/.claude/ (workspace root)
✅ Correct: /home/user/eave-web/.claude/ (actual project being developed)

Always identify which project you're working on first, then check/create .claude/ in that directory.

### When to Use

Starting a new development task with Claude Code
Entering a new project directory
User mentions "Claude Code", ".claude", "AI collaboration layer", or "project standards"

### Step 1 — Check First

Always check if \`.claude/\` directory already exists in the target project directory:

\`\`\`bash
ls -la .claude/ 2>/dev/null
\`\`\`

### Step 2 — If Missing → Create

If the project doesn't have \`.claude/\` directory, create it first before development:

\`\`\`bash
node ~/.openclaw/skills/claude-code-setup/index.js
\`\`\`

### Step 3 — If Exists → Supervise

If \`.claude/\` already exists:

✅ DO NOT overwrite existing files
✅ DO NOT recreate the structure
✅ Let Claude Code naturally maintain and update during development

### Step 4 — Be a Supervisor

Your role is supervisor, not executor:

Ensure Claude Code follows rules in \`.claude/\`
During development, let Claude Code update configs based on actual code
Periodically review if \`.claude/\` content matches the project reality

### Core Principles

CLAUDE.md is core — Highest priority project instructions
Modular — Separate rules/skills/context
Clear directives — Use MUST/ALWAYS/NEVER
Project context — Must include project overview and tech stack
Don't reinvent — Reuse and maintain existing configs

### .claude/ Directory Structure

\`\`\`
.claude/
├── CLAUDE.md              # ⭐ Project-level global instructions (most important)
├── rules/                 # Team rule library
│   ├── frontend.md
│   ├── typescript.md
│   └── commit.md
├── context/               # Project context knowledge
│   ├── project.md
│   └── stack.md
├── skills/                # Project-private skills
│   └── generate-crud.md
└── prompts/               # Reusable prompt templates
└── review.md
\`\`\`

### Common Mistakes to Avoid

❌ Writing as requirements doc or README
❌ Vague rules ("try to", "should")
❌ Only CLAUDE.md without modularity
❌ Missing project context
❌ Overwriting existing configs
❌ Redundant recreation

### Collaboration with Claude Code

When using Claude Code:

Before starting: Ensure \`.claude/\` exists
During development: Let Claude Code reference rules in \`.claude/\`
After completion: Update \`.claude/\` with any new standards learned

### Template Files

See \`index.js\` for template definitions.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: EaveLuo
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T11:27:45.127Z
- Expires at: 2026-05-08T11:27:45.127Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/claude-code-setup)
- [Send to Agent page](https://openagent3.xyz/skills/claude-code-setup/agent)
- [JSON manifest](https://openagent3.xyz/skills/claude-code-setup/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/claude-code-setup/agent.md)
- [Download page](https://openagent3.xyz/downloads/claude-code-setup)