worklog-query

worklog-query is a skill for Claude Code, Codex from iyuenan3/worklog-kit. It costs 83 tokens per session (765 once invoked), scanned A, original, Apache-2.0.

A read-only search tool for project diaries and wiki pages, including records of decisions and project status.

In plain words
What is it for?
Use it to find project updates, time-based work summaries, keyword matches, and the source of past decisions, with file or date references.
Why use it?
It helps answer questions about what happened, when work was done, and why a decision was made without changing the notes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/iyuenan3/worklog-kit/worklog-query
Any agent
npx skills add iyuenan3/worklog-kit --skill worklog-query
Clone the repo
git clone --depth 1 https://github.com/iyuenan3/worklog-kit

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 worklog-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/iyuenan3/worklog-kit/worklog-query.svg)](https://agentmods.dev/skills/iyuenan3/worklog-kit/worklog-query)
Your own site
<a href="https://agentmods.dev/skills/iyuenan3/worklog-kit/worklog-query"><img src="https://agentmods.dev/badge/skills/iyuenan3/worklog-kit/worklog-query.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.00765
Opus 5 $0.00042 $0.00382
Sonnet 5 $0.00017 $0.00153
Haiku 4.5 $0.00008 $0.00076

Measured 4d ago against content hash 91b9fff91874, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

worklog-query 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 4d ago.

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/worklog-query/SKILL.md · 34 lines

What it actually says

worklog-query:查 X

与用户交互的语言跟随其消息语言。只读:本 skill 不修改任何文件。

检索通道:Obsidian CLI 优先(可选加速)

关键词 / 标签 / 链接类检索先试官方 obsidian CLI(Obsidian app 内置,需 app 在运行)。只用查询型命令(read / search / tags / links / files 等,纯返回数据);open / daily 这类会把 app 弹到前台,不用。

  1. 探测command -v obsidian 存在 → 试跑一条只读命令(如 obsidian files),成功且输出确认是本 vault 的文件即可用
  2. 拉起:探测失败、系统是 macOS 且装有 Obsidian → open -ga Obsidian(后台启动,不抢焦点),等约 3 秒重试一次探测;用了这条就在最终回答末尾提一句「已后台启动 Obsidian」
  3. 回退:仍不可用(未装 / 无 GUI / 本 vault 未在 Obsidian 打开注册过)→ 静默走下表 rg / grep 路径,不报错、不追问、本次不再重试

CLI 只是加速通道:回答口径不变(结论带出处),CLI 结果与文件实读不一致时以文件为准。

意图分流与检索路径

问法 路径
查某项目(「X 最近怎么样」) 先读 wiki/projects/<slug>.md(现状 + 决策日志),再按其 frontmatter diaries 数组回读最近几篇相关日记的对应章节
查时间段(「上周干了什么」) 按 config 时区换算日期范围(先 export TZ=<config.timezone>),逐读 diaries/<D>.md 的概览与主线,汇总
查关键词(「关于 Y 的记录」) 先走 Obsidian 通道(obsidian search 等,见上节);不可用则 rg -n --glob '!**/.git/**' '<关键词>' diaries/ wiki/ inbox/(无 rg 退 grep -rn;中文字面量加 LC_ALL=C);命中多时按时间倒序取最相关的深读
决策溯源(「当初为什么这么定」) 项目页决策日志 → 对应日期日记的项目章节 → AIREADME/DECISIONS.md,三处交叉

回答要求

  • 每个结论带出处文件:行 或日记日期,让用户可跳转核实
  • 检索为空就说没查到 + 给出试过的路径,不编造
  • 涉及日期与星期的表述先工具换算,不心算
Files

What ships with it

1 file 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. 4d ago First seen · 34 lines · 83 tokens per session scan A 91b9fff91874

Subscribe to this mod's changes

worklog-query is a skill published in the GitHub repository iyuenan3/worklog-kit (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 83 tokens to every session and 765 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens