my_stock_tradeagents_rebuild_skill

当且仅当用户明确提出“重新构建tradeagents”或类似高度相关指令时触发。主要功能为在 ~/TradingAgents 目录下重新创建并激活 Python 虚拟环境,安装包及依赖,最后总结修改并推送到远程仓库。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "my_stock_tradeagents_rebuild_skill" with this command: npx skills add canonxu/my-stock-tradeagents-rebuild-skill

my_stock_tradeagents_rebuild_skill (重建 TradingAgents 环境技能)

核心规则与触发条件

  • 触发条件:只有当用户明确说出“重新构建tradeagents”或类似明确的指令时才触发该技能。
  • 环境要求:所有的操作必须在 ~/TradingAgents 目录空间下执行。

工作流程

1. 切换工作空间

强制要求所有操作都在 ~/TradingAgents 目录下进行。

cd ~/TradingAgents

2. 重建 Python 虚拟环境

为了保证环境纯净,如果 venv 目录已存在,则删除并重新创建。

# 删除旧环境
rm -rf venv

# 创建新环境 (使用系统 python3.13)
python3.13 -m venv venv

# 激活环境
source venv/bin/activate

3. 安装依赖与包

使用虚拟环境内的 pip 安装当前目录下的包以及所有依赖。

./venv/bin/pip install --upgrade pip
./venv/bin/pip install .

4. 总结代码修改并推送到远程

分析当前空间(~/TradingAgents)内文件的修改情况,提交变更并推送到远程 Git 仓库:

git add .
git commit -m "Auto-commit: 重新构建 TradingAgents 环境并更新相关文件"
BRANCH_NAME="feature/rebuild-$(date +%Y%m%d%H%M%S)"
git checkout -b $BRANCH_NAME
git push origin $BRANCH_NAME

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

RPM Package Management

🚨 RPM 打包通用规范。任何涉及 spec 文件编写/修改、rpmbuild、rpmlint、宏展开、依赖管理、构建系统模板(Autotools/CMake/Meson/Python)的场景,都必须读取此技能获取规范,绝不凭训练记忆编写 spec。适用于所有 RPM 发行版。

Registry SourceRecently Updated
Coding

Generator Chrome

generate video clips into chrome effect videos with this skill. Works with MP4, MOV, AVI, WebM files up to 500MB. TikTok creators use it for adding chrome me...

Registry SourceRecently Updated
Coding

Automation Dedup Guard

WorkBuddy 自动化任务去重守护。当用户的自动化任务出现重复时自动检测并清理。触发场景:自动化任务重复、任务列表膨胀、需要清理重复任务。支持 Windows/macOS/Linux,纯 Python 标准库,零依赖。

Registry SourceRecently Updated
Coding

Generation Generator

generate text prompts or clips into AI generated videos with this skill. Works with MP4, MOV, PNG, JPG files up to 500MB. marketers, content creators, social...

Registry SourceRecently Updated