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 nickel-concentration-risk-analyzergit 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/nickel-concentration-risk-analyzer)<a href="https://agentmods.dev/skills/fatfingererr/macro-skills/nickel-concentration-risk-analyzer"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/nickel-concentration-risk-analyzer/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/nickel-concentration-risk-analyzer"><img src="https://agentmods.dev/badge/skills/fatfingererr/macro-skills/nickel-concentration-risk-analyzer.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.00064 | $0.02876 |
| Opus 5 | $0.00032 | $0.01438 |
| Sonnet 5 | $0.00013 | $0.00575 |
| Haiku 4.5 | $0.00006 | $0.00288 |
Grade A, and why
nickel-concentration-risk-analyzer 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.
How it starts
The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<essential_principles> 鎳供給集中度分析 核心原則
所有分析必須先確定口徑,不同口徑會導致數量級差異:
| 口徑 | 說明 | 典型數值差異 |
|---|---|---|
t_Ni_content |
鎳金屬含量(本 Skill 預設) | 基準值 |
t_ore_wet |
礦石濕噸 | 可達 50-100x |
t_NPI_product |
NPI 產品噸 | 約 10-15% Ni |
t_matte |
鎳鋶噸 | 約 75% Ni |
強制規則:
- 若輸入數據口徑不明確,必須標記為
model_estimate - 同一分析中不得混用不同口徑數據
- 輸出必須包含
unit欄位
鎳供給鏈各階段必須分開計算:
Mine Production (mined) → Intermediate (NPI/Matte/MHP) → Refined (class1/class2)
- mined: 礦場產量(鎳金屬含量)
- refined: 精煉產量(含冶煉)
- 「印尼 60% 市佔」通常指 mined nickel content
| Tier | 特性 | 來源 | 用途 |
|---|---|---|---|
| 0 | 免費、穩定、口徑一致 | USGS MCS, INSG | Baseline 主幹 |
| 1 | 免費但分散、需整合 | 公司年報、財報 | Mine-level 錨點 |
| 2 | 付費、更即時完整 | S&P Global MI | 精度驗證、對齊口徑 |
| 3 | 政策/配額近期訊息 | 新聞、官方公告 | 情境輸入 |
優先順序:Tier 0 建立 baseline → Tier 1 補充 mine-level → Tier 2 驗證精度
政策減產不需 100% 執行即可造成衝擊。預設模型:
expected_cut = cut_value * execution_prob # 預設 execution_prob = 0.5
三層輸出:
- Hard cut: 政策完全落地
- Half success: 執行 50%(或指定值)
- Soft landing: 只延遲投產/只砍新增產能
| 指標 | 公式 | 解讀 |
|---|---|---|
| Country Share | country_prod / global_prod |
單國佔比 |
| CR_n | Σ top_n_share |
前 N 國/礦集中度 |
| HHI | Σ share² |
市場集中度(0-10000) |
| Policy Leverage | cut_amount / global_prod |
政策可撬動的全球供給比例 |
HHI 判讀:< 1500 低集中、1500-2500 中等、> 2500 高集中 </essential_principles>
- Analyze - 分析全球鎳供給結構與集中度指標(CR_n, HHI, country share)
- Scenario - 模擬政策/減產情境對供給的衝擊(RKAB配額、出口限制等)
- Validate - 驗證市場說法的數據口徑與來源可靠度
- Ingest - 從各數據源擷取並標準化鎳供給數據
等待回應後再繼續。
讀取工作流程後,請完全遵循其步驟。
<reference_index>
參考文件 (references/)
| 文件 | 內容 |
|---|---|
| data-sources.md | 所有數據來源詳細說明與 URL |
| unit-conversion.md | 單位轉換規則與假設 |
| concentration-metrics.md | 集中度指標詳細計算方法 |
| indonesia-supply-structure.md | 印尼鎳供給結構與關鍵園區 |
| mine-level-anchors.md | 主要礦區/園區產量錨點 |
| failure-modes.md | 失敗模式與緩解策略 |
| </reference_index> |
<workflows_index>
| Workflow | Purpose |
|---|---|
| analyze.md | 供給結構與集中度分析(CR_n, HHI, share) |
| scenario-engine.md | 政策情境衝擊模擬 |
| validate-sources.md | 數據來源與口徑驗證 |
| ingest.md | 數據擷取與標準化 |
| </workflows_index> |
What ships with it
27 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.
- examples/analysis_report.md 3.5 KB
- examples/concentration_analysis.json 3.5 KB
- examples/scenario_result.json 3.3 KB
- manifest.json 3.2 KB
- methodology.md 1.8 KB
- README.md 6.1 KB
- references/concentration-metrics.md 9.4 KB
- references/data-sources.md 7.4 KB
- references/failure-modes.md 11 KB
- references/indonesia-supply-structure.md 6.6 KB
- references/mine-level-anchors.md 8.4 KB
- references/unit-conversion.md 7.3 KB
- scripts/compute_concentration.py 8.1 KB runs code
- scripts/ingest_sources.py 10 KB runs code
- scripts/nickel_pipeline.py 12 KB runs code
- scripts/scenario_impact.py 8.8 KB runs code
- scripts/visualize_concentration.py 16 KB runs code
- scripts/visualize_scenario.py 8.9 KB runs code
- skill.yaml 35 KB
- templates/config.yaml 4.5 KB
- templates/data-schema.yaml 7.9 KB
- templates/output-json.md 10 KB
- templates/output-markdown.md 5.6 KB
- workflows/analyze.md 6.0 KB
- workflows/ingest.md 7.9 KB
- workflows/scenario-engine.md 6.9 KB
- workflows/validate-sources.md 6.2 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.
- 11d ago First seen · 276 lines · 64 tokens per session scan A d41b4dd8408c
nickel-concentration-risk-analyzer is a skill published in the GitHub repository fatfingererr/macro-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 64 tokens to every session and 2,876 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.
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.
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.
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.