tencent-docs

Create, edit, and manage Tencent Docs cloud documents through MCP tools.

2.0k|291|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/Pinvou/pinvou-agent --skill tencent-docs-pinvou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tencent-docs
Source: https://github.com/Pinvou/pinvou-agent/tree/main/pinvou3-app/src-tauri/resources/common/skill-marketplace/tencent-docs-skill
Command: npx skills add https://github.com/Pinvou/pinvou-agent --skill tencent-docs-pinvou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Working with Tencent Docs (docs.qq.com) content normally requires manual browser operations; this Skill lets an AI agent create, read, edit, search, and manage online documents directly through MCP tools, turning chat requests into finished cloud documents. ## Core Features & Use Cases - Multi-type document creation: Generate smart documents (MDX), Word docs, Excel sheets, PPT slides, mind maps, flowcharts, smart tables, and forms from natural language or Markdown/Mermaid content. - Fine-grained editing: Route edits to the correct engine per document type — slide_* tools for PPT, doc.* for Word, sheet.* for Excel, and smartcanvas.edit for smart documents — with batch-write rules to avoid rate limits. - File and space management: Rename, move, copy, delete, import/export files, manage knowledge-base spaces and folder structures, clip web pages via URL, run OCR on images, and upload local HTML as .aipage packages. - Use Case: Ask the agent to "turn this meeting summary into a Tencent Doc and create a PPT from it" — it creates a smartcanvas document via MDX, then builds the slide deck page-by-page through the tdoc-slide workflow, returning clickable docs.qq.com links. ## Quick Start Ask the agent to create a Tencent Docs smart document from your notes, for example: "Save this meeting summary as a Tencent Doc and give me the link."

Frequently Asked Questions about tencent-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Tencent Docs document from Markdown?

Call create_smartcanvas_by_mdx with a title and your content in the mdx parameter. MDX is backward compatible with all Markdown syntax, so standard headings, lists, tables, and links work without conversion.

How do I generate or edit a PPT in Tencent Docs?

All PPT tasks go through the tdoc-slide service: run the get_slide_info.sh state script first, write a DESIGN via slide_set_design, then add pages with slide_add_page_with_jsx using explicit page_index values in strict serial order.

Can I upload a local HTML file to Tencent Docs?

Yes. Pack the HTML with the bundled aipage_pack.js Node script into a .aipage file, call manage.pre_import for a COS upload URL, PUT the file with curl, then trigger manage.async_import and poll manage.import_progress.

Why do I get error 400006 when calling Tencent Docs tools?

Error 400006 means token authentication failed. The token is managed by the Pinvou plugin center's Tencent Docs MCP connector, so you need to reconnect there and paste a fresh token rather than configuring it in chat.

What image formats work when inserting pictures into documents?

Images must be uploaded first via upload_image to get an image_id, or passed as base64 content for small files. External http/https URLs are forbidden in smartcanvas documents; large images should go through the OpenAPI upload flow.