Tencent Docs for Openclaw

An advanced Model Context Protocol (MCP) skill that empowers AI agents to autonomously create, search, and manage rich collaborative documents in Tencent Docs.

codercuixin
v1.0.0
Jun 9, 2026
0
369
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install test-my

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 test-my 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 Tencent Docs?

Tencent Docs is a robust online collaborative platform designed for high-performance team operations and knowledge management. By integrating this integration within Openclaw Skills, developers and AI agents gain direct programmable access to spreadsheets, slides, complex mind maps, flowcharts, and rich smart documents. It natively supports highly extensible, MDX-compatible SmartCanvas layouts, which means that raw Markdown strings can be seamlessly rendered into polished cloud documents with zero layout translation overhead.

With this technical skill, your AI agent acts as a virtual workspace operator—automating data synthesis, maintaining deep document hierarchies, generating beautiful summaries, and executing batch content ingestion. It bridges modern AI model capabilities directly with Tencent's enterprise-grade productivity suite.

Tencent Docs Use Cases

  • Creating and organizing beautifully formatted meeting logs, team briefs, or public announcements directly into cloud-hosted MDX-compatible SmartCanvas documents.
  • Structuring high-volume data analytics, calculations, and financial projections inside automated spreadsheets.
  • Scraping external web content and clipping online documentation into readable and permanently saved cloud summaries.
  • Migrating local HTML files and directory structures directly to cloud spaces as editable assets.
  • Converting offline graphics, screenshots, or receipts into digital Excel sheets or Word files via intelligent OCR.
  • Managing complex document trees, setting item-level permissions, and structuring multi-user folder hierarchies programmatically.

How Tencent Docs Works

  1. Local Authentication: The system reads access configurations and authenticates requests using the custom TENCENT_DOCS_TOKEN environment variable.
  2. Protocol Schema Discovery: The AI agent queries active tools and constraints using the command mcporter list tencent-docs to match capabilities against live task requests.
  3. Task Routing: Based on the request structure, the agent automatically selects the ideal document type, prioritizing the SmartCanvas format for standard rich text layouts.
  4. Asynchronous Polling: For high-latency processes like slide rendering or web page clipping, the agent spawns separate background sub-sessions to poll completion status without blocking user interaction.
  5. Response and Feedback: Standardized JSON responses containing tracking tracing IDs and detailed diagnostics are returned to confirm reliable workflow completion.

Tencent Docs Setup

To get started with this integration within the Openclaw Skills suite, configure your authentication and execute the CLI instructions below.

1. Initialize and Authorize

Execute the integrated script to initiate configuration:

./setup.sh

Follow the provided guides in references/auth.md to link your custom key (TENCENT_DOCS_TOKEN) via the official auth gateway.

2. Retrieve Available Capabilities

Inspect the dynamically exported toolset specifications:

mcporter list tencent-docs

3. Run a Document Command

Test communication by executing a standard tool call:

mcporter call "tencent-docs" "get_content" --args '{"file_id": "YOUR_FILE_ID"}'

4. Keep the Integration Updated

Run a daily check to pull downstream optimizations and new features:

mcporter call "https://docs.qq.com/openapi/mcp" "check_skill_update" --args '{"version": "1.0.33"}'

Tencent Docs Data Schema & Taxonomy

The Tencent Docs integration is structured with specialized directories and document types to optimize data classification and file hierarchy.

Directory Architecture

Directory / File Purpose
SKILL.md Primary navigation index containing system rules and update handlers.
setup.sh Local deployment and installation pipeline.
import_file.sh Script used to pack local media and execute pre-imports to Cloud Object Storage (COS).
ocr.js Helper script that processes local images to base64 formats before calling the remote OCR toolset.
references/ Targeted instructional manuals covering authorization, workflows, and individual document types.
smartcanvas/ MDX parser definitions and smart canvas initialization workflows.
sheet/ & doc/ Standalone modules hosting spreadsheet and word editing schemas.

Document Type Reference

Type Name doc_type Code Practical Recommended Usage
Smart Canvas smartcanvas Preferred. Exceptional rendering layout, native Markdown/MDX syntax compatibility.
Smart Sheet smartsheet Structured relational database views and database field management.
Excel Sheet sheet Traditional tabular data calculations and heavy statistics.
Slides slide Presentation layouts and PowerPoint slides creation.
Mindmap mind Mind map design and hierarchical flow mapping.
Flowchart flowchart System flowcharts, UML diagrams, and logical trees.

Tencent Docs Advanced Features

  • Smart Web Clipper: Combines scrape_url with progress monitoring to seamlessly transform remote web pages into permanent, structured collaborative documents.
  • Direct HTML-to-Cloud Uploads: Encapsulates standard HTML pages into .aipage packages using aipage_pack.js and imports them directly to Tencent Cloud Object Storage via dedicated scripts.
  • Multi-Session Task Spawning: Employs non-blocking, isolated sub-session spawning (spawn) for polling long-running creation processes like custom slideshow builds.
  • Intelligent Graphic Extraction: Provides native OCR integrations (ocr.extract, ocr.toword, ocr.toexcel) that can digitize local files (using helper scripts) or live URLs directly into production assets.
  • Invisible Diagnostic Reporting: Automates health and request feedback through the report_unsupported_feature hook, improving overall system compliance without populating user chat logs.
  • Dynamic Hierarchical Directing: Supports specific directory placement using parent_id parameter bindings to ensure precise target directory routing for brand new files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*