بنقرة واحدة
news-article-writer
为新闻或热点主题生成长文,也支持直接基于本地 md/txt 素材写作;可自动搜索资料、生成配图,并支持多渠道发布,当前已支持微信公众号和小红书发布通道。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
为新闻或热点主题生成长文,也支持直接基于本地 md/txt 素材写作;可自动搜索资料、生成配图,并支持多渠道发布,当前已支持微信公众号和小红书发布通道。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
生成长文或图文发布稿,也支持直接基于本地 md/txt 素材写作;可自动搜索资料、生成配图,并支持多渠道发布,当前已支持微信公众号和小红书发布通道。支持按阶段(search/write/illustrate/publish)单独执行或全流程编排。
**自选股助手**。通过内置股票服务管理当前用户的自选股,并查询实时行情。
管理周期性定时任务(Cron),支持添加、查看、删除任务。
提供日常基础查询能力,支持天气、时间、加密货币价格和法币汇率。
**文生图**。根据提示词生成图片并返回图片文件。
Ikaros-side unfinished-task tracker for listing open tasks, inspecting closure contracts, updating task follow-up state, and explicitly closing tasks (completed/failed).
استنادا إلى تصنيف SOC المهني
| api_version | v3 |
| name | news_article_writer |
| description | 为新闻或热点主题生成长文,也支持直接基于本地 md/txt 素材写作;可自动搜索资料、生成配图,并支持多渠道发布,当前已支持微信公众号和小红书发布通道。 |
| triggers | ["新闻文章","公众号文章","写公众号","写长文","深度报道","热点解读"] |
| runtime_target | manager |
| change_level | learned |
| allow_manager_modify | true |
| allow_auto_publish | true |
| rollout_target | manager |
| preflight_commands | ["python scripts/execute.py --help"] |
| policy_groups | ["content","research"] |
| platform_handlers | false |
| input_schema | {"type":"object","properties":{"topic":{"type":"string","description":"文章主题、写作要求或新闻话题。提供本地素材时可选。"},"source_path":{"type":"string","description":"本地 md/txt 素材路径。提供后跳过搜索,直接基于素材写作。"},"source_paths":{"type":"array","items":{"type":"string"},"description":"多个本地 md/txt 素材路径。提供后跳过搜索,直接基于素材写作。"},"publish":{"type":"boolean","description":"是否发布到所选渠道"},"publish_channel":{"type":"string","description":"发布或导出渠道,支持 wechat、xiaohongshu"},"publish_channels":{"type":"array","items":{"type":"string"},"description":"多个发布或导出渠道,支持 wechat、xiaohongshu"}},"anyOf":[{"required":["topic"]},{"required":["source_path"]},{"required":["source_paths"]}]} |
| permissions | {"filesystem":"workspace","shell":true,"network":"limited"} |
| entrypoint | scripts/execute.py |
这是新闻长文写作 skill。入口固定是 scripts/execute.py;搜索阶段内部复用 web_search,正文抓取继续走 fetch_webpage_content,不要在外部手工拆成多个 skill。
python scripts/execute.py "OpenAI 最新模型发布"python scripts/execute.py "DeepSeek 新进展" --publishpython scripts/execute.py "AI 工作流" --publish-channel xiaohongshupython scripts/execute.py "AI 工作流" --publish --publish-channel wechat --publish-channel xiaohongshupython scripts/execute.py --source-path /abs/path/to/video_text.md "基于素材写一篇教程"python scripts/execute.py "OpenAI 最新模型发布" --raw-jsonctx.run_skill("web_search", {"query": topic, "num_results": 8});这是当前 web_search skill 支持的正确参数形式。source_path/source_paths 时,不进行搜索,也不抓网页;直接基于本地 md/txt 素材写作,但仍然生成配图。publish=true 且未显式指定渠道时,默认按 wechat 兼容旧行为。credential_manager 配置 wechat_official_account 的 app_id 与 app_secret。credential_manager 配置 xiaohongshu_publisher 的 endpoint=,可选 token=、api_key=、author=。当前小红书走可配置发布通道,不假设存在官方公开内容发布 API。wechat_official_account 和 xiaohongshu_publisher 都支持统一配置 author=;文章作者优先使用发布渠道账户里的这个值,图片水印自动派生为 @author。bash 让 bot 执行 CLI,优先追加 --raw-json;CLI 会用 tool_result=... 输出最终结构化结果,避免把进度文本误当成 shell 错误。python skills/builtin/credential_manager/scripts/execute.py add wechat_official_account --data 'app_id=xxx app_secret=yyy author=炜煜'python skills/builtin/credential_manager/scripts/execute.py add xiaohongshu_publisher --data 'endpoint=https://publisher.example.com/xhs token=xxx author=炜煜'xiaohongshu 渠道时,会额外生成 xiaohongshu_note.txt 和 xiaohongshu_note.json 作为发布草稿附件。--output-dir 指定目录,并输出 saved_file=<绝对路径>。