Channels
Claudeclaw
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.
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