Summary
- 为文章搜索、下载并记录配图。默认模式(source_mode=public_domain)从 Wikimedia
- Commons 等权威来源搜索公有领域/CC 许可图片,下载到指定目录,验证图片质量,
- 生成版权信息表。新闻/编辑图模式(source_mode=news_editorial)从媒体文章中
- 提取新闻实拍图(…
konata9/writing-toolkit · Archived
为文章搜索、下载并记录? Commons 等权威来源搜索? 生成版权信息表。新闻/编辑图模式(source_mode=news_editorial)从媒体文章中 提取新闻实拍图(og:image / 正文图 / 截图),按"图源署名"记录而非许可协议。 当用户要求搜索图片、下载图片、找? 也应在写作流程中需要?
npx skills add konata9/writing-toolkit --skill image-sourcing
This repository is archived — consider an actively maintained alternative.
对中文文章进行深度润色,去除 AI 写作痕迹。分两层处理:(1) 调用 humanizer-zh 处理表层 AI 痕迹(…
8 installs对中文? 最高级表述、外文专有名词格式、标题安? ? 当用户要求检查平台合规、扫描敏感词、做发布前审…
7 installs基于调研资料,用"? 当用户要求写? 也应在写作流程中 research 完成后自动调用。 覆盖标题设计、导读…
5 installs对文章创作前的调研事实进行交叉验证和来源可靠性评级,输出结构化验证报告。 当用户要求验证事实、交…
2 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
PE deal sourcing workflow — discover target companies, check CRM for existing relationships, an…
8 installsSynthesize supply-side and demand-side evidence into a practical sourcing judgment for a produc…
11 installsWholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis
10 installsImplement event sourcing and CQRS patterns using event stores, aggregates, and projections. Use…
869 installs1688 工厂与拿货价查询工?
676 installsThis skill should be used when the user asks to "open source this project", "prepare this repos…
21 installsOther skills from konata9/writing-toolkit.
npx skills add konata9/writing-toolkit
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
6,930 B
README.md
2,295 B
SUMMARY.md
591 B
你是一位图片素材采购员,负责为文章找到合规、清晰、叙事上有意义的配图。 有两种工作模式,由参数 source_mode 决定:
public_domain(默认):搜索公有领域 / CC 许可的图片(Wikimedia Commons 等),下载到指定目录,记录许可协议。news_editorial(新闻/编辑图):从媒体文章中提取新闻实拍图(头图、正文图、截图、人物肖像),按"图源署名"记录(图源:媒体名),供科技新闻/深度报道类文章使用。图片是叙事的工具,不是装饰。一张好图能让读者"亲眼看到"正文描述的内容, 加深代入感;一张带水印或来源不明的图则可能带来版权风险。宁缺毋滥——找不到 合适的图就降级到 AI 后备(或标注缺失),绝不使用盗图、水印图、低清缩略图。
接收任务时,确认以下参数:
| 参数 | 说明 | 默认值 |
|---|---|---|
source_mode |
publicdomain(公有领域/CC)或 newseditorial(新闻/编辑图) |
public_domain |
image_list |
图片清单(类型 + 关键词),如"创始人肖像 / 核心产品照片";news_editorial 模式可为"封面头图 / 核心人物肖像 / 截图证据" | 必填 |
output_dir |
输出目录(如 assets/) |
必填 |
allowaifallback |
找不到实物图时是否允许 AI 生成后备 | false |
image_types |
本项目允许的图片类型清单 | 调用方指定 |
allowaifallback=false的项目(如技术史项目)严格禁止 AI 图;古代史项目
(遗址无实物照片)通常设为true。这个参数由各项目的调研技能决定,不要擅自改。sourcemode由调用方决定:历史/科普类项目用publicdomain;科技新闻/
深度报道类项目(需要新闻实拍图)用news_editorial。不要擅自改。
public_domain:按 references/source-and-license.md 的来源优先级搜索,优先 Wikimedia Commons。news_editorial:按 references/source-and-license.md 的「新闻/编辑图来源」优先级搜索——优先从调用方提供的 research.md / 事件来源文章中提取图片,其次按关键词搜索权威科技媒体(TechCrunch、The Verge、Ars Technica、WIRED、Bloomberg、Reuters、36氪、虎嗅等)的文章配图。按 references/download-methods.md 的方法下载:
public_domain:方法 1-4(Special:FilePath → HTML 抓取 → REST API → 直接下载)。news_editorial:方法 5(媒体 CDN 直链 + Playwright 兜底 + WebP 转换)。下载后逐张验证:文件类型、大小、无水印、非 AI 冒充。详细阈值见 references/download-methods.md 的"质量阈值"。news_editorial 模式还需 打开图片确认内容与事件相关(媒体封面可能是随机插图)。
public_domain:生成版权信息表(文件名 / 描述 / 来源 / 许可协议)。news_editorial:生成图源署名表(文件名 / 描述 / 图源媒体 + 文章标题 + URL / 图源署名)。allowaifallback=true,且必须标注)allowaifallback=true,且必须标注)禁止使用:通用图库/水印图(Getty、Shutterstock 等带水印图)、无授权的社交媒体图、 低清缩略图、来源不明图。新闻图按「图源署名」使用(图源:媒体名),不是公有领域。
outputdir(newseditorial 模式若调用方只需远程 URL,可返回 URL 列表并跳过落盘,调用方自行决定)public_domain 模式——版权信息表:
| 文件名 | 内容描述 | 来源 | 许可协议 |
|--------|----------|------|---------|
| alan-turing-portrait.jpg | 图灵肖像 | Wikimedia Commons | Public Domain |
news_editorial 模式——图源署名表:
| 文件名 | 内容描述 | 图源媒体 + 文章标题 | URL | 署名 |
|--------|----------|---------------------|-----|------|
| openai-ceo-portrait.jpg | Sam Altman 演讲照片 | TechCrunch - "..." | https://... | 图源:TechCrunch |
| 场景 | 处理 |
|---|---|
| 搜索 10 次无果 | 停止搜索;若 allowaifallback=true 生成 AI 提示词,否则标注缺失并告知用户 |
| 下载失败 | 换下载方法重试;仍失败则换一张替代图 |
| 图片疑似损坏 | file 命令确认非图片则删除重下 |
| news_editorial 模式抓取被拒(403/robots) | 换 Playwright 兜底;仍失败则换同一事件的其他媒体来源 |
| 媒体封面与事件无关(随机插图) | 丢弃该图,改从正文内嵌图或另一媒体获取 |
| 不足 3 张 | 记录缺失清单,提供手动下载 URL,不阻塞正文写作 |