my_stock_tradeagents_rebuild_skill
当且仅当用户明确提出“重新构建tradeagents”或类似高度相关指令时触发。主要功能为在 ~/TradingAgents 目录下重新创建并激活 Python 虚拟环境,安装包及依赖,最后总结修改并推送到远程仓库。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/canonxu/my-stock-tradeagents-rebuild-skillWhat This Skill Does
The my_stock_tradeagents_rebuild_skill is a specialized automation utility designed for developers and quantitative traders managing the TradingAgents codebase. Its primary function is to handle the full lifecycle of a clean environment re-initialization. When invoked, the skill navigates to the ~/TradingAgents directory, purges any existing virtual environment to ensure no stale artifacts remain, and creates a fresh Python 3.13 virtual environment. It then proceeds to install the project dependencies via pip and automatically commits the environment changes to a version-controlled Git branch, streamlining the setup process for consistent development builds.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/canonxu/my-stock-tradeagents-rebuild-skill
Ensure you have the necessary write permissions in your home directory and existing Git authentication configured, as the skill performs automated commits and pushes to your remote repository.
Use Cases
This skill is ideal for scenarios where the Python dependencies have drifted, the virtual environment has become corrupted, or you need to ensure that the production-equivalent environment is perfectly synchronized with your latest code updates. It is particularly useful when onboarding new changes to trading algorithms that require fresh library versions or specific build flags available in Python 3.13.
Example Prompts
- "OpenClaw, please run the rebuild for the tradeagents environment to fix the missing dependencies."
- "I've updated the requirements; please trigger the rebuild process for my TradingAgents workspace."
- "重新构建tradeagents,并把更新后的环境推送到远程仓库。"
Tips & Limitations
- Safety First: Because this skill performs destructive actions like
rm -rf venvand automatedgit pushcommands, ensure you are in the correct branch or working state before triggering it. - Directory Dependency: The skill is hardcoded to work specifically within the
~/TradingAgentsdirectory. If your repository resides elsewhere, you will need to relocate it before usage. - Version Requirements: It explicitly utilizes
python3.13. Please ensure this version is installed on your host system before deployment. - Git Auth: Since the skill pushes to a remote repository, ensure your SSH keys are correctly configured in the
~/TradingAgentsenvironment to avoid interaction prompts that could hang the agent.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-canonxu-my-stock-tradeagents-rebuild-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
my_stock_decide_execute_skill
当且仅当用户明确要求“交易决策并执行”或提到“my_stock_decide_execute_skill”时触发。这是一个严格流程控制的编排型交易执行技能,强制按照“决策 -> 交易挂单 -> 日志记录”三步顺序执行,且每步都要求显式输出结果并由用户确认或自动串联。
my_stock_longbridge_skill
长桥证券(Longbridge)OpenAPI 集成与交易管理技能
My Stock Analysis Skill
Skill by canonxu
my_stock_decide_skill
当且仅当用户提供持仓列表(图片或文字),并明确要求“交易决策”时触发。根据宏观形势分数动态调控T1/T2/T3的仓位比例(总上限90%),为当前持仓及观察仓标的输出明确操作方向、情绪、价格和详尽操作原因。
my_stock_report_mgnt_skill
当且仅当用户明确提到“分析报告多维表”或“my_stock_report_mgnt_skill”时触发。专门用于美股分析报告结论在钉钉多维表(dingtalk-ai-table)中的结构化归档(新增)与检索(查询)。