跳到正文
cccskills
免费在 GitHub 公开中文介绍

StateLog

用M4、e4 cf3等简短代码记录心情、精力、睡眠、人际关系和创作等状态,并标记运动、散步或肯定练习,查看各项最新值及记录时效。

原文查看原文说明

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).

danielmiessler/LifeOS星标 19,636(GitHub 19,636 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 用短代码记录心情或精力
  • 日常记录睡眠和创作状态
  • 只标记运动或散步的完成情况
  • 查看各项最新值和记录时间

中文介绍

功能

StateLog使用简短代码记录个人状态,例如用M4表示心情评分为4,用e4 cf3表示精力为4、创作自由度为3。整体状态、心情、精力、睡眠、人际关系、财务、创作和创作自由度均采用1至5分评分,也可以附上简短备注。运动、散步和肯定练习分别用W、K、A记录;这些代码更新相应活动距上次记录的天数,不添加评分。查看状态时,可以看到各项最新值及距记录时间,也能发现哪些记录已经过时。

适用场景

如果你想用少量输入记录每日心情和生活状态,或只标记是否运动、散步,可以使用此技能。之后也可以借助记录回顾睡眠、运动与心情之间的关系。

使用示例

  • “M4”
  • “今天散步了。”
  • “我现在的状态记录是什么?”

注意事项

评分范围为1至5。没有评分数字的独立代码仅接受W、K、A。人生目标完成百分比、健康数据导入和macOS统计信息不在适用范围内。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足资料会追加日志,并可能更新已配置的练习文件,但确认流程说明有限。
安装难易度所需工具和 API 密钥是否少且有说明
A良好记录本身无需配置即可使用,首次设置可查阅`Setup.md`。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(4)

  • SKILL.md6.2 KB
  • Intents/Log.md1.6 KB
  • Intents/Status.md934 B
  • Setup.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

IntentTriggerFile
LogA 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
FileRead when
Setup.mdfirst-time setup, or Config.md is missing
EvalState.mdchecking 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.

LetterDimensionKind
Hoverallrating 1-5
Mmoodrating 1-5
Eenergyrating 1-5
Ssleeprating 1-5
Rrelationshipsrating 1-5
Ffinancialrating 1-5
Coverall creativityrating 1-5
CFcreative freedomrating 1-5
Wworkoutfreshness (days-since)
Kwalkfreshness (days-since)
Aaffirmationfreshness (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 an A entry, also bump the streak line in that file's Active section. With no practice file configured, log the A and touch nothing else.
  • --source records where an entry came from, for later correlation: manual (default), interview, signal. reset W|K stamps signal itself, so an entry inferred from an event ("just worked out") goes through reset (Intents/Log.md), never through log with a hand-passed source.
  • Freshness is per-dimension, three tiers (fresh/aging/stale) with windows declared in State.ts DIMENSIONS: mood and energy decay in hours, relationships and financial in days. State.ts current computes each tier; a stale dimension is the prompt to log, not an error.
  • Entries are case-insensitive, and a message may carry several at once (e4 cf3 = energy 4, creative freedom 3). A message that is nothing but shorthand routes here silently.
  • Don't route goal-percentage talk here: "health 68%" is a life-goal gap score, not a journal entry.

Examples

User: "e4 cf3"
→ Log intent
→ Energy 4 and creative freedom 3 are in the log; the reply is one acknowledgment line

User: "just worked out"
→ Log intent
→ The workout counter resets with source signal, and no rating is written

User: "how am I tracking"
→ Status intent
→ A snapshot of each dimension's value and age, closing on one line that names what is stale

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AnnualReports

免费有简介

按类别或厂商查找并获取网络安全报告,比较威胁、勒索软件、数据泄露、云安全和AI趋势。分析会注明每项数据的厂商、年份及报告,并分别呈现来源间的分歧。

  • 按类别查找威胁报告
  • 获取指定厂商的报告
  • 比较多家厂商的勒索软件趋势
danielmiessler/LifeOS2万2026年10月28日 更新

ApertureOscillation

免费有简介

通过三轮分析,对比单个功能或组件的设计需求与整个系统的目标,梳理两者的冲突、合适的实现范围,以及方案是否符合整体方向。

  • 判断服务或库是否应拆分
  • 比较功能需求与产品方向
  • 检查新组件是否符合现有系统
danielmiessler/LifeOS2万2026年10月28日 更新

Aphorisms

免费有简介

按文章主题寻找格言或引文,按相关程度排序,并附上作者和推荐理由。可添加带出处的引文、按主题研究思想家的言论、整理使用记录,帮助避免重复引用。

  • 为新闻简报寻找引文
  • 保存有出处且不重复的引文
  • 按主题研究思想家的言论
danielmiessler/LifeOS2万2026年10月28日 更新

Art

免费有简介

按用途选择制作流程,生成博客插图、技术图解、比较图、漫画和图标等视觉内容,并输出供预览的图像。

  • 制作博客标题图
  • 解释系统结构
  • 展示比较或时间线
danielmiessler/LifeOS2万2026年10月28日 更新

ArtDirection

免费有简介

依据简报和制作标准评估图片、影片、幻灯片及网站页面截图,由视觉评审给出评分和缺陷优先级,支持有限轮次的修改;通过评审后才能交付,并可记录人工评分供后续校准。

  • 按优先级整理图片修改项
  • 依标准评估影片或幻灯片
  • 发布前检查视觉效果
danielmiessler/LifeOS2万2026年10月28日 更新

ArXiv

免费有简介

按主题、研究领域或论文编号查找 arXiv 论文,并整理标题、作者、摘要和链接;查看新投稿,也可在有内容时获取 AlphaXiv 的人工智能生成概述。

  • 查看人工智能和机器学习新论文
  • 查找特定主题的论文
  • 按论文编号或 arXiv 网址查询
danielmiessler/LifeOS2万2026年10月28日 更新

查看 danielmiessler 的全部技能

报告此技能的问题