v18-分散风险

v18-分散风险 is a skill for Claude Code, Codex from R2h1/my-book-skills. It costs 32 tokens per session (677 once invoked), scanned A, original, MIT.

An investment approach that spreads money across different investments and asset types, such as stocks, funds, and cash. The aim is to avoid depending on one investment.

In plain words
What is it for?
It is for checking whether a portfolio is too concentrated, choosing different investments, keeping cash reserves, and periodically restoring the intended mix.
Why use it?
It reduces the damage caused when one company, fund, market, or asset type falls in value.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking whether a portfolio is too concentrated, choosing different investments, keeping cash reserves, and periodically restoring the intended mix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/r2h1/my-book-skills/v18
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 R2h1/my-book-skills --skill v18
Clone the repo
git clone --depth 1 https://github.com/R2h1/my-book-skills

Made for: Claude Code, Codex.

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 v18-分散风险

README.md
[![agentmods](https://agentmods.dev/badge/skills/r2h1/my-book-skills/v18/github.svg)](https://agentmods.dev/skills/r2h1/my-book-skills/v18)
Your own site
<a href="https://agentmods.dev/skills/r2h1/my-book-skills/v18"><img src="https://agentmods.dev/badge/skills/r2h1/my-book-skills/v18/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 v18-分散风险

Your own site · 80×15
<a href="https://agentmods.dev/skills/r2h1/my-book-skills/v18"><img src="https://agentmods.dev/badge/skills/r2h1/my-book-skills/v18.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 677 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.00032 $0.00677
Opus 5 $0.00016 $0.00338
Sonnet 5 $0.00006 $0.00135
Haiku 4.5 $0.00003 $0.00068

Measured 11d ago against content hash 0fb5d1f0e3df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

v18-分散风险 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 11d 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.

小狗钱钱/v18-分散风险/SKILL.md · 53 lines

What it actually says

分散风险

R(核心引文)

"你应该始终储备一些现金。你绝不能把你全部的钱都投资在股票或者基金上面。"

(基金经理人)"至少必须购买 20 种不同的股票。"

"陶穆太太劝我们最好再买第二种基金,这样有利于分散风险。"

I(底层原理)

分散风险(不要把鸡蛋放在同一个篮子里)是投资的第一法则。分散在两个层面进行:①投资标的内部分散(基金持有20+支股票,单一股票跌40%对整体仅影响2%);②资产类别间分散(股票/基金+现金/日拆,不同资产在不同经济周期中表现不同)。

A1(过去应用)

金钱魔法师们不仅买了第一种基金,还听从建议买了第二种基金分散风险。金先生建议吉娅把20%资金放在日拆(活期理财)而非全部投入基金。正是这个现金储备让她在市场下跌时有资金逢低买入。

A2(未来触发场景)

  • 你想把所有积蓄投进同一个产品时
  • 评估投资组合是否过于集中时
  • 看到某个产品收益很高想All in时
  • 构建自己的投资组合时

E(执行步骤)

  1. 不要把所有钱投入同一种资产(股票/基金/现金/房产等)
  2. 基金本身已分散个股风险,但还要分散基金公司
  3. 至少保留20%资金在低风险产品(日拆、货币基金)
  4. 不同基金投向不同市场/行业(如一只投欧美,一只投亚洲)
  5. 定期再平衡:涨得多的部分卖出补入跌的部分

B(边界与局限)

过度分散可能导致收益平庸(买了太多低质量资产)。分散风险降低了下行风险,同时也降低了上行潜力。对于本金很少的情况(如1000元),过度分散没有意义,集中投资一两只优质基金即可。

相关技能

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. 11d ago First seen · 53 lines · 32 tokens per session scan A 0fb5d1f0e3df

Subscribe to this mod's changes

v18-分散风险 is a skill published in the GitHub repository R2h1/my-book-skills (2 stars, last pushed 26d ago), licensed MIT. It adds 32 tokens to every session and 677 once invoked, about $0.0002 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-08-31.