with one click
stock-watch
**自选股助手**。通过内置股票服务管理当前用户的自选股,并查询实时行情。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
**自选股助手**。通过内置股票服务管理当前用户的自选股,并查询实时行情。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
生成长文或图文发布稿,也支持直接基于本地 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).
**把本地视频转成 Markdown 文本工件**。输出时间序画面描述、OCR 和分段音轨转写,不直接给最终结论。
| api_version | v3 |
| name | stock_watch |
| description | **自选股助手**。通过内置股票服务管理当前用户的自选股,并查询实时行情。 |
| triggers | ["stock","股票","自选股","add_stock","remove_stock"] |
| policy_groups | ["finance"] |
| platform_handlers | true |
| scheduled_jobs | true |
| input_schema | {"type":"object","properties":{}} |
| permissions | {"filesystem":"workspace","shell":true,"network":"limited"} |
| entrypoint | scripts/execute.py |
此技能已经自带完整脚本与服务层,入口是 scripts/execute.py。不要自行写临时 Python/Node 脚本,不要手工挑选用户数据文件路径。
core.state_store 内部管理,数据落在 Bot 自己的数据目录中。~/.ikaros/stocks.json、临时 SQLite、Markdown 或其他自定义持久化文件。X_BOT_RUNTIME_USER_ID 读取;只有注入缺失时才手工传 --user-id。X_BOT_RUNTIME_PLATFORM 读取;为空或为 subagent_kernel 时自动回落到 telegram。通过 bash 在技能目录执行:
cd skills/builtin/stock_watch
python scripts/execute.py <subcommand> [args]
如果运行时没有自动注入用户上下文,再显式补参数:
cd skills/builtin/stock_watch
python scripts/execute.py --user-id 123456 add NVDA
list
读取当前用户自选股,并输出最新行情。refresh
list 的别名。quotes [CODE ...]
查询显式股票代码;如果不传代码,则查询当前用户自选股。search <keyword>
根据股票名称或代码搜索候选项。add <keyword>
搜索并加入自选股;如果匹配到多个候选,会返回候选列表,之后应让用户明确选择。remove <keyword>
按代码、精确名称或模糊名称删除当前用户自选股。--user-id <id>
仅在 X_BOT_RUNTIME_USER_ID 缺失时使用。--platform <name>
可选,默认读取运行时平台;常见值如 telegram、discord。python scripts/execute.py list。search;确认后再执行 add。cd skills/builtin/stock_watch
python scripts/execute.py list
python scripts/execute.py search 宁德时代
python scripts/execute.py add NVDA
python scripts/execute.py remove TSLA
python scripts/execute.py quotes sh600519 sz000001