USStats
O que ela faz
Responde perguntas sobre tendências de longo prazo nos EUA, como dívida, custo de vida ou criminalidade, e busca indicadores econômicos atuais em fontes oficiais. Ela é para quem quer fatos sobre a economia e a sociedade americanas reunidos em um só lugar.
Quando usar
- ✓Quando você quer saber como um indicador dos EUA mudou ao longo de décadas.
- ✓Quando você quer a situação atual da economia dos EUA a partir de dados oficiais.
- ✓Quando você quer comparar quais tendências dos EUA estão melhorando ou piorando.
Link da skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/USStats/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Como a dívida das famílias americanas mudou nos últimos trinta anos, e está melhorando ou piorando?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill consulta um almanaque com mais de noventa séries anuais, cada uma com sua fonte e um indicador de se valores maiores são melhores. Ela também pode buscar cerca de sessenta e seis indicadores atuais em fontes de dados do governo, como o FRED e o Tesouro.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
De onde vêm os números?
Cada série informa o seu publicador, um link de fonte e uma observação, para que você possa conferir.
Precisa de chave de API?
A consulta ao almanaque não precisa de chave. A busca de dados atuais usa as fontes oficiais indicadas na configuração.
Ela consegue dizer se uma tendência está melhorando ou piorando?
Sim. Cada série tem um indicador de direção, então ela pode dizer se uma mudança é boa ou ruim.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 20 mil
- Posição no ranking
- #10469
- Licença
- MIT
- Atualizada em
- 28/10/2026
Comentários
- …
Mais skills deste repositório
LifeOS
20 milAjuda seu agente a configurar o LifeOS, um sistema pessoal que leva do seu estado atual ao estado ideal por meio de uma entrevista e de um painel.
AnnualReports
20 milAjuda seu agente a encontrar e comparar relatórios anuais de cibersegurança de grandes fornecedores, como tendências de vazamentos e ransomware, com uma fonte para cada número.
ApertureOscillation
20 milEnsina seu agente a testar uma questão de design em um escopo restrito e em um escopo amplo, e depois apontar onde as duas respostas se chocam antes de construir.
Aphorisms
20 milPermite que seu agente encontre, compare e acompanhe citações atribuídas a autores de uma coleção selecionada, evitando as usadas recentemente na sua newsletter.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.