Releases: JimLiu/baoyu-skills
Releases · JimLiu/baoyu-skills
v2.4.0
Features
baoyu-wechat-summary: add an@botQ&A section to both the normal and roast digests. Messages mentioning@bot/@精华bot(customizable via the newbot_aliasespreference) are detected during the skeleton pass and answered in a dedicated section — earnest and helpful in the normal version, snarky-but-substantive in the roast version. Answers draw only on the chat context and the model's own knowledge (no web access) and honestly flag anything that needs real-time data
v2.3.0
2.3.0 - 2026-05-28
Features
baoyu-md,baoyu-markdown-to-html,baoyu-post-to-wechat,baoyu-post-to-x: support Obsidian image wikilinks (![[...]]) alongside standard Markdown images, preserve mixed image order, and resolve Obsidian's defaultAttachments/paths (by @zcqqq)
Fixes
baoyu-md,baoyu-post-to-x: decode URL-encoded local image paths before resolution so filenames with spaces or CJK characters are handled correctly (by @zcqqq)baoyu-md,baoyu-post-to-x: harden decoded image path handling so malformed percent escapes fall back safely instead of breaking placeholder extraction (by @zcqqq)
v2.2.1
2.2.1 - 2026-05-26
Documentation
baoyu-image-gen: surfacescripts/build-batch.tsin SKILL.md's Usage section so theoutline.md+prompts/→batch.jsonworkflow (e.g.,baoyu-article-illustratoroutput) is discoverable next to--batchfile. Clarify that allscripts/...paths in SKILL.md are relative to{baseDir}and point the Generation Mode table at{baseDir}/scripts/build-batch.ts. Updatebuild-batch.ts --helpto printbun/npx -y buninvocations with the{baseDir}/scripts/...layout used by the rest of the skill
v2.2.0
Features
baoyu-image-gen: newcodex-cliprovider that wraps thecodex-imagegenbackend so the Codeximage_gentool is reachable through the standard--provider/ batch / EXTEND.md flow. Uses the user's Codex subscription — noOPENAI_API_KEYrequired. Adds env varsBAOYU_CODEX_IMAGEGEN_{BIN,CACHE_DIR,TIMEOUT_MS,RETRIES,LOG_FILE}and resolves hyphenated provider names forBAOYU_IMAGE_GEN_<PROVIDER>_*overrides (e.g.,BAOYU_IMAGE_GEN_CODEX_CLI_CONCURRENCY).codex-cliis never auto-selected — pin via--provider codex-cliordefault_provider: codex-cliin EXTEND.md
Refactor
codex-imagegen: extracted fromscripts/codex-imagegen/+scripts/codex-imagegen.shto its own workspace package atpackages/baoyu-codex-imagegen/. The bash shim is gone;src/main.tsnow carries a#!/usr/bin/env bunshebang and is the sole entrypoint (bun packages/baoyu-codex-imagegen/src/main.ts …or, without bun onPATH,npx -y bun …).scripts/sync-codex-imagegen.shkeepsskills/baoyu-image-gen/scripts/codex-imagegen/in sync for skill self-containment
Documentation
baoyu-cover-image: replace the long inlinescripts/codex-imagegen.shinvocation block inSKILL.mdwith a pointer toreferences/codex-imagegen.md, documenting the preferredbaoyu-image-gen --provider codex-clipath and keeping the direct-wrapper fallbackbaoyu-article-illustrator,baoyu-comic,baoyu-infographic,baoyu-slide-deck,baoyu-xhs-images: add aCodex via codex execbranch to each skill's backend-selection ladder and ship a per-skillreferences/codex-imagegen.mdwith the invocation contract (preferred path, fallback, stdout schema, batch semantics)docs/codex-imagegen-backend.mdandCLAUDE.md: update path layout and invocation examples to reflect the new workspace package location
v2.1.0
Features
baoyu-markdown-to-html: render fenced```mermaidcode blocks to local PNG via shared Chrome (CDP) before the standard image-placeholder pipeline runs. New CLI flags:--mermaid-theme <default|forest|dark|neutral|base>,--mermaid-scale <N>(default2for @2x resolution),--mermaid-bg <white|transparent|#hex>, and--no-mermaidto disable rendering. Generated images land inimgs/.mermaid-cache/mermaid-<hash>.pngand are deduplicated/reused across runs by a 12-char SHA-256 over(code, theme, scale, background, mermaid version). The browser-side<pre class="mermaid">path is retained as a graceful fallback when Chrome is unavailable or a single block fails to renderbaoyu-post-to-wechat,baoyu-post-to-weibo,baoyu-post-to-x: cascade the same Mermaid → PNG preprocessing into the WeChat / Weibo / X publishing pipelines so diagrams appear as real images in the published posts (previously they fell through as unrendered<pre>blocks). ExistingWECHATIMGPH_*/WBIMGPH_*/XIMGPH_*placeholder pipelines pick up the generated PNGs unchangedbaoyu-mdpackage: new exportspreprocessMermaidInMarkdown,extractMermaidBlocks,replaceMermaidBlocks,hashMermaidCode, andMERMAID_VERSION(skills inject the render function so the package stays Chrome-free)baoyu-chrome-cdppackage: new./mermaidsubexport providingrenderMermaidToPng(code, outputPath, options)backed by a process-singleton CDP connection that reuses the shared Chrome profile and ships the vendored Mermaid 10.9.1 UMD bundle as an asset
v2.0.0
Breaking
- Removed
baoyu-imagineskill. All functionality (providers, scripts, references) now lives underbaoyu-image-gen. The skill is registered inmarketplace.jsonunder the new name and itshomepageURL has changed to#baoyu-image-gen. - Removed
baoyu-image-cardsskill. All functionality (styles, layouts, palettes, presets) now lives underbaoyu-xhs-images. The skill is registered inmarketplace.jsonunder the new name. - Cross-skill
## Image Generation Toolsexamples inbaoyu-article-illustrator,baoyu-comic,baoyu-cover-image,baoyu-infographic, andbaoyu-slide-decknow referencebaoyu-image-geninstead ofbaoyu-imagine.
Migration
- Existing
~/.baoyu-skills/baoyu-imagine/EXTEND.mdand.baoyu-skills/baoyu-imagine/EXTEND.mdconfigs are auto-renamed to…/baoyu-image-gen/EXTEND.mdon first run via the legacy-path resolver inscripts/main.ts. - Users invoking the skill via slash command should switch from
/baoyu-imagine ...to/baoyu-image-gen ...and from anybaoyu-image-cardsreference tobaoyu-xhs-images.
v1.119.0
Features
baoyu-electron-extract: new skill that extracts resources and JavaScript from any installed Electron app'sapp.asar. Restores original sources from embeddedsourcesContentin.js.mapfiles when present (TypeScript/JSX included) or formats minified JS/CSS with Prettier in place when not. Source-map paths are resolved relative to each.js.mapfile first, so bundler-relative entries like../../src/main.tsrestore to readable paths underrestored/instead of hashed placeholders. Always skipsnode_modulesandwebpack/runtime/*entries. Auto-discovers apps on macOS (/Applications,~/Applications) and Windows (%LOCALAPPDATA%\Programs,%PROGRAMFILES%,%PROGRAMFILES(X86)%,%APPDATA%); other platforms can pass--asar <path>explicitly. Safety: refuses to write to/, the user home, or the current working directory, and refuses non-empty existing output dirs without--force
v1.117.2
1.117.2 - 2026-05-17
Documentation
baoyu-cover-image: ban programmatic text repair on generated bitmaps — disallow ImageMagick / Pillow / Canvas / SVG / HTML overlays to cover, rewrite, or replace title/subtitle text; regenerate from a corrected prompt or switch to a lower-text or no-title variant insteadbaoyu-article-illustrator,baoyu-comic,baoyu-image-cards,baoyu-xhs-images,baoyu-infographic,baoyu-slide-deck: sync the same text-repair ban with skill-specific text categories (labels/captions, dialogue/sound effects, titles/body/tags, headings/data values, slide titles/bullets)
v1.117.1
v1.117.0
1.117.0 - 2026-05-16
Features
baoyu-article-illustrator: add batch generation policy — backend native batch first, runtime parallel calls second, sequential fallback; configurablegeneration_batch_sizeand--batch-sizeoptionbaoyu-comic: add batch generation policy with dependency-aware ordering (character sheet before pages) and configurable--batch-sizebaoyu-image-cards: add batch generation policy honoring image-1 anchor chain, with configurable--batch-sizebaoyu-slide-deck: add batch generation policy for slide image rendering with configurable--batch-sizebaoyu-xhs-images: sync batch generation policy from baoyu-image-cards