Borrowing it
Nothing to install: this file belongs to Veblin/invest-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Veblin/invest-skills/main/CLAUDE.mdgit clone --depth 1 https://github.com/Veblin/invest-skillsWrote 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/instructions/veblin/invest-skills/claude-md)<a href="https://agentmods.dev/instructions/veblin/invest-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/veblin/invest-skills/claude-md/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.
<a href="https://agentmods.dev/instructions/veblin/invest-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/veblin/invest-skills/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.05659 | $0.05659 |
| Opus 5 | $0.02830 | $0.02830 |
| Sonnet 5 | $0.01132 | $0.01132 |
| Haiku 4.5 | $0.00566 | $0.00566 |
Grade A, and why
invest-skills CLAUDE.md 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 7d 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 — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — invest:a-stock 投研助手
底座准则(复杂度控制)
本仓库是多个下游项目的底座(skillhub 镜像、WorkBuddy 分发、跨 harness 兼容等均依赖其既有约定)。因此:
- 兼容性不可轻动:frontmatter 格式、SKILL.md 结构、多 harness 兼容性是对下游项目的承诺,任何改动须先评估对全部下游项目的影响
- 目录结构不可轻动:
skills/布局与路径约定是既有契约 - 复杂度受控:新能力优先落在下游项目(如 invest-skills-skillhub),底座只收共享核心;改动从简,不叠架构
对外内容红线(公开渠道)
适用于一切面向不特定对象的公开发布:GitHub 仓库与 README、
docs/demos/、技术社区文章、分发平台描述与截图。 与 LAW 6 互补——LAW 6 管报告写什么,本节管什么可以公开发。合规判断的关键不是「免费」,而是「是否面向不特定对象发布个股倾向性内容」。
| 红线 | 规则 |
|---|---|
| 个股产出不进公开仓库 | 日常研究产出一律留在本地 reports/(已 gitignore)。公开仓库只保留经脱敏审查的 demo,新增 demo 须走本节检查 |
| 公开 demo 三项强制 | ① 首行头部免责声明 ② 无方向性倾向表述(「一致看多」「强烈信号」「安全边际吃尽」等)③ 明示为历史快照、不代表当前状况 |
| 对外文章只讲方法论 | 技术社区/周刊/分发平台的宣传素材只讲工程实现与方法论(P0 计算铁律、三层复检、多源降级链),不以个股分析作为宣传素材 |
| 不导流、不变现个股观点 | 「间接有偿」会使「免费」这道防线失效:禁止开户导流/返佣、付费荐股、打赏换观点。任何变现方案启动前须重做合规评估 |
| 渠道选择 | 优先开发者渠道(掘金/HN/阮一峰周刊/ClawHub/skillhub);股民向渠道(雪球/知乎/公众号)仅发方法论,且须先核对平台资质要求。小红书等已明确「仅持牌机构」的平台不发 |
变更本节前须重新评估合规影响。背景分析见 host-docs/v0.2.7/directions-research-2026-08-18.md §5.4。
版本规则
- 最多三位:
v{major}.{minor}.{patch} - 小幅迭代递增末位:
v0.1.3 → v0.1.4 → ... - 同版本内多次修订用日期区分,不自创四位版本号
- Git 分支:
feat/v{version}
版本号同步(统一修改)
canonical 源:pyproject.toml 的 [project].version(运行时经 version.py 读取)。
禁止手动改多处版本号。pyproject.toml 为唯一 canonical 源,scripts/sync_version.py 同步全部派生文件:
bash scripts/bump-version.sh X.Y.Z # 或: uv run python scripts/sync_version.py bump X.Y.Z
uv run python scripts/sync_version.py check
运行 bump 后务必执行分支重命名(如当前分支是 feat/v0.1.5,重命名为 feat/v0.1.6)。
版本一致性仅在发布/CI 时校验(sync_version.py check),不在 Skill 运行时或 SessionStart 钩子中执行。
运行命令
# 所有命令必须用 uv run python,确保从 .venv 加载依赖
uv run python skills/invest-a-stock/scripts/invest.py <subcommand> <symbol> [--flags]
# 常用子命令
diagnose # 检查数据源可用性
collect # 采集数据(--with-news-pack 新闻三层架构)
report # 生成报告
compare # 双标的对比
diff # 对比两次快照
store list # 历史采集记录
rigor # 财务验算(市值/估值/跨源)
audit # 报告审计 extract/verdict
check # 单标的质地检查(7 指标)
portfolio # 组合风险特征
thesis # 投资假设追踪
shock # 价格冲击插值比例
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.
- 7d ago First seen · 260 lines · 5,659 tokens per session scan A 2fcddfc7188d
invest-skills CLAUDE.md is an instructions file published in the GitHub repository Veblin/invest-skills (16 stars, last pushed 4d ago), licensed MIT. It adds 5,659 tokens to every session, about $0.0283 per session on Opus 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-09-04.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).