21 个 AI Agent 技能组成的自媒体内容工厂——从图文生成、多平台发布到翻译润色,覆盖自媒体创作的完整链路。
- 内容生成:小红书图文卡片(12 种风格 × 8 种布局 × 3 种配色)、信息图(21 种布局 × 17 种风格)、知识漫画(5 种画风 × 7 种氛围)、幻灯片(16 种预设风格)、封面图(5 维设计系统)、文章插图(6 种类型 × 8 种风格)
- AI 图像后端:统一 10+ 图像生成 API(OpenAI、Google、Azure、DashScope、MiniMax、Jimeng、Seedream、Replicate 等),自动选择最可用后端
- 多平台发布:支持微信公众号(API + 浏览器 + 远程 SSH 代理三种模式)、微博、X/Twitter 的自动化发布,Chrome CDP 驱动反反自动化
- 内容处理:Markdown 格式化与自动排版、多语言翻译(快速/标准/精细三档)、URL 转 Markdown、YouTube 字幕下载、X 推文提取、图片压缩
- 模块化架构:3 个共享 npm 包(Chrome CDP、Markdown 渲染、Codex 图像后端代理)+ 21 个独立可分发的 skill
当用户提到”生成小红书图片”、“公众号排版发布”、“信息图制作”、“知识漫画”、“封面图生成”、“幻灯片制作”、“将文章翻译成英文”、“YouTube 字幕”、“URL 转文章”等自媒体内容创作与发布需求时触发对应子 skill。也适用于批量内容生产和多平台分发场景。
One-Line Summary
Section titled “One-Line Summary”A self-media content factory of 21 AI Agent skills — from visual content generation and multi-platform publishing to translation and polishing, covering the complete content creation pipeline.
Core Capabilities
Section titled “Core Capabilities”- Content Generation: Xiaohongshu image cards (12 styles × 8 layouts × 3 palettes), infographics (21 layouts × 17 styles), knowledge comics (5 art styles × 7 tones), slide decks (16 style presets), cover images (5D design system), article illustrations (6 types × 8 styles)
- AI Image Backend: Unified interface over 10+ image generation APIs (OpenAI, Google, Azure, DashScope, MiniMax, Jimeng, Seedream, Replicate, etc.), auto-selecting the best available backend
- Multi-Platform Publishing: Automated posting to WeChat Official Accounts (API + browser + remote SSH proxy modes), Weibo, and X/Twitter, using Chrome CDP to bypass anti-automation
- Content Processing: Markdown formatting with typography correction, multi-language translation (quick/normal/refined modes), URL-to-Markdown conversion, YouTube transcript download, X tweet extraction, image compression
- Modular Architecture: 3+ shared npm packages (Chrome CDP, Markdown renderer, Codex image backend proxy) + 21 independently distributable skills
Trigger Scenarios
Section titled “Trigger Scenarios”Triggers when users mention “generate Xiaohongshu images”, “WeChat Official Account publishing”, “infographic creation”, “knowledge comic”, “cover image generation”, “slide deck creation”, “translate article”, “YouTube transcript”, “URL to article”, or other self-media content creation and publishing needs. Also suited for batch content production and multi-platform distribution.
File Inventory
Section titled “File Inventory”- baoyu-skill
- CLAUDE.md
- README.md / README.zh.md
- package.json
- skills/
- baoyu-xhs-images/
- SKILL.md
- references/
- baoyu-infographic/
- SKILL.md
- references/
- baoyu-diagram/
- SKILL.md + scripts/ + references/
- baoyu-cover-image/
- SKILL.md + references/
- baoyu-slide-deck/
- SKILL.md + scripts/ + references/
- baoyu-comic/
- SKILL.md + scripts/ + references/
- baoyu-article-illustrator/
- SKILL.md + references/
- baoyu-image-gen/
- SKILL.md + scripts/
- baoyu-danger-gemini-web/
- baoyu-post-to-wechat/
- SKILL.md + scripts/
- baoyu-post-to-weibo/
- baoyu-post-to-x/
- baoyu-translate/
- baoyu-format-markdown/
- baoyu-url-to-markdown/
- baoyu-danger-x-to-markdown/
- baoyu-youtube-transcript/
- baoyu-markdown-to-html/
- baoyu-compress-image/
- baoyu-electron-extract/
- baoyu-wechat-summary/
- baoyu-xhs-images/
- packages/
- baoyu-chrome-cdp/
- baoyu-md/
- baoyu-fetch/
- baoyu-codex-imagegen/
- scripts/
- docs/
- screenshots/
目录结构分析
Section titled “目录结构分析”baoyu-skill 不是单一 skill,而是一个技能市场(Skill Marketplace),包含 21 个独立可分发的 skill、4 个共享 npm 包、和 7 个仓库级维护脚本。整体架构遵循”每个 skill 自包含”原则——每个 skills/baoyu-*/ 目录可以独立提取到其他项目中使用,决不依赖同级 skill 或外部 docs/。
顶级目录分为四个功能区:
- skills/:21 个业务 skill,每个遵循
SKILL.md+ 可选scripts/+ 可选references/+ 可选prompts/的结构 - packages/:4 个共享 npm 包,提供跨 skill 复用能力(Chrome CDP、Markdown 渲染、URL 抓取、Codex 图像代理)
- scripts/:仓库级工具脚本(发布同步、测试运行、Git hooks 安装)
- docs/:面向仓库维护者的参考文档,禁止被 skill 内部引用
每个 skill 都是纯 TypeScript 实现,使用 Bun 运行时无需编译步骤。CLI 风格统一为 /baoyu-<功能名> <必选参数> [--可选参数]。
SKILL.md 结构解析
Section titled “SKILL.md 结构解析”每个子 skill 的 SKILL.md 遵循标准的 YAML frontmatter + Markdown body 结构。Frontmatter 包含 name、description、version、metadata 四个核心字段。Body 采用分层指令模式:
- 用户交互工具声明(
## User Input Tools)——内联声明工具选择优先级,不依赖外部文档 - 图像生成工具声明(
## Image Generation Tools)——声明后端选择策略和 prompt 文件写盘要求 - 核心功能指令——详细的操作流程和命令参数说明
- 参考文档(
references/)——分析框架、base prompt 模板、风格清单等
这种”内联约定 + 外挂参考”的结构是可分发 skill 的最佳实践:确保 skill 在脱离仓库环境后仍能正常工作。
Directory Structure Analysis
Section titled “Directory Structure Analysis”baoyu-skill is not a single skill but a skill marketplace containing 21 independently distributable skills, 4 shared npm packages, and 7 repo-level maintenance scripts. The overall architecture follows the “each skill is self-contained” principle — every skills/baoyu-*/ directory can be independently extracted and used in other projects, never depending on sibling skills or external docs/.
The top-level directory is divided into four functional areas:
- skills/: 21 business skills, each following
SKILL.md+ optionalscripts/+ optionalreferences/+ optionalprompts/structure - packages/: 4 shared npm packages providing cross-skill capabilities (Chrome CDP, Markdown rendering, URL fetching, Codex image proxy)
- scripts/: Repo-level tooling (publish sync, test runner, git hooks)
- docs/: Reference docs for repo maintainers, forbidden from being referenced by skills
Each skill is a pure TypeScript implementation using the Bun runtime — no build step needed. CLI style is uniformly /baoyu-<feature> <required> [--options].
SKILL.md Structure Analysis
Section titled “SKILL.md Structure Analysis”Each sub-skill’s SKILL.md follows the standard YAML frontmatter + Markdown body structure. Frontmatter contains name, description, version, and metadata fields. The body uses a layered instruction pattern:
- User Input Tool Declaration (
## User Input Tools) — Inlines tool selection priority, no external doc dependency - Image Generation Tool Declaration (
## Image Generation Tools) — Declares backend selection strategy and prompt file write-to-disk requirement - Core Feature Instructions — Detailed workflows and command parameters
- Reference Documents (
references/) — Analysis frameworks, base prompt templates, style catalogs
This “inline conventions + external references” structure is a best practice for distributable skills: ensuring the skill works correctly even when extracted from the repo.
baoyu-skill 的架构呈现星型依赖:packages/ 中的共享包被多个 skill 引用,但 skill 之间彼此独立。这种设计避免了 skill 间的耦合,同时通过共享包复用核心能力。
Module Relationships
Section titled “Module Relationships”baoyu-skill’s architecture exhibits a star dependency pattern: shared packages in packages/ are referenced by multiple skills, but skills are independent of each other. This design avoids inter-skill coupling while reusing core capabilities through shared packages.
baoyu-skill 模块关系图
graph TD
subgraph Skills["21 个独立 Skill"]
XHS["baoyu-xhs-images"]
INFO["baoyu-infographic"]
COVER["baoyu-cover-image"]
SLIDE["baoyu-slide-deck"]
COMIC["baoyu-comic"]
ILLUS["baoyu-article-illustrator"]
DIAG["baoyu-diagram"]
IMG_GEN["baoyu-image-gen"]
GEMINI["baoyu-danger-gemini-web"]
WECHAT["baoyu-post-to-wechat"]
WEIBO["baoyu-post-to-weibo"]
X_POST["baoyu-post-to-x"]
TRANS["baoyu-translate"]
FMT_MD["baoyu-format-markdown"]
URL2MD["baoyu-url-to-markdown"]
X2MD["baoyu-danger-x-to-markdown"]
YT["baoyu-youtube-transcript"]
MD2HTML["baoyu-markdown-to-html"]
COMPRESS["baoyu-compress-image"]
WECHAT_SUM["baoyu-wechat-summary"]
ELEC["baoyu-electron-extract"]
end
subgraph Packages["共享 npm 包"]
CDP["baoyu-chrome-cdp"]
MD["baoyu-md"]
FETCH["baoyu-fetch"]
CODEX_IMG["baoyu-codex-imagegen"]
end
IMG_GEN --> CODEX_IMG
IMG_GEN --> FETCH
WECHAT --> CDP
WEIBO --> CDP
X_POST --> CDP
MD2HTML --> MD
FMT_MD --> MD
URL2MD --> CDP
URL2MD --> FETCH
X2MD --> FETCH
脚本全量清单
Section titled “脚本全量清单”| 脚本/包 | 语言 | 行数 | 复杂度 | 功能 |
|---|---|---|---|---|
skills/baoyu-image-gen/scripts/main.ts | TypeScript | ~1249 | ⭐⭐⭐⭐⭐ | 10+ AI 图像后端统一接口,含批量生成、Provider 自动选择、重试机制 |
skills/baoyu-post-to-wechat/scripts/wechat-browser.ts | TypeScript | ~741 | ⭐⭐⭐⭐⭐ | Chrome CDP 驱动微信公众号后台,含远程 SOCKS5 代理发布模式 |
skills/baoyu-post-to-wechat/scripts/cdp.ts | TypeScript | ~255 | ⭐⭐⭐ | 跨平台 Chrome CDP 启动器,Windows/Mac/Linux/WSL 全适配 |
packages/baoyu-md/src/document.ts | TypeScript | ~206 | ⭐⭐⭐⭐ | Markdown→HTML 完整渲染管道,11 套微信兼容主题 |
skills/baoyu-danger-x-to-markdown/scripts/thread.ts | TypeScript | ~311 | ⭐⭐⭐⭐ | X/Twitter 线程解析与 Markdown 转换 |
skills/baoyu-translate/scripts/main.ts | TypeScript | ~55 | ⭐⭐ | 三档翻译工作流路由器(快速/标准/精细) |
packages/baoyu-chrome-cdp/src/index.ts | TypeScript | ~300 | ⭐⭐⭐⭐ | Chrome 启动/连接/CDP 通信封装 |
packages/baoyu-codex-imagegen/src/main.ts | TypeScript | ~200 | ⭐⭐⭐ | Codex CLI 图像生成代理,含缓存和重试验证 |
packages/baoyu-fetch/src/cli.ts | TypeScript | ~150 | ⭐⭐⭐ | 多适配器 URL 抓取,含 Hacker News 等站点专用适配器 |
scripts/publish-skill.mjs | JavaScript | ~200 | ⭐⭐⭐ | 单 skill 独立发布到 ClawHub 的工具 |
| Script/Package | Language | Lines | Complexity | Purpose |
|---|---|---|---|---|
skills/baoyu-image-gen/scripts/main.ts | TypeScript | ~1249 | ⭐⭐⭐⭐⭐ | Unified interface for 10+ AI image backends with batch generation and auto provider selection |
skills/baoyu-post-to-wechat/scripts/wechat-browser.ts | TypeScript | ~741 | ⭐⭐⭐⭐⭐ | Chrome CDP-driven WeChat Official Account backend with SOCKS5 remote proxy publishing |
skills/baoyu-post-to-wechat/scripts/cdp.ts | TypeScript | ~255 | ⭐⭐⭐ | Cross-platform Chrome CDP launcher with Windows/Mac/Linux/WSL support |
packages/baoyu-md/src/document.ts | TypeScript | ~206 | ⭐⭐⭐⭐ | Full Markdown→HTML rendering pipeline with 11 WeChat-compatible themes |
skills/baoyu-danger-x-to-markdown/scripts/thread.ts | TypeScript | ~311 | ⭐⭐⭐⭐ | X/Twitter thread parsing and Markdown conversion |
skills/baoyu-translate/scripts/main.ts | TypeScript | ~55 | ⭐⭐ | Three-tier translation workflow router (quick/normal/refined) |
packages/baoyu-chrome-cdp/src/index.ts | TypeScript | ~300 | ⭐⭐⭐⭐ | Chrome launch/connect/CDP communication wrapper |
packages/baoyu-codex-imagegen/src/main.ts | TypeScript | ~200 | ⭐⭐⭐ | Codex CLI image generation proxy with caching and retry validation |
packages/baoyu-fetch/src/cli.ts | TypeScript | ~150 | ⭐⭐⭐ | Multi-adapter URL fetcher with site-specific adapters (Hacker News, etc.) |
scripts/publish-skill.mjs | JavaScript | ~200 | ⭐⭐⭐ | Tool for independently publishing a single skill to ClawHub |
baoyu-image-gen/main.ts — 多后端图像生成引擎
Section titled “baoyu-image-gen/main.ts — 多后端图像生成引擎”main.ts 是整个 skill 集中规模最大的单文件(1249 行),实现了 10+ AI 图像生成后端的统一抽象层。核心设计是 Provider 插件模式——每个后端实现 ProviderModule 接口(getDefaultModel / generateImage / validateArgs),通过 Provider 自动选择算法决定使用哪个后端。
main.ts is the largest single file in the entire skill set (1249 lines), implementing a unified abstraction layer over 10+ AI image generation backends. The core design is a Provider plugin pattern — each backend implements the ProviderModule interface (getDefaultModel / generateImage / validateArgs), with a Provider auto-selection algorithm deciding which backend to use.
baoyu-post-to-wechat/scripts/cdp.ts — 跨平台 Chrome CDP 启动器
Section titled “baoyu-post-to-wechat/scripts/cdp.ts — 跨平台 Chrome CDP 启动器”cdp.ts 封装了 Chrome CDP(Chrome DevTools Protocol)的完整启动生命周期。最精妙的设计是 WSL 路径桥接——当检测到 WSL 环境时,自动通过 cmd.exe 获取 Windows 用户目录并在 WSL 中映射路径。此外,跨平台 Chrome 候选路径覆盖 macOS/Windows/Linux 三大平台和多种 Chrome 衍生浏览器。
cdp.ts encapsulates the complete Chrome CDP launch lifecycle. The most elegant design is the WSL path bridging — when a WSL environment is detected, it automatically retrieves the Windows user directory via cmd.exe and maps the path in WSL. Cross-platform Chrome candidate paths cover all three major platforms and multiple Chrome-derived browsers.
packages/baoyu-md/src/document.ts — Markdown 渲染管道
Section titled “packages/baoyu-md/src/document.ts — Markdown 渲染管道”document.ts 是 Markdown→HTML 渲染管道的核心编排器。该模块将渲染过程拆分为独立可组合的阶段:Frontmatter 解析 → 渲染器初始化 → Markdown 转 HTML → HTML 后处理 → 主题 CSS 注入 → 内联样式。每个阶段都有独立的模块和可替换实现。最值得学习的设计是主题系统——11 套微信兼容主题,通过 ThemeName 类型安全地切换。
document.ts is the core orchestrator of the Markdown→HTML rendering pipeline. The module splits the rendering process into independently composable stages: Frontmatter parsing → Renderer init → Markdown to HTML → HTML post-processing → Theme CSS injection → Inline styles. Each stage has independent modules and swappable implementations. The most instructive design is the theme system — 11 WeChat-compatible themes, switchable via the type-safe ThemeName.
- Skill 自包含原则:每个
skills/baoyu-*/目录可独立分发——禁止从 SKILL.md 引用../../docs/或其他 skill。共享约定内联复制到每个 SKILL.md 的专用章节(如## User Input Tools),确保提取后仍可用 - Provider 插件模式:图像生成后端通过
ProviderModule接口统一——新增后端只需实现 2 个方法,不改核心调度代码。并发控制按 Provider 粒度定制,replicate 5 并发 vs codex-cli 1 并发 - 三态缓存设计:WSL 路径检测中
wslHome变量使用undefined(未检测)/null(已检测但非 WSL)/string(WSL 路径)三态——单次检测、永久缓存、零重复开销 - Chrome CDP 反反自动化:通过真实 Chrome 浏览器 + CDP 协议操作公众号/微博后台——绕过前端反自动化检测,同时保留用户的登录 Session。远程 SOCKS5 SSH 代理模式解决了微信 IP 白名单限制
- 多档位工作流:翻译 skill 提供 quick/normal/refined 三档——快速满足简单需求,精细满足出版级质量。用户根据场景选择,不强制一刀切
- Starship 风格 TypeScript:全项目无注释、async/await、短变量名、类型安全的接口——代码即文档的设计风格,适合有经验的开发者快速阅读
| 模式 | 应用位置 | 说明 |
|---|---|---|
| Provider 插件模式 | baoyu-image-gen/scripts/main.ts | 通过接口抽象多后端,新增后端不改调度逻辑 |
| 三态缓存 | baoyu-post-to-wechat/scripts/cdp.ts | undefined/null/value 区分未检测/已检测无结果/已检测有结果 |
| 自包含 Skill 布局 | 所有 skills/baoyu-*/SKILL.md | 内联约定 + 外挂参考,确保独立可分发性 |
| 多档位工作流 | baoyu-translate/SKILL.md | 快速/标准/精细三档满足不同品质需求 |
| CDP 浏览器自动化 | baoyu-post-to-wechat/scripts/ | 通过 Chrome DevTools Protocol 操作需要登录的 Web 后台 |
| 管道式渲染 | packages/baoyu-md/src/document.ts | 解析→渲染→后处理→主题→内联,每阶段独立可替换 |
| Pattern | Location | Description |
|---|---|---|
| Provider Plugin Pattern | baoyu-image-gen/scripts/main.ts | Abstract multiple backends via interface; add backends without changing scheduling logic |
| Three-State Caching | baoyu-post-to-wechat/scripts/cdp.ts | undefined/null/value distinguishes unchecked/checked-empty/checked-found |
| Self-Contained Skill Layout | All skills/baoyu-*/SKILL.md | Inline conventions + external references ensure independent distributability |
| Multi-Tier Workflow | baoyu-translate/SKILL.md | Quick/normal/refined tiers meet different quality needs |
| CDP Browser Automation | baoyu-post-to-wechat/scripts/ | Use Chrome DevTools Protocol to operate login-required web backends |
| Pipeline Rendering | packages/baoyu-md/src/document.ts | Parse→Render→Postprocess→Theme→Inline, each stage independently replaceable |
baoyu-skill 的核心价值在于 将复杂的自媒体工作流编码为 AI Agent 可执行的指令+脚本。如果要移植这套体系到其他 Agent 平台:
- 提取特定 skill 目录(如
skills/baoyu-post-to-wechat/)——因为每个 skill 自包含 - 适配 Chrome CDP 启动逻辑——
cdp.ts的跨平台路径可能需要根据目标环境微调 - 替换 AI 图像后端——
baoyu-image-gen的 Provider 接口设计使替换只需实现一个模块 - 对于纯指令型 skill(如
baoyu-cover-image、baoyu-comic)——直接复制 SKILL.md + references/ 即可在其他 Agent 中使用
- ⚠️ Bun 运行时依赖:所有 TypeScript 脚本使用 Bun 运行(
bun scripts/main.ts),无编译步骤。如果目标环境没有 Bun,需要改造为 Node.js + tsx 或提前编译。CLAUDE.md 提供了 fallback:npx -y bun - ⚠️ Chrome 版本兼容性:CDP 协议版本与 Chrome 版本绑定。如果目标环境 Chrome 版本过老(低于 100),某些 CDP 命令可能不可用
- ⚠️ 微信 IP 白名单:公众号 API 发布需要将运行机器的 IP 加入微信白名单。baoyu-skill 提供了 SOCKS5 SSH 代理模式绕过此限制——但需要一台 IP 已被加白的远程服务器
- ⚠️ Skill 间不共享状态:21 个 skill 彼此独立,没有共享数据库或配置文件。如果需要「翻译后自动发布」这类流水线,需要在 Agent 层编排多 skill 调用
- ⚠️ 环境变量命名约定:多个图像后端各自读取不同的环境变量(如
DASHSCOPE_API_KEY、JIMENG_ACCESS_KEY_ID)——初次配置时容易遗漏
Design Highlights
Section titled “Design Highlights”- Skill Self-Containment Principle: Each
skills/baoyu-*/directory is independently distributable — SKILL.md is forbidden from referencing../../docs/or other skills. Shared conventions are inlined into each SKILL.md in dedicated sections (e.g.,## User Input Tools), ensuring functionality after extraction - Provider Plugin Pattern: Image generation backends unified via
ProviderModuleinterface — adding a new backend requires only implementing 2 methods without touching core scheduling. Concurrency control is per-Provider granular: replicate at 5 vs codex-cli at 1 - Three-State Caching: The WSL path detection variable uses
undefined(unchecked) /null(checked, not WSL) /string(WSL path) — one detection, permanent caching, zero repeat overhead - Chrome CDP Anti-Anti-Automation: Operates WeChat Official Account/Weibo backends through real Chrome browser + CDP — bypassing frontend anti-automation while preserving user login sessions. Remote SOCKS5 SSH proxy mode solves WeChat IP allowlist restrictions
- Multi-Tier Workflow: The translation skill offers quick/normal/refined tiers — fast for simple needs, refined for publication quality. Users choose based on context, no forced one-size-fits-all
- Starship-Style TypeScript: Project-wide: no comments, async/await, short variable names, type-safe interfaces — code-as-documentation style suited for experienced developers
Reusable Patterns
Section titled “Reusable Patterns”| 模式 | 应用位置 | 说明 |
|---|---|---|
| Provider 插件模式 | baoyu-image-gen/scripts/main.ts | 通过接口抽象多后端 |
| 三态缓存 | baoyu-post-to-wechat/scripts/cdp.ts | undefined/null/value 三态区分 |
| 自包含 Skill 布局 | 所有 skills/baoyu-*/SKILL.md | 内联约定 + 外挂参考 |
| 多档位工作流 | baoyu-translate/SKILL.md | 快速/标准/精细三档 |
| CDP 浏览器自动化 | baoyu-post-to-wechat/scripts/ | Chrome DevTools Protocol 操作 Web 后台 |
| 管道式渲染 | packages/baoyu-md/src/document.ts | 解析→渲染→后处理→主题→内联 |
| Pattern | Location | Description |
|---|---|---|
| Provider Plugin Pattern | baoyu-image-gen/scripts/main.ts | Abstract multiple backends via interface |
| Three-State Caching | baoyu-post-to-wechat/scripts/cdp.ts | undefined/null/value three-state |
| Self-Contained Skill Layout | All skills/baoyu-*/SKILL.md | Inline conventions + external references |
| Multi-Tier Workflow | baoyu-translate/SKILL.md | Quick/normal/refined tiers |
| CDP Browser Automation | baoyu-post-to-wechat/scripts/ | Chrome DevTools Protocol for web backends |
| Pipeline Rendering | packages/baoyu-md/src/document.ts | Parse→Render→Postprocess→Theme→Inline |
Porting Guide
Section titled “Porting Guide”baoyu-skill’s core value is encoding complex self-media workflows as AI Agent-executable instructions + scripts. To port this system to another Agent platform:
- Extract a specific skill directory (e.g.,
skills/baoyu-post-to-wechat/) — each skill is self-contained - Adapt the Chrome CDP launch logic —
cdp.tscross-platform paths may need tweaking for the target environment - Swap AI image backends —
baoyu-image-gen’s Provider interface makes replacement just implementing one module - For pure-instruction skills (e.g.,
baoyu-cover-image,baoyu-comic) — directly copy SKILL.md + references/ for use in other Agents
Common Pitfalls
Section titled “Common Pitfalls”- ⚠️ Bun Runtime Dependency: All TypeScript scripts run via Bun (
bun scripts/main.ts) without compilation. If Bun isn’t available in the target environment, refactor to Node.js + tsx or pre-compile. CLAUDE.md provides a fallback:npx -y bun - ⚠️ Chrome Version Compatibility: CDP protocol versions are tied to Chrome versions. If the target Chrome is too old (below 100), some CDP commands may be unavailable
- ⚠️ WeChat IP Allowlist: WeChat Official Account API publishing requires the running machine’s IP in WeChat’s allowlist. baoyu-skill provides a SOCKS5 SSH proxy mode to bypass this — but requires a remote server with an allowlisted IP
- ⚠️ No Cross-Skill State: The 21 skills are independent with no shared database or config files. If you need a pipeline like “translate then auto-publish”, orchestrate multiple skill calls at the Agent level
- ⚠️ Env Var Naming Conventions: Multiple image backends read different env vars (e.g.,
DASHSCOPE_API_KEY,JIMENG_ACCESS_KEY_ID) — easy to miss during initial setup