StateLog
Fungsinya
Mencatat check-in harian singkat, seperti suasana hati, energi, tidur, dan olahraga, dengan skala satu sampai lima. Skill ini untuk orang yang ingin melihat pola perasaan mereka dari waktu ke waktu.
Kapan dipakai
- ✓Saat Anda ingin mencatat suasana hati atau energi dengan catatan singkat.
- ✓Saat Anda ingin melihat bagaimana kondisi terakhir Anda dibandingkan.
- ✓Saat Anda ingin mencatat olahraga atau jalan kaki tanpa menulis catatan harian.
Link skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/StateLog/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Catat suasana hati saya 4 dan energi saya 2 untuk hari ini.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menyimpan setiap entri dengan cap waktu di log pribadi Anda dalam satu langkah, lalu mengirim konfirmasi singkat. Skill hanya mencatat nilai yang Anda sebutkan sendiri dan tidak pernah mengarangnya. Pemeriksaan status menampilkan nilai terbaru dan usia setiap ukuran.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa arti huruf-hurufnya?
H adalah keseluruhan, M adalah suasana hati, E adalah energi, dan S adalah tidur. Huruf lain mencakup hubungan, keuangan, kreativitas, olahraga, jalan kaki, dan afirmasi.
Apakah skill ini menganalisis entri saya?
Tidak. Skill menyimpan entri untuk perbandingan nanti dan tidak menambahkan analisis atau pertanyaan lanjutan saat Anda mencatat.
Siapa yang bisa melihat log saya?
Log tersimpan di folder pribadi Anda dan tidak dibagikan.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 20k
- Peringkat
- #10460
- Lisensi
- MIT
- Diperbarui
- 28/10/2026
Komentar
- …
Skill lain dari repositori ini
LifeOS
20kMembantu agent Anda menyiapkan LifeOS, sistem pribadi yang memetakan kondisi Anda saat ini ke kondisi ideal melalui wawancara dan dasbor.
AnnualReports
20kMembantu agent Anda menemukan dan membandingkan laporan tahunan keamanan siber dari vendor besar, seperti tren pelanggaran dan ransomware, dengan sumber untuk setiap angka.
ApertureOscillation
20kMengajari agent Anda menguji satu pertanyaan desain pada cakupan sempit dan cakupan luas, lalu menyebutkan di mana kedua jawaban bertentangan sebelum Anda membangun.
Aphorisms
20kMembantu agent Anda menemukan, mencocokkan, dan melacak kutipan yang diatribusikan dari koleksi terkurasi, sambil menghindari kutipan yang baru dipakai di newsletter Anda.
Skill serupa
blucli
394kMembantu agent Anda menemukan, memutar, menjeda, mengelompokkan, dan mengatur volume speaker Bluesound dan NAD lewat perintah blu.
camsnap
394kMembantu agent Anda mengambil foto, klip pendek, atau peristiwa gerakan dari kamera jaringan dan webcam lokal yang sudah Anda atur.
eightctl
394kMembantu agent Anda memeriksa dan mengendalikan perangkat Eight Sleep, termasuk suhu, alarm, dan jadwal tidurnya.