TransWeb 应用助手
FreeRuns bundled scriptsNot checkedUse when the user wants to list, run, or chain transweb.cn AI apps, or generate web PPT, visual charts, 3D figure modeling, 3D animation, or mini-games. 需要…
by liuwenjin1,023 installs in other catalogsAbout this skill
TransWeb 通用 AI Skill
适用于任何支持 SKILL.md 的 Agent Skills 客户端;只依赖 python3,不绑定特定宿主。
用 transweb.cn 的 API Key 调用账号下的 AI Skill/应用,支持:
- 默认能力:生成网页版 PPT、可视化图表、3D 手办建模、3D 动画和小游戏。
- PPT 自动路由:当用户明确要求制作演示文稿(PPT/幻灯片/演示文稿/slides/deck/汇报材料/路演材料)时,直接用
ppt命令走演示文稿应用(固定76f7de9504bad022a8978e9fe084df0f),不需要先list。 - 列出可用应用,优先级:
- 先调
/user/getLoginedData,取自己账号下的pptItem.documentId; - 自己的应用没有匹配时,再调
/user/getPublishedList,取公开市场应用的documentId。
- 先调
- 单例执行:选择一个 ID,按需求生成结果。
- 串行执行:选择多个 ID,默认把上一步结果作为下一步输入。
- 返回链接:查询生成后自动归档的
questionData版本,取_id作为dataId,拼接?solo=true&dataView=true&dataId=...&id=<应用ID>。 - 访问权限:默认保持私有(不修改
isShare);仅当用户显式传入--share时才把每步存档设为公开可访问。
每次生成都会消耗账号积分,链式执行会按步数累计。
命令约定:下文命令以本 Skill 的 base directory 为工作目录。宿主加载 Skill 时会提供该目录的绝对路径。
创建 Agent/Skill 应用(资料转 Agent、需求转 Skill)已拆到
transweb-create技能。
安全与隐私
- 默认私有:每次生成的结果默认保持私有,不会自动公开或分享;只有显式加
--share才会把存档设为公开可访问。 - Key 不泄露:技能包不包含任何默认 API Key,也不会读取其他技能的 Key;Key 只保存在本地
0600权限的配置文件或环境变量中。 - 仅请求官方服务:所有请求固定发往官方
https://transweb.cn,不会把数据改向其他服务器。
离线预览(无 API Key / 沙箱 / 审核环境)
不需要 API Key、不发起任何网络请求、不读取账号、不消耗积分,即可完整演示本技能的工作流。
在无凭据环境里请优先用下面这些命令,而不是直接跑 list / run / ppt(后者会明确报 missing_key):
# 无参数离线演示完整工作流(list → run → ppt)
python3 scripts/transweb_ai.py demo --json
# 分别预览单个环节
python3 scripts/transweb_ai.py demo list --json
python3 scripts/transweb_ai.py demo run --json
python3 scripts/transweb_ai.py demo ppt --json
# 用自己的输入做预览(真实命令加 --dry-run 即可离线)
python3 scripts/transweb_ai.py ppt --input "做一份季度汇报 PPT" --dry-run --json
python3 scripts/transweb_ai.py run --ids 11111111111111111111111111111111 --input "先写大纲" --dry-run --json
python3 scripts/transweb_ai.py list --dry-run --json
预览返回结构化内容:可用应用清单、多步串联的执行顺序与输入输出传递、PPT 页大纲与生成步骤。
其中应用 ID 是示例数据(1111.../2222...),返回中 sample:true、created:false、
network:false、无真实链接,明确表示未访问账号、未创建任何文档。配置 Key 后去掉
--dry-run 即为真实执行。
平台审核可直接运行离线自检,全部通过返回 ok:true:
python3 scripts/transweb_ai.py selftest --json
配置
需要显式配置本技能自己的 Key。技能包不包含默认 API Key,也不会读取其他技能的 Key。检查:
python3 scripts/transweb_ai.py config show
configured: true:可直接用。- 否则让用户提供 transweb.cn API Key(
ak_live_...),或在自己的终端运行:
python3 scripts/transweb_ai.py configure --verify
Key 需要的 scope:
| scope | 用途 |
|---|---|
doc:read |
list 调用 /user/getLoginedData 等标注接口时校验 |
ai:chat |
run 调用 /gpt/aiGatewayRequest 时校验 |
account:read |
可选,whoami 调用 /user/getUserData 时校验 |
注意:当前只有显式声明 requiredScope 的接口会校验 scope。getPublishedList、getDocumentData、getAgentData、publishPptItem、setDocumentStatus、bucket 上传等不校验 scope;doc:write 目前没有接口使用,不能当作写权限边界。
配置文件位置(权限 0600,按优先级从高到低):
- 自定义:
--config <path>/TRANSWEB_CONFIG(最高优先级) - 用户级:
~/.config/transweb-ai/config.json(遵循XDG_CONFIG_HOME) - 旧版用户级兼容:
~/.dsh/transweb-ai.json - 项目通用:
<项目>/.transweb-ai.json或<项目>/.transweb/transweb-ai.json(仅当无用户级配置时使用) - 旧版项目兼容:
<项目>/.dsh/transweb-ai.json
配置文件支持多个 Key profile。
换 API Key / 多账号切换
# 替换当前 profile 的 Key(最常用)
python3 scripts/transweb_ai.py configure --api-key ak_live_NEW --verify
# 新建一个 profile 并切过去
python3 scripts/transweb_ai.py configure --profile work --api-key ak_live_WORK --verify
# 查看所有 profile(Key 已脱敏)
python3 scripts/transweb_ai.py config list
# 切换当前 profile
python3 scripts/transweb_ai.py config use work
python3 scripts/transweb_ai.py config use default
# 删除非当前 profile
python3 scripts/transweb_ai.py config remove work
# 只对单次命令使用某个 profile,不改全局 active
python3 scripts/transweb_ai.py ppt --profile work --input "..."
python3 scripts/transweb_ai.py list --profile work --query "PPT"
- 默认 profile 名为
default;旧版扁平配置({apiKey, baseUrl})会自动识别为default。 configure不带--profile时更新当前 active profile;带--profile时创建/更新该 profile 并设为 active。- 单次命令的
--api-key/TRANSWEB_API_KEY优先级最高,临时换 Key 不必写配置。 TRANSWEB_PROFILE=work可在环境变量层指定 profile。config path显示当前实际读取的配置文件;configure/config use会写入当前解析到的配置路径。
离线自检(审核/沙箱)
不需要 API Key,不发起网络请求:
python3 scripts/transweb_ai.py selftest --json
python3 scripts/transweb_ai.py --version
检查 Python 版本、包内文件、frontmatter 必需字段、依赖与密钥泄漏;沙箱/平台审核可先运行这一条。
PPT 需求:自动映射
当用户明确要求制作演示文稿(例如说“做个 PPT”“把这份报告做成幻灯片”“做一份路演材料”“生成演示文稿”等)时,直接用 ppt 命令,不要先 list 选应用:
python3 scripts/transweb_ai.py ppt --input "主题、章节、每页要点或完整需求描述" --json
- 固定使用官方「演示文稿」应用
76f7de9504bad022a8978e9fe084df0f。 - 输入可以是完整大纲(推荐)或一句需求;输出 Reveal.js 演示文稿并返回链接。
- 支持
--file/--stdin、--wait、--timeout、--share。 - 成功返回:
{
"ok": true,
"link": "https://transweb.cn/?solo=true&dataView=true&dataId=...&id=76f7...",
"dataId": "...",
"documentId": "76f7de9504bad022a8978e9fe084df0f",
"title": "演示文稿标题",
"slides": 12,
"pointsCost": 250,
"archived": true,
"accessible": true,
"elapsedMs": 113000
}
ppt 命令内部仍然是:生成 → 查询存档 → 设置访问权限 → 拼接链接;只是固定了应用 ID,并额外解析 title / slides。
原
transweb-ppt技能已
Install TransWeb 应用助手 in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the TransWeb 应用助手 skill do?
Use when the user wants to list, run, or chain transweb.cn AI apps, or generate web PPT, visual charts, 3D figure modeling, 3D animation, or mini-games. 需要 transweb.cn API Key(ak_live_...)。安装使用 transweb-create 后可无限拓展新功能,打造个人专属智能工具集。
How do I install the TransWeb 应用助手 skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the TransWeb 应用助手 skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic