{"id":"ef2d5b49-6f3e-49e2-9dd6-c80fdd9e2de6","entityType":"agent","slug":"clawhub-arthurqwang-ahkb-cps","name":"AHKB-CPS — 阿色全息知识库建产系统","canonicalUrl":"https://www.xpersona.co/agent/clawhub-arthurqwang-ahkb-cps","canonicalPath":"/agent/clawhub-arthurqwang-ahkb-cps","generatedAt":"2026-10-09T14:04:28.922Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":null},"description":"基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Skill: AHKB-CPS — 阿色全息知识库建产系统 Owner: arthurqwang Summary: 基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-29T08:30:32.544Z | auto AHKB-CPS v0.1.0 — 首个公开版本发布 - 全面发布阿色全息知识库建产系统，支持本地知识库构建与多场景内容生产 - 新增小A博士（Dr. A）身份，自我介绍和操作身份规则 - 实现统一主菜单和智能路由，支持 5 大模块：技能向导、知识库构建、文章生成、幻灯片生成、全息脑图生成 - 严格执行进度透明、全自动不中断、交互选项编号、思考过程可见等操作铁律 - 增加自动环境检测、依赖安装、系统版本在线检查与权限提醒 - 完善各模块指令加载规范、文件输出统一","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 3K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17agr6s1jt5q57ya4aw8mm2518bfm8b:ahkb-cps","sourceUrl":"https://clawhub.ai/arthurqwang/ahkb-cps","homepage":"https://clawhub.ai/arthurqwang/skills/ahkb-cps","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/arthurqwang/ahkb-cps","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/arthurqwang/skills/ahkb-cps","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":69,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Skill: AHKB-CPS — 阿色全息知识库建产系统 Owner: arthurqwang Summary: 基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":null},"stars":null,"forks":null,"downloads":2963,"packageName":null,"latestVersion":"0.1.0","tractionLabel":"3K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T10:32:03.437Z","lastCrawledAt":"2026-10-09T10:32:03.437Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T10:32:03.437Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.0","createdAt":"2026-07-29T08:30:32.544Z","changelog":"AHKB-CPS v0.1.0 — 首个公开版本发布 - 全面发布阿色全息知识库建产系统，支持本地知识库构建与多场景内容生产 - 新增小A博士（Dr. A）身份，自我介绍和操作身份规则 - 实现统一主菜单和智能路由，支持 5 大模块：技能向导、知识库构建、文章生成、幻灯片生成、全息脑图生成 - 严格执行进度透明、全自动不中断、交互选项编号、思考过程可见等操作铁律 - 增加自动环境检测、依赖安装、系统版本在线检查与权限提醒 - 完善各模块指令加载规范、文件输出统一规则及使用建议","fileCount":215,"zipByteSize":8054457}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17agr6s1jt5q57ya4aw8mm2518bfm8b:ahkb-cps","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T14:04:28.921Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-arthurqwang-ahkb-cps/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":null},"readme":"Skill: AHKB-CPS — 阿色全息知识库建产系统\n\nOwner: arthurqwang\n\nSummary: 基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。\n\nTags: latest:0.1.0\n\nVersion history:\n\nv0.1.0 | 2026-07-29T08:30:32.544Z | auto\n\nAHKB-CPS v0.1.0 — 首个公开版本发布\n\n- 全面发布阿色全息知识库建产系统，支持本地知识库构建与多场景内容生产\n- 新增小A博士（Dr. A）身份，自我介绍和操作身份规则\n- 实现统一主菜单和智能路由，支持 5 大模块：技能向导、知识库构建、文章生成、幻灯片生成、全息脑图生成\n- 严格执行进度透明、全自动不中断、交互选项编号、思考过程可见等操作铁律\n- 增加自动环境检测、依赖安装、系统版本在线检查与权限提醒\n- 完善各模块指令加载规范、文件输出统一规则及使用建议\n\nArchive index:\n\nArchive v0.1.0: 215 files, 8054457 bytes\n\nFiles: .clawscan-allow (615b), .gitignore (95b), core (0b), core/kb2slides.py (35358b), guide (0b), guide/guide.md (5495b), guide/scripts (0b), guide/scripts/ah_chat_search.py (9843b), guide/scripts/requirements.txt (13b), kb (0b), kb/kb.md (54288b), kb/scripts (0b), kb/scripts/ahkb_build_kg_html.py (17572b), kb/scripts/ahkb_chunk_match.py (10943b), kb/scripts/ahkb_chunks.py (10556b), kb/scripts/ahkb_crosslink.py (60235b), kb/scripts/ahkb_extract_docx.py (13345b), kb/scripts/ahkb_extract_md.py (20463b), kb/scripts/ahkb_extract_pdf.py (4007b), kb/scripts/ahkb_extract_pptx.py (16349b), kb/scripts/ahkb_extract_xlsx.py (6719b), kb/scripts/ahkb_manage_resources.py (56158b), kb/scripts/ahkb_purge.py (3249b), kb/scripts/ahkb_set_project.py (17250b), kb/scripts/ahkb_trash.py (1693b), kb/scripts/ahkb.py (141983b), kb/scripts/requirements.txt (98b), kb/scripts/知识地图模板.html (315572b), LICENSE (1293b), mm (0b), mm/ahmm_launcher.html (4961b), mm/ahmm.html (642700b), mm/mm.md (12053b), ppt (0b), ppt/ppt.md (21648b), ppt/references (0b), ppt/references/animations.md (7708b), ppt/references/authoring-guide.md (5128b), ppt/references/full-decks.md (8614b), ppt/references/layouts.md (4043b), ppt/references/presenter-mode.md (9933b), ppt/references/themes.md (5264b), ppt/scripts (0b), ppt/scripts/build-ppt.py (6928b), ppt/scripts/img2b64.py (7223b), ppt/scripts/inline-fulldecks.py (3562b), ppt/scripts/verify-output (0b), ppt/scripts/verify-output.py (18003b), ppt/scripts/verify-output/animation-showcase (0b), ppt/scripts/verify-output/animation-showcase/animation-showcase_01.png (70158b), ppt/scripts/verify-output/animation-showcase/animation-showcase_02.png (60871b), ppt/scripts/verify-output/animation-showcase/animation-showcase_03.png (51743b), ppt/scripts/verify-output/animation-showcase/animation-showcase_04.png (65448b), ppt/scripts/verify-output/animation-showcase/animation-showcase_05.png (323369b), ppt/scripts/verify-output/animation-showcase/animation-showcase_06.png (123066b), ppt/scripts/verify-output/animation-showcase/animation-showcase_07.png (143851b), ppt/scripts/verify-output/animation-showcase/animation-showcase_08.png (212288b), ppt/scripts/verify-output/animation-showcase/animation-showcase_09.png (118088b), ppt/scripts/verify-output/animation-showcase/animation-showcase_10.png (90377b), ppt/scripts/verify-output/animation-showcase/animation-showcase_11.png (64360b), ppt/scripts/verify-output/animation-showcase/animation-showcase_12.png (61284b), ppt/scripts/verify-output/animation-showcase/animation-showcase_13.png (70647b), ppt/scripts/verify-output/animation-showcase/animation-showcase_14.png (82210b), ppt/scripts/verify-output/animation-showcase/animation-showcase_15.png (174184b), ppt/scripts/verify-output/animation-showcase/animation-showcase_16.png (254013b), ppt/scripts/verify-output/animation-showcase/animation-showcase_17.png (65712b), ppt/scripts/verify-output/animation-showcase/animation-showcase_18.png (194298b), ppt/scripts/verify-output/animation-showcase/animation-showcase_19.png (72230b), ppt/scripts/verify-output/animation-showcase/animation-showcase_20.png (91487b), ppt/scripts/verify-output/theme-showcase (0b), ppt/scripts/verify-output/theme-showcase/theme-showcase_01.png (80488b), ppt/scripts/verify-output/theme-showcase/theme-showcase_02.png (96819b), ppt/scripts/verify-output/theme-showcase/theme-showcase_03.png (93303b), ppt/scripts/verify-output/theme-showcase/theme-showcase_04.png (69156b), ppt/scripts/verify-output/theme-showcase/theme-showcase_05.png (86469b), ppt/scripts/verify-output/theme-showcase/theme-showcase_06.png (89254b), ppt/scripts/verify-output/theme-showcase/theme-showcase_07.png (84258b), ppt/scripts/verify-output/theme-showcase/theme-showcase_08.png (89203b), ppt/scripts/verify-output/theme-showcase/theme-showcase_09.png (77582b), ppt/scripts/verify-output/theme-showcase/theme-showcase_10.png (83120b)\n\nFile v0.1.0:SKILL.md\n\n---\nname: ahkb-cps\ndescription: AHKB-CPS — 阿色全息知识库建产系统。Arthur's Holographic Knowledge Base Construction & Production System。统一的本地知识库建产平台，将任意文档构建为全息知识库，再消费为幻灯片、文章、全息脑图等多种产出。Use when the user asks to build a knowledge base, write articles, generate PPT/slides, create mind maps, or any knowledge-related task. Triggers: \"知识库\", \"构建知识库与知识地图\", \"入库\", \"写文章\", \"生成文档\", \"做PPT\", \"幻灯片\", \"演讲\", \"脑图\", \"思维导图\", \"全息脑图\", \"帮我\", \"怎么用\", \"AHKB\", \"AHKB-CPS\".\n---\n\n# 🧭 AHKB-CPS — 阿色全息知识库建产系统\n\n> Arthur's Holographic Knowledge Base Construction & Production System\n> 🔖 系统版本：**0.1.0** | 远程仓库：`github.com/arthurqwang/ahkb-cps`\n\n**AHKB-CPS** 是一套基于大模型的本地知识库建产系统。将任意文档构建为全息知识库，再消费为幻灯片、文章、全息脑图等多种产出。由【大系统观开放论坛】提供，MIT 开源。\n\n> 🔴 **全局交互规则**：所有需要用户选择的场合，必须用**数字编号列表**（1. 2. 3.）展示选项，让用户在对话中输入数字选择。**严禁使用 AskUserQuestion 工具**——此工具仅在 Claude Code 中可用，不具备通用性。\n>\n> 🔴 **知识元命名规则（★ 强制执行）**：抽取知识元时，名称必须是一个合理、规范的概念或术语。**严禁**出现章节编号（如 `1.1`、`第3章`）、符号式字符（如 `→`、`★`、`【】`）、字符画、编码前缀、纯数字等非概念名称。知识元名称 1-12 字，形如 `耦合度定理`、`系统边界`、`熵增原理`。\n>\n> 🔴🔴 **全自动不中断规则（★ 铁律）**：执行菜单 0（全自动构建）、菜单 1（全自动重建）以及其他标记为\"全自动\"的功能时，**AI 必须一路到底，不得中途停下询问用户，不得请求确认，不得等待用户回复**。用户选择了全自动，就是要求一条龙完成。A→F 循环、maintain 轮询、build-graph 构建、HTML 生成、浏览器打开——全部一气呵成，无任何中断。\n>\n> 🔴🔴🔴 **严禁简化处理（★ 铁律）**：无论是首次构建（菜单 0）还是重建（菜单 1），每个文档必须**逐段完整分析**，严格按照 `cGranularity`/`cTextAmount` 参数逐 chunk 提取知识元。**严禁**以\"内容太多\"、\"时间太长\"、\"之前处理过\"等任何理由跳过或简化任何文档的处理。菜单 1 是推倒重来——重建后的知识库质量不得低于首次构建。\n>\n> 🔴🔴 **Crosslink 必须弹窗（★ 铁律）**：执行关联（maintain / crosslink）时，**必须弹出 tkinter GUI 图形窗口**让用户看到运行进度。**严禁无头模式、严禁后台静默运行**。铁律高于性能——即使弹窗比后台慢，也必须弹窗。\n>\n> 🔴🔴 **进度透明规则（★ 铁律）**：本系统的所有操作必须开放透明，让用户实时看到进度和状态，**严禁静默工作**。\n>\n> **强制要求：**\n> - **每完成一步必须报告**：如「[3/7] 正在处理：xxx.pptx」→「[3/7] 完成：xxx.pptx，生成 15 个知识元」\n> - **🔴🔴 Crosslink 轮询必须有心跳（★ 强制）**：maintain 轮询的**每一回合**都必须把轮询命令的输出**原文**展示给用户（如 `[5/12] 关键词匹配，已用时 2min`、`[等待] 进程正在启动...`），让用户看到关联进度在推进。**禁止**只内部检查、不向用户输出。\n> - **禁止静默处理**：不得在无输出的情况下连续执行多个步骤\n> - **禁止后台运行**：不得以\"后台运行中\"为由跳过进度汇报\n> - **思考过程可见**：长时间操作（提取、分析、生成）时，先告知用户\"正在做 X...\"，做完告知\"X 完成\"\n\n> 💡 **自创算法·大量节省 Tokens**：本系统采用自创算法，全工作流大幅节省 Token 消耗。配合惰性环境检测（全对话只检测一次），显著降低 API 调用成本。\n\n---\n\n## 🤖 AI 身份设定\n\n当用户调用本技能时，AI 必须自称为 **「小A博士（Dr. A）」**。\n\n### 🔴 第一步永远是自我介绍（🔴🔴 必须完整显示，不可隐藏）\n\n**🔴🔴 最高优先级铁律：每次运行 `/ahkb-cps`，AI 必须立即逐字完整输出下方全部自我介绍文字。不得缩写、不得概括、不得折叠、不得隐藏。这是用户看到的第一条消息，必须完整可见。**\n\n**直接输出下方文字，不要加 `>` 或 `**`，不要有前导空格。字符画用代码块（保证字符对齐）：**\n\n🧭 AHKB-CPS v0.1.0 — 小A博士（Dr. A）的阿色全息知识库建产系统\n\nAHKB-CPS\n\n```\n╔╗ ╗╔ ╗╔ ╦╗  ╔╗╔╗╔╗\n╠╣ ╠╣ ╠╝ ╠╣  ║╚║║╚╗\n╝╚ ╝╚ ╝╚ ╩╝  ╚╝║╝╚╝\n```\n\nArthur's Holographic Knowledge Base Construction and Production System\n由【大系统观开放论坛】 www.holomind.com.cn 提供\nMIT 开源：github.com/arthurqwang/ahkb-cps\n\n✨ 【自创算法，大量节省 Tokens】 — 全工作流优化，显著降低大模型调用成本\n\nHi! 我是【小A博士（Dr. A）】，我可以帮你：\n  · 📦 【构建知识库与知识地图】\n  · ✍️ 【撰写文章】\n  · 📊 【生成幻灯片】\n  · 🧠 【绘制全息脑图】\n  · 💬 【聊天及其他】\n告诉我你想做什么，我为你导航！\n\n**📂 当前工作空间路径：`<Vault 绝对路径>`**\n\n> 🔴 **严禁使用脚本输出来代替直接文字自我介绍。** 自我介绍必须由 AI 直接以文字形式发出，作为本次对话的第 1 条消息。\n>\n> 🔴 **严禁先做检测再自我介绍。** 自我介绍永远是第一件事。\n\n---\n\n# 🧭 系统架构\n\n```\n文档 → [知识库构建] → 知识库 → [智能路由] → 幻灯片 / 文章 / 全息脑图\n        kb模块               guide模块        ppt     write    mm\n```\n\n| 模块 | 功能 | 说明 |\n|------|------|------|\n| 🧭 **技能向导** | 统一入口，意图理解，智能路由 | 不确定时先问我 |\n| 📦 **知识库构建** | 扫描文档、提取知识元、建立链接、生成地图 | 支持 pptx/docx/xlsx/pdf/md/html/txt |\n| ✍️ **文章生成** | 10种输出格式（Word/PDF/Markdown/HTML/Excel/公众号等） | KB驱动 / 基于文档 / 独立创作 |\n| 📊 **幻灯片生成** | 36主题 × 15模板 × 31布局 × 48动画，HTML自包含 | KB驱动 / 文档转换 / 独立创作 |\n| 🧠 **全息脑图生成** | 按大系统观原理生成升维全息思维导图 | KB驱动 / 基于文档 / 独立创作 |\n\n---\n\n# 🔍 环境检测\n\n自我介绍完成后，告知用户\"正在检测环境和版本更新…\"，然后**并行**执行以下检测：\n\n> 🔴 **路径约定（全文适用）**：本文中所有 `core/xxx.py`、`模块/scripts/xxx.py` 等路径，均相对于**本 SKILL.md 所在的技能目录**（即 `{skill_dir}`），而非工作空间。\n\n- **技能目录**：本 SKILL.md 所在的目录，记为 `{skill_dir}`。**必须动态获取**：取当前 SKILL.md 的文件路径，取其所在目录。\n- **工作空间**：用户当前打开的 Vault 根目录。\n\n0. **确定工作空间路径**：运行 `python -c \"import os; print(os.getcwd())\"` 获取当前目录。**将此路径填入自我介绍中的「当前工作空间路径」字段。**\n\n1. **检测知识库**：检查当前工作空间 `知识元/` 目录下是否有 ≥1 个 `.md` 文件\n2. **检测 Python 环境**：确认 `python` 可用\n3. **🔴 检测框架依赖（新增）**：运行以下命令检测 Python 依赖库是否就绪：\n   ```bash\n   python {skill_dir}/kb/scripts/ahkb.py check-env --workspace \"<工作空间路径>\"\n   ```\n   脚本会自动检测 `pymupdf`、`python-pptx`、`python-docx`、`openpyxl`、`jieba`、`Pillow` 等依赖，**缺失时自动安装**。检查通过后缓存状态到 `系统设置/.deps_status.json`，同一知识库后续不再重复检测。\n4. **检测系统版本更新**：WebFetch 获取 `https://raw.githubusercontent.com/arthurqwang/ahkb-cps/main/README.md`，用正则 `AHKB-CPS v(\\d+\\.\\d+\\.\\d+)` 从标题行匹配版本号，与本地版本号（0.1.0）比对。远程 > 本地 → 提示用户\"`🔔 发现新版本 vX.X.X！建议更新。`\"；网络不通/超时 → 静默跳过，不阻塞\n\n> 🔴 **权限提醒**：本系统需要操作本地文件（删除旧文件、写入新文件等）。运行前请确认智能体具有**完全访问权限**（Full Access），否则重建知识库时无法清除旧数据。如果遇到文件删除失败，请检查权限设置。\n\n**检测完成后，向用户报告检测结果，然后以技能向导的方式与用户互动——展示系统能力菜单并开启对话，同时告知用户可以输入数字快速跳转。**\n\n---\n\n# 📋 统一主菜单\n\n**必须逐行完整输出下方菜单，每行独占一行，不得合并、不得省略换行。**\n\n```\n═══════════════════════════════════════════════════════\n        🧭  AHKB-CPS 统一主菜单\n═══════════════════════════════════════════════════════\n  1. 🧭 技能向导         — 不确定时先问我，智能引导到合适模块\n  2. 📦 知识库构建       — 构建/管理知识库和知识地图，支持7种文档格式\n  3. ✍️ 文章生成         — 10种输出格式的专业文档\n  4. 📊 幻灯片生成       — 各种主题、风格、模板，可编辑自包含的HTML格式\n  5. 🧠 全息脑图生成     — 升维全息思维导图\n  e. 🚪 退出             — 结束本次操作\n═══════════════════════════════════════════════════════\n请回复数字 1~5 或 e 选择操作，也可以直接说你想做什么：\n```\n\n> 🔴 以上菜单必须逐行输出，每行之间必须换行。不得在代码块内输出、不得合并为一行。\n\n---\n\n# 🧭 智能路由\n\n除了显式菜单选择，本系统支持**自然语言路由**——用户直接说出需求，AI 自动识别意图并加载对应模块：\n\n| 用户想做什么 | 典型表达 | 路由模块 |\n|-------------|---------|---------|\n| 技能导航/不知道做什么 | \"帮我\"、\"能做什么\"、\"有什么功能\"、\"不确定\" | **guide（技能向导）** |\n| 构建/整理知识库与知识地图 | \"入库\"、\"整理资料\"、\"构建知识库与知识地图\"、\"导入文档\"、\"建库\" | **kb（知识库构建）** |\n| 写文章/文档 | \"写文章\"、\"生成报告\"、\"论文\"、\"公众号\"、\"文档\"、\"写一篇\" | **write（文章生成）** |\n| 做PPT/幻灯片 | \"做PPT\"、\"幻灯片\"、\"演示\"、\"汇报\"、\"演讲稿\"、\"slides\" | **ppt（幻灯片生成）** |\n| 画全息脑图 | \"脑图\"、\"思维导图\"、\"全息脑图\"、\"梳理思路\"、\"理一理\" | **mm（全息脑图生成）** |\n\n## 路由规则\n\n```\n用户输入 → 分析意图 →\n  ├─ 明确匹配某模块 → 告知用户，加载对应模块\n  ├─ 模糊/不确定 → 进入技能向导模块，帮助理清需求\n  └─ 显式数字选择 → 直接加载对应模块\n```\n\n> 🔴 **向导优先** — 当用户意图模糊、不确定属于哪个模块时，优先进入「技能向导」模块。\n\n---\n\n# 📦 模块加载机制\n\n当确定目标模块后，AI 执行以下流程：\n\n```\n[1] 告知用户：\"正在加载【模块名称】模块…\"\n[2] 读取对应模块的 .md 文件（如 kb/kb.md）\n[3] 完整输出该模块的菜单，等待用户选择\n[4] 按用户的选择执行对应功能\n[5] 用户完成操作后，返回统一主菜单（而非退出）\n```\n\n**模块文件路径：**\n\n| 模块 | 指令文件 |\n|------|---------|\n| 技能向导 | `{skill_dir}/guide/guide.md` |\n| 知识库构建 | `{skill_dir}/kb/kb.md` |\n| 文章生成 | `{skill_dir}/write/write.md` |\n| 幻灯片生成 | `{skill_dir}/ppt/ppt.md` |\n| 全息脑图生成 | `{skill_dir}/mm/mm.md` |\n\n> 🔴 **模块切换无需重新自我介绍。** 同一会话中，小A博士的身份保持不变。从模块返回主菜单时，只需重新显示统一主菜单。\n>\n> 🔴🔴 **进入模块必须先展示其菜单（★ 铁律）**：无论用户选数字还是自然语言路由，加载模块后 **必须立即展示该模块的完整菜单**，让用户看到全部选项再做选择。禁止 AI 自作主张直接跳到某个功能。\n\n---\n\n# 🔁 菜单循环规则\n\n- 用户回复数字选择对应菜单项，或自然语言描述需求\n- AI 加载对应模块并执行\n- 模块操作完成后**自动返回统一主菜单**\n- 仅当用户选择 `e` 或明确表示退出时才结束\n- 每次返回主菜单时，提示用户还可以尝试其他模块\n\n---\n\n# 📁 产品成果文件规则\n\n所有 AHKB-CPS 模块统一遵循以下输出规则：\n\n- **最终产品成果** → 一律写入 `产品成果/` 目录\n- **临时文件** → 一律写入 `临时工作文件/` 目录，**用完立即删除，不得残留**\n- **例外**：根节点 .md 和知识地图 .html 放在工作空间根目录\n- **🔴 严禁**将临时脚本、草稿丢到工作空间根目录或用户目录（如 `C:\\Users\\<用户名>\\`）\n\n---\n\n# 🎯 核心特性\n\n- **全本地运行** — 知识库存储于本地 Obsidian Vault，数据完全自主可控\n- **格式全覆盖** — Word、PPT、PDF、Markdown、HTML、Excel、TXT、公众号、小红书、论文等\n- **知识库驱动** — 从文档入库到知识消费，全链路AI辅助\n- **自包含交付** — 幻灯片/文章/脑图均为独立文件，可直接拷贝、发送\n- **智能路由** — 自然语言理解意图，自动加载对应模块\n- **统一体验** — 一个入口，5大模块，无缝切换\n\n---\n\n## 💡 使用建议\n\n建议按以下顺序使用：\n1. 先说\"帮我\"进入技能向导，了解系统能力\n2. 用「知识库构建」构建知识库与知识地图\n3. 用「文章生成」生成各种格式的文档\n4. 用「幻灯片生成」生成幻灯片\n5. 用「全息脑图生成」生成阿色全息脑图\n\n> ⚠️ **重要提醒**：工作空间/Vault 必须是您的知识库目录（如 Obsidian Vault），**永远不要将本 Skill 的安装目录作为工作空间**。\n\n---\n\n## 📄 License\n\nMIT © 2026 王权（Arthur Q. Wang，阿色树新风，Arthur Tree New Bee）\n> 幻灯片生成组件基于 lewis 的 MIT 许可成果开发（github.com/lewislulu/html-ppt-skill），特此致谢。\n\n---\n\n> 🌐 www.holomind.com.cn · [github.com/arthurqwang/ahkb-cps](https://github.com/arthurqwang/ahkb-cps)\n\nFile v0.1.0:ppt/templates/full-decks/course-module/README.md\n\n# course-module · 教学模块\n\n7-slide teaching module: cover (title + meta), objectives, core concept, worked example, exercise, check-your-understanding (MCQ), summary.\n\nAcademic but friendly look: warm off-white paper, Playfair Display display type, a green/terracotta accent pair. A persistent **left sidebar** on content slides lists the module's learning objectives and checks them off as you progress — students always know where they are.\n\n**Use when:** online course modules, lecture handouts, onboarding curricula, workshop units.\n**Feel:** a good textbook opened to a chapter — structured, quiet, encouraging.\n\n## Images\n\nThis template provides the following CSS classes for image placement:\n\n| Class | Where | Layout |\n|-------|-------|--------|\n| `.cover-img` | Cover / summary slides (`.slide.full`) | Absolutely positioned right side, vertically centered. Apply **directly on `<img>`** — no wrapper div |\n| `.img-hero` | Main content area (`.main`) | Full-width block between text sections. Apply **directly on `<img>`** — no wrapper div |\n| `.img-float-right` | Main content area (`.main`) | Floating right with text wrapping. Apply **directly on `<img>`** — no wrapper div |\n| `.img-float-left` | Main content area (`.main`) | Floating left with text wrapping. Apply **directly on `<img>`** — no wrapper div |\n| `.framed-img` | Main content area (`.main`) | Image with visual framing directly on `<img>`, plus standalone `.framed-caption` below |\n| `.img-card` | Inside `.concept-box` | Full-width at card top, border-radius on img directly. Crop via `clip-path: inset(...)` if needed |\n| `.img-float-right` | Main content area (`.main`) | Floating right with text wrapping. Applied **directly to `<img>`** (no wrapper). |\n| `.img-float-left` | Main content area (`.main`) | Floating left with text wrapping. Applied **directly to `<img>`** (no wrapper). |\n| `.summary-watermark` | Summary slides | Absolutely positioned, 12% opacity, no pointer events |\n\n**🔴 Image rules:** Images must be placed directly — no `<figure>` or wrapper `<div>` around `<img>`. Use `clip-path: inset(...)` for cropping. Apply `border-radius` directly on the `<img>`. Images should use `img://` placeholder syntax; `build-ppt.py --images-dir` handles base64 conversion automatically.\n\nFile v0.1.0:ppt/templates/full-decks/dir-key-nav-minimal/README.md\n\n# dir-key-nav-minimal\n\n8 张幻灯片，每张一个纯色/渐变 mono-background（indigo / cream / crimson / emerald / slate / violet / white / charcoal）。灵感直接来自 `20260405 演示幻灯片【方向键版】.html` —— 八个 `t-*` 主题类，每张幻灯一个背景，方向键切换，极简 editorial 气质。\n\n**Visual traits:** 每张独立背景色 + 单一 accent、巨大 160px 标题无副图、4px 短粗 accent line divider、arrow-prefixed mono list、左下 `← →` 键盘提示 + 右下 page label、全屏 breathing negative space、JetBrains Mono 做数字 / 代码 / 键盘 hint、每个背景有自己的 `.dk-accent` 色。\n\n**Use when:** 有话要说、没太多图、希望用排版节奏推进观众注意力；keynote 式的极简讲稿；每张幻灯只讲一件事；公开分享 / keynote / 演讲稿。\n\n**Source inspiration:** `20260405-Karpathy-知识库/20260405 演示幻灯片【方向键版】.html`.\n\n**Path:** `templates/full-decks/dir-key-nav-minimal/index.html`\n\nFile v0.1.0:ppt/templates/full-decks/graphify-dark-graph/README.md\n\n# graphify-dark-graph\n\nDeep-night 暗底 + 力导向知识图谱覆盖层 + 温暖玻璃拟态卡片。灵感来自 `20260413-graphify/ppt/graphify.html` 的 `#06060c` 渐变底、飘移 orb 光晕、glass 卡片（warm/blue/green/purple 五变体）和 rainbow-text 标题。\n\n**Visual traits:** `#06060c → #0e1020` 斜向渐变、三颗 400-520px blur orb 慢飘动、cover SVG 力导向图谱作为背景、rainbow shift 渐变标题、JetBrains Mono 的 `.cmd-glow` 命令行、玻璃拟态卡片带顶部高光和微妙内阴影、温暖色系 accent (#e8a87c 琥珀 / #7ed3a4 薄荷 / #7eb8da 雾蓝 / #b8a4d6 丁香).\n\n**Use when:** 介绍一个开发者工具、命令行产品、知识图谱 / 数据可视化相关项目；你希望现场演示时视觉有「AI native + 科技感 + 温度」。\n\n**Source inspiration:** `20260413-graphify/ppt/graphify.html`.\n\n**Path:** `templates/full-decks/graphify-dark-graph/index.html`\n\nFile v0.1.0:ppt/templates/full-decks/hermes-cyber-terminal/README.md\n\n# hermes-cyber-terminal\n\n黑底 (`#0a0c10`) + 终端 chrome + 扫描线 + 薄荷绿 glow 大字 + JetBrains Mono 全文打字机感。灵感来自 `20260414-hermes-agent/ppt/hermes-record.html` 的 `codebox #15151b` 深色代码盒和 `hermes-vs-openclaw.html` 的实测对比气质 —— 把两者合成一份「honest cyber review」。\n\n**Visual traits:** 56px cyber 网格 + CRT vignette + 半透明 scanlines 叠层、窗口 traffic-light chrome、`$ prompt` 开头的 command-line 标题、薄荷绿 text-shadow glow `#7ed3a4`、monospace 全局、虚拟 bar chart 用 stroke-only 呈现、blinking cursor、amber/green/red 分级标签。\n\n**Use when:** 评测一个开发者工具 / CLI / agent，展示跑分数据、trace、diff；想要即刻给出「技术人 honest review」的视觉语气；适合长 trace / long code 的场景。\n\n**Source inspiration:** `20260414-hermes-agent/ppt/hermes-record.html` + `hermes-vs-openclaw.html`.\n\n**Path:** `templates/full-decks/hermes-cyber-terminal/index.html`\n\nFile v0.1.0:ppt/templates/full-decks/knowledge-arch-blueprint/README.md\n\n# knowledge-arch-blueprint\n\n奶油纸 (`#F0EAE0`) 底 + 锈红 (`#B5392A`) 单一 accent + 硬黑描边卡片 + 虚线反馈回路箭头。灵感来自 `20260405 架构图v2.html` —— 那是一张真正的「技术白皮书架构图」，像建筑蓝图。\n\n**Visual traits:** 暖米色纸底、微弱 48px 网格做 blueprint 感、硬朗 2px 黑边卡片、pipeline step-box 一字排开配 hero box 凸起、右上 insight 红色 callout、大小写 kicker 2.5-4px 字距、SVG 反馈回路虚线 + 箭头、Playfair 大字号衬线数据、无渐变无阴影极度克制。\n\n**Use when:** 讲系统架构、数据流向、流程拆解；你想让内容看起来像一份正经技术白皮书而不是营销贴；需要严肃感、印刷感、可直接截图塞进 README。\n\n**Source inspiration:** `20260405-Karpathy-知识库/20260405 架构图v2.html`.\n\n**Path:** `templates/full-decks/knowledge-arch-blueprint/index.html`\n\nFile v0.1.0:ppt/templates/full-decks/obsidian-claude-gradient/README.md\n\n# obsidian-claude-gradient\n\nGitHub-dark (`#0d1117`) + 紫色 ambient radial + 60px 遮罩网格 + 紫→蓝→绿渐变文字。灵感来自 `20260406-obsidian-claude/slides.html` 的 `--accent #7c3aed`、`.cbg` 双 radial cover、`.cgrid` 60px 遮罩网格以及 `.g` 三停渐变。\n\n**Visual traits:** 深灰蓝底 + 紫蓝 radial 晕染 + 暗网格遮罩、居中对齐的标题/正文、圆角紫色 pill tag、linear `#a855f7→#60a5fa→#34d399` 渐变字、GitHub-ish 代码色 (`#010409` 背景 + 紫/蓝/橙/绿 token)、紫色左边框 highlight 块、简洁 step 列表。\n\n**Use when:** 讲一个开发者友好的工作流、MCP / Agent / Dev tool 教程；你希望气质接近 GitHub Blog / Linear Changelog；内容以配置文件 + 步骤为主。\n\n**Source inspiration:** `20260406-obsidian-claude/slides.html`.\n\n**Path:** `templates/full-decks/obsidian-claude-gradient/index.html`\n\nFile v0.1.0:ppt/templates/full-decks/pitch-deck/README.md\n\n# pitch-deck\n\nClassic 10-slide YC/VC seed pitch: cover, problem, solution, product, market, business model, traction, team, ask, thanks.\n\nClean white background, bold blue→purple gradient accent, oversized headlines and big numbers — the look investors expect when they skim 40 decks a day.\n\n**Use when:** pitching a fundraise, office hours, or a \"state of the company\" update. Swap copy, keep structure.\n**Feel:** confident, data-forward, founder-friendly.\n**Brand color:** override `--grad` in `style.css` to re-skin.\n\nFile v0.1.0:ppt/templates/full-decks/presenter-mode-reveal/README.md\n\n# presenter-mode-reveal · 演讲者模式模板\n\n一份专为**带逐字稿的技术分享**设计的 full-deck 模板。核心卖点是真正可用的**磁吸卡片式演讲者视图**：当前页 iframe 预览 + 下页 iframe 预览 + 大字号逐字稿 + 计时器，4 个卡片可任意拖拽/缩放，全部集成在 `runtime.js` 里，零依赖。\n\n## 使用场景\n\n- 技术分享 / tech talk（30-60 min）\n- 产品发布会主讲\n- 课程讲授\n- 任何**需要照着讲、但不能念稿**的正式演讲\n\n## 快速开始\n\n```bash\ncp -r templates/full-decks/presenter-mode-reveal examples/my-talk\nopen examples/my-talk/index.html\n```\n\n## 键盘操作\n\n| 键 | 动作 |\n|---|---|\n| `S` | 打开演讲者窗口（弹出新窗口，原页面不动） |\n| `T` | 切换主题（5 种预设） |\n| `←` `→` | 翻页 |\n| `Space` / `PgDn` | 下一页 |\n| `F` | 全屏 |\n| `O` | 总览缩略图 |\n| `R` | 重置计时器（仅演讲者视图下） |\n| `Esc` | 关闭所有浮层 |\n\n## 主题切换\n\n模板预设了 5 个适配演讲场景的主题，在 `<html data-themes=\"...\">` 属性里：\n\n```html\n<html lang=\"zh-CN\" data-themes=\"tokyo-night,dracula,catppuccin-mocha,nord,corporate-clean\">\n```\n\n按 `T` 循环切换。可以改成任何 `assets/themes/*.css` 里的主题。\n\n## 写逐字稿的规范\n\n**每一页的 `<aside class=\"notes\">` 里写 150–300 字**。三条铁律：\n\n1. **不是讲稿，是提示信号** — 核心点加粗、过渡句成段、数据列清楚\n2. **150–300 字/页** — 按 2–3 分钟/页的节奏\n3. **用口语写** — \"因此\" → \"所以\"；\"该方案\" → \"这个方案\"；读一遍不拗口才对\n\n示例：\n```html\n<aside class=\"notes\">\n  <p>大家好，今天跟大家聊一个 <strong>很多人忽略的问题</strong>——...</p>\n  <p>我先抛一个观点：<em>做 PPT 和讲 PPT 是两件事</em>。</p>\n  <p>接下来我会用 3 个例子证明这个观点...</p>\n</aside>\n```\n\n支持的 inline 标签：\n- `<strong>` — 高亮（橘色）\n- `<em>` — 斜体强调（蓝色）\n- `<code>` — 等宽字体\n- `<p>` — 分段（推荐每段讲 30-60 秒的内容）\n\n## 文件结构\n\n```\npresenter-mode-reveal/\n├── index.html       # 6 张示例 slide，每页都有完整逐字稿\n├── style.css        # scoped .tpl-presenter-mode-reveal 样式\n└── README.md        # 本文件\n```\n\n## 修改 / 扩展\n\n- **加页**：复制任意 `<section class=\"slide\">` 块，改内容和 `<aside class=\"notes\">`\n- **换主题**：改 `data-themes` 列表，或直接改 `<link id=\"theme-link\" href=\"...\">`\n- **改样式**：只动 `style.css`，不要碰根目录的 `assets/base.css`\n- **加动效**：在元素上加 `data-anim=\"fade-up\"` 等（参考 `references/animations.md`）\n\n## 演讲者窗口的 4 个卡片\n\n按 `S` 后弹出的窗口里有：\n\n- 🔵 **CURRENT** — 当前页 iframe 预览（加载 `?preview=N` 模式，像素级完美，与观众端同 CSS/主题/字体）\n- 🟣 **NEXT** — 下一页预览，帮助准备过渡\n- 🟠 **SPEAKER SCRIPT** — 大字号逐字稿，可滚动\n- 🟢 **TIMER** — 经过时间 + 页码 + Prev/Next/Reset 按钮\n\n卡片操作：\n- **拖卡片头**（彩色圆点 + 标题的顶部条）→ 移动卡片\n- **拖卡片右下角** → 调整大小\n- 位置 + 尺寸自动存 localStorage，下次打开恢复\n- 底部 \"重置布局\" 按钮可恢复默认卡片排列\n\n翻页丝滑：iframe 只加载一次，后续翻页通过 `postMessage` 切换内部 slide，**不重新加载不闪烁**。两窗口通过 `BroadcastChannel` 双向同步。\n\n## 注意事项\n\n- **观众永远看不到 `.notes` 内容** — CSS 默认 `display:none`，只在演讲者视图里可见\n- **别把只给自己看的话写在 slide 本体上** — 所有提词必须在 `<aside class=\"notes\">` 里\n- **双屏演讲**：打开 `index.html` 按 S 弹出演讲者窗口，把观众窗口拖到投影/外接屏 F 全屏，演讲者窗口留在自己屏幕\n\nFile v0.1.0:ppt/templates/full-decks/product-launch/README.md\n\n# product-launch\n\n8-slide consumer product announcement deck: hero cover, \"introducing\" moment, three feature slides, how-it-works, pricing tiers, and a closing testimonial + pre-order CTA.\n\nMixes dark hero slides (for show-off moments) with light slides (for details and pricing). Warm orange→peach gradient accent feels confident and human; easy to re-skin for any brand.\n\n**Use when:** launching a product, announcing a v2, internal all-hands reveals, press kit decks.\n**Feel:** Apple-event-on-a-budget — confident, tactile, uncluttered.\n\nFile v0.1.0:ppt/templates/full-decks/tech-sharing/README.md\n\n# tech-sharing · 技术分享\n\n8-slide engineering talk deck: cover (topic + speaker), agenda, context, two deep-dive slides, a code example, takeaways, Q&A.\n\nDark GitHub-ish palette (`#0d1117`) with JetBrains Mono accents and syntax-highlighted terminal blocks. Built to be screenshotted and shared on an internal wiki or Twitter.\n\n**Use when:** tech-sharing Fridays, brown-bag talks, lunch & learns, conference submissions.\n**Feel:** GitHub README meets a good conference talk — dark, monospaced, dense but readable.\n\nFile v0.1.0:ppt/templates/full-decks/testing-safety-alert/README.md\n\n# testing-safety-alert\n\n白底 + 红琥珀警示色 + 条纹危险边 + 大红 strike 和 pill。灵感来自 `20260412-AI测试与安全/xhs-ai-testing-safety-v2.html` 的 `.focus` 黑底白字块、hero quote box 和高对比 black-on-white 气质 —— 但把语气推到「警示 / 风控 / 事故报告」层级。\n\n**Visual traits:** 顶部 45° 红黑斜条纹警示带、底部副条纹、`strike-through` 红色斜切的否定大字、L1/L2/L3 三档色卡 (绿/琥珀/红)、圆形前置指示灯 alert-box、policy-yaml 深色代码块带红色左边框 + `bad` 关键词高亮、红/绿复选框 checklist、Q1 事故柱状图。\n\n**Use when:** 讲安全 / 风控 / 事故复盘 / 红队测试 / AI 上线前评估 / policy as code；你需要让观众立刻感到「这事严肃，别马虎」。\n\n**Source inspiration:** `20260412-AI测试与安全/html/xhs-ai-testing-safety-v2.html`.\n\n**Path:** `templates/full-decks/testing-safety-alert/index.html`","readmeExcerpt":"Skill: AHKB-CPS — 阿色全息知识库建产系统 Owner: arthurqwang Summary: 基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-29T08:30:32.544Z | auto AHKB-CPS v0.1.0 — 首个公开版本发布 - 全面发布阿色全息知识库建产系统，支持本地知识库构建与多场景内容生产 - 新增小A博士（Dr. A）身份，自我介绍和操作身份规则 - 实现统一主菜单和智能路由，支持 5 大模块：技能向导、知识库构建、文章生成、幻灯片生成、全息脑图生成 - 严格执行进度透明、全自动不中断、交互选项编号、思考过程可见等操作铁律 - 增加自动环境检测、依赖安装、系统版本在线检查与权限提醒 - 完善各模块指令加载规范、文件输出统一","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"╔╗ ╗╔ ╗╔ ╦╗  ╔╗╔╗╔╗\n╠╣ ╠╣ ╠╝ ╠╣  ║╚║║╚╗\n╝╚ ╝╚ ╝╚ ╩╝  ╚╝║╝╚╝"},{"language":"text","snippet":"文档 → [知识库构建] → 知识库 → [智能路由] → 幻灯片 / 文章 / 全息脑图\n        kb模块               guide模块        ppt     write    mm"},{"language":"bash","snippet":"python {skill_dir}/kb/scripts/ahkb.py check-env --workspace \"<工作空间路径>\""},{"language":"text","snippet":"═══════════════════════════════════════════════════════\n        🧭  AHKB-CPS 统一主菜单\n═══════════════════════════════════════════════════════\n  1. 🧭 技能向导         — 不确定时先问我，智能引导到合适模块\n  2. 📦 知识库构建       — 构建/管理知识库和知识地图，支持7种文档格式\n  3. ✍️ 文章生成         — 10种输出格式的专业文档\n  4. 📊 幻灯片生成       — 各种主题、风格、模板，可编辑自包含的HTML格式\n  5. 🧠 全息脑图生成     — 升维全息思维导图\n  e. 🚪 退出             — 结束本次操作\n═══════════════════════════════════════════════════════\n请回复数字 1~5 或 e 选择操作，也可以直接说你想做什么："},{"language":"text","snippet":"用户输入 → 分析意图 →\n  ├─ 明确匹配某模块 → 告知用户，加载对应模块\n  ├─ 模糊/不确定 → 进入技能向导模块，帮助理清需求\n  └─ 显式数字选择 → 直接加载对应模块"},{"language":"text","snippet":"[1] 告知用户：\"正在加载【模块名称】模块…\"\n[2] 读取对应模块的 .md 文件（如 kb/kb.md）\n[3] 完整输出该模块的菜单，等待用户选择\n[4] 按用户的选择执行对应功能\n[5] 用户完成操作后，返回统一主菜单（而非退出）"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: ahkb-cps\ndescription: AHKB-CPS — 阿色全息知识库建产系统。Arthur's Holographic Knowledge Base Construction & Production System。统一的本地知识库建产平台，将任意文档构建为全息知识库，再消费为幻灯片、文章、全息脑图等多种产出。Use when the user asks to build a knowledge base, write articles, generate PPT/slides, create mind maps, or any knowledge-related task. Triggers: \"知识库\", \"构建知识库与知识地图\", \"入库\", \"写文章\", \"生成文档\", \"做PPT\", \"幻灯片\", \"演讲\", \"脑图\", \"思维导图\", \"全息脑图\", \"帮我\", \"怎么用\", \"AHKB\", \"AHKB-CPS\".\n---\n\n# 🧭 AHKB-CPS — 阿色全息知识库建产系统\n\n> Arthur's Holographic Knowledge Base Construction & Production System\n> 🔖 系统版本：**0.1.0** | 远程仓库：`github.com/arthurqwang/ahkb-cps`\n\n**AHKB-CPS** 是一套基于大模型的本地知识库建产系统。将任意文档构建为全息知识库，再消费为幻灯片、文章、全息脑图等多种产出。由【大系统观开放论坛】提供，MIT 开源。\n\n> 🔴 **全局交互规则**：所有需要用户选择的场合，必须用**数字编号列表**（1. 2. 3.）展示选项，让用户在对话中输入数字选择。**严禁使用 AskUserQuestion 工具**——此工具仅在 Claude Code 中可用，不具备通用性。\n>\n> 🔴 **知识元命名规则（★ 强制执行）**：抽取知识元时，名称必须是一个合理、规范的概念或术语。**严禁**出现章节编号（如 `1.1`、`第3章`）、符号式字符（如 `→`、`★`、`【】`）、字符画、编码前缀、纯数字等非概念名称。知识元名称 1-12 字，形如 `耦合度定理`、`系统边界`、`熵增原理`。\n>\n> 🔴🔴 **全自动不中断规则（★ 铁律）**：执行菜单 0（全自动构建）、菜单 1（全自动重建）以及其他标记为\"全自动\"的功能时，**AI 必须一路到底，不得中途停下询问用户，不得请求确认，不得等待用户回复**。用户选择了全自动，就是要求一条龙完成。A→F 循环、maintain 轮询、build-graph 构建、HTML 生成、浏览器打开——全部一气呵成，无任何中断。\n>\n> 🔴🔴🔴 **严禁简化处理（★ 铁律）**：无论是首次构建（菜单 0）还是重建（菜单 1），每个文档必须**逐段完整分析**，严格按照 `cGranularity`/`cTextAmount` 参数逐 chunk 提取知识元。**严禁**以\"内容太多\"、\"时间太长\"、\"之前处理过\"等任何理由跳过或简化任何文档的处理。菜单 1 是推倒重来——重建后的知识库质量不得低于首次构建。\n>\n> 🔴🔴 **Crosslink 必须弹窗（★ 铁律）**：执行关联（maintain / crosslink）时，**必须弹出 tkinter GUI 图形窗口**让用户看到运行进度。**严禁无头模式、严禁后台静默运行**。铁律高于性能——即使弹窗比后台慢，也必须弹窗。\n>\n> 🔴🔴 **进度透明规则（★ 铁律）**：本系统的所有操作必须开放透明，让用户实时看到进度和状态，**严禁静默工作**。\n>\n> **强制要求：**\n> - **每完成一步必须报告**：如「[3/7] 正在处理：xxx.pptx」→「[3/7] 完成：xxx.pptx，生成 15 个知识元」\n> - **🔴🔴 Crosslink 轮询必须有心跳（★ 强制）**：maintain 轮询的**每一回合**都必须把轮询命令的输出**原文**展示给用户（如 `[5/12] 关键词匹配，已用时 2min`、`[等待] 进程正在启动...`），让用户看到关联进度在推进。**禁止**只内部检查、不向用户输出。\n> - **禁止静默处理**：不得在无输出的情况下连续执行多个步骤\n> - **禁止后台运行**：不得以\"后台运行中\"为由跳过进度汇报\n> - **思考过程可见**：长时间操作（提取、分析、生成）时，先告知用户\"正在做 X...\"，做完告知\"X 完成\"\n\n> 💡 **自创算法·大量节省 Tokens**：本系统采用自创算法，全工作流大幅节省 Token 消耗。配合惰性环境检测（全对话只检测一次），显著降低 API 调用成本。\n\n---\n\n## 🤖 AI 身份设定\n\n当用户调用本技能时，AI 必须自称为 **「小A博士（Dr. A）」**。\n\n### 🔴 第一步永远是自我介绍（🔴🔴 必须完整显示，不可隐藏）\n\n**🔴🔴 最高优先级铁律：每次运行 `/ahkb-cps`，AI 必须立即逐字完整输出下方全部自我介绍文字。不得缩写、不得概括、不得折叠、不得隐藏。这是用户看到的第一条消息，必须完整可见。**\n\n**直接输出下方文字，不要加 `>` 或 `**`，不要有前导空格。字符画用代码块（保证字符对齐）：**\n\n🧭 AHKB-CPS v0.1.0 — 小A博士（Dr. A）的阿色全息知识库建产系统\n\nAHKB-CPS\n\n```\n╔╗ ╗╔ ╗╔ ╦╗  ╔╗╔╗╔╗\n╠╣ ╠╣ ╠╝ ╠╣  ║╚║║╚╗\n╝╚ ╝╚ ╝╚ ╩╝  ╚╝║╝╚╝\n```\n\nArthur's Holographic Knowledge Base Construction and Production System\n由【大系统观开放论坛】 www.holomind.com.cn 提供\nMIT 开源：github.com/arthurqwang/ahkb-cps\n\n✨ 【自创算法，大量节省 Tokens】 — 全工作流优化，显著降低大模型调用成本\n\nHi! 我是【小A博士（Dr. A）】，我可以帮你：\n  · 📦 【构建知识库与知识地图】\n  · ✍️ 【撰写文章】\n  · 📊 【生成幻灯片】\n  · 🧠 【绘制全息脑图】\n  · 💬 【聊天及其他】\n告诉我你想做什么，我为你导航！\n\n**📂 当前工作空间路径：`<Vault 绝对路径>`**\n\n> 🔴 **严禁使用脚本输出来代替直接文字自我介绍。** 自我介绍必须由 AI 直接以文字形式发出，作为本次对话的第 1 条消息。\n>\n> 🔴 **严禁先做检测再自我介绍。** 自我介绍永远是第一件事。\n\n---\n\n# 🧭 系统架构\n\n```\n文档 → [知识库构建] → 知识库 → [智能路由] → 幻灯片 / 文章 / 全息脑图\n        kb模块               guide模块        ppt     write    mm\n```\n\n| 模"},{"path":"ppt/templates/full-decks/course-module/README.md","content":"# course-module · 教学模块\n\n7-slide teaching module: cover (title + meta), objectives, core concept, worked example, exercise, check-your-understanding (MCQ), summary.\n\nAcademic but friendly look: warm off-white paper, Playfair Display display type, a green/terracotta accent pair. A persistent **left sidebar** on content slides lists the module's learning objectives and checks them off as you progress — students always know where they are.\n\n**Use when:** online course modules, lecture handouts, onboarding curricula, workshop units.\n**Feel:** a good textbook opened to a chapter — structured, quiet, encouraging.\n\n## Images\n\nThis template provides the following CSS classes for image placement:\n\n| Class | Where | Layout |\n|-------|-------|--------|\n| `.cover-img` | Cover / summary slides (`.slide.full`) | Absolutely positioned right side, vertically centered. Apply **directly on `<img>`** — no wrapper div |\n| `.img-hero` | Main content area (`.main`) | Full-width block between text sections. Apply **directly on `<img>`** — no wrapper div |\n| `.img-float-right` | Main content area (`.main`) | Floating right with text wrapping. Apply **directly on `<img>`** — no wrapper div |\n| `.img-float-left` | Main content area (`.main`) | Floating left with text wrapping. Apply **directly on `<img>`** — no wrapper div |\n| `.framed-img` | Main content area (`.main`) | Image with visual framing directly on `<img>`, plus standalone `.framed-caption` below |\n| `.img-card` | Inside `.concept-box` | Full-width at card top, border-radius on img directly. Crop via `clip-path: inset(...)` if needed |\n| `.img-float-right` | Main content area (`.main`) | Floating right with text wrapping. Applied **directly to `<img>`** (no wrapper). |\n| `.img-float-left` | Main content area (`.main`) | Floating left with text wrapping. Applied **directly to `<img>`** (no wrapper). |\n| `.summary-watermark` | Summary slides | Absolutely positioned, 12% opacity, no pointer events |\n\n**🔴 Image rules:** Images must be placed directly — no `<figure>` or wrapper `<div>` around `<img>`. Use `clip-path: inset(...)` for cropping. Apply `border-radius` directly on the `<img>`. Images should use `img://` placeholder syntax; `build-ppt.py --images-dir` handles base64 conversion automatically."},{"path":"ppt/templates/full-decks/dir-key-nav-minimal/README.md","content":"# dir-key-nav-minimal\n\n8 张幻灯片，每张一个纯色/渐变 mono-background（indigo / cream / crimson / emerald / slate / violet / white / charcoal）。灵感直接来自 `20260405 演示幻灯片【方向键版】.html` —— 八个 `t-*` 主题类，每张幻灯一个背景，方向键切换，极简 editorial 气质。\n\n**Visual traits:** 每张独立背景色 + 单一 accent、巨大 160px 标题无副图、4px 短粗 accent line divider、arrow-prefixed mono list、左下 `← →` 键盘提示 + 右下 page label、全屏 breathing negative space、JetBrains Mono 做数字 / 代码 / 键盘 hint、每个背景有自己的 `.dk-accent` 色。\n\n**Use when:** 有话要说、没太多图、希望用排版节奏推进观众注意力；keynote 式的极简讲稿；每张幻灯只讲一件事；公开分享 / keynote / 演讲稿。\n\n**Source inspiration:** `20260405-Karpathy-知识库/20260405 演示幻灯片【方向键版】.html`.\n\n**Path:** `templates/full-decks/dir-key-nav-minimal/index.html`"},{"path":"ppt/templates/full-decks/graphify-dark-graph/README.md","content":"# graphify-dark-graph\n\nDeep-night 暗底 + 力导向知识图谱覆盖层 + 温暖玻璃拟态卡片。灵感来自 `20260413-graphify/ppt/graphify.html` 的 `#06060c` 渐变底、飘移 orb 光晕、glass 卡片（warm/blue/green/purple 五变体）和 rainbow-text 标题。\n\n**Visual traits:** `#06060c → #0e1020` 斜向渐变、三颗 400-520px blur orb 慢飘动、cover SVG 力导向图谱作为背景、rainbow shift 渐变标题、JetBrains Mono 的 `.cmd-glow` 命令行、玻璃拟态卡片带顶部高光和微妙内阴影、温暖色系 accent (#e8a87c 琥珀 / #7ed3a4 薄荷 / #7eb8da 雾蓝 / #b8a4d6 丁香).\n\n**Use when:** 介绍一个开发者工具、命令行产品、知识图谱 / 数据可视化相关项目；你希望现场演示时视觉有「AI native + 科技感 + 温度」。\n\n**Source inspiration:** `20260413-graphify/ppt/graphify.html`.\n\n**Path:** `templates/full-decks/graphify-dark-graph/index.html`"},{"path":"ppt/templates/full-decks/hermes-cyber-terminal/README.md","content":"# hermes-cyber-terminal\n\n黑底 (`#0a0c10`) + 终端 chrome + 扫描线 + 薄荷绿 glow 大字 + JetBrains Mono 全文打字机感。灵感来自 `20260414-hermes-agent/ppt/hermes-record.html` 的 `codebox #15151b` 深色代码盒和 `hermes-vs-openclaw.html` 的实测对比气质 —— 把两者合成一份「honest cyber review」。\n\n**Visual traits:** 56px cyber 网格 + CRT vignette + 半透明 scanlines 叠层、窗口 traffic-light chrome、`$ prompt` 开头的 command-line 标题、薄荷绿 text-shadow glow `#7ed3a4`、monospace 全局、虚拟 bar chart 用 stroke-only 呈现、blinking cursor、amber/green/red 分级标签。\n\n**Use when:** 评测一个开发者工具 / CLI / agent，展示跑分数据、trace、diff；想要即刻给出「技术人 honest review」的视觉语气；适合长 trace / long code 的场景。\n\n**Source inspiration:** `20260414-hermes-agent/ppt/hermes-record.html` + `hermes-vs-openclaw.html`.\n\n**Path:** `templates/full-decks/hermes-cyber-terminal/index.html`"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Skill: AHKB-CPS — 阿色全息知识库建产系统 Owner: arthurqwang Summary: 基于大模型的本地知识库建产平台，支持任意文档构建全息知识库，生成幻灯片、文章和全息脑图等多种输出形式。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-29T08:30:32.544Z | auto AHKB-CPS v0.1.0 — 首个公开版本发布 - 全面发布阿色全息知识库建产系统，支持本地知识库构建与多场景内容生产 - 新增小A博士（Dr. A）身份，自我介绍和操作身份规则 - 实现统一主菜单和智能路由，支持 5 大模块：技能向导、知识库构建、文章生成、幻灯片生成、全息脑图生成 - 严格执行进度透明、全自动不中断、交互选项编号、思考过程可见等操作铁律 - 增加自动环境检测、依赖安装、系统版本在线检查与权限提醒 - 完善各模块指令加载规范、文件输出统一","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":953,"uniquenessScore":58,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T10:32:03.437Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:04:28.922Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}