invest-allocation

invest-allocation is a skill for Claude Code, Codex from taxueseek/fund-investment-guide. It costs 54 tokens per session (1,772 once invoked), scanned A, original, MIT.

An investment-allocation guide for dividing money among stocks, bonds, commodities such as gold, and cash based on goals, risk tolerance, time horizon, and access needs.

In plain words
What is it for?
Use it to gather an investor’s circumstances, choose a target mix, compare current holdings with that target, and identify where the portfolio has drifted.
Why use it?
It helps avoid choosing investments one by one without considering how they work together. It also provides a way to set long-term proportions and make limited adjustments when valuations change.

Skill for Claude CodeCodex

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

Good fit Use it to gather an investor’s circumstances, choose a target mix, compare current holdings with that target, and identify where the portfolio has drifted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/taxueseek/fund-investment-guide/invest-allocation
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 taxueseek/fund-investment-guide --skill invest-allocation
Clone the repo
git clone --depth 1 https://github.com/taxueseek/fund-investment-guide

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 invest-allocation

README.md
[![agentmods](https://agentmods.dev/badge/skills/taxueseek/fund-investment-guide/invest-allocation/github.svg)](https://agentmods.dev/skills/taxueseek/fund-investment-guide/invest-allocation)
Your own site
<a href="https://agentmods.dev/skills/taxueseek/fund-investment-guide/invest-allocation"><img src="https://agentmods.dev/badge/skills/taxueseek/fund-investment-guide/invest-allocation/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 invest-allocation

Your own site · 80×15
<a href="https://agentmods.dev/skills/taxueseek/fund-investment-guide/invest-allocation"><img src="https://agentmods.dev/badge/skills/taxueseek/fund-investment-guide/invest-allocation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,772 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01772
Opus 5 $0.00027 $0.00886
Sonnet 5 $0.00011 $0.00354
Haiku 4.5 $0.00005 $0.00177

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

Security

Grade A, and why

invest-allocation 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 8d 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.

skills/invest-allocation/SKILL.md · 188 lines

What it actually says

invest-allocation:资产配置

单一品种分析是选工具,资产配置是搭结构。结构对了,工具才能发挥作用。


哲学锚点

  • 达里奥「风险平价」:不要把所有鸡蛋放在一个篮子里。不同资产之间的相关性越低,组合越稳健。
  • 芒格「格栅思维」:从多个维度看配置。风险承受能力、投资期限、流动性需求、当前估值——单一维度判断容易偏。
  • 德鲁克「有效性」:资产配置的目的是什么?保值?增值?收入?目标不清晰,配置就是无效的。

分析前提

必须收集信息(如用户未提供,需询问):

维度 问题 选项
目标 投资目的是什么? 保值/增值/收入/特定目标(教育/养老)
风险 能承受多大回撤? <10% / 10-20% / 20-30% / >30%
时间 投资期限多久? <1年 / 1-3年 / 3-5年 / >5年
流动性 多久可能用到这笔钱? 随时 / 1年内 / 3年内 / 不急用
现状 当前持仓是什么? 股/债/商/现金的比例

战略资产配置(SAA)

基于风险承受能力和投资期限,确定长期比例。

参考配置矩阵

风险承受\期限 <3年 3-5年 >5年
保守(回撤<10%) 债80%股10%商10% 债70%股20%商10% 债60%股30%商10%
均衡(回撤10-20%) 债50%股40%商10% 债40%股50%商10% 债30%股60%商10%
进取(回撤20-30%) 债30%股60%商10% 债20%股70%商10% 债10%股80%商10%

注:商品(黄金等)作为分散工具,通常占5-15%


战术资产配置(TAA)

基于当前市场估值,对战略配置进行微调。

估值判断(动态)

资产类别 估值指标 当前分位 判断 战术调整
股票 沪深300 PE ___% 高/中/低 __%
债券 十年期国债利率 ___% 高/中/低 __%
商品 黄金实际利率 ___% 高/中/低 __%

调整原则

  • 高估资产:战略比例 -5%至-10%
  • 低估资产:战略比例 +5%至+10%
  • 最多偏离战略比例15%

组合检视(如用户已有持仓)

当前组合分析

资产 当前比例 目标比例 偏离 估值状态 建议动作
股票 __% __% __% ___ 增持/减持/持有
债券 __% __% __% ___ 增持/减持/持有
商品 __% __% __% ___ 增持/减持/持有
现金 __% __% __% - 增持/减持/持有

集中度风险

检查项 当前状态 风险等级
单一股票占比 __% 高/中/低(>20%高)
单一行业占比 __% 高/中/低(>30%高)
单一基金占比 __% 高/中/低(>30%高)

再平衡策略

触发条件

  • 时间触发:每季度/每半年
  • 偏离触发:某类资产偏离目标比例±5%
  • 估值触发:某类资产估值极端(PE分位>90%或<10%)

再平衡方法

  • 增量资金法:新增资金投向低配资产
  • 卖出法:卖出高配资产,买入低配资产(考虑税费)

输出格式

# [用户代号] 资产配置方案

**分析日期**:{{T}}
**投资目标**:___(保值/均衡/进取)
**风险承受**:___% 最大回撤
**投资期限**:___年

---

## 战略配置建议

| 资产类别 | 建议比例 | 配置逻辑 |
|---------|---------|---------|
| 股票 | __% | ___ |
| 债券 | __% | ___ |
| 商品 | __% | ___ |
| 现金 | __% | ___ |

---

## 战术调整(基于当前估值)

| 资产 | 战略比例 | 估值状态 | 战术调整 | 最终比例 |
|------|---------|---------|---------|---------|
| 股票 | __% | PE分位___% | __% | __% |
| 债券 | __% | 利率分位___% | __% | __% |
| 商品 | __% | 价格分位___% | __% | __% |

---

## 当前组合检视(如有)

| 资产 | 当前 | 目标 | 偏离 | 建议动作 |
|------|------|------|------|---------|
| 股票 | __% | __% | __% | ___ |
| 债券 | __% | __% | __% | ___ |
| 商品 | __% | __% | __% | ___ |
| 现金 | __% | __% | __% | ___ |

**集中度风险**:
- 单一股票占比:__%(>20%需警惕)
- 单一行业占比:__%(>30%需警惕)

---

## 再平衡计划

**建议触发条件**:
- 时间:每___个月检查一次
- 偏离:某类资产偏离目标±___%

**下次检查日期**:___

**优先执行**:
1. ___
2. ___

---

## 单一品种选择建议

在各类别内选择具体标的时,可使用:
- 股票 → invest-stock
- 基金 → invest-fund
- 债券/可转债/商品/REITs → invest-asset(按资产加载细则)

---

*invest-allocation v1.0 | 战略+战术配置*

---

## 数据获取(invest-cli)

取数统一走数据层 `invest-cli`,不靠 web_search 猜数据:

1. 直接按场景取数(`intent portfolio/plan` 等)。`datasources` 只在排查「为什么没数据」时跑,不要每次前置。
2. 按 invest 主入口「场景 → 取数映射表」选择具体命令
3. 标注数据来源,口径不一致不合并
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. 8d ago Changed · -2 lines aff246575436
  2. 12d ago First seen · 190 lines · 54 tokens per session scan A 41ffddb32285

Subscribe to this mod's changes

invest-allocation is a skill published in the GitHub repository taxueseek/fund-investment-guide (18 stars, last pushed 9d ago), licensed MIT. It adds 54 tokens to every session and 1,772 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

weekly-fno-trade-planner

Weekly F&O trade planning skill for Indian markets. Analyzes news/macro events, identifies trending sectors and instruments, determines probable direction, suggests option strategy with entry/exit levels, and manages stop-loss and profit booking after position entry. Use when user wants a weekly trade idea, F&O…

ajeeshworkspace/indian-trading-skills · 86 tokens

india-news-tracker

Track and analyze Indian stock market news, corporate announcements, SEBI circulars, bulk/block deals, and earnings calendars. Auto-fetches headlines from MoneyControl, Economic Times, LiveMint, BSE/NSE filings. Use when the user asks about recent news, corporate actions, upcoming events, or wants a daily market news…

ajeeshworkspace/indian-trading-skills · 76 tokens

options-strategy-advisor

Options strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.

ajeeshworkspace/indian-trading-skills · 53 tokens

india-market-breadth

Analyze Indian market breadth health using advance/decline data, stocks above moving averages, new highs/lows, and sector participation. Use when assessing rally quality, market participation width, or equity exposure levels for NSE/BSE.

ajeeshworkspace/indian-trading-skills · 51 tokens

india-stock-analysis

Use when user requests analysis of Indian stocks, fundamental assessment, technical review, comparisons, or investment reports for NSE/BSE listed companies.

ajeeshworkspace/indian-trading-skills · 31 tokens

backtest-expert

Expert guidance for systematic backtesting of trading strategies on Indian markets (NSE/BSE). Use when developing strategies, testing robustness, avoiding overfitting, or validating trading ideas.

ajeeshworkspace/indian-trading-skills · 41 tokens