stock-analytics-skill: Skill for Claude Code

.agents/skills/asset-allocation-rebalancing/SKILL.md

asset-allocation-rebalancing is a skill for Claude Code, Codex from belos-street/stock-analytics-skill. It costs 46 tokens per session (5,631 once invoked), scanned A, original, MIT.

A guide for deciding how to divide investments among assets such as shares, bonds, and cash, then periodically restore those target proportions. This process is called portfolio rebalancing.

In plain words
What is it for?
Use it to develop allocation plans, choose regular or threshold-based rebalancing, assess portfolio results, and compare approaches for conservative, balanced, or aggressive risk profiles.
Why use it?
It helps investors manage risk and keep a portfolio aligned with their goals instead of letting market movements change its mix unnoticed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is belos-street/stock-analytics-skill's own configuration. It tells Claude Code and Codex how to work on stock-analytics-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stock-analytics-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to belos-street/stock-analytics-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/belos-street/stock-analytics-skill/main/.agents/skills/asset-allocation-rebalancing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/belos-street/stock-analytics-skill

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 asset-allocation-rebalancing

README.md
[![agentmods](https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing/github.svg)](https://agentmods.dev/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing)
Your own site
<a href="https://agentmods.dev/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing"><img src="https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing/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 asset-allocation-rebalancing

Your own site · 80×15
<a href="https://agentmods.dev/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing"><img src="https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/asset-allocation-rebalancing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,631 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.00046 $0.05631
Opus 5 $0.00023 $0.02815
Sonnet 5 $0.00009 $0.01126
Haiku 4.5 $0.00005 $0.00563

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

Security

Grade A, and why

asset-allocation-rebalancing 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.

.agents/skills/asset-allocation-rebalancing/SKILL.md · 710 lines

How it starts

The opening of the file, as written. The whole thing — 710 lines — stays where its author put it; the contents beside it link to each section on GitHub.

资产配置与再平衡Skill

技能核心定位

核心目标

为用户提供系统化的资产配置管理,帮助用户制定合理的资产配置方案,掌握再平衡的时机和方法,优化投资组合,实现长期稳健收益。

目标用户

  • 长期投资者:追求长期稳健收益的投资者
  • 资产配置者:希望通过资产配置降低风险的投资者
  • 组合管理者:需要管理投资组合的投资者
  • 风险控制者:希望控制组合波动的投资者

技能边界

可提供服务

  • 资产配置优化建议:根据风险偏好和投资目标制定配置方案
  • 再平衡时机判断:定期再平衡vs阈值触发再平衡
  • 再平衡操作策略:卖出什么、买入什么、如何操作
  • 资产配置效果评估:评估配置效果和风险收益特征
  • 不同风险偏好的资产配置方案:保守型、稳健型、积极型

不可提供服务

  • 具体买卖指令
  • 承诺收益
  • 违规荐股
  • 内幕信息披露

资产配置基础认知

什么是资产配置

定义:资产配置是指将资金分配到不同类型的资产(如股票、债券、现金等),以实现风险分散和收益优化的投资策略。

核心原理

  1. 分散风险:通过投资不同类型的资产,降低单一资产的风险
  2. 优化收益:通过合理配置,在风险可控的前提下优化收益
  3. 降低波动:通过资产间的负相关或低相关,降低组合波动
  4. 适应市场:根据市场变化调整配置,适应不同市场环境

资产配置的重要性

研究数据

  • 投资组合90%以上的收益波动来自于资产配置
  • 只有不到10%来自于择时和选股
  • 合理的资产配置是长期投资成功的关键

主要优势

  1. 降低风险:分散投资降低单一资产风险
  2. 稳定收益:通过资产配置获得相对稳定的收益
  3. 适应市场:在不同市场环境下都有相对表现
  4. 心理优势:减少追涨杀跌,保持投资纪律

资产配置的基本原则

1. 风险收益匹配原则

核心思想:资产配置应与投资者的风险承受能力和收益目标相匹配。

实施方法

  • 评估风险承受能力:保守型、稳健型、积极型
  • 设定收益目标:保守型(3-5%)、稳健型(5-8%)、积极型(8-12%)
  • 选择合适的资产配置方案
2. 分散投资原则

核心思想:通过投资不同类型的资产,降低单一资产的风险。

分散维度

  • 资产类别分散:股票、债券、现金等
  • 行业分散:金融、科技、消费、医疗等
  • 地域分散:A股、港股、美股等
  • 时间分散:定投、分批建仓等
3. 长期投资原则

核心思想:资产配置是长期策略,需要长期坚持才能体现效果。

实施方法

  • 设定长期投资目标(3-5年)
  • 避免频繁调整配置
  • 坚持再平衡纪律
4. 动态调整原则

核心思想:根据市场变化和个人情况变化,动态调整资产配置。

调整时机

  • 市场环境发生重大变化
  • 个人情况发生重大变化(年龄、收入、家庭等)
  • 资产配置偏离目标配置超过一定幅度

资产配置方案设计

资产大类分类

1. 固收类资产

特点

  • 收益相对稳定
  • 风险较低
  • 流动性较好

主要标的

  • 债券基金:纯债基金、一级债基、二级债基
  • 货币基金:余额宝、理财通等
  • 银行理财:低风险理财产品

配置比例

  • 保守型:40-60%
  • 稳健型:20-40%
  • 积极型:10-20%
2. 权益类资产

特点

  • 收益潜力较大
  • 风险较高
  • 波动性较大

主要标的

  • 股票基金:指数基金、主动基金
  • ETF:宽基ETF、行业ETF
  • 个股:蓝筹股、成长股

配置比例

  • 保守型:20-40%
  • 稳健型:40-60%
  • 积极型:60-80%
3. 另类资产

特点

  • 与传统资产相关性低
  • 分散风险效果好
  • 专业要求较高

主要标的

  • REITs:房地产信托基金
  • 商品:黄金、原油等
  • 另类基金:对冲基金、私募股权等

配置比例

  • 保守型:0-5%
  • 稳健型:5-10%
  • 积极型:10-20%
4. 现金类资产

特点

  • 收益最低
  • 风险最低
  • 流动性最好

主要标的

  • 活期存款
  • 货币基金
  • 短期理财

配置比例

  • 保守型:10-20%
  • 稳健型:5-10%
  • 积极型:0-5%

不同风险偏好的资产配置方案

Read the full file on GitHub · 710 lines

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 · 710 lines · 46 tokens per session scan A c8dcaf559a73

Subscribe to this mod's changes

asset-allocation-rebalancing is a skill published in the GitHub repository belos-street/stock-analytics-skill (49 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 5,631 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-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

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…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

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.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens