evaluate-exponential-trend-deviation-regimes

evaluate-exponential-trend-deviation-regimes is a skill for Claude Code, Codex from fatfingererr/macro-skills. It costs 68 tokens per session (1,503 once invoked), scanned A, original, MIT.

A financial-market analysis tool that measures how far an asset’s price is from its long-term exponential growth trend. It compares the current gap with historical extremes and can examine broader economic factors for supported assets.

In plain words
What is it for?
Analyzing assets such as gold or the S&P 500, comparing current conditions with past peaks, classifying market regimes, and generating charts and data files.
Why use it?
A price can be high or low in absolute terms without showing how unusual it is for that asset’s history. Trend deviation and historical percentiles provide that context.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/generate_chart.py --output ./output/.

Good fit Analyzing assets such as gold or the S&P 500, comparing current conditions with past peaks, classifying market regimes, and generating charts and data files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fatfingererr/macro-skills
agentmods
npx agentmods add skills/fatfingererr/macro-skills/evaluate-exponential-trend-deviation-regimes

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin evaluate-exponential-trend-deviation-regimes/plugin install evaluate-exponential-trend-deviation-regimes 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 evaluate-exponential-trend-deviation-regimes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/evaluate-exponential-trend-deviation-regimes"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/evaluate-exponential-trend-deviation-regimes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,503 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.00068 $0.01503
Opus 5 $0.00034 $0.00751
Sonnet 5 $0.00014 $0.00301
Haiku 4.5 $0.00007 $0.00150

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

Security

Grade A, and why

evaluate-exponential-trend-deviation-regimes 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_chart.py, scripts/trend_deviation.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/evaluate-exponential-trend-deviation-regimes/SKILL.md · 125 lines

What it actually says

<essential_principles> 資產趨勢偏離度分析 核心原則

  1. 單資產偵測 - 計算單一資產的趨勢偏離度與歷史分位數
  2. 歷史對照分析 - 將當前偏離度與使用者指定的歷史日期或自動識別的極端值進行比較
  3. 宏觀因子分解 - 詳細拆解各宏觀代理指標對行情體質判定的貢獻(適用於支援的資產類別)

等待回應後再繼續。

讀取工作流程後,請完全遵循其步驟。

<quick_start> 快速開始

# 安裝依賴
pip install pandas numpy yfinance pandas-datareader statsmodels

# 快速偵測(範例:黃金期貨)
cd skills/evaluate-exponential-trend-deviation-regimes
python scripts/trend_deviation.py --symbol GC=F --quick

# 分析其他資產(範例:S&P 500)
python scripts/trend_deviation.py --symbol ^GSPC --start 1950-01-01

# 完整分析(含宏觀因子,目前支援黃金)
python scripts/trend_deviation.py --symbol GC=F --start 1970-01-01 --include-macro

# 指定歷史參考日期
python scripts/trend_deviation.py --symbol GC=F --compare-peaks "2011-09-06,2020-08-07"

# 生成視覺化圖表(輸出 PNG + JSON)
python scripts/generate_chart.py --output ./output/

</quick_start>

<reference_index> 參考文件 (references/)

文件 內容
input-schema.md 輸入參數詳細定義與驗證規則
methodology.md 指數趨勢擬合與偏離度計算方法論
regime-rules.md 1970s-like vs 2000s-like 體質判定規則
data-sources.md 數據來源與替代方案說明
</reference_index>

<workflows_index>

Workflow Purpose
detect.md 單資產趨勢偏離度偵測與體質判定
compare.md 歷史峰值詳細對照分析
macro.md 宏觀因子分解與貢獻度分析
</workflows_index>

<templates_index>

Template Purpose
output-json.md JSON 輸出結構定義
output-markdown.md Markdown 報告輸出模板
</templates_index>

<scripts_index>

Script Purpose
trend_deviation.py 主要分析腳本:趨勢擬合、偏離度計算、體質判定
generate_chart.py 視覺化圖表生成:偏離度歷史圖表與峰值標註
</scripts_index>

<examples_index> 範例輸出 (examples/)

文件 內容
gold-deviation-2026.json 2026 年黃金趨勢偏離度分析範例
</examples_index>

<success_criteria> Skill 成功執行時:

  • 成功擬合黃金價格的指數趨勢線
  • 計算出當前偏離度百分比與歷史分位數
  • 與 2011/1980 峰值進行有效比較
  • 綜合宏觀代理指標得出 regime 判定(1970s-like / 2000s-like)
  • 輸出完整的 JSON 或 Markdown 報告
  • (選用)生成視覺化圖表(PNG)標註歷史峰值與當前位置 </success_criteria>
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. 10d ago First seen · 125 lines · 68 tokens per session scan A d0674bd8f056

Subscribe to this mod's changes

evaluate-exponential-trend-deviation-regimes is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 1,503 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-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

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