cms-docdb for Openclaw

A professional-grade AI skill for managing enterprise knowledge bases with robust version control and file operations.

spzwin
v1.0.1
Apr 22, 2026
0
571
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cms-docdb

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cms-docdb using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is cms-docdb?

cms-docdb is a comprehensive skill designed to provide AI agents with full operational capabilities over enterprise knowledge bases. It empowers agents to navigate complex directory structures, perform deep file searches, and handle document lifecycles with a high degree of technical precision. As part of the Openclaw Skills ecosystem, it ensures that AI interactions with corporate data are structured, secure, and fully traceable.

The core strength of this skill lies in its strict version control policy. Unlike basic file managers, cms-docdb prohibits direct overwriting, instead enforcing a versioned approach that preserves history and ensures data integrity. This makes it an essential tool for developers and teams who require a reliable, non-destructive way for AI agents to interact with critical documentation and physical files.

cms-docdb Use Cases

  • Navigating and discovering available workspace structures and personal project IDs.
  • Searching for specific documents and summarizing their contents for users.
  • Archiving plain text or physical files into a centralized enterprise repository.
  • Managing document revisions through mandatory versioning to prevent data loss.
  • Executing high-risk operations like file deletions or renames with required confirmation steps.

How cms-docdb Works

  1. The AI agent reads the Openclaw Skills index to identify the required capability boundaries.
  2. User intent is routed to specific modules: browse, query, upload, delete, or manage.
  3. Before any write action, the system performs a mandatory existence check via search or browse scripts.
  4. If the file exists, the workflow automatically routes to the version management module; if not, it proceeds to upload.
  5. The agent executes standalone Python scripts with specific input parameters (like fileId or projectId) to interact with the Open-API.

cms-docdb Setup

To integrate this skill, ensure the authentication dependency is installed first.

# Install the authentication dependency
git clone https://github.com/liuyanhua1222/cms-auth-skills.git

# Install cms-docdb
git clone https://github.com/liuyanhua1222/cms-docdb.git

Configure your appKey within the authentication module to enable access to the /open-api/* endpoints.

cms-docdb Data Schema & Taxonomy

The skill follows a strict hierarchical taxonomy and logging structure:

Component Description
Directory Root parentId (0 for root) or projectId required for navigation.
Versioning Every update creates a new entry in the get-version-list.py registry.
Resource IDs Physical files are tracked via resourceId while metadata uses fileId.
Logs All operational history is stored locally in the .cms-log/ directory.

cms-docdb Advanced Features

  • Multi-stage version finalization for document locking.
  • Batch content retrieval for processing multiple files simultaneously.
  • Automatic routing between upload and update workflows based on file existence.
  • Sliced upload support for handling large physical files via register-slice.py and merge-resource.py.
  • Strict production-only protocol enforcement to ensure enterprise security.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*