StateLog
O que ela faz
Registra check-ins diários curtos, como humor, energia, sono e treinos, em uma escala simples de um a cinco. Ela é para quem quer acompanhar padrões na forma como se sente ao longo do tempo.
Quando usar
- ✓Quando você quer registrar seu humor ou energia com uma nota rápida.
- ✓Quando você quer ver como seus estados recentes se comparam.
- ✓Quando você quer registrar um treino ou uma caminhada sem escrever um registro no diário.
Link da skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/StateLog/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
“Registre meu humor como 4 e minha energia como 2 para hoje.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill salva cada registro com data e hora no seu log privado, em uma única etapa, e envia uma confirmação curta. Ela registra apenas as notas que você informa e nunca as inventa. Uma consulta de status mostra o valor mais recente e a idade de cada medida.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
StateLog
Contents: Ideal State · Intent Routing · The grammar · Data & Config · Tool contract · Gotchas · Examples
Two keystrokes to a durable journal entry. The user sends M2 on any channel; it lands timestamped in the state log and the statusline reflects it. The point is zero-friction capture of mood and state so correlations (mood vs sleep vs workouts) become computable later.
Ideal State
- Every entry the user states lands in the log in one tool call and gets one short acknowledgment, with no follow-up questions or analysis.
- Ratings come only from the user's own words; inferred events reset freshness counters and never write a rating.
- A status read shows each dimension's latest value and age, and names what is stale or never logged in one line.
- The journal stays the user's: it lives under
LIFEOS/USER/STATE/and never enters this skill or any public artifact.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Log | A shorthand entry, "log my state/mood", "just worked out", "went for a walk" | Intents/Log.md |
| Status | "current state", "state check-in", "how am I tracking" | Intents/Status.md |
| File | Read when |
|---|---|
Setup.md |
first-time setup, or Config.md is missing |
EvalState.md |
checking the state-shorthand eval suite's latest scores (machine-owned, never hand-edited) |
The grammar
<Letter><Digit 1-5> plus optional note (M2 slept badly). Bare W or K resets that freshness counter.
| Letter | Dimension | Kind |
|---|---|---|
| H | overall | rating 1-5 |
| M | mood | rating 1-5 |
| E | energy | rating 1-5 |
| S | sleep | rating 1-5 |
| R | relationships | rating 1-5 |
| F | financial | rating 1-5 |
| C | overall creativity | rating 1-5 |
| CF | creative freedom | rating 1-5 |
| W | workout | freshness (days-since) |
| K | walk | freshness (days-since) |
| A | affirmation | freshness (days-since) |
Scale (star-rating semantics, higher is better): 1 really bad · 2 bad · 3 fine (shown yellow, never treated as a crisis) · 4 and 5 the preferred range (shown green). The parser clamps 0/6-9 into range and preserves the raw value. Every dimension reads the same direction — there are no inverted dimensions.
Data & Config
What each dimension means to the user, where the creativity pair's framing comes from, the affirmation practice file, and the workout signal source: <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/StateLog/Config.md (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). First-time setup is in Setup.md. Read it when discussing the creativity pair, logging an A, or deciding whether an event counts as a workout signal. Logging itself works without it; when Config.md is missing, say so once, point the user at Setup.md, skip the streak bump and signal resets, and still log the entry. The letters and 1-5 scale are the tool's defaults in State.ts; Config.md only records what they mean to the user.
Tool contract
The deterministic engine is ~/.claude/LIFEOS/TOOLS/State.ts (cross-consumer: statusline, interview, this skill):
bun ~/.claude/LIFEOS/TOOLS/State.ts log "M4" # rate
bun ~/.claude/LIFEOS/TOOLS/State.ts log "M2 rough day" # rate + note
bun ~/.claude/LIFEOS/TOOLS/State.ts log "W" # freshness reset
bun ~/.claude/LIFEOS/TOOLS/State.ts log "H5" --source interview
bun ~/.claude/LIFEOS/TOOLS/State.ts reset W # signal-driven reset
bun ~/.claude/LIFEOS/TOOLS/State.ts current [--json] # snapshot with freshness tiers
bun ~/.claude/LIFEOS/TOOLS/State.ts statusline # compact segment
bun ~/.claude/LIFEOS/TOOLS/State.ts rebuild # re-derive current.json from log
Data: LIFEOS/USER/STATE/log.jsonl (append-only) + current.json (derived). The statusline reads current.json directly with jq — never spawn the tool from render paths.
Gotchas
- A bare rating letter with no digit (
M) is an error, not a default — only W/K/A accept bare-letter resets. - Bare
A= "did today's affirmation reps". Config.md names the practice file (Affirmation practice file); on anAentry, also bump the streak line in that file's Active section. With no practice file configured, log theAand touch nothing else. --sourcerecords where an entry came from, for later correlation:manual(default),interview,signal.reset W|Kstampssignalitself, so an entry inferred
Perguntas frequentes
O que significam as letras?
H é geral, M é humor, E é energia e S é sono. Outras letras cobrem relacionamentos, finanças, criatividade, treinos, caminhadas e afirmações.
Ela analisa meus registros?
Ela guarda os registros para comparação posterior e não acrescenta análises nem perguntas de acompanhamento quando você registra.
Quem pode ver meu log?
O log fica na sua própria pasta privada e não é compartilhado.
Detalhes
Descrição original do autor
State journaling from shorthand like M4, H2, CF5 (H overall, M mood, E energy, S sleep, R relationships, F financial, C creativity, CF creative freedom, W workout, K walk, A affirmation) on 1-5, with freshness resets. USE WHEN a message is only dimension shorthand (M4, e4 cf3, W, K, A), log my state, log my mood, state check-in, how am I tracking, just worked out, went for a walk, did my affirmations. NOT FOR life-goal percentages (use `Telos`), health imports, macOS stats (Vitals).
repo: danielmiessler/LifeOS
Popularidade
- Estrelas no GitHub
- 20 mil
- Posição no ranking
- #10460
- 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
blucli
394 milAjuda seu agente a encontrar, tocar, pausar, agrupar e ajustar o volume de alto-falantes Bluesound e NAD pelo comando blu.
camsnap
394 milAjuda seu agente a capturar fotos, clipes curtos ou eventos de movimento de câmeras de rede e webcams locais que você configurou.
eightctl
394 milAjuda seu agente a verificar e controlar um pod da Eight Sleep, incluindo temperatura, alarmes e programações de sono.