Borrowing it
Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bredmond1019/claude-sdk-rs/main/.claude/commands/log-work.mdgit clone --depth 1 https://github.com/bredmond1019/claude-sdk-rsWrote 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.
[](https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/log-work)<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/log-work"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/log-work/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.
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/log-work"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/log-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02801 |
| Opus 5.5 | $0.00000 | $0.01120 |
| Sonnet 5.5 | $0.00000 | $0.00560 |
| Haiku 4.5 | $0.00000 | $0.00280 |
Grade A, and why
log-work 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Log Work — Append a Log entry, sync status, and regenerate the freshness spine via mev emit-state.
This command is brain.toml-driven and depth-agnostic. It works unchanged whether this repo lives
at the brain root, inside a tier sub-brain (core/, portfolio/, side/, client/), or standalone
outside any brain — it resolves everything from the manifest at runtime. There are no baked ../
paths and no {{SLUG}} token; if you find either, it is a stale copy.
Variables
$ARGUMENTS — optional free-text explanation of what was done. May be brief or detailed. If provided, it is the primary narrative for the Log entry — do not discard or summarise it down. If omitted, derive the narrative from git history and the task spec.
Execution Model
Run entirely inline. Spawn no subagent. This command authors state (flips closed-block
status, appends the Log entry, surgically updates status.md, offers to record a decision) and
then shells out to mev emit-state --write, which is what actually regenerates the freshness
spine (the watermarked caches + generated rollups that mev validate-brain --sync checks) — so
favour accuracy over speed in the authored parts. A subagent cold-starts and has to reconstruct
this session's narrative from git log alone; the main agent already holds the session context
needed for an accurate log.md entry, and a round trip through a subagent adds latency without
adding value here.
Instructions
Step 0 — Resolve the manifest (this is what replaced the baked paths)
- Find the brain root. From the current working directory, walk up parent by parent looking for a
brain.tomlfile (its first line begins# brain.toml). The directory containing it isBRAIN_ROOT.- If no
brain.tomlis found, this is a standalone repo. Skip the brain-sync Step 3 (mev emit-state --writehas nothing to resolve without abrain.toml): do only Steps 1–2 (locallog.md+planning/status.md), then go to Step 4 and say so in the report.
- If no
- Identify this repo in the manifest. Compute this repo's path relative to
BRAIN_ROOT(.if you are at the root). Readbrain.tomland find the[[repos]]entry whoserepo_pathequals that relative path. From it read:slug,tier,status_file,cache_doc,heading.- If no entry matches (a repo not yet registered), STOP and report it — do not guess a cache path.
(Registering a new repo is
/new-project//generate-sub-brain's job.) - All
status_file/cache_docpaths in the manifest are relative toBRAIN_ROOT— resolve them againstBRAIN_ROOT, never against the current directory.
- If no entry matches (a repo not yet registered), STOP and report it — do not guess a cache path.
(Registering a new repo is
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.
- 12d ago First seen · 168 lines · 0 tokens per session scan A eb06a5ce97f0
log-work is a command published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,801 tokens. 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-10-26.
log-work compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| log-workbredmond1019/claude-sdk-rs | Command | 23 | 1mo ago | Apache-2.0 | A | 0 | Claude Code |
| standupvvedantb/eva | Command | 101 | yesterday | MIT | A | 0 | Claude Code |
| gitazrtydxb/procoder | Command | 211 | yesterday | Apache-2.0 | A | 20 | Claude Code |
| session-reportdamusix/atomic-claude | Command | 116 | 5d ago | MIT | A | 31 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 25d ago | MIT | A | 8 | Claude Code |
| git-workflowHermeticOrmus/LibreUIUX-Claude-Code | Command | 115 | 1mo ago | MIT | A | 14 | Claude Code |
| commitjoaquimscosta/arkhe-claude-plugins | Command | 22 | 23d ago | MIT | A | 11 | Claude Code |