rd-agent-factor-mining SKILL.md skillB

rd-agent-factor-mining from qusong0627/quantmind is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qusong0627/quantmind/rd-agent-factor-mining@git:20260919.a5c8006

Pins git:20260919.a5c8006 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
qusong0627/quantmind
Path
skills/rd-agent-factor-mining/SKILL.md
Versions recorded
5
Latest version
git:20260919.a5c8006, committed Sep 19, 2026
First version recorded
Aug 29, 2026
Size
11,320 bytes
Repository stars
1,774
License
AGPL-3.0

RD-Agent A股因子挖掘端到端流水线:环境 preflight → 启动演化 → 轮询完成 → 批量回测评估 → IC/Sharpe 排序 → explain 解读 → export 入库 → Markdown 报告。在 QuantBot / Claude Code 中挖因子时使用,一条命令跑完整流程。触发词:挖因子、因子挖掘、挖新因子、因子演化、RD-Agent、alpha agent、自动挖因子、一键挖因子、因子回测、演化因子、启动因子任务.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> ⚙️ 本技能遵循公共运行环境契约(最高优先级,先于本文其余内容执行):
> 详见 [_shared/env-contract.md](../_shared/env-contract.md),执行前先读它。

# RD-Agent 因子挖掘(端到端流水线)

调用 RD-Agent(Alpha Agent)自动挖掘 A 股 alpha 因子,覆盖完整链路:
**preflight → evolve(LLM 演化)→ 轮询 → 批量回测 → 排名 → explain → export → 报告**。

## 0. 环境前置(必须,一分钟先过)

做任何挖掘前,先跑容器内三项健康检查。任一 FAIL 都要先修再挖。

```bash
cd ~/projects/quantmind && python3 scripts/alpha_agent/factor_pipeline.py --check-env
# 期望 3 项全 PASS: conda_shim / litellm_patch / deepseek_key
```

| 检查项 | 作用 | 失败处理 |
|---|---|---|
| `hardware` | 最低 **8 核 / 32GB**。RD-Agent 演化会把 CPU/内存打满,低于此规格直接 412 失败,避免整机卡死 | 换机器或关其他重负载;测试可设 `ALPHA_AGENT_SKIP_HW_LOCK=1`(生产勿开) |
| `conda_shim` | RD-Agent LocalEnv 硬编码 `rdagent4qlib` conda 环境,容器无 conda,靠 shim 映射到容器 python | 确认 `docker/conda-shim` 挂载 `/usr/local/bin/conda:ro` 且文件有 `+x` |
| `litellm_patch` | litellm 1.97 + pydantic 2.13 冲突(`Message is not fully defined`) | 确认 `docker/litellm_sitecustomize.py` 挂载为 `site-packages/sitecustomize.py:ro` |
| `deepseek_key` | 因子挖掘走 DeepSeek 通道(`llm_env.py` 优先级最高) | 更新 `~/projects/quantmind/.env` 的 `DEEPSEEK_API_KEY`,改后必须 `docker compose up -d quantmind` recreate |

> preflight 机制全在管道脚本内置;手动检修环境见文末「常见问题」。

## 1. 一键管线(推荐入口)

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qusong0627/quantmind/rd-agent-factor-mining@sha256:ee68c74baf7b94a1

The line at the top of this page pins the label git:20260919.a5c8006, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cewbasrp2skkcwj4.svg)](https://markdownregistry.com/a/art_cewbasrp2skkcwj4)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 29, 2026 and Sep 19, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260919.a5c8006 latest2026-09-19 a5c8006 11,320 BB view · diff
git:20260914.bbf57e62026-09-14 bbf57e6 13,157 BB view · diff
git:20260913.d790e2e2026-09-13 d790e2e 12,924 BB view · diff
git:20260829.c9fd96c2026-08-29 c9fd96c 11,160 BB view · diff
git:20260829.cda0e482026-08-29 cda0e48 11,162 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1:8000)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11320 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

qusong0627/quantmind · 1,774 stars · license AGPL-3.0 · pushed 2026-10-22 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_cewbasrp2skkcwj4
GET https://markdownregistry.com/api/v1/resolve?ref=qusong0627/quantmind/rd-agent-factor-mining
GET https://markdownregistry.com/api/v1/blob/ee68c74baf7b94a1b6d33d64d3ebba72b6f2b4e7fcaed4715bdfe20b7e763ccd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qusong0627/quantmind

AGENTS.md AGENTS.md file
qusong0627/quantmind · AGENTS.md
git:20261021.501dee8 · audit B · 1,774 stars
CLAUDE.md CLAUDE.md file
qusong0627/quantmind · CLAUDE.md
git:20261003.8b2ea6a · audit A · 1,774 stars
AGENTS.md@config/qwenpaw AGENTS.md file
qusong0627/quantmind · config/qwenpaw/AGENTS.md
git:20261003.8b2ea6a · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/claude AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/claude/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/codex AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/codex/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/gemini AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/gemini/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
ai-ide-strategy-writing SKILL.md skill
qusong0627/quantmind · skills/ai-ide-strategy-writing/SKILL.md · AI-IDE 写策略与执行 — 用 AI 生成 Qlib 量化策略代码、Docker 容器执行策略/回测、自然语言条件选股、策略落库。在 QuantBot / Claude Code 中让 AI 写策略、生成 Qlib…
git:20260919.a5c8006 · audit B · 1,774 stars
backtest-center SKILL.md skill
qusong0627/quantmind · skills/backtest-center/SKILL.md · 回测中心 — 快速回测、专家模式、回测历史、策略对比、参数优化、策略管理、高级分析。在 QuantBot / Claude Code 中运行 Qlib…
git:20260919.a5c8006 · audit B · 1,774 stars
batch-inference-analysis SKILL.md skill
qusong0627/quantmind · skills/batch-inference-analysis/SKILL.md · 批量推理结果分析 — 用 QuantMind 选股策略方法论分析每日信号、行业轮动、个股分数区间、负分参考。在 QuantBot / Claude Code…
git:20260919.a5c8006 · audit B · 1,774 stars
daily-review SKILL.md skill
qusong0627/quantmind · skills/daily-review/SKILL.md · A股每日复盘(专业版)— 基于 QuantDB 本地数据 + 当日新闻情绪 + 模型推理信号 + L1/L2 因子截面 + 板块资金流的盘后复盘:指数、涨跌结构与涨停梯队、量能、行业/概念轮动、资金面、L2…
git:20261003.8b2ea6a · audit A · 1,774 stars
futuapi SKILL.md skill
qusong0627/quantmind · skills/futuapi/SKILL.md · 富途 OpenAPI 交易与行情助手。查询行情、K线、报价、快照、买卖盘、逐笔成交、分时数据;搜索标的与资讯;解析期权代码、查询期权链/到期日/IV/行权概率;执行买入/卖出/下单/撤单/改单;查询持仓/资金/账户/订单;订阅实时推送;加密…
v0.1.1 · audit A · 1,774 stars
install-futu-opend SKILL.md skill
qusong0627/quantmind · skills/install-futu-opend/SKILL.md · Futu OpenD 安装助手。自动下载安装Futu OpenD 并升级 Python SDK。支持 Windows、MacOS、Linux。用户提到安装、下载、启动、运行、配置 OpenD、开发环境、升级 SDK、futu-api…
v0.1.1 · audit A · 1,774 stars

Every file in qusong0627/quantmind

Browse by kind, by grade B, or by owner.