work-log-codex

work-log-codex is a skill for Claude Code, Codex from ValorVie/custom-skills. It costs 67 tokens per session (1,816 once invoked), scanned A, original, MIT.

A workflow for turning Codex and Claude Code session records into readable Markdown work logs. It can organize activity by project and date range, such as today, this week, or a custom period.

In plain words
What is it for?
Use it to create daily, weekly, monthly, or custom-period logs, filter them by project, and save the results as Markdown work logs or Obsidian notes.
Why use it?
It saves time when reconstructing what was done from conversations and development history. It provides a repeatable record of work for reporting or personal notes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to create daily, weekly, monthly, or custom-period logs, filter them by project, and save the results as Markdown work logs or Obsidian notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/valorvie/custom-skills/work-log-codex
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 ValorVie/custom-skills --skill work-log-codex
Clone the repo
git clone --depth 1 https://github.com/ValorVie/custom-skills

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 work-log-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/valorvie/custom-skills/work-log-codex.svg)](https://agentmods.dev/skills/valorvie/custom-skills/work-log-codex)
Your own site
<a href="https://agentmods.dev/skills/valorvie/custom-skills/work-log-codex"><img src="https://agentmods.dev/badge/skills/valorvie/custom-skills/work-log-codex.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,816 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.00067 $0.01816
Opus 5 $0.00034 $0.00908
Sonnet 5 $0.00013 $0.00363
Haiku 4.5 $0.00007 $0.00182

Measured 8d ago against content hash 2e1378f150e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

work-log-codex 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 8d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (scripts/__init__.py, scripts/generate_work_log.py, scripts/normalize.py, …), 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.

.agents/skills/work-log-codex/SKILL.md · 172 lines

How it starts

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

Work Log Codex

根據本機的 Codex 與 Claude Code session 紀錄,產生可讀、可保存的工作日誌。

When To Use

Use this skill when the user wants to:

  • 針對 今天昨天本週 或自訂日期區間整理工作日誌
  • 想知道某段時間做了哪些專案、主要交付與研究內容
  • 想把對話紀錄與 git 歷史整理成可讀的 Markdown 日誌
  • 想輸出到 docs/work-logs/ 或 Obsidian

Workflow

這個 skill 的最佳路徑不是單次摘要,而是 parser -> project-level AI summary -> final synthesis -> layered formatter

Step 1: 解析時間範圍

支援:

  • today
  • yesterday
  • this-week
  • this-month
  • YYYY-MM-DD
  • YYYY-MM-DD YYYY-MM-DD

可選輸入:

  • --project <name>:只看單一專案
  • --output / --format:控制輸出方式

Step 2: 執行 parser

優先用 uv run python,失敗再 fallback python3

SKILL_DIR="$PWD/.agents/skills/work-log-codex"
PYTHONPATH="$SKILL_DIR" uv run python -m wl_parser.work_log_parser \
  TIME_RANGE \
  [END_DATE] \
  --timezone "Asia/Taipei" \
  [--project "PROJECT"] \
  --claude-home "$HOME/.claude" \
  --codex-home "$HOME/.codex" \
  --emit-project-dir /tmp/wl_projects \
  > /tmp/wl_report.json \
  || PYTHONPATH="$SKILL_DIR" python3 -m wl_parser.work_log_parser \
  TIME_RANGE \
  [END_DATE] \
  --timezone "Asia/Taipei" \
  [--project "PROJECT"] \
  --claude-home "$HOME/.claude" \
  --codex-home "$HOME/.codex" \
  --emit-project-dir /tmp/wl_projects \
  > /tmp/wl_report.json

Step 3: 逐專案 AI 摘要

不要直接把整份 /tmp/wl_report.json 全讀進上下文。優先讀:

  • /tmp/wl_projects/manifest.json
  • 每個 project bundle JSON
  • prompts/project_summary.md

每個專案各做一次摘要:

  • 優先從 git_commits 理解實際交付主題
  • session_summaries 補足未提交、研究、規劃中的工作
  • session_hints 只當快速導覽,真正判讀以 session_summaries 為主
  • 合併 related commits,不要逐 commit 轉寫
  • 沒有 commit 時才寫成研究/探索
  • Token 成本不是主要限制;必要時可以逐專案、多次呼叫 AI 做摘要,不要為了省 token 犧牲語意品質

將每個專案摘要暫存到 /tmp/wl_project_<name>.md

Step 4: 生成最終摘要前段

讀取:

  • /tmp/wl_report.jsonsummary
  • 所有 /tmp/wl_project_<name>.md
  • prompts/final_summary.md

產出 /tmp/wl_summary.md,內容必須只有:

  • ### 當日總結
  • ### 逐專案摘要

Step 5: formatter 組裝

預設輸出是 report + appendix 兩個檔案;debug 只有在明確要求時才產生。

主報告只保留:

  • ### 當日總結
  • ### 逐專案摘要
  • ### 工時統計
  • ### 每日摘要

Read the full file on GitHub · 172 lines

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. 8d ago First seen · 172 lines · 67 tokens per session scan A 2e1378f150e8

Subscribe to this mod's changes

work-log-codex is a skill published in the GitHub repository ValorVie/custom-skills (5 stars, last pushed 8d ago), licensed MIT. It adds 67 tokens to every session and 1,816 once invoked, about $0.0003 per session on Opus 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-08-31.