awesome-second-brain: Command for Claude Code

.claude/commands/rituals/close-day.md

close-day is a command for Claude Code from superuser-pal/awesome-second-brain. It costs 0 tokens per session (444 once invoked), scanned A, original, MIT.

A command for reviewing the notes and project changes made during a work session before ending the day. It also checks the vault's key context and unfinished thinking notes.

In plain words
What is it for?
Use it to list changed notes, synchronize project records, identify thinking notes for later processing, and record new working practices.
Why use it?
It helps catch missing links, descriptions, outdated project statuses, and important context that was not added to the main indexes.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is superuser-pal/awesome-second-brain's own configuration. It tells Claude Code how to work on awesome-second-brain itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything awesome-second-brain configures →

Reuse

Borrowing it

Nothing to install: this file belongs to superuser-pal/awesome-second-brain. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/superuser-pal/awesome-second-brain/main/.claude/commands/rituals/close-day.md
Clone the repo
git clone --depth 1 https://github.com/superuser-pal/awesome-second-brain

Made for: Claude Code.

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 close-day

README.md
[![agentmods](https://agentmods.dev/badge/commands/superuser-pal/awesome-second-brain/close-day/github.svg)](https://agentmods.dev/commands/superuser-pal/awesome-second-brain/close-day)
Your own site
<a href="https://agentmods.dev/commands/superuser-pal/awesome-second-brain/close-day"><img src="https://agentmods.dev/badge/commands/superuser-pal/awesome-second-brain/close-day/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 close-day

Your own site · 80×15
<a href="https://agentmods.dev/commands/superuser-pal/awesome-second-brain/close-day"><img src="https://agentmods.dev/badge/commands/superuser-pal/awesome-second-brain/close-day.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 444 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.00000 $0.00444
Opus 5.5 $0.00000 $0.00178
Sonnet 5.5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

close-day 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 2mo 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.

.claude/commands/rituals/close-day.md · 58 lines

What it actually says

Close Day

Fast session review and consistency check before ending.

Usage

/close-day

Triggered when the user says "close day", "wrap up", "let's wrap", "wrapping up", or similar. Claude should invoke this automatically.

Workflow

1. Fast Session Review

Scan the conversation for newly created or modified notes:

  • List created/modified notes with paths.
  • Sanity check: Ensure each new note has at least one wikilink and a description field.
  • Project sync: Update status fields of projects touched this session (e.g., active -> completed).

2. Update Critical Context

  • work/INDEX.md — register new notes in "Recent Notes" or "Active Projects".
  • brain/MEMORIES.md — if critical new context was learned, ensure it's linked from the "Recent Context" section.

3. Thinking Notes Clean-up

  • Scan thinking/ for unarchived notes with status: thinking. If any exist, list them and suggest running /process later.

4. Ways of Working Reflection

Briefly identify if this session revealed a major new pattern or gotcha for:

  • brain/RULES.md
  • brain/CAVEATS.md
  • CLAUDE.md (e.g., new project convention)

5. Evening Review (evening-review)

Run the evening-review workflow from the daily-rituals skill:

  • Read today's daily note from plan/.
  • Mark accomplished tasks [x] in daily note and project files.
  • Suggest 1 priority for tomorrow.
  • Append the section to the daily note.

6. Report

Present a lean summary:

  • Done: notes captured and projects updated.
  • Tomorrow: top priority.
  • Flagged: anything requiring immediate user action.

Important

  • This is a light consistency pass, NOT a full audit. Keep it fast.
  • Deep analytical work (wins capture, orphan scans, competency mapping) is deferred to /week-close.
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. 2mo ago First seen · 58 lines · 0 tokens per session scan A bc2978411ed0

Subscribe to this mod's changes

close-day is a command published in the GitHub repository superuser-pal/awesome-second-brain (16 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 444 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-08-30.