huawei-cloud-clouddocs-aipage

huawei-cloud-clouddocs-aipage is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 174 tokens per session (3,549 once invoked), scanned A, original, MIT.

A workflow that turns supplied topics, text, or points into an online page document and a local Word file. It creates the page with a command-line tool, returns its link, and exports a DOCX copy.

In plain words
What is it for?
Use it to create a shareable online page from Markdown content and keep a local DOCX backup. It supports creating a new page and optionally placing it under a specified parent document.
Why use it?
It removes the need to copy content between an editor, an online document service, and a local file. Its saved creation record prevents rerunning the workflow from creating a duplicate page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a shareable online page from Markdown content and keep a local DOCX backup. It supports creating a new page and optionally placing it under a specified parent document.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-clouddocs-aipage
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-clouddocs-aipage

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-clouddocs-aipage

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-clouddocs-aipage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00174 $0.03549
Opus 5.5 $0.00070 $0.01420
Sonnet 5.5 $0.00035 $0.00710
Haiku 4.5 $0.00017 $0.00355

Measured yesterday against content hash 7e749b5e93cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-clouddocs-aipage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (bin/windows/install-windows.ps1, scripts/_hws_cli.py, scripts/create_page.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/businessapps/doczip/huawei-cloud-clouddocs-aipage/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

huawei-cloud-clouddocs-aipage — 基于内容创建在线 page 文档(最基础版)

从 slide 技能裁剪出的最小 page 技能:用户给内容 → 模型生成 markdown → page +create 一次创建 → 交付链接 → file +export 导出本地 docx。只保留全新创建链路、导出收尾与幂等断点,不包含单块编辑、模板、批量等能力。

核心设计:生成 markdown → 一次创建 → 导出 docx ★

全程一条主链路,无分阶段渲染:

  1. 生成:模型根据用户原始需求构造 markdown,写入 <项目工作目录>/drafts/page.md(内容规范见 references/page-content.md)。
  2. 创建:create_page.py 读 markdown,经 clouddocs-cli page +create --title <t> --content <c> [--format 1] 一次创建在线 page 文档,落 created_doc.json 锚点,回吐 doc_id + doc_url。
  3. 交付:把 doc_url({base}/wapp/doc/<docId>)交给用户。
  4. 导出:clouddocs-cli file +export --document_id <doc_id> --export_type word 把在线文档导出为 docx 存到本地交付目录(创建后先等 10 秒,失败隔 10 秒重试一次,仍失败则放弃导出只交付链接)。

organization_id / wiki_id 由 CLI 自动解析(个人空间 + 默认文档库),脚本无需前置 space +fetch / docbase +fetch;可选 --parent-document-id 建到指定父文档(如 AI 创作文档)。幂等是关键护栏:created_doc.json 已在则重跑只回吐、绝不重复建文档。

草稿目录约定(drafts 一律建在项目工作目录)★

  • drafts 目录(page.md / created_doc.json / page.kpge 等中间产物)一律建在当前用户项目工作目录(会话 cwd / 调用方工作目录)下:<项目工作目录>/drafts/。
  • 禁止写入技能安装目录(~/.cac/skills/<技能名>/)或技能源码目录(<skills 源码仓库>/.../skills/<技能名>/)——技能目录是只读的规范与脚本,不属于任何一次具体运行。
  • 步骤 1 由模型用 Write 建 <项目工作目录>/drafts/page.md(Write 自动创建目录);脚本默认 --drafts-dir drafts,在项目工作目录运行即解析到 <项目工作目录>/drafts/。
  • created_doc.json(幂等锚点)与 page.kpge 随 drafts 一起落在项目工作目录,随会话交付物留存,可跨会话断点恢复。

用户交互铁律

向用户只输出:"正在生成文档内容..."(可选)/ "文档已创建:<链接>" / "本地Word:<本地路径>"(收尾)/ 简洁错误说明(导出失败时:「文档已创建:<链接>,本地 Word 导出失败」)。其余一律静默——技能名 / 脚本名 / 文件路径 / doc_id / 接口返回原文等内部状态全部不许出现。收尾只报本地文件路径,不附加文章内容概述/章节总结。

前置检查

  • CLI 已安装:command -v clouddocs-cli(Windows cmd/PowerShell 用 where clouddocs-cli / Get-Command clouddocs-cli)能定位到可执行文件;找不到则先按 <技能基目录>/bin/cli-installation-guide.md 安装子技能完成安装(仅支持 Windows,执行 bin/windows/install-windows.ps1,详见该子技能),装完再继续。
  • 认证:clouddocs-cli auth status 显示 ready;否则用「两步走」设备授权(禁止直接运行阻塞式 clouddocs-cli auth login——它打印 URL 后挂起轮询等待授权,命令不退出,被管道捕获时 URL 也不输出,会卡死):
    1. clouddocs-cli auth login --no-wait --json → 立即返回 JSON,取 verification_url 和 device_code;
    2. 自动打开授权页(Windows):powershell.exe -NoProfile -Command "Start-Process '<verification_url>'"(实测可靠弹出浏览器;若环境仍无法打开,把 URL 念给用户手动打开);
    3. 后台续接自动感知授权:发起授权后立即在后台运行 clouddocs-cli auth login --device-code <device_code>(该命令自带轮询,默认最多 240s)——用户授权成功那一刻后台任务自动完成登录并保存凭证,无需等用户通知;后台任务未结束期间把 URL 交给用户点授权。
  • 服务地址:clouddocs-cli config init --host <url>,或 ~/.clouddocs/config.json 已配置 base_url。
  • 排查用:在项目工作目录运行 python3 <技能基目录>/scripts/create_page.py --probe-auth(只看 base/鉴权,不发网络)。

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 147 lines · 174 tokens per session scan A 7e749b5e93cc

Subscribe to this mod's changes

huawei-cloud-clouddocs-aipage is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 174 tokens to every session and 3,549 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.

Related

Other skills, from other repositories

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

meta-web-to-pdf-briefing

Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.

opensquilla/opensquilla · 45 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens