lwy-status

v2026.09.25

Cross-subsystem digest for the ~/.learnwy/ data root. Aggregates vocab progress (english-learner), wiki health (llm-wiki), prompt-optimizer trigger trends, knowledge-consolidation nudges, and log size into one report. Use when the user asks for: 'what is my learnwy status', 'show me my vocab/wiki/optimizer stats', 'weekly digest', 'how am I doing on my personal data', or runs `cli.cjs status`. Also installs a once-per-ISO-week SessionStart hook that prepends a compact summary to the first session of each week.

GitHub
安装命令
npx skhub add learnwy/lwy-status
Markdown
SKILL.md

learnwy-status

One-screen dashboard across every subsystem that writes under ~/.learnwy/.

When to use

  • User says /learnwy-status, "show me my status", "what's in my data", "weekly digest"
  • User wants to know vocab progress, wiki health, or prompt-optimizer trends without invoking each skill separately
  • AI-driven check-in at the start of a fresh week (handled by the SessionStart hook below)

Subsystems covered

SubsystemSource fileReported
Vocab~/.learnwy/english-learner/data.dbtotal / mastered / learning / new + top 3 review candidates
Wiki health~/.learnwy/llm-wiki/health.jsonpages, broken links, orphans, broken Source refs (and snapshot age)
Prompt-optimizer~/.learnwy/prompt-optimizer/events.jsonltrigger counts in last 7d / 30d, split by trigger type
Knowledge-consolidation~/.learnwy/knowledge-consolidation/last-nudge.jsontimestamp + hours-ago of last nudge
Logs~/.learnwy/logs/largest log file + size, rotated-generation count

If a subsystem has no data, that section degrades to "(empty)" rather than failing.

Commands

CommandPurpose
cli.cjs statusHuman-readable report (default)
cli.cjs status --compactOne-line summary used by the SessionStart hook
cli.cjs status --jsonMachine-readable digest for downstream tooling
cli.cjs doctorSystem health check — Node version, hook registration in ~/.claude/settings.json, ~/.trae/hooks.json, and ~/.codex/hooks.json, Codex [features].hooks state, ~/.learnwy/ subdir layout, dispatcher bundle presence under ~/.agents/skills/. Exits non-zero on any error.
cli.cjs doctor --jsonSame as above, machine-readable.

Hooks

EventBehavior
SessionStartAt most once per ISO week, emits [learnwy-status] Weekly digest (YYYY-Www): ... with a compact summary and a wiki broken-link alert if any. State stored in ~/.learnwy/learnwy-status/state.json (key: last_status_week).

Prerequisites

  • Node.js ≥ 24 (uses node:sqlite indirectly via english-learner DB).
  • The other subsystems need not be initialised — missing data files are tolerated.

Storage

PathPurpose
~/.learnwy/learnwy-status/state.jsonTracks last_status_week for the SessionStart debounce.

This skill writes only to the path above. All other reads are non-destructive.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

MIT

源路径

skills/lwy-status

默认分支

main

最新提交

d727b38

Tree SHA

8dd1452