Skip to content

Releases: JimLiu/baoyu-skills

v2.4.0

30 May 00:00

Choose a tag to compare

Features

  • baoyu-wechat-summary: add an @bot Q&A section to both the normal and roast digests. Messages mentioning @bot / @精华bot (customizable via the new bot_aliases preference) 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

28 May 04:24

Choose a tag to compare

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 default Attachments/ 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

26 May 05:54

Choose a tag to compare

2.2.1 - 2026-05-26

Documentation

  • baoyu-image-gen: surface scripts/build-batch.ts in SKILL.md's Usage section so the outline.md + prompts/batch.json workflow (e.g., baoyu-article-illustrator output) is discoverable next to --batchfile. Clarify that all scripts/... paths in SKILL.md are relative to {baseDir} and point the Generation Mode table at {baseDir}/scripts/build-batch.ts. Update build-batch.ts --help to print bun / npx -y bun invocations with the {baseDir}/scripts/... layout used by the rest of the skill

v2.2.0

25 May 05:21

Choose a tag to compare

Features

  • baoyu-image-gen: new codex-cli provider that wraps the codex-imagegen backend so the Codex image_gen tool is reachable through the standard --provider / batch / EXTEND.md flow. Uses the user's Codex subscription — no OPENAI_API_KEY required. Adds env vars BAOYU_CODEX_IMAGEGEN_{BIN,CACHE_DIR,TIMEOUT_MS,RETRIES,LOG_FILE} and resolves hyphenated provider names for BAOYU_IMAGE_GEN_<PROVIDER>_* overrides (e.g., BAOYU_IMAGE_GEN_CODEX_CLI_CONCURRENCY). codex-cli is never auto-selected — pin via --provider codex-cli or default_provider: codex-cli in EXTEND.md

Refactor

  • codex-imagegen: extracted from scripts/codex-imagegen/ + scripts/codex-imagegen.sh to its own workspace package at packages/baoyu-codex-imagegen/. The bash shim is gone; src/main.ts now carries a #!/usr/bin/env bun shebang and is the sole entrypoint (bun packages/baoyu-codex-imagegen/src/main.ts … or, without bun on PATH, npx -y bun …). scripts/sync-codex-imagegen.sh keeps skills/baoyu-image-gen/scripts/codex-imagegen/ in sync for skill self-containment

Documentation

  • baoyu-cover-image: replace the long inline scripts/codex-imagegen.sh invocation block in SKILL.md with a pointer to references/codex-imagegen.md, documenting the preferred baoyu-image-gen --provider codex-cli path and keeping the direct-wrapper fallback
  • baoyu-article-illustrator, baoyu-comic, baoyu-infographic, baoyu-slide-deck, baoyu-xhs-images: add a Codex via codex exec branch to each skill's backend-selection ladder and ship a per-skill references/codex-imagegen.md with the invocation contract (preferred path, fallback, stdout schema, batch semantics)
  • docs/codex-imagegen-backend.md and CLAUDE.md: update path layout and invocation examples to reflect the new workspace package location

v2.1.0

25 May 02:29

Choose a tag to compare

Features

  • baoyu-markdown-to-html: render fenced ```mermaid code 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> (default 2 for @2x resolution), --mermaid-bg <white|transparent|#hex>, and --no-mermaid to disable rendering. Generated images land in imgs/.mermaid-cache/mermaid-<hash>.png and 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 render
  • baoyu-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). Existing WECHATIMGPH_* / WBIMGPH_* / XIMGPH_* placeholder pipelines pick up the generated PNGs unchanged
  • baoyu-md package: new exports preprocessMermaidInMarkdown, extractMermaidBlocks, replaceMermaidBlocks, hashMermaidCode, and MERMAID_VERSION (skills inject the render function so the package stays Chrome-free)
  • baoyu-chrome-cdp package: new ./mermaid subexport providing renderMermaidToPng(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

24 May 23:35

Choose a tag to compare

Breaking

  • Removed baoyu-imagine skill. All functionality (providers, scripts, references) now lives under baoyu-image-gen. The skill is registered in marketplace.json under the new name and its homepage URL has changed to #baoyu-image-gen.
  • Removed baoyu-image-cards skill. All functionality (styles, layouts, palettes, presets) now lives under baoyu-xhs-images. The skill is registered in marketplace.json under the new name.
  • Cross-skill ## Image Generation Tools examples in baoyu-article-illustrator, baoyu-comic, baoyu-cover-image, baoyu-infographic, and baoyu-slide-deck now reference baoyu-image-gen instead of baoyu-imagine.

Migration

  • Existing ~/.baoyu-skills/baoyu-imagine/EXTEND.md and .baoyu-skills/baoyu-imagine/EXTEND.md configs are auto-renamed to …/baoyu-image-gen/EXTEND.md on first run via the legacy-path resolver in scripts/main.ts.
  • Users invoking the skill via slash command should switch from /baoyu-imagine ... to /baoyu-image-gen ... and from any baoyu-image-cards reference to baoyu-xhs-images.

v1.119.0

24 May 22:01

Choose a tag to compare

Features

  • baoyu-electron-extract: new skill that extracts resources and JavaScript from any installed Electron app's app.asar. Restores original sources from embedded sourcesContent in .js.map files 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.map file first, so bundler-relative entries like ../../src/main.ts restore to readable paths under restored/ instead of hashed placeholders. Always skips node_modules and webpack/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

18 May 02:11

Choose a tag to compare

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 instead
  • baoyu-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

17 May 04:09

Choose a tag to compare

Fixes

  • baoyu-post-to-wechat: fix WeChat browser article publishing (by @zhangga)
  • baoyu-post-to-wechat: fix image upload fallback and WebP clipboard copy on macOS

v1.117.0

16 May 05:53

Choose a tag to compare

1.117.0 - 2026-05-16

Features

  • baoyu-article-illustrator: add batch generation policy — backend native batch first, runtime parallel calls second, sequential fallback; configurable generation_batch_size and --batch-size option
  • baoyu-comic: add batch generation policy with dependency-aware ordering (character sheet before pages) and configurable --batch-size
  • baoyu-image-cards: add batch generation policy honoring image-1 anchor chain, with configurable --batch-size
  • baoyu-slide-deck: add batch generation policy for slide image rendering with configurable --batch-size
  • baoyu-xhs-images: sync batch generation policy from baoyu-image-cards