← Back to Plugins
Channels

Claudeclaw

leadsblender By leadsblender 👁 28 views ▲ 0 votes

Persistent personal-agent layer for Claude Code โ€” identity files, MD-based skills, autonomous cron (local daemon + Anthropic Routines), persistent memory, and a built-in messaging gateway for Telegram/Slack/WhatsApp. Mirrors Hermes-Agent and OpenClaw using Claude Code's native plugin system.

GitHub

README

# Claudeclaw

> A persistent personal-agent layer for Claude Code. Built to give Claude the same shape Hermes-Agent and OpenClaw give to their backends โ€” identity files, MD-based skills, cron routines, persistent memory โ€” but using only Claude Code's native plugin system. No daemon, no separate runtime, no second LLM provider.

If you've used [OpenClaw](https://openclaw.ai/) or [Hermes Agent](https://github.com/NousResearch/hermes-agent), this will feel familiar:

| Concept | OpenClaw / Hermes | Claudeclaw |
|---|---|---|
| Persistent identity | `~/.openclaw/workspace/{IDENTITY,SOUL,USER,MEMORY,AGENTS,TOOLS,HEARTBEAT,BOOT}.md` | `~/.claude/plugins/claudeclaw/identity/{IDENTITY,SOUL,USER,MEMORY,AGENTS,TOOLS,HEARTBEAT,BOOT}.md` |
| Skills (procedural memory) | `~/.openclaw/skills/<name>/SKILL.md` | `~/.claude/plugins/claudeclaw/skills/<name>/SKILL.md` |
| Cron routines | `openclaw cron add โ€ฆ` | `/cron add โ€ฆ` โ€” dual backend: local daemon (sub-minute, no quota, needs your machine) or Claude Routines (cloud, fires offline, daily quota). See [`docs/scheduling.md`](docs/scheduling.md). |
| Memory persistence | `MEMORY.md` (single file, capped) | `MEMORY.md` (fast-path) + Claude Code's auto-memory (`~/.claude/projects/<project>/memory/`) |
| Subagent delegation | `agent` registry | Native sub-agents (`~/.claude/plugins/claudeclaw/agents/<name>.md`) |
| Multi-platform messaging | Native (WhatsApp, Telegram, Discord, โ€ฆ) | Built-in **gateway** for Telegram, Slack, WhatsApp โ€” same identity, skills, memory. See [`gateway/README.md`](gateway/README.md). |
| One-line install | `curl โ€ฆ/install.sh \| bash` | `curl โ€ฆ/install.sh \| bash` |

## What this gives you

- **A Claude Code session that boots with context.** Every time you open Claude Code, it loads who you are, what it values, what it remembers, and what's on the schedule โ€” before you say anything.
- **Skills that auto-trigger.** Saying "summarize my inbox" runs the `inbox-summarize` skill instead of Claude reasoning from scratch each time.
- **Memory that persists across sessions.** Two stores: a fast-path `MEMORY.md` for lines you want loaded every prompt, and a long-form auto-memory for per-topic markdown files.
- **Cron routines.** Schedule a morning brief, an inbox sweep, a weekly memory consolidation โ€” all delivered into your next session.
- **Subagents you can delegate to.** A researcher for web work, a coder for focused implementation, a scheduler for cron management, a librarian for memory curation.
- **Identity you can edit.** All of it lives in plain markdown. Open the files, change them, run `/boot` โ€” Claw is now different.

## Install

```bash
curl -fsSL https://raw.githubusercontent.com/leadsblender/claudeclaw/main/install.sh | bash
```

Add `--with-gateway` to also install the messaging gateway (Slack/Telegram/WhatsApp):

```bash
curl -fsSL https://raw.githubusercontent.com/leadsblender/claudeclaw/main/install.sh | bash -s -- --with-gateway
```

Or from a local checkout:

```bash
cd claudeclaw && bash install.sh                 # core only
cd claudeclaw && bash install.sh --with-gateway  # core + messaging
```

The installer:

1. Verifies you have `claude` (Claude Code CLI) installed.
2. Drops the plugin into `~/.claude/plugins/claudeclaw/`.
3. Registers it in `~/.claude/settings.json` (`enabledPlugins.claudeclaw = true`).
4. Tells you what to do next.

## First run

Open Claude Code anywhere:

```bash
claude
```

Because `USER.md` still has placeholder values, the `onboarding` skill runs automatically. It asks you five questions, writes your answers into `USER.md` and `SOUL.md`, and you're personalized. Total time: ~90 seconds.

After that, every session greets you by name, knows what you're working on, and obeys your tone preferences.

## Daily use

