USStats
ما الذي تفعله
تجيب هذه المهارة عن أسئلة حول الاتجاهات الأمريكية طويلة المدى، مثل الديون وتكلفة المعيشة والجريمة، وتسحب المؤشرات الاقتصادية الحالية من مصادر رسمية. وهي موجهة لمن يريد حقائق عن الاقتصاد والمجتمع الأمريكي في مكان واحد.
متى تستخدمها
- ✓عندما تريد معرفة كيف تغير مؤشر أمريكي عبر عقود.
- ✓عندما تريد الوضع الحالي للاقتصاد الأمريكي من بيانات رسمية.
- ✓عندما تريد مقارنة الاتجاهات الأمريكية الآخذة في التحسن أو التدهور.
رابط المهارة
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/USStats/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف تغيّر دين الأسر الأمريكية خلال الثلاثين سنة الماضية، وهل يتحسن أم يسوء؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تستعلم المهارة من تقويم يضم أكثر من تسعين سلسلة سنوية، لكل منها ناشرها ورابط مصدرها وعلامة تبيّن هل الارتفاع جيد. ويمكنها أيضاً سحب نحو ستة وستين مؤشراً حالياً من مصادر حكومية مثل FRED وخزانة الولايات المتحدة.
المحتوى التقني (ملف 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
- آخر تحديث
- 28/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
LifeOS
20kيساعد وكيلك على إعداد LifeOS، وهو نظام شخصي يربط حالتك الحالية بحالتك المثالية عبر مقابلة ولوحة متابعة.
AnnualReports
20kيساعد وكيلك على إيجاد التقارير السنوية للأمن السيبراني من كبار المزودين ومقارنتها، مثل اتجاهات الاختراقات وبرامج الفدية، مع مصدر لكل رقم.
ApertureOscillation
20kيعلّم وكيلك اختبار سؤال تصميم واحد على نطاق ضيق ونطاق واسع، ثم تسمية النقاط التي تتعارض فيها الإجابتان قبل البناء.
Aphorisms
20kيساعد وكيلك على إيجاد الاقتباسات المنسوبة إلى أصحابها من مجموعة منتقاة ومطابقتها وتتبعها، مع تجنّب ما استُخدم منها مؤخراً في نشرتك.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.