factor_research

factor_research is a skill for Claude Code from agentpit-io/hunter-community. It costs 52 tokens per session (1,286 once invoked), scanned A, original, Apache-2.0.

A research tool for testing investment factors. A factor is a measurable trait, such as low valuation, high dividend yield, or strong return on equity, used to sort stocks and study later performance.

In plain words
What is it for?
Use it to measure factor information coefficients, grouped portfolio results, excess returns, drawdowns, risk-adjusted performance, industry effects, and market crowding.
Why use it?
It helps determine whether a factor has shown a consistent historical relationship with returns while reducing errors from future information and changing stock universes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions OpenCode.

Good fit Use it to measure factor information coefficients, grouped portfolio results, excess returns, drawdowns, risk-adjusted performance, industry effects, and market crowding.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentpit-io/hunter-community/factor_research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentpit-io/hunter-community --skill factor_research
Clone the repo
git clone --depth 1 https://github.com/agentpit-io/hunter-community

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factor_research

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentpit-io/hunter-community/factor_research/github.svg)](https://agentmods.dev/skills/agentpit-io/hunter-community/factor_research)
Your own site
<a href="https://agentmods.dev/skills/agentpit-io/hunter-community/factor_research"><img src="https://agentmods.dev/badge/skills/agentpit-io/hunter-community/factor_research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factor_research

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentpit-io/hunter-community/factor_research"><img src="https://agentmods.dev/badge/skills/agentpit-io/hunter-community/factor_research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01286
Opus 5.5 $0.00021 $0.00514
Sonnet 5.5 $0.00010 $0.00257
Haiku 4.5 $0.00005 $0.00129

Measured 16d ago against content hash 55df8a4ae503, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factor_research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

distro/workspace-template/.atomcode/skills/factor_research/SKILL.md · 77 lines

What it actually says

量化因子有效性研究(factor_research · P1 进阶量化技能)

一、技能定位与触发场景

当用户提问“检验一下低市盈率叠加高股息因子”“帮我分析 ROE 质量成长因子的 IC、IR 和分层回测表现”“当前红利因子拥挤度高不高?”时触发本技能。

二、标准执行步骤(四步确定性因子检验)

  1. Step 1:锁定历史时点成分股(防幸存者偏差)
    • 调用 mcp__broker_security__get_index_constituents(传入 index_code 与 as_of),获取各调仓期真实在籍的指数成分股,严禁拿当前存活股票池直接回推过去 3 年。
  2. Step 2:提取 PIT 基本面与复权行情(防未来函数)
    • 调用 mcp__broker_fundamental__get_financial_ratios、mcp__broker_fundamental__get_valuation 获取 published_at <= as_of 的财务与估值指标;
    • 调用 mcp__broker_market__get_kline(显式声明 adjustment="前复权" 或 "后复权")获取下期截面收益率。
  3. Step 3:读取确定性因子统计与分层回测真值
    • 从量化研究工作台计算引擎读取:
      • IC 均值 / Rank IC 均值、IC 标准差、信息比率 IR / Rank ICIR、t 统计量、IC 胜率(>0 占比);
      • 五层分组(Q1~Q5)年化收益率、超额收益率、最大回撤、夏普比率与分层单调性得分;
      • 申万一级行业市值中性化前后的纯 Alpha 贡献;
      • 调用 mcp__broker_research__get_sector_data 获取行业交易拥挤度近 1 年历史分位数。
  4. Step 4:按三栏证据格式输出《因子有效性研究报告》
    • 参照 references/factor-evaluation-spec.md,强制区分**【已核实事实】【逻辑推断】【待核实问题】**三栏,并在报告末尾建议联动 backtest_quality_auditor 开展回测防坑审计。

三、反幻觉与合规硬约束

  1. 严禁大模型心算 IC/IR 或分层收益率:所有统计数字 100% 采信后端确定性引擎真值。
  2. 严禁未来函数:财报类因子必须核验 published_at 披露时间,绝不用报告期末日(如 12月31日)直接当成因子可用日。
  3. 强制风险揭示:报告底部必须声明“历史因子 IC 与回测超额收益不代表未来实盘表现,不构成投资建议”。

参数

本技能的入参是因子名称或组合(代码或名称都可以)。用户这次给的是:

$ARGUMENTS

参数为空时,先问清楚要看哪只标的再开工,不要随便挑一只演示。

工具名对照

上面正文提到的工具,在 AtomCode 里的真名是:

正文里的写法 实际要调的工具
broker_fundamental_get_financial_ratios mcp__broker_fundamental__get_financial_ratios
broker_security_get_index_constituents mcp__broker_security__get_index_constituents
broker_fundamental_get_valuation mcp__broker_fundamental__get_valuation
broker_research_get_sector_data mcp__broker_research__get_sector_data
broker_market_get_kline mcp__broker_market__get_kline

按右边那一列调。 左边是 HunterCode opencode 版的命名,这套发行版里不存在。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago First seen · 77 lines · 52 tokens per session scan A 55df8a4ae503

Subscribe to this mod's changes

factor_research is a skill published in the GitHub repository agentpit-io/hunter-community (623 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,286 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.

Related

factor_research compared with skills from other repositories

factor_research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factor_researchagentpit-io/hunter-communitySkill623yesterdayApache-2.0A52Claude Code
xlsxMODSetter/SurfSenseSkill17k3d agoApache-2.0A16Claude Code, Codex
stripe-skillzeenie-ai/OpenCompanySkill1.1k3d agoMITA56Claude Code
dodo-payments-skillzeenie-ai/OpenCompanySkill1.1k3d agoMITA69Claude Code
amex-travelborski/travel-hacking-toolkitSkill1.1k6d agoMITA47Claude Code
biltborski/travel-hacking-toolkitSkill1.1k6d agoMITA44Claude Code
compare-flightsborski/travel-hacking-toolkitSkill1.1k6d agoMITA46Claude Code