habit-weekly

habit-weekly is a skill for Claude Code, Codex from yunsii/wezdeck. It costs 140 tokens per session (2,667 once invoked), scanned A, original, MIT.

A weekly report skill for summarising personal development habits from WezDeck activity data. It can combine agent and tool usage, browser verification work, keyboard shortcuts, and optional WakaTime data, where WakaTime is a coding-time tracker.

In plain words
What is it for?
Use it to generate reports for the current or previous week, choose a date range, output raw data, save reports, or explicitly push them to a private archive repository.
Why use it?
It turns scattered activity data into a repeatable weekly report instead of requiring manual collection and formatting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions AGENTS.md; mentions Codex.

Good fit Use it to generate reports for the current or previous week, choose a date range, output raw data, save reports, or explicitly push them to a private archive repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunsii/wezdeck/habit-weekly
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yunsii/wezdeck --skill habit-weekly
Clone the repo
git clone --depth 1 https://github.com/yunsii/wezdeck

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for habit-weekly

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunsii/wezdeck/habit-weekly/github.svg)](https://agentmods.dev/skills/yunsii/wezdeck/habit-weekly)
Your own site
<a href="https://agentmods.dev/skills/yunsii/wezdeck/habit-weekly"><img src="https://agentmods.dev/badge/skills/yunsii/wezdeck/habit-weekly/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for habit-weekly

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunsii/wezdeck/habit-weekly"><img src="https://agentmods.dev/badge/skills/yunsii/wezdeck/habit-weekly.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.02667
Opus 5.5 $0.00056 $0.01067
Sonnet 5.5 $0.00028 $0.00533
Haiku 4.5 $0.00014 $0.00267

Measured today against content hash f6d66f67881d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

habit-weekly scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 3 executable files (push-archive.sh, render.py, run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/habit-weekly/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Habit weekly(仓库内 skill — 开发习惯周报)

Who runs: the coding agent, not the human.
Never ask the human to paste habit-report.sh as the primary path — load this skill and run the co-located runner.

Scope: WezDeck 仓库内 skill(skills/habit-weekly/)。由 AGENTS.md 路由加载;不经 link-platform-skills.sh 同步到 ~/.agents/skills / ~/.claude/skills(依赖本仓 habit-report.sh,用户级软链会把 repo_root 算错)。

数据收集器是 scripts/dev/habit-report.sh(插件化 Claude / Grok / Codex + 可选 WakaTime)。本 skill 负责:定窗口 → 拉 JSON → 按固定模板渲染周报 →(可选)落盘 →(显式)推送到习惯归档仓。

宿主定时器由 scripts/dev/install-habit-snapshot.sh 安装,在新加坡时间 09:00、12:30、18:30 更新本周及近 14 天的本机快照。完整周通过 run.sh --write --push 归档到私有仓,失败时下个时段重试。网页 我的 › 开发习惯 读取快照;手动刷新走已授权的写入动作。

When to load / run

用户意图 你做
开发习惯周报 / 习惯周报 / habit weekly run.sh(默认上一完整 Mon–Sun;若归档仓落后则 catch-up 接到上次 until+1;默认含 WakaTime)
上周习惯 / last week run.sh 或 run.sh --week last(与默认相同,含 catch-up)
只要单周、不要接假期缺口 run.sh --no-catch-up
本周迄今 / this week run.sh --week this(Mon→today,未完结周;不做 catch-up)
自定义区间 run.sh --since YYYY-MM-DD --until YYYY-MM-DD(显式窗口,跳过 catch-up)
只要原始 JSON run.sh --json-only
落盘归档(本机) run.sh --write(再 --stdout 可同时打印正文)
落盘并推送到私有习惯仓 run.sh --write --push(--push 隐含 --write)

Skip / redirect:

  • 团队业务周报(commit / TAPD / 飞书)→ coco-weekly-report(不是本 skill)
  • 只要某一天的时间线事件流 → workflow-timeline.sh
  • 只要热键表、不要 Agent 段 → habit-report.sh --no-hotkeys 的反义词是 --providers 裁剪;仍可用本 skill 再口头删段

Resolve TOOL_HOME

1. $HABIT_WEEKLY_HOME(显式覆盖)
2. $WEZDECK_REPO/skills/habit-weekly(本机主仓)
3. 本 SKILL.md 同目录(skills/habit-weekly,run.sh 共存)
4. $WEZDECK_ROOT/skills/habit-weekly
TOOL_HOME="${HABIT_WEEKLY_HOME:-$WEZDECK_REPO/skills/habit-weekly}"
R="$TOOL_HOME/run.sh"

run.sh 用 pwd -P 解析自身目录,并以 $WEZDECK_REPO(若含 scripts/dev/habit-report.sh)优先定仓库根。不要从 ~/.agents/skills/habit-weekly 启动。

Agent procedure

  1. 定窗口(用户没说则默认上一完整 Mon–Sun;未完结周须显式 --week this):
    • 默认 / 上周完整周 → 不传或 --week last
    • Catch-up(默认开):读归档仓最新 habit-weekly-*_to_<until>.md;若 until+1 早于默认窗口起点(假期 / 漏跑),把 since 前移到 until+1,until 仍为上完整周日——一份报告接缺口,不要再问用户切不切开。--no-catch-up 可关;显式 --since/--until 与 --week this 不做 catch-up。
    • 本周迄今(未完结)→ --week this
    • 点名日期 → --since / --until,或 --week YYYY-MM-DD(取该日所在周 Mon–Sun)
  2. 跑收集 + 渲染(优先 --write 落盘;用户要远端归档时再加 --push):
    "$R" --write --push
    
    仅本机落盘:
    "$R" --write
    
    未完结本周(少用):
    "$R" --week this --write
    
  3. 读 references/REPORT_STYLE.md,核对渲染稿是否需补一句人话结论(数字已被模板写好;只在环路归纳与分工上可加 1–2 句,禁止改数字)。窗口若因 catch-up 超过 7 天,结论里可点一句「含假期/空档」。
  4. 汇报(简体中文;落盘/推送路径可附,但不能用路径代替指标回传):
    • 元信息: 数据窗口、max_running 口径(pane+TTL)、是否 catch-up、本机/远端归档路径与 commit(若 --push)。
    • 关键指标整表: 把渲染稿「关键指标」表的每一行原样回传(Agent 并行 / 热键·Alt+l / WakaTime / 会话形态 / 常用关键词 / Token·费用 / 代码变更 / Rime / 高频能力 / CDP / 数据覆盖清单)。禁止只挑几条摘要。
    • 一句话结论可置于表前。
    • 查询异常必报: 读 inventory(「本次提取的数据」)与各段降级说明;凡状态为失败/未配置/无事件,或某源重试前后不一致,单独列出(例:WakaTime RemoteDisconnected、缺 OAuth、某 provider 0 sessions)。成功补拉也要写「首跑失败 → 重跑成功」。
    • 用户未要求时不必把全文 markdown 贴进对话;关键指标表 + 异常清单是硬门槛。

Read the full file on GitHub · 143 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed f6d66f67881d
  2. 2d ago Changed · +5 lines b0dc4543a5f2
  3. 9d ago Changed 6ac8333b143d
  4. 13d ago Changed · +6 lines 499e8fb73be0
  5. 27d ago Changed ec689e1049a1
  6. 1mo ago Changed · +3 lines 9044dc999e42
  7. 2mo ago Changed eab84c956e37
  8. 2mo ago Changed · -4 lines 6603971c588a
  9. 2mo ago Changed · +7 lines · +16 tokens per session 4bf6c9eabc80
  10. 2mo ago First seen · 126 lines · 124 tokens per session scan A 177bb497de08

Subscribe to this mod's changes

habit-weekly is a skill published in the GitHub repository yunsii/wezdeck (5 stars, last pushed today), licensed MIT. It adds 140 tokens to every session and 2,667 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.

Related

habit-weekly compared with skills from other repositories

habit-weekly next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
habit-weeklyyunsii/wezdeckSkill5todayMITA140Claude Code, Codex
workflowxxxoooxoxo/wiffSkill52mo agoMITA70Claude Code, Codex
orchestrateodysseus0/claude-orchestrateSkill16mo agoMITA54Claude Code
launchworkstream-labs/workstreamsSkill807mo agononeA80Claude Code, Codex
accessibilityworkstream-labs/workstreamsSkill807mo agononeA54Claude Code, Codex
sessionsworkstream-labs/workstreamsSkill807mo agononeA45Claude Code, Codex
component-fixturesworkstream-labs/workstreamsSkill807mo agononeA47Claude Code, Codex