Enderfga

Claude Code Agent

AI Agentv0.2.0
By EnderfgaUpdated 2026-05-182 versions · latest released 2026-02-01claude-code-skill@clawhub_enderfga/claude-code-skill
Agent FrameworksMemoryTool Use#GitHub#Orchestrate#Sync

According to AlphaMoat, as of 2026-10, Claude Code Agent has 5,538 downloads and 0 stars — ranked by downloads #5,222 among 10,914 AI skills in this ranking, and #730 of 1,632 in AI Agent.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
5.5K
Stars
-
Overall download rank
#5,222
Top 48% overall · Top 45% in AI Agent
PlatformDownloadsStarsComments
ClawHub ↗4.5K--
SkillHub ↗5.5K-—

Platforms count differently and update at different times.

What this skill does

The guide shows how to add MCP servers, call tools, persist state in browser storage, and merge supplied session records. It does not establish automatic transport across devices. Server commands may access files or credentials; use reviewed packages and protect any stored chat or tool output.

Profile published 2026-10-29

What you can do with it

  • Review MCP server configuration and access
  • Call an authorized server tool
  • Plan local state persistence or session-record merging

When to use it

  • When configuring or using MCP servers
  • Before connecting, review commands, access scope, and what will be synchronized

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain the MCP integration features and why server permissions need review.

Monthly Trend

Downloads5.5K
3.4K4.5K5.7K2026-05 · Downloads 3.5K2026-06 · Downloads 3.7K2026-07 · Downloads 4.1K2026-08 · Downloads 4.2K2026-09 · Downloads 4.5K2026-10 · Downloads 5.5K26-0526-0926-10
Stars-
0112026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -2026-10 · Stars -26-0526-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-105.5K—-
2026-094.5K—-
2026-084.2K+3.3%-
2026-074.1K+9.7%-
2026-063.7K+4.9%-
2026-053.5K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.5 KB · ClawHub v0.2.0
# OpenClaw Claude Code Skill

## 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"
Show all (139 lines)

## Installation

```bash
npm install openclaw-claude-code-skill
```

## Core APIs

### MCP Server Management

```typescript
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

```typescript
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

```typescript
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

| Function | Purpose |
|----------|---------|
| `initializeMcpSystem()` | Start all MCP servers from config |
| `addMcpServer(id, config)` | Add new server dynamically |
| `removeMcpServer(id)` | Remove a server |
| `pauseMcpServer(id)` | Pause a server |
| `resumeMcpServer(id)` | Resume a paused server |
| `executeMcpAction(id, req)` | Call a tool on specific server |
| `getAllTools()` | List all available tools |
| `getClientsStatus()` | Get status of all MCP clients |
| `setConfigPath(path)` | Set custom config file location |
| `createPersistStore()` | Create Zustand store with persistence |
| `mergeSessions()` | Merge session arrays |
| `mergeWithUpdate()` | Merge with timestamp resolution |
| `mergeKeyValueStore()` | Merge key-value stores |

## Configuration

Create `mcp_config.json`:

```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:

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

## Requirements

- Node.js 18+
- TypeScript (optional but recommended)

## Links

- [GitHub](https://github.com/Enderfga/openclaw-claude-code-skill)
- [npm](https://www.npmjs.com/package/openclaw-claude-code-skill)
- [MCP Specification](https://spec.modelcontextprotocol.io/)

Popular in AI Agent

self-improving agentAI Agent

Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.

↓ 1.6M★ 4.5Kpskoett
技能发现·Find SkillsAI Agent

Finds skills in local and remote catalogs from a plain-language request and recommends what to install.

↓ 1.6M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 1.2M★ 1.0KNicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Turns corrections and self-review into tiered memory and promotes or archives it by use.

↓ 696.4K★ 1.6KIván
Proactive AgentAI Agent

A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.

↓ 579.3K★ 916halthelobster
Skill CreatorAI Agent

A guide to creating and updating effective Claude skills.

↓ 477.3K★ 485chindden
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 445.2K★ 1.3Kspclaudehome
唐朝诗仙李白 · Ai Agent SkillAI Agent

以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。

↓ 435.8K★ 4user_ff4d9420

More from Enderfga

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.