Skip to content

Add OpenClaw compatibility with files like SOUL.md, USER.md, etc. #94

Closed

Description

@pavelanni

Summary

Add support for OpenClaw-style workspace context files so that docsclaw
instances can be configured and personalized the same way OpenClaw agents are.

Background

OpenClaw uses a set of Markdown files in the agent workspace to define
identity, persona, user context, and behavior:

File Purpose
SOUL.md Agent persona and tone
USER.md Information about the human the agent works with
AGENTS.md Agent capabilities and operating model
IDENTITY.md Agent name and role
TOOLS.md Approved tools and restrictions

These files are loaded at session start and injected as project context,
giving agents durable, human-readable configuration that survives across
sessions.

Goal

Make docsclaw recognize and load the same set of files, so that a docsclaw
instance can be configured with the same familiar patterns as an OpenClaw
agent — consistent experience across both platforms.

Proposed action

  1. Identify which OpenClaw workspace files are relevant for docsclaw
  2. Implement loading and injection of those files at session startup
  3. Document the supported files and their expected format
  4. Provide example files as a starting template for new docsclaw instances

Activity

  1. self-assigned this
    on Jun 26, 2026
  2. pavelanni commented on Jul 1, 2026

    @pavelanni
    CollaboratorAuthor

    Resolved in PR #97 (v0.15.0). DocsClaw now loads OpenClaw workspace files (AGENTS.md, SOUL.md, USER.md, IDENTITY.md, TOOLS.md) from the workspace directory and injects them as Project Context in the system prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions