Financial Analyzing
huangjia2019/claude-code-engineering
Analyze financial data, calculate financial ratios, and generate analysis reports.
A股单因子研究/IC检验。当用户说"因子分析"、"单因子"、"IC"、"IR"、"因子检验"、"factor analysis"、"因子有效性"、"XX因子表现怎么样"、"因子IC"、"因子收益"、"因子衰减"、"quintile分析"时触发。基于 cn-stock-data 获取股票池行情与财务数据,通过 factoranalyzer.py 计算…
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aifinlab/FinClaw a-share-factor-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a-share-factor-analysis .claude/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .claude/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aifinlab/FinClaw a-share-factor-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/a-share-factor-analysis .agents/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .agents/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aifinlab/FinClaw a-share-factor-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/a-share-factor-analysis .cursor/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .cursor/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aifinlab/FinClaw.git --path skills/a-share-factor-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aifinlab/FinClaw a-share-factor-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/a-share-factor-analysis .gemini/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .gemini/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aifinlab/FinClaw a-share-factor-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/a-share-factor-analysis .github/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .github/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aifinlab/FinClaw a-share-factor-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/a-share-factor-analysis .opencode/skills/a-share-factor-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "a-share-factor-analysis" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-factor-analysis into .opencode/skills/a-share-factor-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-factor-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
a-share-factor-analysisA股单因子研究/IC检验。当用户说"因子分析"、"单因子"、"IC"、"IR"、"因子检验"、"factor analysis"、"因子有效性"、"XX因子表现怎么样"、"因子IC"、"因子收益"、"因子衰减"、"quintile分析"时触发。基于 cn-stock-data 获取股票池行情与财务数据,通过 factoranalyzer.py 计算…
A Share Factor Analysis is an agent skill from aifinlab/FinClaw. A股单因子研究/IC检验。当用户说"因子分析"、"单因子"、"IC"、"IR"、"因子检验"、"factor analysis"、"因子有效性"、"XX因子表现怎么样"、"因子IC"、"因子收益"、"因子衰减"、"quintile分析"时触发。基于 cn-stock-data 获取股票池行情与财务数据,通过 factoranalyzer.py 计算 IC/IR、分位组合收益、因子换手率等量化指标。支持专业因子研究报告风格(formal)和快速因子检验风格(brief)。不适用于多因子组合优化(需自建模型)或个股基本面分析(用 a-share-earnings-analysis)。
Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/factor-analysis-guide.md` and `scripts/factor_analyzer.py`).
It sits in Business, Finance & HR, covering Financial analysis. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
A Share Factor Analysis loads about 551 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 144 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 144 words, ~551 tokens.
.claude/skills/a-share-factor-analysis/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
ANALYZER="$SKILLS_ROOT/a-share-factor-analysis/scripts/factor_analyzer.py"
# 获取股票池行情(如沪深300成分股)
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE1],[CODE2],... --freq daily --start [回测起始日期]
# 获取财务指标(PE/PB/ROE 等因子原始值)
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE1],[CODE2],...
# 获取实时行情(市值、PE、PB)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE1],[CODE2],...
# 运行因子分析
python "$ANALYZER" --factor [FACTOR] --period [N] --data [input.json]调用 factor_analyzer.py 计算:
参见 references/factor-analysis-guide.md 的解读标准:
| 维度 | formal(专业因子研究报告) | brief(快速因子检验) |
|---|---|---|
| 篇幅 | 2-4 页 | 半页 |
| IC 分析 | IC 序列图描述 + 分布统计 + 显著性检验 | IC 均值 + IR 一行结论 |
| 分位分析 | 五分位组合收益表 + 多空收益曲线描述 | Top-Bottom 收益差 |
| 因子衰减 | 多周期 IC 衰减表 | 最优持仓周期 |
| 换手率 | 月度换手率序列 | 平均换手率 |
| 结论 | 因子有效性评级 + 使用建议 + 局限性 | 有效/无效 + 一句话建议 |
| 免责声明 | 需要(历史回测不代表未来表现) | 不需要 |
© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts, references) in skills/a-share-factor-analysis of aifinlab/FinClaw.
Open the folder on GitHubat commit 9e62862
A Share Factor Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| A Share Factor Analysis this skillaifinlab/FinClaw | 254 | — | ~551 | Automated safety check: Pass | Apache-2.0 | |
| Financial Analyzinghuangjia2019/claude-code-engineering | 1.1k | 1 repos | ~474 | Automated safety check: Pass | None | |
| Longbridge Earningshelsome/folio | 269 | 1 repos | ~2.5k | Automated safety check: Pass | None | |
| Fundamentalsstaskh/trading_skills | 374 | 1 repos | ~836 | Automated safety check: Pass | MIT | |
| Earnings AnalysisWind-Alice/AliceMarket | 130 | 3 repos | ~2.2k | Automated safety check: Pass | None | |
| Buy Side Equity Research Memohaskaomni/serenity-skill | 632 | — | ~3.8k | Automated safety check: Pass | MIT |
huangjia2019/claude-code-engineering
Analyze financial data, calculate financial ratios, and generate analysis reports.
helsome/folio
Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.
staskh/trading_skills
Get fundamental financial data including financials, earnings, and key metrics.
Wind-Alice/AliceMarket
Create professional equity research earnings update reports (8-12 pages, 3,000-5,000 words) analyzing quarterly results for companies already under coverage.
haskaomni/serenity-skill
Generate source-backed buy-side equity research memos from a ticker, starting with investment view, target-price scenarios, SEC and IR-backed financial statement analysis, industry chain…
avansaber/erpclaw
Operates the ERPClaw self-hosted ERP in plain language: accounting, invoicing, inventory, purchasing, tax, HR, payroll and reports, treating the ERP as the single source of truth.
aifinlab/FinClaw
A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).
aifinlab/FinClaw
A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).
Categories
A股单因子研究/IC检验。当用户说"因子分析"、"单因子"、"IC"、"IR"、"因子检验"、"factor analysis"、"因子有效性"、"XX因子表现怎么样"、"因子IC"、"因子收益"、"因子衰减"、"quintile分析"时触发。基于 cn-stock-data 获取股票池行情与财务数据,通过 factoranalyzer.py 计算…. A Share Factor Analysis is an agent skill from aifinlab/FinClaw.
A Share Factor Analysis fits situations like: tasks that involve Financial analysis.
Run `npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a claude-code`. Or copy the skill folder (skills/a-share-factor-analysis in aifinlab/FinClaw) into .claude/skills/a-share-factor-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a codex`. Or copy the skill folder (skills/a-share-factor-analysis in aifinlab/FinClaw) into .agents/skills/a-share-factor-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill a-share-factor-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-factor-analysis, .gemini/skills/a-share-factor-analysis, .github/skills/a-share-factor-analysis and .opencode/skills/a-share-factor-analysis in your project.
Going by SKILL.md and its folder, A Share Factor Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
A Share Factor Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 551 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 867 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with A Share Factor Analysis: Financial Analyzing (huangjia2019/claude-code-engineering, 1.1k stars), Longbridge Earnings (helsome/folio, 269 stars), Fundamentals (staskh/trading_skills, 374 stars) and Earnings Analysis (Wind-Alice/AliceMarket, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 254 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.
Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.