Claim this agent
agentCLAWHUBUnverified

腾讯文档Markdown

腾讯文档 Markdown 技能,支持新建 Markdown 并写入内容、下载、删除、读取、更新、重命名等操作。

OpenClaw

Rank

62

Safety

84

Downloads

5.7k

Updated

Oct 9, 2026

Version

1.1.7

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 5.7K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
5.7K downloadsadoption · observed Oct 9, 2026
Latest release
1.1.7release · observed May 2, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17bw1sf2hsjw09jmyh7nhzshn83h2gf:tencent-docs-markdown
  1. Install using `clawhub skill install s17bw1sf2hsjw09jmyh7nhzshn83h2gf:tencent-docs-markdown` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/wscats/tencent-docs-markdown before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wscats-tencent-docs-markdown/snapshot"

Documentation

CLAWHUB

115,116 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: 腾讯文档Markdown
license: MIT
description: 腾讯文档 Markdown 技能,支持新建 Markdown 并写入内容、下载、删除、读取、更新、重命名等操作。
---

# 腾讯文档 Markdown 技能

> **名称:** `tencent-docs-markdown`
> **许可证:** MIT
> **简介:** 腾讯文档 Markdown 技能,支持新建 Markdown 并写入内容、下载、删除、读取、更新、重命名等操作。

---

## Agent 如何使用此技能

### 触发短语

当用户表达以下意图时,Agent 应激活此技能:

| 意图 | 示例短语 |
|------|----------|
| **新建并写入** | "新建一个Markdown到腾讯文档并写入内容[xxx]" / "帮我新建腾讯文档md,写入以下内容" / "上传xxx.md到腾讯文档" / "上传xxx.md文档" / "同步xxx.md文档" / "提交xxx.md文档" / "把本地文件同步到腾讯文档" |
| **新建空文档** | "帮我创建名为xxx.md" / "新建一个Markdown文档" |
| **下载** | "把https://docs.qq.com/markdown/[xxx]文档保存到本地" |
| **读取** | "读取https://docs.qq.com/markdown/[xxx]文档内容"|
| **更新** | "更新[xxx]到https://docs.qq.com/markdown/[xxx]" |
| **删除** | "删除https://docs.qq.com/markdown/[xxx]"|
| **重命名** | "重命名https://docs.qq.com/markdown/[xxx]文档为xxx" |
| **查看信息** | "获取https://docs.qq.com/markdown/[xxx]文档的详情" |
| **登录** | "登录腾讯文档" / "重新登录" / "Cookie过期了" |

### Agent 工作流程

```mermaid
flowchart TD
    A[用户请求] --> B{Cookies 有效?}
    B -->|是| C[执行操作]
    B -->|否| D[通过扫码登录]
    D --> E[保存 Cookies]
    E --> C
    C --> F[返回结果 + 文档链接]
```

---

## 快速开始

```bash
# 1. 安装依赖
pip install -r requirements.txt
playwright install chromium

# 2. 登录(使用微信/QQ 扫描二维码)
python -m src.main login

# 3. 新建文档并写入内容
python -m src.main write "我的文档" "# Hello World"
```

---

## 功能操作

### 1. 新建并写入文档

新建一个腾讯文档 Markdown,写入内容后返回文档链接。

**命令行:**
```bash
python -m src.main write "我的文档" "# Hello World\n这是我的文档内容。"
```

**编程接口:**
```python
from src.main import handle_create_and_write
result = handle_create_and_write('我的文档', '# Hello World\n这是内容。')
# result: {'docUrl': ..., 'padId': ..., 'globalPadId': ..., 'title': ...}
# → 将 result['docUrl'] 分享给用户
```

### 2. 新建空文档

创建一个新的空 Markdown 文档。

**命令行:**
```bash
python -m src.main create "我的新文档"
```

**编程接口:**
```python
from src.main import handle_create
result = handle_create('我的文档')
# result: {'docUrl': ..., 'padId': ..., 'globalPadId': ..., 'title': ...}
```

### 3. 下载文档

将腾讯文档 Markdown 下载为本地 `.md` 文件。

> **注意:** 系统会自动从文档页面解析真实的 `padId`(URL 中的标识符与 API 所需的真实 padId 不同)。

**命令行:**
```bash
python -m src.main download https://docs.qq.com/markdown/DQxxxxxxxx
python -m src.main download https://docs.qq.com/markdown/DQxxxxxxxx -o ./output.md
```

**编程接口:**
```python
from src.main import handle_download
result = handle_download('https://docs.qq.com/markdown/DQxxxxxxxx', './output.md')
# result: {'path': ..., 'content': ...}
```

### 4. 读取文档

读取并返回文档内容。

