session-log

session-log is a command for Claude Code from IvanLutsenko/awac-ai-agent-plugins. It costs 8 tokens per session (709 once invoked), scanned A, a copy of bug-close, MIT.

A command that saves a summary of the current coding session to an Obsidian project. Obsidian is a note-taking app that stores information in linked files.

In plain words
What is it for?
Use it to record what you worked on, what you achieved, and what remains to do in a project.
Why use it?
It keeps session goals, actions, results, and next steps from being lost when work ends. It also lets you choose which project receives the record.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the obsidian-tracker plugin — 19 skills, 19 commands shipped together

Good fit Use it to record what you worked on, what you achieved, and…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ivanlutsenko/awac-ai-agent-plugins/session-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.

Clone the repo
git clone --depth 1 https://github.com/IvanLutsenko/awac-ai-agent-plugins

Made for: Claude Code.

Or install obsidian-tracker, the plugin that ships this one along with the rest of its 19 skills, 19 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/session-log.svg)](https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/session-log)
Your own site
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/session-log"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/session-log.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 709 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 91% copy Near-identical to another mod 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.00008 $0.00709
Opus 5 $0.00004 $0.00354
Sonnet 5 $0.00002 $0.00142
Haiku 4.5 $0.00001 $0.00071

Measured yesterday against content hash cb31fe3ca0e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

session-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 yesterday.

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.

Origin

This is a copy

91% identical to bug-close — 77 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/obsidian-tracker/commands/session-log.md · 78 lines

What it actually says

Session Log Command

Logs the current Claude Code session to the specified project.

Step 0: Check Configuration

Вызови MCP tool:

mcp__plugin_obsidian_tracker_obsidian__getConfig

Если initialized: false: выполни инициализацию как в /projects команде.

Arguments

  • project-name (optional) - Project to log session to

Logic

  1. Resolve project:

    Если project-name не указан:

    mcp__plugin_obsidian_tracker_obsidian__listProjects
    

    Покажи нумерованный список:

    # Project Status
    1 name Active

    Пользователь может ввести номер или имя проекта.

  2. Collect session info:

    Сначала проверь .claude/obsidian-tracking.json:

    • Если файл существует — используй данные из него (project, goal, actions)
    • Если goal пустой — сгенерируй из контекста разговора
    • Добавь недостающие actions из контекста

    Если файла нет:

    • Goal: Summarize main topic from conversation
    • Actions: List key tool calls and operations

    Всегда спрашивай:

    • Results: What was achieved
    • Next steps: Ask user via AskUserQuestion
  3. Create session via MCP:

    mcp__plugin_obsidian_tracker_obsidian__addSession
    с параметрами:
      project = project name
      goal = session goal
      actions = ["action1", "action2", ...]
      results = what was achieved
      nextSteps = next steps
    
  4. Output:

    📝 Session logged to "{project}"
    📁 Path: {path}
    
    Summary:
    - Goal: {goal}
    - Actions: {count} recorded
    - Next: {nextSteps}
    
  5. Cleanup tracking: Удали .claude/obsidian-tracking.json после успешного логирования.

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. yesterday First seen · 78 lines · 8 tokens per session scan A cb31fe3ca0e4

Subscribe to this mod's changes

session-log is a command published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (2 stars, last pushed 3d ago), licensed MIT. It adds 8 tokens to every session and 709 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to bug-close, differing in 77 lines, and is treated as a copy.