Anti Gambling Trader
mars-tw/anti-gambling-trader-tw
分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、…
A股可比公司分析/行业估值对标。当用户说"可比公司"、"估值对标"、"行业估值"、"comps"、"comparable company"、"同行对比"、"XX跟同行比怎么样"、"XX板块估值"、"可比公司分析"、"comps analysis"时触发。MUST USE when user asks about comparable company analysis, peer…
$ npx skills add aifinlab/FinClaw --skill a-share-comps -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aifinlab/FinClaw a-share-comps --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-comps .claude/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .claude/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-compsType 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-comps -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aifinlab/FinClaw a-share-comps --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-comps .agents/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .agents/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-comps -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aifinlab/FinClaw a-share-comps --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-comps .cursor/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .cursor/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-comps--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-comps -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aifinlab/FinClaw a-share-comps --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-comps .gemini/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .gemini/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-compsInstalls 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-comps -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-comps .github/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .github/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-comps -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-comps --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-comps .opencode/skills/a-share-comps && 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-comps" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-comps into .opencode/skills/a-share-comps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-comps", 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-compsA股可比公司分析/行业估值对标。当用户说"可比公司"、"估值对标"、"行业估值"、"comps"、"comparable company"、"同行对比"、"XX跟同行比怎么样"、"XX板块估值"、"可比公司分析"、"comps analysis"时触发。MUST USE when user asks about comparable company analysis, peer…
A Share Comps is an agent skill from aifinlab/FinClaw. A股可比公司分析/行业估值对标。当用户说"可比公司"、"估值对标"、"行业估值"、"comps"、"comparable company"、"同行对比"、"XX跟同行比怎么样"、"XX板块估值"、"可比公司分析"、"comps analysis"时触发。MUST USE when user asks about comparable company analysis, peer valuation comparison, or industry valuation benchmarking (comps). 通过 cn-stock-data 获取标的及可比公司的财务指标和实时行情,构建多维度估值对标表。输出 Excel(公式驱动)或 Markdown 对比表。支持投行估值表风格(formal)和快速对标表风格(brief)。
Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/valuation-metrics.md`).
It sits in Documents & Office, covering Excel spreadsheets. It works with Microsoft Excel. 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.
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 Comps loads about 592 tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 166 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); files beside SKILL.md are not scanned.
The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 166 words, ~592 tokens.
.claude/skills/a-share-comps/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 各公司财务指标
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
# 各公司实时行情(市值、PE、PB 等)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE1],[CODE2],[CODE3]
# 各公司近 1 年日线(用于股价走势对比)
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [1年前日期]补充:通过 web 搜索确认行业分类、可比公司池选择的合理性。
可比公司选择注意事项:
对标的和每家可比公司获取:
finance — 最新财务指标(ROE、毛利率、净利率、增速等)quote — 实时行情(市值、PE、PB)参见 references/valuation-metrics.md 的指标定义和行业处理规则。
核心估值列(必含): | 代码 | 名称 | 市值(亿) | PE(TTM) | PB | ROE(%) | 营收增速(%) | 净利润增速(%) | 毛利率(%) | 净利率(%) |
进阶列(formal 模式): | EV/EBITDA | PS | PEG | 资产负债率(%) | 经营现金流/利润 | 股息率(%) |
计算可比公司组的:
Excel 输出规则(formal 模式):
Markdown 输出(brief 模式):
| 维度 | formal(投行估值表) | brief(快速对标表) |
|---|---|---|
| 输出格式 | Excel (.xlsx) | Markdown 表格 |
| 指标列数 | 12-15 列 | 6-8 列 |
| 统计行 | 均值+中位数+最大+最小 | 仅中位数 |
| 图表 | PE/PB 散点图数据 | 无 |
| 结论 | 客观描述估值位置 | 可加个人判断 |
| 免责声明 | 需要 | 不需要 |
=市值单元格/净利润单元格© 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 1 other file (references) in skills/a-share-comps of aifinlab/FinClaw.
Open the folder on GitHubat commit 9e62862
A Share Comps 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 Comps this skillaifinlab/FinClaw | 254 | — | ~592 | Automated safety check: Pass | Apache-2.0 | |
| Anti Gambling Tradermars-tw/anti-gambling-trader-tw | 904 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Data UpdateSixian-Li/plain-backtest | 190 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Cn Ib Diligence WorkpaperQiushenZou/cn-investment-banking-skills | 102 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Officecli Commonly TemplatesTeam-Commonly/commonly | 1.4k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Brigade Spreadsheet Builderspinabot/brigade | 11k | — | ~1.4k | Automated safety check: Pass | MIT |
mars-tw/anti-gambling-trader-tw
分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、…
Sixian-Li/plain-backtest
Operate and assess the Quant workspace market-data layer through the tested data-update CLI.
QiushenZou/cn-investment-banking-skills
Structure Chinese investment-banking due-diligence materials into traceable schedules, testing workpapers, exception logs, and closure records.
Team-Commonly/commonly
A skill your agent uses when producing a polished, Commonly-branded deliverable (.docx brief / memo, .xlsx data matrix, .pptx deck) and you do not have specific brand guidance from the user.
spinabot/brigade
Builds and edits Excel workbooks for the Brigade agent, with live formulas, formatting, dropdowns and multiple sheets, plus an optional recalculation check.
lianghsun/open-sheet
Walks an agent through building a new spreadsheet workbook in an open-sheet project, from choosing a theme to settling the real numbers and workbook type.
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 (审批意见/条款建议/有条件同意).
Works with
Categories
A股可比公司分析/行业估值对标。当用户说"可比公司"、"估值对标"、"行业估值"、"comps"、"comparable company"、"同行对比"、"XX跟同行比怎么样"、"XX板块估值"、"可比公司分析"、"comps analysis"时触发。MUST USE when user asks about comparable company analysis, peer…. A Share Comps is an agent skill from aifinlab/FinClaw. A股可比公司分析/行业估值对标。当用户说"可比公司"、"估值对标"、"行业估值"、"comps"、"comparable company"、"同行对比"、"XX跟同行比怎么样"、"XX板块估值"、"可比公司分析"、"comps analysis"时触发。MUST USE when user asks about comparable company analysis, peer valuation comparison, or industry valuation benchmarking (comps).
A Share Comps fits situations like: user asks about comparable company analysis; peer valuation comparison; industry valuation benchmarking (comps).
Run `npx skills add aifinlab/FinClaw --skill a-share-comps -a claude-code`. Or copy the skill folder (skills/a-share-comps in aifinlab/FinClaw) into .claude/skills/a-share-comps in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aifinlab/FinClaw --skill a-share-comps -a codex`. Or copy the skill folder (skills/a-share-comps in aifinlab/FinClaw) into .agents/skills/a-share-comps 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-comps -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-comps, .gemini/skills/a-share-comps, .github/skills/a-share-comps and .opencode/skills/a-share-comps in your project.
Going by SKILL.md and its folder, A Share Comps needs 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. Review the folder before installing.
A Share Comps 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 592 tokens (SKILL.md is roughly 2.4k 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 964 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with A Share Comps: Anti Gambling Trader (mars-tw/anti-gambling-trader-tw, 904 stars), Data Update (Sixian-Li/plain-backtest, 190 stars), Cn Ib Diligence Workpaper (QiushenZou/cn-investment-banking-skills, 102 stars) and Officecli Commonly Templates (Team-Commonly/commonly, 1.4k 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.