**命令行:**
```bash
python -m src.main read https://docs.qq.com/markdown/DQxxxxxxxx
```

**编程接口:**
```python
from src.main import handle_read
content = handle_read('https://docs.qq.com/markdown/DQxxxxxxxx')
```

### 5. 更新文档

覆盖已有文档的内容(支持直接传入文本或 `.md` 文件路径)。

> **⚠️ 安全提示:** 这是**破坏性操作**。交互模式下会显示目标文档标题与 URL 并要求确认 (`y/N`)。程序化调用须显式传入 `confirm=True`,否则操作会被拒绝。CLI 也可加 `-y/--yes` 跳过提示。

**命令行:**
```bash
python -m src.main update https://docs.qq.com/markdown/DQxxxxxxxx "# 新内容"
python -m src.main update https://docs.qq.com/markdown/DQxxxxxxxx ./updated.md
py

README.md

# 腾讯文档 Markdown 工具

> 一个用于操作腾讯文档 Markdown 的 Python 工具,支持新建、写入、下载、读取、更新、重命名、删除等操作。

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python](https://img.shields.io/badge/Python-3.10%2B-blue.svg)](https://www.python.org/)

---

## 功能特性

- ✅ **新建文档** — 创建空白 Markdown 文档或新建并直接写入内容
- ✅ **读取文档** — 获取文档的 Markdown 原始内容
- ✅ **更新文档** — 覆盖已有文档内容(支持文本或 `.md` 文件)
- ✅ **下载文档** — 将文档保存为本地 `.md` 文件
- ✅ **删除文档** — 将文档移入回收站
- ✅ **重命名文档** — 修改文档标题
- ✅ **查看文档信息** — 获取文档元数据
- ✅ **自动登录** — 支持微信/QQ 扫码登录,Cookie 自动缓存复用

---

## 快速开始

### 环境要求

- Python >= 3.10

### 安装

```bash
# 1. 安装 Python 依赖
pip install -r requirements.txt

# 2. 安装 Playwright 浏览器
playwright install chromium
```

### 登录

首次使用需要扫码登录腾讯文档:

```bash
python -m src.main login
```

登录成功后,Cookie 会自动保存到 `.cookies.json`,后续操作无需重复登录。

### 基本使用

```bash
# 新建文档并写入内容
python -m src.main write "我的文档" "# Hello World"

# 读取文档
python -m src.main read https://docs.qq.com/markdown/DQxxxxxxxx

# 下载文档到本地
python -m src.main download https://docs.qq.com/markdown/DQxxxxxxxx
```

---

## 功能操作

### 1. 新建并写入文档

新建一个腾讯文档 Markdown,写入内容后返回文档链接。

**命令行:**
```bash
python -m src.main write "我的文档" "# Hello World\n这是我的文档内容。"
```

**编程接口:**
```python
from src.main import handle_create_and_write

result = handle_create_and_write('我的文档', '# Hello World\n这是内容。')
# result: {'docUrl': ..., 'padId': ..., 'globalPadId': ..., 'title': ...}
# → 将 result['docUrl'] 分享给用户
```

### 2. 新建空文档

```bash
python -m src.main create "我的新文档"
```

```python
from src.main import handle_create

result = handle_create('我的文档')
# result: {'docUrl': ..., 'padId': ..., 'globalPadId': ..., 'title': ...}
```

### 3. 下载文档

将腾讯文档 Markdown 下载为本地 `.md` 文件。

> **注意:** 系统会自动从文档页面解析真实的 `padId`(URL 中的标识符与 API 所需的真实 padId 不同)。

```bash
python -m src.main download https://docs.qq.com/markdown/DQxxxxxxxx
python -m src.main download https://docs.qq.com/markdown/DQxxxxxxxx -o ./output.md
```

```python
from src.main import handle_download

result = handle_download('https://docs.qq.com/markdown/DQxxxxxxxx', './output.md')
# result: {'path': ..., 'content': ...}
```

### 4. 读取文档

```bash
python -m src.main read https://docs.qq.com/markdown/DQxxxxxxxx
```

```python
from src.main import handle_read

content = handle_read('https://docs.qq.com/markdown/DQxxxxxxxx')
```

### 5. 更新文档

覆盖已有文档的内容(支持直接传入文本或 `.md` 文件路径)。

```bash
python -m src.main update https://docs.qq.com/markdown/DQxxxxxxxx "# 新内容"
python -m src.main update https://docs.qq.com/markdown/DQxxxxxxxx ./updated.md
```

```python
from src.main import handle_update

handle_update('https://docs.qq.com/markdown/DQxxxxxxxx', '# 更新后的内容')
```

### 6. 删除文档

将文档移入回收站(可恢复)。

```bash
python -m src.main delete https://docs.qq.com/markdown/DQxxxxxxxx
```

```python
from src.main import handle_delete

