Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính20k · #10469

USStats

Skill này làm gì

Trả lời các câu hỏi về xu hướng dài hạn của Mỹ, như nợ, chi phí sinh hoạt hoặc tội phạm, và lấy các chỉ số kinh tế hiện tại từ nguồn chính thức. Dành cho người muốn có sự thật về kinh tế và xã hội Mỹ ở cùng một nơi.

Khi nào nên dùng

  • ✓Khi bạn muốn biết một chỉ số của Mỹ đã thay đổi thế nào qua nhiều thập kỷ.
  • ✓Khi bạn muốn biết tình hình kinh tế Mỹ hiện tại từ dữ liệu chính thức.
  • ✓Khi bạn muốn so sánh xu hướng nào của Mỹ đang tốt lên hay xấu đi.

Liên kết skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/USStats/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/USStats/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Nợ hộ gia đình của Mỹ đã thay đổi thế nào trong ba mươi năm qua, và nó đang tốt lên hay xấu đi?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tra cứu một niên giám gồm hơn chín mươi chuỗi số liệu hằng năm, mỗi chuỗi có nguồn và một cờ cho biết giá trị cao hơn là tốt hay xấu. Nó cũng có thể lấy khoảng sáu mươi sáu chỉ số hiện tại từ các nguồn dữ liệu chính phủ như FRED và Kho bạc.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 --fresh run, 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_url in <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/USStats/Config.md, or env USSTATS_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' source field
  • Schema: series[key] = { name, category, unit, coverage, goodDirection, partialYear, partialThrough, source, sourceUrl, historicalSourceUrls[], note, data{year: value} }

Data & C

Câu hỏi thường gặp

Số liệu lấy từ đâu?

Mỗi chuỗi nêu rõ đơn vị phát hành, liên kết nguồn và ghi chú, để bạn có thể kiểm tra.

Có cần khóa API không?

Tra cứu niên giám không cần khóa. Phần lấy dữ liệu hiện tại dùng các nguồn dữ liệu chính phủ được nêu trong phần thiết lập.

Nó có nói được một xu hướng là tốt hay xấu không?

Có. Mỗi chuỗi có một cờ hướng, nên nó có thể cho biết một thay đổi là tốt hay xấu.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
20k
Vị trí xếp hạng
#10469
Giấy phép
MIT
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự