analyze-investment-clock-rotation

analyze-investment-clock-rotation is a skill for Claude Code, Codex from fatfingererr/macro-skills. It costs 72 tokens per session (2,960 once invoked), scanned A, original, MIT.

An investment-clock analysis that maps profit growth and financial conditions onto four market phases. The investment clock is a model for describing where an economy or market sits in a cycle and how it is moving.

In plain words
What is it for?
Use it to analyze economic-cycle data, classify conditions into four phases, compare them with a previous cycle, and review related allocation implications.
Why use it?
It turns several economic signals into one structured view of the current phase, direction of movement, and position relative to an earlier cycle.

Skill for Claude CodeCodex

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

Good fit Use it to analyze economic-cycle data, classify conditions into four phases, compare them with a previous cycle, and review related allocation implications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fatfingererr/macro-skills/analyze-investment-clock-rotation
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 fatfingererr/macro-skills --skill analyze-investment-clock-rotation
Clone the repo
git clone --depth 1 https://github.com/fatfingererr/macro-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin analyze-investment-clock-rotation/plugin install analyze-investment-clock-rotation after adding the marketplace above.

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 analyze-investment-clock-rotation

README.md
[![agentmods](https://agentmods.dev/badge/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation/github.svg)](https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation)
Your own site
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation/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 analyze-investment-clock-rotation

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,960 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.00072 $0.02960
Opus 5 $0.00036 $0.01480
Sonnet 5 $0.00014 $0.00592
Haiku 4.5 $0.00007 $0.00296

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

Security

Grade A, and why

analyze-investment-clock-rotation 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/fetch_data.py, scripts/investment_clock.py, scripts/visualize.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/analyze-investment-clock-rotation/SKILL.md · 288 lines

How it starts

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

<essential_principles>

投資時鐘將市場狀態簡化為四個象限:

          金融環境支持(寬鬆)
                ↑
       Q3      │      Q1
     修復過渡   │   理想象限
  ────────────┼────────────→ 獲利成長
       Q4      │      Q2
     最差象限   │   好壞混合
                │
          金融環境不支持(緊縮)
象限 獲利 金融環境 含義 配置建議
Q1 理想象限 支持↑ 風險資產友善 偏多、順風配置
Q2 好壞混合 不支持↓ 估值壓力、波動 波動管理、估值敏感
Q3 修復過渡 支持↑ 寬鬆救市、基本面未回 勿誤判為全面牛市
Q4 最差象限 不支持↓ 風險資產易受傷 風險控管、降槓桿

不同來源的投資時鐘圖可能有不同的軸向定義。本 skill 預設:

  • X 軸:金融環境(Financial Conditions)

    • 左側 = 寬鬆(支持性高)
    • 右側 = 緊縮(支持性低)
  • Y 軸:獲利成長(Earnings Growth)

    • 上方 = 正成長
    • 下方 = 負成長

若你的圖表定義不同,請在輸入參數中調整 axis_mappingclock_convention

透過 atan2(y, x) 計算角度,再轉換成 12 小時制:

  • 12 點:正上方(獲利最高、金融環境中性)
  • 3 點:右側(金融環境最緊)
  • 6 點:正下方(獲利最低)
  • 9 點:左側(金融環境最寬鬆)

旋轉方向

  • 順時針:典型景氣循環路徑(Q1 → Q2 → Q4 → Q3 → Q1)
  • 逆時針:政策干預或非典型事件

本 skill 使用無需 API key 的資料來源:

  • FRED CSV: https://fred.stlouisfed.org/graph/fredgraph.csv?id={SERIES_ID}
    • 金融環境:NFCI(Chicago Fed)、STLFSI4(St. Louis Fed)
    • 獲利代理:CP(企業利潤)、GDP 相關指標

腳本位於 scripts/ 目錄,可直接執行。

</essential_principles>

  1. 建構座標:從 FRED 數據計算獲利成長與金融環境 Z-score
  2. 判定象限:識別當前落在哪個象限
  3. 計算點位:轉換為 12 小時制時鐘點位
  4. 分析旋轉:判斷旋轉方向與幅度
  5. 循環比較:與前一輪循環比較(可選)

輸出:當前象限、時鐘點位、旋轉摘要、配置建議。

<quick_start>

最快的方式:執行預設分析

cd skills/analyze-investment-clock-rotation
pip install pandas numpy requests  # 首次使用
python scripts/investment_clock.py --quick

輸出範例:

{
  "as_of": "2026-01-15",
  "current_position": {
    "clock_hour": 10,
    "quadrant": "Q1_ideal",
    "earnings_growth": 0.052,
    "financial_conditions_zscore": -0.35
  },
  "interpretation": "理想象限,風險資產相對順風"
}

完整分析

python scripts/investment_clock.py \
  --start 2022-01-01 \
  --end 2026-01-19 \
  --compare-cycle 2020-01-01 2022-12-31 \
  --output result.json

</quick_start>

  1. 快速檢查 - 查看目前的投資時鐘位置與象限
  2. 完整分析 - 分析時間區間內的旋轉路徑與方向
  3. 循環比較 - 與前一輪循環比較旋轉特徵
  4. 視覺化圖表 - 生成投資時鐘視覺化圖表
  5. 方法論學習 - 了解投資時鐘模型的邏輯

請選擇或直接提供分析參數。

路由後,閱讀對應文件並執行。

<directory_structure>

analyze-investment-clock-rotation/
├── SKILL.md                           # 本文件(路由器)
├── skill.yaml                         # 前端展示元數據
├── manifest.json                      # 技能元數據
├── workflows/
│   ├── analyze.md                     # 完整分析工作流
│   ├── compare-cycle.md               # 循環比較工作流
│   └── visualize.md                   # 視覺化工作流
├── references/
│   ├── methodology.md                 # 投資時鐘方法論
│   ├── data-sources.md                # FRED 系列代碼與資料來源
│   └── input-schema.md                # 完整輸入參數定義
├── templates/
│   ├── output-json.md                 # JSON 輸出模板
│   └── output-markdown.md             # Markdown 報告模板
└── scripts/
    ├── investment_clock.py            # 主分析腳本
    ├── fetch_data.py                  # 數據抓取工具
    └── visualize.py                   # 視覺化繪圖工具

</directory_structure>

<reference_index>

方法論: references/methodology.md

  • 投資時鐘概念與歷史
  • 四象限定義與配置含義
  • 旋轉方向解讀

Read the full file on GitHub · 288 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. 12d ago First seen · 288 lines · 72 tokens per session scan A e139059bb82d

Subscribe to this mod's changes

analyze-investment-clock-rotation is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 72 tokens to every session and 2,960 once invoked, about $0.0004 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.

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

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

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens