Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/lienjack/learn-agent/article-imagesnpx skills add LienJack/learn-agent --skill article-imagesgit clone --depth 1 https://github.com/LienJack/learn-agentWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00027 | $0.00712 |
| Opus 5 | $0.00014 | $0.00356 |
| Sonnet 5 | $0.00005 | $0.00142 |
| Haiku 4.5 | $0.00003 | $0.00071 |
Grade A, and why
article-images scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
文章图片总编排 Skill
本 skill 只能通过显式引用本文件路径触发,不依赖全局安装、symlink 或 $skill-name 自动发现。
输入要求
- 用户必须提供一篇或多篇 Markdown 文章路径。
- 默认处理
all:封面 prompt、正文 Mermaid、从原文恢复的 SVG Mermaid、正文插图 prompt/导入和压缩。 - 可以使用
--stage covers、--stage mermaid、--stage svg-mermaid、--stage photos或--stage compress只运行一个子流程。
执行流程
- 阅读
images/README.md、images/workflows/article-image-pipeline.md、images/workflows/mermaid-to-png.md和images/workflows/blog-to-photo.md。 - 先运行
images/bin/article-images --dry-run [--stage ...] <article.md ...>。 - 展示文章数量、每篇文章工作区、封面 prompt 数量、Mermaid 数量、SVG Mermaid 数量、正文插图 prompt 数量、warning、blocker、plan artifact 和 run record。
- 如果 dry-run 有 blocker,先解决 blocker,不运行真实写入。
- 用户确认后运行
images/bin/article-images --yes [--stage ...] <article.md ...>。 - 如果包含
svg-mermaid,CLI 会到/Users/lienli/Library/Mobile Documents/iCloud~md~obsidian/Documents/tech/techBlog/blog查找匹配原文,保存对应 Mermaid.mmd,用 Mermaid CLI 生成 PNG,并替换旧 SVG 引用。 - 如果包含 photos,继续调用
article-photosskill 按 prompt manifest 使用blog-to-photo和内置imagegen生成图片,并通过images/bin/article-images --import ... --prompt-id ... <article.md>导入选定图片;真实图片生成仍然只能一张一张跑。 - 所有真实生成、导入或重建后的 PNG/JPG/WebP 默认走压缩流程;仅在调试时可用
--no-compress跳过。 - 完成后运行
images/bin/article-image-check <article.md ...>。
规则
- 批量输入从第一版开始支持;不要把多篇文章拆成互相无记录的单篇手工流程。
- 每篇文章使用文章旁
assets/<article-slug>/工作区。 - Mermaid、svg-mermaid、cover、photo、prompt、manifest 必须用 asset kind 区分。
- 已经是 SVG 图片引用且文件名包含
mermaid时,优先从 Obsidian 原文 Mermaid block 重建 PNG,而不是直接把 SVG 栅格化。 - 真实图片生成优先用内置
imagegen;只有失败或不可用后才使用images/bin/article-photo-fallback。 - 不建设图库 UI、不做完整多语言图片翻译。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 37 lines · 27 tokens per session scan A e3e92ad71a83
article-images is a skill published in the GitHub repository LienJack/learn-agent (23 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 712 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
Technical Blog Post Writer
Writes engaging, accurate technical blog posts targeted at developer audiences.
technical-documentation
AI-powered technical documentation creation, maintenance, and auditing across README, ADR, API docs, runbooks, onboarding guides, changelogs, knowledge bases, and AI agent context files (AGENTS.md/CLAUDE.md). Primary keywords: technical documentation writing automation, ADR architecture decision record, API docs…
repomix
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find patterns, check token counts, or prepare codebase context for AI analysis. Supports both local directories and remote GitHub repositories.
knowledge-base
Create and maintain a Markdown knowledge base that any AI agent can read, search, and update. Use when the user wants to start a knowledge base, add or update notes, organize docs/notes for an agent or LLM to consume, build an index of notes, or run a cleanup/maintenance pass on an existing MD knowledge base. Triggers…
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
powerpoint
Create designed, editable PowerPoint .pptx presentations with PptxGenJS. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.