log

log is a skill for Claude Code from lemon-etvibe/prompt-vault. It costs 63 tokens per session (694 once invoked), scanned A, original, MIT.

A phase-log command that records completed work in Markdown files, a human-readable text format, and updates an index of phases.

In plain words
What is it for?
Use it after finishing work or before ending a session to create the next numbered phase log and update the progress index.
Why use it?
It keeps a durable record of what was requested, changed, decided, and left to do instead of relying on the current chat.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Part of the prompt-vault plugin — 4 skills, 4 commands, 3 hooks shipped together

Good fit Use it after finishing work or before ending a session to create the next numbered phase log and update the progress index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lemon-etvibe/prompt-vault/log
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 lemon-etvibe/prompt-vault --skill log
Clone the repo
git clone --depth 1 https://github.com/lemon-etvibe/prompt-vault

Made for: Claude Code.

Or install prompt-vault, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 3 hooks.

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 log

README.md
[![agentmods](https://agentmods.dev/badge/skills/lemon-etvibe/prompt-vault/log/github.svg)](https://agentmods.dev/skills/lemon-etvibe/prompt-vault/log)
Your own site
<a href="https://agentmods.dev/skills/lemon-etvibe/prompt-vault/log"><img src="https://agentmods.dev/badge/skills/lemon-etvibe/prompt-vault/log/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 log

Your own site · 80×15
<a href="https://agentmods.dev/skills/lemon-etvibe/prompt-vault/log"><img src="https://agentmods.dev/badge/skills/lemon-etvibe/prompt-vault/log.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 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.00063 $0.00694
Opus 5.5 $0.00025 $0.00278
Sonnet 5.5 $0.00013 $0.00139
Haiku 4.5 $0.00006 $0.00069

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

Security

Grade A, and why

log 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.

skills/log/SKILL.md · 89 lines

How it starts

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

Record completed work from the current conversation session as a phase log.

Procedure

  1. Verify .local/logs/ directory exists (create if missing)

  2. Determine next phase number from existing phase-*.md file count (3-digit zero-padded)

  3. Write phase-NNN.md in the following format:

    # Phase NNN: $ARGUMENTS (or auto-inferred title)
    
    - **Date**: YYYY-MM-DD
    - **Session**: (session ID or timestamp)
    - **Trigger**: manual
    
    ## User Prompt
    > Record the user's original request as close to verbatim as possible
    
    ## Actions
    - List major actions performed by Claude in chronological order
    - Include tools used, files read, files created/modified
    
    ## Results
    - Summary of deliverables (generated file paths, key findings)
    - Key data or metrics
    
    ## Decisions
    - Decisions made and their rationale
    
    ## Next
    - Next steps or open items
    
  4. Update .local/logs/_index.md: add/update the phase row

    | NNN | Title | done | YYYY-MM-DD | One-line summary |
    
  5. Update auto-log state file (.local/logs/last-log-state.json) to prevent auto-logger duplication: — WHY: 자동 로거(Stop/PreCompact 훅)가 같은 내용을 중복 기록하지 않도록

    • Compute transcript hash via Bash:
      shasum -a 256 ~/.claude/projects/.../SESSION_ID.jsonl | cut -d' ' -f1
      
      Prefix with sha256: to form "sha256:<hex>"
    • Write state:
      {
        "lastLogTimestamp": <current_timestamp_ms>,
        "lastTranscriptHash": "sha256:<hash>",
        "lastLogTurnCount": <total_turn_count>,
        "lastPhaseNumber": "<NNN>",
        "lastTrigger": "manual"
      }
      
    • This ensures the auto-logger (Stop/PreCompact hooks) won't re-log the same content
  6. Output completion message (bilingual based on lang in .local/logs/.config):

    • en: "✅ Phase NNN logged."
    • ko: "✅ Phase NNN 기록 완료."

Example

Input: /prompt-vault:log 로그인 버그 수정

Output (phase-003.md):

# Phase 003: 로그인 버그 수정
- **Date**: 2026-03-12
- **Session**: abc123
- **Trigger**: manual

## User Prompt
> 로그인 시 null 에러 수정해줘

## Actions
- Read: src/auth.ts
- Edit: src/auth.ts — null 체크 추가
...

Read the full file on GitHub · 89 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. 2mo ago First seen · 89 lines · 63 tokens per session scan A 9a1a563a60f1

Subscribe to this mod's changes

log is a skill published in the GitHub repository lemon-etvibe/prompt-vault (2 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 694 once invoked, about $0.0003 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-08-31.