# Send Claude Code Agent 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-skill",
    "name": "Claude Code Agent",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Enderfga/claude-code-skill",
    "canonicalUrl": "https://clawhub.ai/Enderfga/claude-code-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/claude-code-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/basic-mcp.ts",
      "examples/chat-store.ts",
      "mcp_config.example.json",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-code-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T11:29:03.342Z",
      "expiresAt": "2026-05-08T11:29:03.342Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-skill",
        "contentDisposition": "attachment; filename=\"claude-code-skill-0.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-code-skill"
      },
      "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-skill"
    },
    "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-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-code-skill",
    "agentUrl": "https://openagent3.xyz/skills/claude-code-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-skill/agent.md"
  }
}
```
## Documentation

### Description

MCP (Model Context Protocol) integration for OpenClaw/Clawdbot. Use when you need to:

Connect and orchestrate MCP tool servers (filesystem, GitHub, etc.)
Persist state across sessions with IndexedDB/localStorage
Sync sessions across multiple devices

Triggers: "MCP", "tool server", "sub-agent orchestration", "session sync", "state persistence", "Claude Code integration"

### Installation

npm install openclaw-claude-code-skill

### MCP Server Management

import { 
  initializeMcpSystem, 
  addMcpServer, 
  executeMcpAction, 
  getAllTools 
} from "openclaw-claude-code-skill";

// 1. Initialize all configured servers
await initializeMcpSystem();

// 2. Add a new MCP server
await addMcpServer("fs", {
  command: "npx",
  args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
});

// 3. Get available tools
const tools = await getAllTools();

// 4. Call a tool
const result = await executeMcpAction("fs", {
  method: "tools/call",
  params: { name: "read_file", arguments: { path: "/tmp/test.txt" } }
});

### State Persistence

import { createPersistStore, indexedDBStorage } from "openclaw-claude-code-skill";

const useStore = createPersistStore(
  { count: 0, items: [] },
  (set, get) => ({
    increment: () => set({ count: get().count + 1 }),
    addItem: (item: string) => set({ items: [...get().items, item] })
  }),
  { name: "my-store" },
  indexedDBStorage  // or omit for localStorage
);

// Check hydration status
if (useStore.getState()._hasHydrated) {
  console.log("State restored!");
}

### Session Synchronization

import { mergeSessions, mergeWithUpdate, mergeKeyValueStore } from "openclaw-claude-code-skill";

// Merge chat sessions from multiple sources
const mergedSessions = mergeSessions(localSessions, remoteSessions);

// Merge configs with timestamp-based resolution
const mergedConfig = mergeWithUpdate(localConfig, remoteConfig);

### Key Functions

FunctionPurposeinitializeMcpSystem()Start all MCP servers from configaddMcpServer(id, config)Add new server dynamicallyremoveMcpServer(id)Remove a serverpauseMcpServer(id)Pause a serverresumeMcpServer(id)Resume a paused serverexecuteMcpAction(id, req)Call a tool on specific servergetAllTools()List all available toolsgetClientsStatus()Get status of all MCP clientssetConfigPath(path)Set custom config file locationcreatePersistStore()Create Zustand store with persistencemergeSessions()Merge session arraysmergeWithUpdate()Merge with timestamp resolutionmergeKeyValueStore()Merge key-value stores

### Configuration

Create mcp_config.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
      "status": "active"
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_TOKEN": "your-token" },
      "status": "active"
    }
  }
}

Set custom config path:

import { setConfigPath } from "openclaw-claude-code-skill";
setConfigPath("/path/to/mcp_config.json");

### Requirements

Node.js 18+
TypeScript (optional but recommended)

### Links

GitHub
npm
MCP Specification
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Enderfga
- Version: 0.2.0
## 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:29:03.342Z
- Expires at: 2026-05-08T11:29:03.342Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/claude-code-skill)
- [Send to Agent page](https://openagent3.xyz/skills/claude-code-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/claude-code-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/claude-code-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/claude-code-skill)