USStats
できること
このスキルは、債務、生活費、犯罪などの米国の長期的な傾向に関する質問に答え、公式な情報源から最新の経済指標を取得します。米国の経済と社会の事実を一か所で得たい人向けです。
使う場面
- ✓米国の指標が数十年でどう変わったかを知りたいとき。
- ✓公式データから、米国経済の現在の状態を知りたいとき。
- ✓米国の傾向のうち、どれが良くなっていてどれが悪くなっているかを比べたいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/USStats/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“過去 30 年で米国の家計債務はどう変わり、それは改善しているのか悪化しているのかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、90 を超える年次系列の年鑑に問い合わせます。各系列には情報源があり、数値が高い方が良いかどうかの印が付いています。また、FRED や財務省などの政府のデータ源から、約 66 の最新の指標を取得することもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
USStats
Contents: Ideal State · Intent Routing · Data Contract · Data & Config · Quick Reference · Gotchas · Examples
Query and analyze the annual US indicator dataset at the almanac endpoint named by data_url in the install config (<configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/USStats/Config.md) — read-only, keyless, no local repo dependencies. Every series carries publisher provenance (source, sourceUrl, note) and a goodDirection flag that lets the tool answer "better or worse?" deterministically.
It also reads the current US economy straight from the government APIs (ported from the retired USMetrics skill, 2026-10-10). The one count and source list for that side, read from the updater's METRICS config in Tools/UpdateSubstrateMetrics.ts on 2026-10-11: UpdateData fetches 66 indicators in 9 categories (Economic Output, Inflation, Employment, Housing, Consumer, Financial, Trade, Fiscal, Demographics) through three APIs, FRED (64 series, carrying BLS, BEA, Census, Fed and Treasury data), EIA (gas price) and Treasury FiscalData (total public debt), into the local US-Common-Metrics dataset (US-Common-Metrics.md, us-metrics-current.csv, us-metrics-historical.csv). The master document lists 68 metrics in 10 categories; its Health & Crisis rows (CDC WONDER, EPA AQS) have no fetcher and stay placeholders, and a master row the updater did not fetch is named, never silently counted. GetCurrentState produces a multi-timeframe (10y/5y/2y/1y) trend report with cross-metric analysis, pattern detection, and research recommendations from its own FRED and EIA fetch, so it does not depend on an UpdateData run. The almanac answers "over decades, annually"; the live side answers "right now, monthly and weekly".
Ideal State
- Every answer about a US indicator rests on this session's tool output from the live dataset, names the publisher of each quoted series, and judges better or worse only through
goodDirection. - Year-to-date values, methodology breaks in
note, base effects behind large percentage moves and the correlation-is-not-causation caveat reach the reader whenever they touch the numbers quoted. - A freshness question gets a per-upstream fresh or stale verdict from a
--freshrun, and nothing in the skill ever writes to the site or its upstream datasets. - Every live-economy number reported is current and carries its period and source, whether it came from GetCurrentState's own FRED and EIA fetch or from the dataset UpdateData refreshed, and preliminary or stale figures are labelled as such, never presented as final.
- A "how is the economy" answer covers the report's eight categories across the four timeframes, names the categories it does not cover (Demographics, Health & Crisis), and ends with what deserves a closer look, without claiming that one metric caused another.
- A failed source or missing key degrades the result visibly (the affected metrics named) instead of aborting it or hiding the gap.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Analyze | "US trend", "better or worse", "movers", "correlate", any indicator question | Intents/Analyze.md |
| SyncCheck | "is the data fresh", "synced with the source datasets" | Intents/SyncCheck.md |
| UpdateData | "Update metrics", "refresh data", "pull latest", "refresh the US metrics": fetch live data from APIs and update the local US-Common-Metrics dataset | Intents/UpdateData.md |
| GetCurrentState | "How is the economy?", "economic overview", "get current state", "US metrics analysis", "economic metrics", "GDP", "inflation", "unemployment", "gas prices", "economic trends": multi-timeframe trend overview from live government data | Intents/GetCurrentState.md |
References
| File | Read when |
|---|---|
Setup.md |
first-time setup: FRED and EIA keys and seeding the US-Common-Metrics dataset folder |
Data Contract
- Endpoint:
data_urlin<configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/USStats/Config.md, or envUSSTATS_DATA_URL(Tools/UsStatsConfig.ts; the tool stops naming the file and key when neither is set). CSV siblings are listed in_meta.siblings. - License: public-domain government and published survey data; cite the publisher in each series'
sourcefield - Schema:
series[key] = { name, category, unit, coverage, goodDirection, partialYear, partialThrough, source, sourceUrl, historicalSourceUrls[], note, data{year: value} }
Data & C
よくある質問
数字はどこから来ますか?
各系列には発行元、情報源のリンク、注記が付いているため、確認できます。
API キーが必要ですか?
年鑑の検索にはキーは不要です。最新データの取得は、設定に記載された政府のデータ源を使います。
傾向が良いか悪いかを言えますか?
はい。各系列に方向の印があるため、変化が良いことか悪いことかを示せます。
詳細
作者による元の説明
Query the configured long-run US almanac (90+ annual series on economy, debt, cost of living, health, crime, family, trust, energy, many back to the 1940s: trends, verdicts, movers, correlations, freshness vs source datasets), and pull 66 current indicators from FRED, EIA and Treasury into the local US-Common-Metrics dataset for a 10y/5y/2y/1y read of the economy now. USE WHEN usstats, US stats, US indicators, long-run US trends, is X getting better or worse in America, US crime trend, wage trend, inflation history, correlate US indicators, compare decades, is the usstats data fresh, how is th
repo: danielmiessler/LifeOS
人気
- GitHubのスター
- 20k
- ランキング
- #10469
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。