| You say | What happens |
|---|---|
| _"morning brief"_ | Calendar + inbox + open PRs + suggested first move, in one screen. |
| _"summarize my inbox"_ | Threads grouped by needs-reply / needs-decision / fyi / noise. |
| _"review this PR"_ or `/review` | Structured review with blockers / should-fix / consider / liked. |
| _"remember that I prefer Vite over webpack"_ | Memory written to the right store automatically. |
| `/cron add summarize my inbox every weekday at 8am` | Scheduled, added to `HEARTBEAT.md`. |
| `/skill list` | Every skill Claw has, with one-line descriptions. |
| `/identity edit SOUL` | Reshape Claw's voice. Run `/boot` after to apply. |

## File map

```
claudeclaw/
โ”œโ”€โ”€ .claude-plugin/plugin.json    # Manifest
โ”œโ”€โ”€ identity/                     # Who Claw is โ€” load order: IDENTITY โ†’ SOUL โ†’ USER โ†’ MEMORY โ†’ AGENTS โ†’ TOOLS โ†’ HEARTBEAT
โ”‚   โ”œโ”€โ”€ IDENTITY.md
โ”‚   โ”œโ”€โ”€ SOUL.md
โ”‚   โ”œโ”€โ”€ USER.md                   # โ† personalize this
โ”‚   โ”œโ”€โ”€ MEMORY.md                 # โ† Claw writes here over time
โ”‚   โ”œโ”€โ”€ AGENTS.md
โ”‚   โ”œโ”€โ”€ TOOLS.md
โ”‚   โ”œโ”€โ”€ HEARTBEAT.md              # โ† schedule view
โ”‚   โ””โ”€โ”€ BOOT.md
โ”œโ”€โ”€ skills/                       # Procedural memory โ€” auto-triggered routines
โ”‚   โ”œโ”€โ”€ identity-loader/SKILL.md
โ”‚   โ”œโ”€โ”€ onboarding/SKILL.md
โ”‚   โ”œโ”€โ”€ memory-keeper/SKILL.md
โ”‚   โ”œโ”€โ”€ morning-brief/SKILL.md
โ”‚   โ”œโ”€โ”€ inbox-summarize/SKILL.md
โ”‚   โ”œโ”€โ”€ code-review/SKILL.md
โ”‚   โ”œโ”€โ”€ web-research/SKILL.md
โ”‚   โ””โ”€โ”€ cron-routine/SKILL.md
โ”œโ”€โ”€ commands/                     # Slash commands
โ”‚   โ”œโ”€โ”€ boot.md
โ”‚   โ”œโ”€โ”€ identity.md
โ”‚   โ”œโ”€โ”€ memory.md
โ”‚   โ”œโ”€โ”€ skill.md
โ”‚   โ”œโ”€โ”€ cron.md
โ”‚   โ”œโ”€โ”€ agent.md
โ”‚   โ””โ”€โ”€ heartbeat.md
โ”œโ”€โ”€ agents/                       # Subagents
โ”‚   โ”œโ”€โ”€ researcher.md
โ”‚   โ”œโ”€โ”€ coder.md
โ”‚   โ”œโ”€โ”€ scheduler.md
โ”‚   โ””โ”€โ”€ librarian.md
โ”œโ”€โ”€ hooks/hooks.json              # SessionStart โ†’ boot
โ”œโ”€โ”€ scripts/                      # Hook helpers
โ”‚   โ”œโ”€โ”€ session-start.sh
โ”‚   โ””โ”€โ”€ check-pending-crons.sh
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ architecture.md
โ”‚   โ”œโ”€โ”€ messaging-gateway.md
โ”‚   โ”œโ”€โ”€ extending.md
โ”‚   โ””โ”€โ”€ differences.md
โ”œโ”€โ”€ install.sh
โ”œโ”€โ”€ uninstall.sh
โ””โ”€โ”€ README.md
```

## Extending

- **Add a skill:** `/skill new <name>` and answer the three questions.
- **Add a slash command:** drop a markdown file in `commands/`. Frontmatter needs `description`. The body is the prompt that runs.
- **Add a subagent:** drop a markdown file in `agents/`. Frontmatter needs `name`, `description`, `tools`, `model`.
- **Add a hook:** edit `hooks/hooks.json`. See [Claude Code hook docs](https://docs.claude.com/claude-code/hooks).
- **Add an MCP-backed tool:** install the MCP server in your Claude Code settings; the new tools are immediately available to skills.

## What's deliberately not here

- **No second LLM.** Claudeclaw rides on Claude Code; you don't pick a provider per skill. If you want multi-provider, run Hermes.
- **No always-on agent loop.** Cron routines fire via Claude Code's `scheduled-tasks` mechanism. The messaging gateway runs as its own daemon and spawns `claude -p` per inbound message โ€” it's reactive, not continuously running an agent in the background.
- **No first-class iMessage / Discord / Signal yet.** The adapter pattern in `gateway/adapters/` makes it ~50 lines per channel โ€” see [`gateway/README.md`](gateway/README.md) and [`docs/extending.md`](docs/extending.md). Telegram, Slack, WhatsApp ship in v0.1.

## License

MIT. See `LICENSE`.
channels

Comments

Sign in to leave a comment

Loading comments...