ai-quant-team-runtime
Use when WorkBuddy launches the portable AI quant research team; load and enforce its state machine, evidence contracts, member routing, approval gate, and completion receipt.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-06
- Stars
- ★ 98
- Forks
- 39
01 前言 Front Matter
- name
- ai-quant-team-runtime
- license
- GPL-3.0-only
- metadata
- { "package_version": "0.4.2" }
- description
- Use when WorkBuddy launches the portable AI quant research team; load and enforce its state machine, evidence contracts, member routing, approval gate, and completion receipt.
02 资源文件 28
- 许可证LICENSE35.0 KB
- 参考文档README.md156 B
- 参考文档references/AGENTS.md16.3 KB
- 参考文档references/evidence-contract.md5.2 KB
- 参考文档references/execution_modes.json1.5 KB
- 参考文档references/host-capability-contract.json1.0 KB
- 参考文档references/member-handoff-schema.md3.4 KB
- 参考文档references/members/factor-engineer.md1.1 KB
- 参考文档references/members/overfit-auditor.md1.1 KB
- 参考文档references/members/pandaai-experimenter.md1.9 KB
- 参考文档references/members/performance-reporter.md1.1 KB
- 参考文档references/members/source-replication-researcher.md1.6 KB
- 参考文档references/pandaai-cli-login-contract.md2.9 KB
- 参考文档references/pandadata-interface-contracts.md5.8 KB
- 参考文档references/sop.md14.1 KB
- 参考文档references/source-boundary.md1.7 KB
- 参考文档references/team.json1.5 KB
- 参考文档references/workbuddy-skill-bindings.json304 B
- 脚本scripts/build_skill_inventory.py4.0 KB
- 脚本scripts/collect_results.py5.2 KB
- 脚本scripts/compact_quality_gate.py5.3 KB
- 脚本scripts/environment_preflight.py13.3 KB
- 脚本scripts/mode_profiles.py2.8 KB
- 脚本scripts/package_platform_variants.py7.5 KB
- 脚本scripts/run_candidates.py8.8 KB
- 脚本scripts/smoke_test.py1.9 KB
- 脚本scripts/validate_agent.py9.3 KB
- 脚本scripts/workflow_guard.py57.9 KB
03 SKILL.md 正文
Portable team runtime
Read references/AGENTS.md first and treat it as the only business-policy source. Read the matching member declaration under references/members/ when invoked as a member.
references/team.json uses canonical QuantSkills repository IDs. WorkBuddy Agent frontmatter binds the corresponding internal Skill declaration names recorded in references/workbuddy-skill-bindings.json; treat those names as the same routed Skill, not as replacements.
The WorkBuddy adapter adds only these host mappings:
TeamCreatecreates the team once, owned bypd-ai-quant-research-team.AgentToolinvokes one declared member in an isolated context.- The real AgentTool call ID is the
invocation_id; never invent one. - The
pandadataConnector supplies all formal financial market data. - Local command execution runs
scripts/workflow_guard.pyand the bound Skill scripts.
Before starting, verify that the selected mode satisfies references/host-capability-contract.json. If WorkBuddy does not expose isolated member calls, a real call ID, persistent files, local process execution, PandaData, approval resume, or pandaai-cli >=0.1.6 where required, return BLOCKED_HOST_CAPABILITY. When the CLI is installed but not authenticated, follow references/pandaai-cli-login-contract.md; login additionally requires a user-visible TTY and a persistent user home. Do not fall back to one-Agent role play.
最高优先级:PandaData MCP 真实数据硬闸门
本节高于成员角色、业务 Skill 及其历史数据源说明。凡任务涉及行情、财务、资金、因子、 筛选、排名、回测、基准或其他现实金融数据,都必须执行以下流程:
- 开始时设置
DATA_GATE=CLOSED,先真实调用一次auth_status。 - 认证可用后,按
references/pandadata-interface-contracts.md的固定路由直接调用call_pandadata;已登记接口不得先用search_methods或get_method_doc检索。 - 最低路由的必需接口均取得真实响应后才能设置
DATA_GATE=OPEN。闸门关闭时禁止分析、 排名、数字结论、回测结论及“无数据”,也不得用模型记忆或用户未提供的数据补数。 - 只有 Connector 明确报告已登记方法的参数契约失效时,才对该方法调用一次
get_method_doc并最多重试一次;只有方法未登记或明确不存在时,才调用一次search_methods。0 行不得触发动态检索。 - 0 行必须执行交易日/代码校验、放宽日期窗口、移除非必填过滤及备用参数重试。 第二次仍为空才可报告无数据,并保留两次真实回执。
- 最终答案必须附带“接口|实际参数|状态|行数|数据日期范围|关键字段”调用回执。 缺少回执或闸门未打开即视为未完成,必须继续调用工具或如实返回阻塞错误。
禁止调用本地 PandaData Python SDK、HTTP 地址或下载脚本;禁止索取或保存 PandaData 账号、密码、Token、MCP 地址和请求头。WorkBuddy Connector 的认证与凭证由平台管理。
PandaAI CLI 登录与因子大赛闸门
标准版和审计版进入 PandaAI 实验阶段时必须先运行绑定 Skill 中的
python scripts/bootstrap.py --status。READY 才能继续;LOGIN_REQUIRED 时先让用户
确认已准备在可见终端输入登录信息,再以 TTY 运行 python scripts/bootstrap.py --login。
登录不能通过命令守卫、输出重定向或后台进程执行,也不得把登录信息放入聊天、参数、任务包
或日志。登录后再通过命令守卫运行一次脱敏的 --status,只有 READY_AFTER_LOGIN 才可
继续。完整状态机和收费批准要求见 references/pandaai-cli-login-contract.md。
04 同仓库更多 Skills
xiaoyi-pdf-win
PDF 综合处理技能,处理文档生成、编辑、安全与解析。 适用情形: 1. 创建与排版:从零生成报告、提案、简历等 PDF,或对现有文档重新排版美化; 2. 表单与水印:自动填写 PDF 表单字段,或添加文字/图片水印(如打水印、标机密); 3. 页面管理:合并多个 PDF,或拆分、提取指定页码; 4. 安全控制:为 PDF 添加密码(加密)或移除密码(解密); 5. 内容提取:从 PDF 中提取纯文本或导出表格数据。 只要用户诉求涉及生成、排版、美化、转换、拼接、拆分 PDF,或处理水印、表单、密码,必须触发本技能。
skill-creator-win
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
markitdown-win
Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.
minimax-docx
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say "write a report", "draft a proposal", "make a contract", "fill in this form", "reformat to match this template", or any task whose final output is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task implies a printable/formal document, use this skill.
skillhub-daily
SkillHub 每日推荐 - 扫描 skillhub.cn 全站 Top100 + 7 大分类各 Top20(共 240 个 Skill), 基于用户痛点精准推荐高价值 Skill,支持 IMA/飞书/Obsidian 多通道存储。 触发词:每日推荐、SkillHub 日报、潜力Skill、帮我推荐技能。 支持两种使用模式:常规 Skills 模式(对话触发)/ Cron 定时任务模式。
deep-research
Structured deep research workflow with human-in-the-loop control. Use /research to generate research outline, /research-deep for parallel web search across items, /research-report to compile markdown reports. Supports academic research, benchmark research, technology selection, market analysis, and due diligence. Triggers: 'deep research', 'research topic', 'benchmark comparison', 'technology survey', 'market analysis'. Requires: WebSearch capability.