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.
npx skills add fatfingererr/macro-skills --skill analyze-investment-clock-rotationgit clone --depth 1 https://github.com/fatfingererr/macro-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/skills/fatfingererr/macro-skills/analyze-investment-clock-rotation)<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.
<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>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.00072 | $0.02960 |
| Opus 5 | $0.00036 | $0.01480 |
| Sonnet 5 | $0.00014 | $0.00592 |
| Haiku 4.5 | $0.00007 | $0.00296 |
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.
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 — 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_mapping 和 clock_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>
- 建構座標:從 FRED 數據計算獲利成長與金融環境 Z-score
- 判定象限:識別當前落在哪個象限
- 計算點位:轉換為 12 小時制時鐘點位
- 分析旋轉:判斷旋轉方向與幅度
- 循環比較:與前一輪循環比較(可選)
輸出:當前象限、時鐘點位、旋轉摘要、配置建議。
<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>
- 快速檢查 - 查看目前的投資時鐘位置與象限
- 完整分析 - 分析時間區間內的旋轉路徑與方向
- 循環比較 - 與前一輪循環比較旋轉特徵
- 視覺化圖表 - 生成投資時鐘視覺化圖表
- 方法論學習 - 了解投資時鐘模型的邏輯
請選擇或直接提供分析參數。
路由後,閱讀對應文件並執行。
<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
- 投資時鐘概念與歷史
- 四象限定義與配置含義
- 旋轉方向解讀
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- manifest.json 4.3 KB
- references/data-sources.md 5.0 KB
- references/input-schema.md 6.5 KB
- references/methodology.md 6.3 KB
- scripts/fetch_data.py 4.4 KB runs code
- scripts/investment_clock.py 18 KB runs code
- scripts/visualize.py 9.5 KB runs code
- skill.yaml 8.9 KB
- templates/output-json.md 6.6 KB
- templates/output-markdown.md 6.3 KB
- workflows/analyze.md 5.5 KB
- workflows/compare-cycle.md 7.2 KB
- workflows/visualize.md 5.9 KB
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.
- 12d ago First seen · 288 lines · 72 tokens per session scan A e139059bb82d
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.
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.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
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…
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.
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.
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.