#~/.clawdbot vs ~/.clawd

1 messages Β· Page 1 of 1 (latest)

noble geode
#

What's the default? I've ended up where both are created and its confusing to tell is one the deprecated approach?

tame tinselBOT
#

These are two different things, not competing approaches:

  • ~/.clawdbot β€” State directory (config, auth, sessions, model registry)
  • ~/clawd β€” Workspace (AGENTS.md, SOUL.md, USER.md, memory files, skills)

Both get created by default and that's correct β€” they're intentionally separate.

Legacy approach (deprecated): Before multi-agent support, state lived in ~/.clawdbot/agent/*. This was migrated by clawdbot doctor to ~/.clawdbot/agents/<agentId>/agent/*.

If you're seeing weird duplication like ~/.clawd/agent/*, that might be from an old PI_CODING_AGENT_DIR setup. Run clawdbot doctor to clean it up.

noble geode
#

ok where are skills load/managed? if i want to symlink skills from soemwhere else

tame tinselBOT
#

Skills are loaded from three places (highest to lowest precedence):

  1. <workspace>/skills β€” per-agent, e.g., ~/clawd/skills
  2. ~/.clawdbot/skills β€” shared across all agents
  3. Bundled skills β€” shipped with install

You can also add extra dirs via config (lowest precedence):

{
  skills: {
    load: {
      extraDirs: ["/path/to/my/skills"]
    }
  }
}
#

Symlink approach: Just symlink whatever you want into ~/.clawdbot/skills or ~/clawd/skills β€” Clawdbot scans those directories directly. If there's a name conflict, workspace wins over managed/local.

noble geode
#

so ~/clawd/skills is a worksapce? show exmaple of what dir would look like with 3 separate workspaces. am i correct that workspaes could have their own agents?

tame tinselBOT
#

Yes, each workspace can have its own agent files (AGENTS.md, SOUL.md, USER.md, skills/, memory/). Here's a 3-workspace example:

~/                          # home directory
β”œβ”€β”€ clawd/                  # workspace 1 (default agent "main")
β”‚   β”œβ”€β”€ AGENTS.md
β”‚   β”œβ”€β”€ SOUL.md
β”‚   β”œβ”€β”€ USER.md
β”‚   β”œβ”€β”€ memory.md
β”‚   β”œβ”€β”€ skills/
β”‚   β”‚   └── custom-skill/
β”‚   └── memory/
β”‚       └── 2026-01-12.md
β”‚
β”œβ”€β”€ clawd-home/             # workspace 2 (agent "home")
β”‚   β”œβ”€β”€ AGENTS.md           # different personality
#
β”‚   β”œβ”€β”€ SOUL.md
β”‚   β”œβ”€β”€ USER.md
β”‚   β”œβ”€β”€ skills/
β”‚   └── memory/
β”‚
β”œβ”€β”€ clawd-work/             # workspace 3 (agent "work")
β”‚   β”œβ”€β”€ AGENTS.md           # work-focused persona
β”‚   β”œβ”€β”€ SOUL.md
β”‚   β”œβ”€β”€ USER.md
β”‚   β”œβ”€β”€ skills/
β”‚   └── memory/
β”‚
~/.clawdbot/                # state directory (shared!)
β”œβ”€β”€ clawdbot.json           # config with agents + bindings
β”œβ”€β”€ skills/                 # shared skills (visible to all agents)
#
β”‚   └── shared-tool/
└── agents/
    β”œβ”€β”€ main/
    β”‚   └── agent/
    β”‚       β”œβ”€β”€ auth-profiles.json
    β”‚       └── models.json
    β”œβ”€β”€ home/
    β”‚   └── agent/
    β”‚       β”œβ”€β”€ auth-profiles.json
    β”‚       └── models.json
    └── work/
        └── agent/
            β”œβ”€β”€ auth-profiles.json
            └── models.json