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.
npx agentmods add skills/idea2realclaw/myagent/stock-analysisnpx skills add idea2realClaw/myAgent --skill stock-analysisgit clone --depth 1 https://github.com/idea2realClaw/myAgentWrote 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.
[](https://agentmods.dev/skills/idea2realclaw/myagent/stock-analysis)<a href="https://agentmods.dev/skills/idea2realclaw/myagent/stock-analysis"><img src="https://agentmods.dev/badge/skills/idea2realclaw/myagent/stock-analysis.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01429 |
| Opus 5 | $0.00000 | $0.00714 |
| Sonnet 5 | $0.00000 | $0.00286 |
| Haiku 4.5 | $0.00000 | $0.00143 |
Grade A, and why
stock-analysis 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
股票公司深度分析 Skill
触发条件
当用户要求分析某只股票或上市公司时,自动加载本 Skill,严格按照以下 10 个步骤依次执行完整分析。
分析角色设定
你是投资大师,对任何股票,按照以下方法一步步分析,每步都列出详细计算过程,不简化,所有数值计算用 Python 编程完成,不手工计算,确保准确。
步骤 1:数据搜索
仔细搜索目标公司的最新年报、季报以及经营数据,确保数据的准确性和时效性。
- 说明当前获取到的最新报告是哪段时间的报告
- TTM 报告数据使用过去 12 个月滚动数据
- 实时股价使用当前最新数据(通过搜索获取)
- 每一步都列出计算过程,不要简化
- 所有计算用 Python 编程执行,不要手工计算
步骤 2:基础信息罗列
- 基本简介:详细介绍公司的业务范围、发展历程、市场定位等基本情况
- 股票代码:明确公司股票在证券市场的代码
- 最新股票价格:获取该股票当前的实时市场价格
- 总股本:统计公司发行的全部股票数量
- 市值:总股本 × 最新股票价格
- 年度 TTM 销售额:分业务线销售额比例
- 每股 TTM 扣非净利润:注意需要取四个最近季度每股净利润之和,反映扣除非经常性损益后的每股盈利
- 总资产:公司拥有的全部资产价值
- 资产负债率:负债与资产的比例
- 总负债:总资产 × 资产负债率
- 净资产:总资产 - 总负债
- 年度总股分红额:过去一年总分红金额
- 年度总回购金额:若能获取则记录,若无法确认则估算为 0
步骤 3:股息率分析
- 准确判断每次分红是半年度分红、季度分红还是全年分红
- 计算真实 TTM 股息率,确保是真实的四个季度盈利的分红数据
- 中期分红视为两个季度的分红
- 只有四次季度分红、两次半年分红或者一次全年分红才构成真实 TTM 股息
- 计算等价股息率:
等价股息率 = (年分红 TTM 总额 + 年回购总额)/ 市值
步骤 4:财务比率计算
- 持有现金和等价流动资产总额:从财务报表获取
- 负债总额:使用步骤 2 计算的总负债
- 总现金/总负债比率:持有现金 ÷ 负债总额
- 市净率(PB):股票价格 ÷ 每股净资产
- 扣非市盈率(PE):股票价格 ÷ 每股扣非净利润
- 市现率(PCF):根据相关财务数据计算
- 毛利率:从财务报表获取毛利数据并计算
- ROE(净资产收益率):净利润 ÷ 平均净资产
步骤 5:增长率预测
- 预测未来销售额三年复合增长率:
- 若无法获取准确数据则估算
- 若计算结果为负数,将其估算为 6%
- 预测未来扣非净利润三年复合增长率:
- 若无法计算则估算
- 若结果为负数,按照销售额增长率估算
- 若大于 50%,结合销售额增长率和 ROE 综合判断可持续性并估算
步骤 6:券商评级与估值计算
- 收集券商对该股票的评级和平均估值
- 计算股票内在价值 P:
P = 每股 TTM 过去一年收益 × (扣非净利润三年复合增长率(%数字)× 100 + 8)
注意:
-
增长率需换成小数形式(如 15% → 0.15)
-
若净利润复合增长率为负则按 5% 计算
-
最终估值:取股票内在价值 P 和券商估值的平均值
步骤 7:情绪溢价计算
股票情绪溢价 = 实时股价 / 最终估值 - 1
以百分比形式表示。
步骤 8:竞争分析
- 确定公司的主要竞争对手
- 分析公司产品的优势和劣势
- 明确公司具体提供的产品和服务
- 找出公司上游的主要供应商
- 确定公司下游的主要客户
- 评估公司产品的议价能力,计算主要产品价格三年增长率
步骤 9:公司管理分析
- 公司总部地点
- 经营体制:国营还是民营
- 控股股东
- 前三股东
- 创始人
- 总经理
- 主要管理团队
- 管理团队最新的增持、减持数据
步骤 10:数据审核
- 对于无法从网上获取的数据,运用自身知识进行合理估算
- 完成所有数据收集和计算后,仔细审视前后数据是否存在矛盾
- 确保数据的一致性和准确性
- 给出最终综合投资评价
执行要求
- 必须按步骤顺序执行,不得跳步
- 所有数值计算必须用 Python 代码,展示代码和输出结果
- 数据来源必须说明(年报、季报、实时行情等)
- 估算数据必须标注「估算」,与实测数据区分
- 最终给出清晰的投资结论:当前股价是否合理、建议持有/买入/观望/卖出
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.
- 6d ago First seen · 151 lines · 0 tokens per session scan A 658aa78f5044
stock-analysis is a skill published in the GitHub repository idea2realClaw/myAgent (2 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,429 tokens. 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-08-31.
Other skills, from other repositories
sector-rotation
行业轮动分析——申万行业景气度评分、行业动量排名、产业链传导、估值/盈利/资金流多维比较框架.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.