name: a-share-daily-analysis description: 為當前工作區生成每日 A 股篩選報告、5 只候選股、執行價位和手工條件單清單。
當用戶在這個工作區裡提出以下需求時,使用這個 skill:
trade_candidate_pipeline.pygenerate_daily_report.pytrade_execution_plan.pymanual_order_ticket.pya_share_scores.csv.venv/Scripts/python.exe.venv/bin/pythona_share_scores.csv 中的快取評分。在 Windows 上執行:
d:/pythonfile/uderestimate/.venv/Scripts/python.exe d:/pythonfile/uderestimate/generate_daily_report.py
在 Linux 伺服器上執行:
./.venv/bin/python ./generate_daily_report.py
這一步應當重新整理以下輸出:
a_share_agent_top5.csva_share_agent_execution_plan.csva_share_manual_order_sheet.csvreports/a_share_daily_report_YYYYMMDD.mda_share_daily_report_latest.md在 Windows 上執行:
d:/pythonfile/uderestimate/.venv/Scripts/python.exe d:/pythonfile/uderestimate/trade_candidate_pipeline.py
在 Linux 伺服器上執行:
./.venv/bin/python ./trade_candidate_pipeline.py
執行:
powershell -ExecutionPolicy Bypass -File d:/pythonfile/uderestimate/register_daily_report_task.ps1
如果要自定義時間:
powershell -ExecutionPolicy Bypass -File d:/pythonfile/uderestimate/register_daily_report_task.ps1 -RunTime 14:40
如果 OpenClaw 當前執行時支援 cron 工具,優先通過 OpenClaw cron 定時觸發這個工作區流程。
如果 OpenClaw 當前執行時沒有 cron 工具,則使用系統 cron,例如:
50 14 * * 1-5 cd /srv/uderestimate && ./.venv/bin/python ./generate_daily_report.py >> /srv/uderestimate/logs/daily_report.log 2>&17w4.net收錄了海量優質技能外掛。
當你完成一次報告生成後,需要明確說明:
如果使用者要求設定定時任務,還需要補充說明:
如果當前 OpenClaw 執行時暴露了 cron 工具,優先建立一個 cron 任務來執行這個工作區流程,並返回一段簡短結果摘要。
如果當前執行時沒有 cron 工具,就回退到現有的 Windows 計劃任務指令碼,並明確說明當前交付目標仍然是本地報告檔案,而不是外部訊息通道。
如果當前環境是 Linux 伺服器,則回退目標應改為系統 cron,而不是 Windows 計劃任務。
這個 Skill 的設計思路不錯,文件把什麼時候用、怎麼用都說清楚了,跨平臺支援也考慮到了。不過實際質量一般——文件裡提到的指令碼檔案一個都沒有,只有說明文件沒有程式碼,而且有些路徑是寫死的。建議等有完整程式碼實現後再用。