result = handle_delete('https://docs.qq.com/markdown/DQxxxxxxxx')
# result: {'padId': ..., 'deleted': True}
```

### 7. 重命名文档

```bash
python -m src.main rename https://docs.qq.com/mark

_meta.json

{
  "ownerId": "kn78mv1912530wvdbf2vjcd3r982v66j",
  "slug": "tencent-docs-markdown",
  "version": "1.1.7",
  "publishedAt": 1777706768938
}

skill-card.md

## Description:

腾讯文档 Markdown 技能,支持新建 Markdown 并写入内容、下载、删除、读取、更新、重命名等操作。

This skill is ready for commercial/non-commercial use.

## Publisher:

[wscats](https://clawhub.ai/user/wscats)

### License/Terms of Use:

MIT

## Use Case:

Developers and agents use this skill to create, read, download, update, rename, and delete Tencent Docs Markdown documents from natural-language requests or Python/CLI workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill uses Tencent Docs account-session cookies and can act with the permissions of that account.

Mitigation: Use a dedicated Tencent Docs account where possible, keep .cookies.json private, and run logout to clear saved credentials when work is complete.

Risk: Update, delete, and rename operations can mutate or remove Tencent Docs content.

Mitigation: Provide only explicit HTTPS docs.qq.com document URLs and confirm the target document before approving destructive actions.

Risk: The security review notes URL-validation and scoping issues that deserve review before installation.

Mitigation: Update the flagged URL-validation behavior before using the skill with sensitive documents.

Risk: Read and download operations expose document content to the current agent session, terminal output, or local files.

Mitigation: Avoid using the skill with highly sensitive documents unless the execution environment and output handling are trusted.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/wscats/skills/tencent-docs-markdown)
- [Tencent Docs](https://docs.qq.com)
- [Tencent Docs desktop](https://docs.qq.com/desktop)
- [Python](https://www.python.org/)

## Skill Output:

**Output Type(s):** [Text, Markdown, Files, Shell commands, Configuration]

**Output Format:** [Markdown content, Tencent Docs URLs, local .md files, status text, and JSON-like command results]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires Tencent Docs session cookies stored in .cookies.json for authenticated operations.]

## Skill Version(s):

1.1.7 (source: package.json and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package.json

{
  "name": "tencent-docs-markdown",
  "version": "1.1.7",
  "description": "Tencent Docs Markdown Skill - Create, upload, download, and delete Markdown documents via natural language",
  "runtime": "python",
  "entrypoint": "python -m src.main",
  "scripts": {
    "install": "pip install --require-hashes -r requirements.txt 2>/dev/null || pip install -r requirements.txt && playwright install chromium",
    "publish": "./publish.sh",
    "publish:patch": "./publish.sh patch",
    "publish:minor": "./publish.sh minor",
    "publish:major": "./publish.sh major"
  },
  "python_dependencies": {
    "requests": "==2.32.3",
    "playwright": "==1.49.1",
    "click": "==8.1.8",
    "Pillow": "==11.1.0"
  },
  "credentials": {
    "cookie_file": {
      "path": ".cookies.json",
      "description": "Tencent Docs session cookies (sensitive). Auto-created on first login.",
      "permissions": "0600",
      "gitignored": true
    }
  },
  "license": "MIT"
}
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/wscats/skills/tencent-docs-markdown",
      "sourceUrl": "https://clawhub.ai/wscats/skills/tencent-docs-markdown",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T03:48:33.166Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-wscats-tencent-docs-markdown/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-wscats-tencent-docs-markdown/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T03:48:33.166Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "5.7K downloads",
      "href": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceUrl": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T03:48:33.166Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.1.7",
      "href": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceUrl": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-02T07:26:08.938Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-wscats-tencent-docs-markdown/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-wscats-tencent-docs-markdown/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.1.7",
      "description": "tencent-docs-markdown v1.1.7 - 增加本地凭证安全性,`.cookies.json` 保存时自动设置为 0600 权限,并在文档和命令行提示文件敏感性。 - 新增 `logout` 命令及编程接口(`clear_cookies()`),便于主动清除本地会话凭证。 - 关键操作(update/delete/rename)新增不可撤销保护,CLI 支持 `-y/--yes` 跳过确认,编程接口需显式 `confirm=True`。 - `requirements.txt` 运行时依赖增加版本锁定,提升安全性。 - 更新文档(SKILL.md),详细说明凭证管理、破坏性操作防护、新命令及安全注意事项。 - 新增 README.md 文件。",
      "href": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceUrl": "https://clawhub.ai/wscats/tencent-docs-markdown",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-02T07:26:08.938Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to 腾讯文档Markdown and adjacent AI workflows.