← Back to Plugins
Tools

Clawffice Core

ClawfficeOrg By ClawfficeOrg 👁 7 views ▲ 0 votes

OpenClaw plugin for Clawffice company system — org structure, agent metadata, memory scoping

GitHub

Install

npm install
npm

README

# clawffice-core

OpenClaw plugin for the Clawffice company system — org structure, agent metadata, and memory scoping.

## What It Does

- **Org structure CRUD** — store company/division/department/worker tree as JSON in `{stateDir}/clawffice/org.json`
- **Agent metadata** — per-agent avatar, mood, title, org position stored in `{stateDir}/clawffice/agents/{agentId}.json`
- **Memory scoping** — resolve read/write memory paths based on agent's org position

## Agent Tools

| Tool | Description |
|------|-------------|
| `clawffice_org_get` | Get full org structure |
| `clawffice_org_set` | Set/replace org structure |
| `clawffice_org_from_template` | Init org from a starter template |
| `clawffice_agent_get_metadata` | Get agent avatar/mood/title |
| `clawffice_agent_set_mood` | Set agent mood |
| `clawffice_memory_scope` | Resolve memory scope for agent |

## Templates

| Template | Structure |
|----------|-----------|
| `just_me` | Operations → Personal |
| `solo_dev` | Engineering → Development |
| `small_agency` | Engineering + Client Services |
| `research_lab` | Research + Writing |
| `custom` | Empty — build your own |

## Installation

```bash
openclaw plugins install ./clawffice-core
openclaw gateway restart
```

## Development

```bash
npm install
npm run typecheck   # check types without building
npm run build       # compile to dist/
```

## Skills

- `skills/org.md` — `/org` slash command
tools

Comments

Sign in to leave a comment

Loading comments...