Claude-Guardian
Claude Guardian is an all-in-one Claude account safety and risk prevention skill. It intelligently assesses your device, account history, network environment, and payment options, then provides person
上传底稿,梳理叙事,生成页面,导出可编辑 PPTX。速来得把已有材料整理成专业、可继续编辑的汇报。
Translation pending
SkillsPythonGitHub @univteamOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
速来得 AI PPT 助手:sulaide CLI 与 Agent skill,让 Claude Code、Codex 等编码 Agent 把底稿变成可编辑的专业 PPT
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
把已有材料,变成一份专业、可编辑的汇报。 速来得面向需要把研究底稿、汇报材料、企业文档快速转成专业演示文稿的人:企业汇报、咨询分析、市场研究、投融资材料、教学培训等场景中,有底稿和业务判断、但缺少时间或设计资源完成版式与 PPTX 封装的内容生产者。 上传底稿,梳理叙事,生成页面,导出可编辑 PPTX —— 交付的是 PPTX,不是一次性图片。 1. 底稿上传:导入 Word、PDF、PPTX、表格或直接粘贴文本。 2. 叙事分析:先确认故事线、页面职责和主要结论。 3. 报告预览:逐页检查版式、文字和内容图,随时重新生成。 4. PPTX 导出:带着母版、Logo、页脚和可编辑文字一起交付。 本仓库是速来得 Agent API 的命令行客户端 sulaide,以及配套的 sulaide skill。装好后,Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot 等编码 Agent 可以直接帮你把材料做成 PPT:登录 → 上传底稿 → 叙事分析 → 预览 → 导出 PPTX。 需要先安装 uv。 登录后 Key 保存在 ~/.sulaide/auth.json(目录 0700,文件 0600),工作流命令会自动使用。密码只会交互输入,不接受命令行参数。Read the full README ↗
🤖 AI 助手 / AI agents:用户让你安装或配置本工具时,请直接按 给 AI 助手的安装说明 执行。
把已有材料,变成一份专业、可编辑的汇报。
速来得面向需要把研究底稿、汇报材料、企业文档快速转成专业演示文稿的人:企业汇报、咨询分析、市场研究、投融资材料、教学培训等场景中,有底稿和业务判断、但缺少时间或设计资源完成版式与 PPTX 封装的内容生产者。
上传底稿,梳理叙事,生成页面,导出可编辑 PPTX —— 交付的是 PPTX,不是一次性图片。
👉 立即体验:www.sulide.com.cn
本仓库是速来得 Agent API 的命令行客户端 sulaide,以及配套的 sulaide skill。装好后,Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot 等编码 Agent 可以直接帮你把材料做成 PPT:登录 → 上传底稿 → 叙事分析 → 预览 → 导出 PPTX。
用户把本仓库链接发给你并说"帮我 setup / 安装 / 配置"时,按下面的步骤依次执行。每一步都可以直接复制运行,执行后先检查结果再进行下一步。 If the user shares this repo and asks you to set it up, run these steps in order. Each step is copy-pasteable; check its result before moving on.
1. 检查 / 安装 uv
uv --version
如果找不到 uv,按系统安装(安装后可能需要新开终端,或按第 7 步处理 PATH):
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# 或 macOS Homebrew
brew install uv
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2. 安装 CLI
uv tool install git+https://github.com/univteam/sulaide-cli.git
已经装过时会提示已安装,这时改用 sulaide update(见第 6 步)。
3. 验证
sulaide --version
应输出类似 sulaide 0.3.0@<提交>。如果提示找不到命令,先看第 7 步。
4. 把 skill 装到你自己(当前 Agent)
sulaide skills install --agent <name>
<name> 取当前 Agent:claude(Claude Code)、codex、cursor、gemini(Gemini CLI)、copilot(GitHub Copilot CLI)、opencode、windsurf、amp、pi、hermes;其他读取 ~/.agents/skills 的 Agent 用 agents。不带 --agent 会装到所有检测到的 Agent;sulaide skills list 可查看检测结果和安装状态。若目标目录已有非 sulaide 安装的同名 sulaide 目录,命令会跳过它;先问用户,再决定是否加 --force。装完后提醒用户:部分 Agent 需要重启或新开会话才能加载新 skill。
5. 登录(必须由用户本人输入密码或 Key)
不要让用户把密码或 API Key 粘贴到对话里,也不要把它们写进命令参数、文件或日志。让用户在自己的终端里运行下面其中一种(在 Claude Code 里可以让用户输入 ! sulaide auth login):
sulaide auth login # 已有账号:输入用户名/邮箱,密码不回显;会自动创建并保存 Agent API Key
sulaide auth register # 没有账号:交互式注册(需同意条款、可能需要邮箱验证码)
或者让用户在自己的环境/密钥管理里设置 SULAIDE_API_KEY(在网页「账户 → API Keys」创建)。Key 保存在 ~/.sulaide/auth.json(权限 0600),不要读取或打印这个文件。
6. 验证登录与余额
sulaide auth status # 成功时返回已启用的能力;401 表示未登录或 Key 失效
sulaide credits --human # 可用积分
以后升级:sulaide update(升级 CLI 并刷新已安装的 skill;sulaide update --check 只检查不安装)。
7. 常见问题
sulaide: command not found:uv 的工具目录不在 PATH 中。运行 uv tool update-shell,然后新开终端;当前终端可临时执行 export PATH="$(uv tool dir --bin):$PATH"(Windows 新开 PowerShell 即可)。uv: command not found(刚装完):新开终端,或执行 source $HOME/.local/bin/env(macOS / Linux)。AGENT_API_DISABLED:服务端暂时关闭了 Agent API,稍后再试。sulaide packages --human 查看套餐,sulaide topup --package <ID> --open 由用户自己用支付宝付款,或 sulaide topup --web 打开网页充值。8. 完成后告诉用户
sulaide --version)、skill 装到了哪个 Agent,是否需要重启 Agent。需要先安装 uv。
uv tool install git+https://github.com/univteam/sulaide-cli.git
# 升级(推荐;会同时刷新已安装的 skill)
sulaide update
# 手动升级:始终从 main 重装(对固定到分支/提交的安装也有效)
uv tool install --force git+https://github.com/univteam/sulaide-cli.git
# 不安装、临时运行一次
uvx --from git+https://github.com/univteam/sulaide-cli.git sulaide auth status
# 本地 checkout 中安装
uv tool install .
sulaide auth register # 注册账号并初始化 CLI 访问
sulaide auth login # 登录已有账号,创建个人 Agent API Key
sulaide auth status # 查看当前启用的能力
sulaide auth invite-code # 查看本账户邀请码(注册时自动缓存,可转发给他人)
sulaide auth logout # 删除本地保存的 Key
sulaide credits # 查询剩余积分(JSON);--human 输出一行中文摘要
sulaide coupons --status available --human # 查询卡券(只读,可按状态筛选)
sulaide packages --human # 列出全部充值套餐(ID、名称、价格、积分、优惠);等同 `sulaide topup packages`
sulaide topup --human # 不带 --package 时同样列出套餐并提示如何下单
sulaide topup --package 3 --open # 生成支付宝付款链接并在浏览器打开,等待到账后显示新余额
sulaide topup --status <订单号> --human # 查询充值订单状态
sulaide topup --web # 只打开官网充值页
sulaide update # 通过 uv 升级 CLI 并刷新已安装的 skill(--no-skills 跳过)
sulaide update --check # 只检查是否有新版本(对比本地提交与 GitHub main 最新提交)
sulaide --version # 显示版本与 git 提交
sulaide feedback -m "导出时报 500" --error "<错误输出>" # 反馈问题:提交到速来得平台(别名 sulaide issue)
sulaide feedback --list # 查看自己反馈的处理状态
登录后 Key 保存在 ~/.sulaide/auth.json(目录 0700,文件 0600),工作流命令会自动使用。密码只会交互输入,不接受命令行参数。
sulaide styles list # 可用母版及 ID
sulaide projects create --title "Q2 复盘" --language zh
sulaide source set PROJECT_ID --file deck.md --expected-revision 0 \
--target-pages 8 --narrative rigorous --style-id 5 --language zh --title "Q2 增长经营复盘"
sulaide analysis start PROJECT_ID --expected-revision 1 --structure-requirements "按问题、证据、建议组织"
| 选项 | 参数 | 不传时 |
|---|---|---|
| 项目标题 | projects create --title / source set --title | 新PPT |
| 输出语言 | --language zh|en | 沿用项目语言;新项目 zh |
| 页数设定(严格按页数,不自动增减) | source set --target-pages N(1–50),analysis start --page-count N(同样 1–50)可单次覆盖 | 沿用已保存值;skill 新建确认时默认 5 页、展示网站的 1–30 范围 |
| 母版 | source set --style-id ID;--clear-style 明确清除,两者互斥 | 沿用项目冻结母版;新项目默认固定层 |
| 叙事偏好 | --narrative rigorous(严谨架构)| fluent(流利表达) | 沿用已保存值;新项目严谨架构 |
| 结构要求 | analysis start --structure-requirements | 无 |
不兼容变更:Agent API 的
PUT /projects/{id}/source不再接受page_count(改名为source_page_count,表示底稿本身页数;目标页数是target_page_count),并拒绝未知字段。请用sulaide update升级 CLI。
sulaide layout show PROJECT_ID # 页面列表 + 编辑版本(presentation_version_id / manifest_revision)
sulaide pages edit PROJECT_ID 2 --title "新标题" --visual-style luxury_brand --title-width 800 \
--expected-version VERSION_ID --expected-revision REV
sulaide pages add|delete|duplicate|move ... # 新增 / 删除 / 复制 / 上移下移
sulaide pages split PROJECT_ID 3 --at 120 # 按正文字符位置拆分,AI 重写两页标题
sulaide pages merge PROJECT_ID 4 # 第 4 页合并到第 3 页
sulaide pages reanalyze PROJECT_ID 2 --instruction "突出数据" \
--expected-version VERSION_ID --expected-revision REV
sulaide visual-styles list # 视觉风格 ID
sulaide pages regenerate PROJECT_ID 2 --prompt "更简洁" # 重新生成本页图片(消耗积分)
sulaide pages edit-image PROJECT_ID 2 --prompt "主色改成蓝色" # 按指令改图(消耗积分)
sulaide pages images PROJECT_ID SLIDE_ID # 图片历史;restore-image 恢复
sulaide theme set PROJECT_ID --primary "#1F4E79" --apply-section-template
sulaide export check PROJECT_ID --version-id V --manifest-hash H # 导出前质量检查
--expected-version / --expected-revision 来自 layout show(pages reanalyze 同样接受这两个参数,并传给重新分析接口)。版本已被别人改过时,服务端返回 HTTP 409 PRESENTATION_VERSION_CONFLICT,CLI 退出码 3。版式规则不满足(例如删除最后一页、跨章节移动、宽度越界)是真实的 HTTP 4xx(常见 400/422),CLI 经 ApiError 退出码 2,不是「只有版本不一致才会失败」。
显式 --request-id 只用于重试同一条写命令。不要在 pages add 与 pages duplicate(以及 delete、move、edit、reanalyze 等不同动词)之间复用同一个 id。后端已按 operation_type:operation_id 生成 slide_id,相同 request id 不再因此撞页;但不同请求体仍会触发幂等冲突(HTTP 409,退出码 3)。省略该参数时,CLI 会为每条命令单独生成 id。
以下是底层 CLI 已有能力。本期 sulaide skill 的会话流程只支持普通 PPT,可编辑导出的交互和转换暂不纳入;不会主动提供转换方式或页码选项。
# native(默认):用生成的页面图片拼成 PPTX,最快;没有 run_id,按版本 + manifest hash 直接下载
sulaide export start PROJECT_ID --version-id VERSION_ID --manifest-hash HASH --mode native
sulaide export download PROJECT_ID VERSION_ID HASH --output deck.pptx
# text_editable(图片 + 可编辑文本框)/ full_editable(完全重建为可编辑形状和文字,最慢):会返回 run_id
sulaide export start PROJECT_ID --version-id VERSION_ID --manifest-hash HASH --mode full_editable --page-numbers 1,2,3
sulaide wait OPERATION_ID
sulaide export download PROJECT_ID VERSION_ID HASH --run-id RUN_ID --output deck.pptx
--run-id 只在可编辑模式下需要,不要把 operation ID 当 run_id 传。下载时,服务端返回错误(包括 HTTP 200 + 非零 code)CLI 会直接报错,不会写文件;只有真正的 PPTX(ZIP)才会落盘。
sulaide projects list # 查看已有项目
sulaide resources list PROJECT_ID # 查看项目资源库中的资源版本
sulaide resources list PROJECT_ID --resource-type export_pptx # 按类型筛选(upload / narrative_analysis / generated_image / export_pptx / export_pdf)
sulaide resources download RESOURCE_VERSION_ID --output FILE # 下载资源库中的一个资源版本
resources download 不会覆盖已存在的文件(先写 .part 再原子改名),输出为 JSON(path、size_bytes、filename 等)。
| 变量 | 说明 |
|---|---|
SULAIDE_BASE_URL | API 地址,默认生产环境 https://www.sulide.com.cn。可通过该变量指向其他部署(如 https://api.example.com)。远程地址必须是 HTTPS(localhost 可用 HTTP)。 |
SULAIDE_API_KEY | 直接注入的 Agent API Key,优先于本地保存的 Key。托管 Agent 运行时请通过其密钥存储注入。 |
SULAIDE_STATE_DIR | 本地状态目录,默认 ~/.sulaide。 |
不要把 Key 写进 prompt、shell 历史、skill 文件或交接文档。
sulaide skill只有一个 skill:skills/sulaide/。用户只需启用 sulaide,它会按需读取 references/ 下的分步指南:
默认在当前会话分阶段确认:集中选择母版、叙事风格、页数和语言 → 审阅大纲与各页视觉风格 → 查看生成预览并调整 → 导出普通 PPT。已明确的选择会沿用;只有用户明确要求全自动才跳过普通阶段确认。预览确认与导出合并,不再询问导出模式或转换页码。本期暂不实现可编辑导出交互;用户明确提出时先说明范围,不能未经同意替换为普通 PPT。
母版和二进制底稿仍需到网站上传,上传完成后回到同一项目继续。选项来自网站现有能力与实时目录,不会把 CLI 参数逐项变成问卷。
宿主模型负责通用对话、选项解释、阶段确认和结果展示;叙事分析、视觉风格推荐与生图通过 CLI 交给速来得服务执行。不会为消耗宿主套餐额度而把这些生成环节迁到本地,也不会把本地生成的草稿冒充为速来得产物。通用对话使用宿主账户额度,速来得模型和图片调用仍消耗速来得积分。
公开 skill、CLI 文件和返回数据都应视为用户可检查的内容。私有生成提示词、内部方法和评分规则留在服务端,不作为客户端资源下载;接口只应返回用户需要的产品结果和公开状态。不要把内部调试输出、原始模型请求/响应或私有资料加入本仓库、分发包和反馈附件。客户端提示“不展示”不能代替服务端过滤,也不能保证仅凭产物无法推断生成方法。
| 步骤 | 文件 | 内容 |
|---|---|---|
| 会话协议 | references/interaction.md | 阶段确认、已有选择复用、全自动和中断恢复 |
| 网站选项 | references/web-options.md | 网站名称与 CLI 值、动态目录和上传边界 |
| 登录 | references/login.md | 安装检查、注册/登录、安全保存 API Key、sulaide auth status 验证 |
| 项目 | references/projects.md | sulaide projects list 获取项目列表,projects show 查看详情,复用或新建项目 |
| 资源库 | references/resources.md | sulaide resources list 查看项目资源库,resources download 下载资源文件 |
| 1. 素材 | references/source.md | 准备或更新项目素材(文本) |
| 2. 分析 | references/analysis.md | 运行或恢复叙事分析,返回大纲和执行状态 |
| 3. 预览 | references/preview.md | 生成并检查演示预览,含逐页成功/失败状态 |
| 4. 导出 | references/export.md | 基于冻结的演示版本校验并下载 PPTX |
SKILL.md 还包含前置条件、路由规则和常见错误(401、503 AGENT_API_DISABLED、限流、冲突、积分不足等)。references/*.md 没有 frontmatter,Agent 不会把它们列为独立 skill。
sulaide auth status 中的 source_settings_patch 和 review_identity_guards 表明服务端支持省略设置保留、审阅版本保护。新 skill 遇到旧服务会说明升级或网站继续路径,不会静默去掉保护。普通旧 CLI 调用仍可使用。生成时可传 --expected-source-revision、--expected-editing-version、--expected-manifest-revision(原 --expected-version 仍表示 active 版本);改图命令可传 --expected-version、--expected-revision、--expected-slide-id。过期前提会返回冲突,应回读并重新审阅。
真实宿主对话测试与人工检查方法见 conversation-evaluation.md。
| Agent | 安装(一次) | 更新 |
|---|---|---|
| Claude Code | /plugin marketplace add univteam/sulaide-cli 然后 /plugin install sulaide@sulaide | /plugin marketplace update sulaide |
| Codex | codex plugin marketplace add univteam/sulaide-cli && codex plugin add sulaide@sulaide | codex plugin marketplace upgrade sulaide |
| GitHub Copilot CLI | copilot plugin marketplace add univteam/sulaide-cli && copilot plugin install sulaide@sulaide | copilot plugin update sulaide@sulaide |
| Gemini CLI | gemini extensions install https://github.com/univteam/sulaide-cli | gemini extensions update sulaide |
| Cursor | 团队管理员在 Dashboard → Plugins 导入本仓库(.cursor-plugin/);或用下方 CLI 命令 | 同左 / sulaide skills update |
OpenCode、Windsurf、Amp、Pi、Hermes 及其他读取 ~/.agents/skills 的 Agent | sulaide skills install | sulaide skills update |
sulaide skills 命令没有插件系统的 Agent,直接用 CLI 把随包附带的 skill 复制到它们的 skill 目录(uv tool install 会带上 skill 文件):
sulaide skills list # 查看检测到的 Agent 和安装状态
sulaide skills install # 安装到自动检测到的所有 Agent
sulaide skills install --agent opencode # 只装某一个,可重复 --agent
sulaide skills install --all # 装到所有已知 Agent 目录
sulaide update # 升级 CLI 并刷新已安装的 skill
sulaide skills uninstall --agent opencode
支持的 --agent:claude、codex、cursor、gemini、copilot、opencode、windsurf、amp、pi、hermes、agents(通用 ~/.agents/skills)。不会覆盖不是由 sulaide 安装的同名目录,除非加 --force。旧版本单独安装的 sulaide-source 等目录,只要带有 sulaide 安装标记,会在 install/update/uninstall 时自动清理;没有标记的同名目录不会被动。
uv run scripts/package-workflow-skills.py # 输出 dist/workflow-skills/sulaide-<版本>.zip
skills/ 是唯一的 skill 源。各 Agent 的插件清单(plugin.json、.claude-plugin/、.codex-plugin/、.agents/plugins/、.cursor-plugin/、gemini-extension.json)都由 pyproject.toml 的版本号生成,改版本后运行:
uv run scripts/sync-plugin-manifests.py
CI 会用 --check 校验清单没有过期,并用官方 schema 校验 Agent Plugins / Cursor 清单、用 claude plugin validate 校验 Claude Code 清单。
uv sync
uv run pytest
/api/agent/v1/*),使用个人 Agent API Key 认证,费用从账户积分扣除,Key 不会单独产生余额,也不继承管理员权限。sulaide auth register / sulaide auth login 会自动创建并保存 Key。sulaide auth status 查看当前启用的能力。sulaide credits 调用只读的 GET /api/agent/v1/credits,返回 Key 所属账户的 available 与 balance;若服务端尚未提供该接口会返回 404。sulaide coupons 调用只读的 GET /api/agent/v1/coupons,列出账户的卡券(名称、金额、状态、有效期),可用 --status available|not_started|used|expired|voided 筛选;不返回兑换码,也不能通过 CLI 兑换或使用卡券。sulaide update:如果当前安装跟随 main,先跑 uv tool upgrade sulaide-cli;若安装固定在某个分支/提交、来自本地 checkout,或升级失败/版本提交没变,则跑 uv tool install --force git+https://github.com/univteam/sulaide-cli.git(会把固定到某个提交的安装改回跟随 main)。输出旧版本 -> 新版本,然后用新安装的 CLI 执行 sulaide skills update 刷新已安装的 skill。需要已安装 uv,且 CLI 是用 uv tool install 装的。--check 只查询 GitHub,不安装;若安装固定在某个 ref 会返回 pinned_ref。注意:
uv tool upgrade sulaide-cli只会重新解析安装时指定的 ref。如果当初是用...sulaide-cli.git@某分支或某个提交装的,它会一直提示 "Nothing to upgrade"。这种情况请用sulaide update或uv tool install --force git+https://github.com/univteam/sulaide-cli.git。
sulaide feedback(别名 issue):把问题或建议提交到速来得平台(POST /api/agent/v1/feedback,使用当前 API Key,无需 GitHub 账号),仅你和速来得团队可见。--type bug|feature|question,--title,-m/--body,--error(--error - 从标准输入读取),--dry-run 只预览不提交,--list 查看自己提交过的反馈和处理状态(待处理/处理中/已解决/已关闭),网页端在「问题反馈」页查看。自动附带 CLI 版本/提交、操作系统、Python 版本;接口地址只在是官方默认地址时写出,否则写 <custom>。API Key(sul_...)、Token、JWT、Authorization 头、key=... 和邮箱会被替换掉(服务端也会再脱敏一次),描述和错误输出各超过约 6000 字符会截断。sulaide topup:CLI 不会直接扣款。--package 会为 Key 所属账户创建一笔待支付订单(POST /api/agent/v1/topup/orders),服务端返回支付宝官方付款链接(只接受 alipay.com 域名),你在浏览器里用支付宝完成付款;CLI 每 3 秒查询一次订单(GET /api/agent/v1/topup/orders/{order_no}),确认到账后输出新余额,默认最多等 900 秒(--timeout)。--qr 在终端打印二维码(需 uv tool install --with qrcode ...),--no-wait 只输出链接。同一账户 1 小时内最多 5 笔未支付订单;不支持在 CLI 中使用优惠券,需要用券请走 --web。sulaide resources list / resources download)读取并下载项目的资源版本:源底稿、叙事分析稿、生成图片、导出 PPTX/PDF。Sulaide (速来得) is an AI PPT assistant that turns your existing material into a professional, editable presentation. Upload a draft (Word, PDF, PPTX, spreadsheets, or pasted text), confirm the narrative and page roles, review and regenerate pages, then export an editable PPTX with your master slides, logo, footer, and editable text — not a one-off image.
This repository provides the sulaide CLI for the Sulaide Agent API and a sulaide agent skill, so coding agents such as Claude Code, Codex, Cursor, Gemini CLI, and GitHub Copilot can run the workflow for you. Install with uv tool install git+https://github.com/univteam/sulaide-cli.git; see the install table above for one-step plugin setup. AI agents: follow the numbered steps in 给 AI 助手的安装说明 / For AI agents.
Website: www.sulide.com.cn · Sign up · Log in · License: Apache-2.0