Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Multi-agent collaboration framework for Liangshuyuan tasks, organizing quantitative tools, build workflows, and task roles.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
基于 Claude Code 多 Agent 协作框架的量化交易工具库 —— 纯 Python · 零框架依赖 · Skill 架构
量枢学院(Panda Trading) 是一个模块化的量化交易工具开发平台,采用 Skill 原子能力 + 多 Agent 协作 架构,将交易系统的核心能力拆分为独立的、可复用的 BUILD 工具和 Alpha 因子。
项目默认采用 纯 Python 标准库 实现,不依赖 pandas / numpy 等第三方框架(除非任务需求明确指定),确保每个 Skill 轻量、可独立运行、可被 Agent 或 Alpha 自由调用。
本仓库为 Agent 型仓库(agent-for-liangshuyuan-tasks),遵循 QuantSkills 社区规则。声明文件见 AGENTS.md。
| 理念 | 说明 |
|---|---|
| Skill 即工具 | 每个子目录是一个独立的交易 skill,可独立运行、独立测试、独立发布 |
| BUILD 为 Alpha 服务 | BUILD 是工具层,Alpha 是信号层;Alpha 调用 BUILD,不复制 BUILD 逻辑 |
| Agent 协作 | 多 Agent 分工:需求分析 → 开发 → 测试 → 发布,全流程自动化 |
| 零框架依赖 | 默认纯 Python 标准库实现,确保任意环境可直接运行 |
skills/ 存放的是本项目自身的开发工具链(与 src/skills/ 下待发布的交易 skill 是两回事):
| Skill | 用途 |
|---|---|
panda-builder | 创建 / 验收 BUILD skill,确保目录结构、代码接口、文档合规 |
panda-publisher | 发布已过验收的 skill:同步 public/ 工作区、推送远端仓库、生成分发 zip |
panda-upload-task | 把量枢院任务平台上「创作中/待创作」任务与已发布 skill 对齐并回填成果表单 |
opencli-usage / opencli-browser / opencli-adapter-author / opencli-autofix / opencli-browser-sitemap / opencli-sitemap-author | OpenCLI 浏览器驱动与适配器开发的完整工具链 |
superpowers | 通用工程技能路由表(需求梳理、TDD、系统化调试、代码评审等 14 项) |
| 前缀 | 类型 | 目录 | 说明 |
|---|---|---|---|
| B | BUILD 工具 | src/skills/ | 数据处理、仓位管理、监控预警、复盘分析等 |
| A | Alpha 因子 | src/skills/ | 股票/期货 Alpha 信号与因子 |
任务编号(如 B12、A00)只用于任务路由和溯源,不进入 skill 名称。所有 skill 统一命名为 skill-{slug}。
把任务需求写成 .txt 放入 jobs/ 目录,Agent 系统会自动完成分析 → 路由 → 开发 → 测试 → 发布全流程。文件名前缀决定路由规则:
jobs/仅本地保留:原始任务需求含平台评分口径与内部评测反馈,已在.gitignore中排除 —— 不入库、不推线上。克隆本仓库后需自行创建jobs/目录并放入任务文件。
jobs/B{编号} {名称}.txt ← 用户只需写这个
│
▼
┌──────────────────┐
│ 需求分析 Agent │ 读取任务文件 → 识别 B/A 类型 → 输出结构化 TaskSpec
└──────┬───────────┘
│ TaskSpec(含歧义项则先向人类澄清)
▼
┌─────────────┐
│ 主 Agent │──── B 类 → Build 开发 Agent + panda-builder
└──────┬──────┘──── A 类 → Alpha 开发 Agent
│
│ ←── DevReport(skill 路径 + 自检报告)
▼
┌─────────────┐
│ 测试 Agent │ 生成用例 → 运行 → TestReport
└──────┬──────┘
│ ←── 通过 ✓ / 失败(Bug 回流,最多 3 轮)
▼
┌─────────────┐
│ 发布 Agent │ 创建 GitHub 仓库 skill-{slug} → 复制 skill 产物
│ │ → 补充合规文件 → 推送至 quantskills 组织
└──────┬──────┘
│
▼
✅ 任务完成 + 已发布(遵循 QuantSkills 社区规则)
| Agent | 一句话职责 | 文件 |
|---|---|---|
| 需求分析 | 读 jobs/*.txt,输出结构化 TaskSpec,标记歧义 | agents/analyst-agent/SKILL.md |
| Build/Alpha 开发 | 按 TaskSpec 编码,输出可运行的 skill-{slug} 目录 | agents/dev-{build,alpha}-agent/SKILL.md |
| 测试 | 生成测试用例,验证输入输出,报告 Bug | agents/test-agent/SKILL.md |
| 发布 | 发布为 quantskills 独立仓库并推送 | agents/publish-agent/SKILL.md |
panda-trading/
├── README.md ← 本文件(中文)
├── README.en.md ← 英文版
├── LICENSE ← GPL-3.0
├── AGENTS.md ← Agent 声明文件(QuantSkills 社区规则)
├── CLAUDE.md ← Claude Code 项目规范(Agent 协作、Skill 架构、数据接口定义)
│
├── agents/ ← 多 Agent 协作规范
│ ├── TASK_REQUIREMENTS.md ← Agent 分工、流程、信息传递格式
│ ├── main-agent/SKILL.md ← 主 Agent 调度规则
│ ├── analyst-agent/SKILL.md ← 需求分析 Agent 规则
│ ├── dev-build-agent/SKILL.md ← Build 开发 Agent 规则
│ ├── dev-alpha-agent/SKILL.md ← Alpha 开发 Agent 规则
│ ├── test-agent/SKILL.md ← 测试 Agent 规则
│ └── publish-agent/SKILL.md ← 发布 Agent 规则(遵循 QuantSkills 社区规则)
│
├── skills/ ← 项目自身开发工具链(入库)
│ ├── panda-builder/ ← skill 脚手架与验收规范
│ ├── panda-publisher/ ← 发布:同步 public/、推远端、出 zip
│ ├── panda-upload-task/ ← 任务平台成果表单回填
│ ├── opencli-*/ ← OpenCLI 浏览器驱动与适配器开发(6 个)
│ └── superpowers/ ← 通用工程技能路由表
│
├── docs/ ← 开发规则文档
│ ├── BUILD开发规则V2.md ← BUILD 工具开发全流程规范
│ └── Alpha因子开发规则V2.md ← Alpha 因子开发规范
│
├── jobs/ ← 原始任务需求(.gitignore 排除,仅本地保留)
│
├── public/ ← 发布工作区(.gitignore 排除,不入库)
│ └── skills/
│ └── skill-dl-gnn-stock-graph/ ← 已过审 skill 参考实现
│
└── src/
└── skills/ ← 开发产物(.gitignore 排除;所有产出必须放此处)
└── skill-{slug}/ ← 每个任务一个自包含 skill 目录
for-liangshuyuan-tasks@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin for-liangshuyuan-tasksBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground