logging-session

logging-session is a skill for Claude Code, Codex from balabalabalading/huuuuuuho-skills. It costs 49 tokens per session (2,130 once invoked), scanned B, original, MIT.

A local record and search system for AI coding conversations, including requests, solutions, decisions, and results.

In plain words
What is it for?
Use it to save session summaries and create daily, weekly, or cross-project reports from past conversations.
Why use it?
It prevents useful project knowledge from being lost when a coding session ends or work resumes later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to save session summaries and create daily, weekly, or cross-project reports from past conversations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/balabalabalading/huuuuuuho-skills/logging-session
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 balabalabalading/huuuuuuho-skills --skill logging-session
Clone the repo
git clone --depth 1 https://github.com/balabalabalading/huuuuuuho-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin logging-session/plugin install logging-session after adding the marketplace above.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/balabalabalading/huuuuuuho-skills/logging-session/github.svg)](https://agentmods.dev/skills/balabalabalading/huuuuuuho-skills/logging-session)
Your own site
<a href="https://agentmods.dev/skills/balabalabalading/huuuuuuho-skills/logging-session"><img src="https://agentmods.dev/badge/skills/balabalabalading/huuuuuuho-skills/logging-session/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 logging-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/balabalabalading/huuuuuuho-skills/logging-session"><img src="https://agentmods.dev/badge/skills/balabalabalading/huuuuuuho-skills/logging-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,130 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00049 $0.02130
Opus 5 $0.00024 $0.01065
Sonnet 5 $0.00010 $0.00426
Haiku 4.5 $0.00005 $0.00213

Measured 12d ago against content hash de8404002f82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

logging-session scanned grade B with 1 finding 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.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/config_loader.py, scripts/init_db.py, scripts/query_logs.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

The Stop hook is configured in `~/.claude/settings.json`. See `references/hooks-guide.md` for full setup details.
skills/logging-session/SKILL.md · 226 lines

How it starts

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

Logging Session

This skill records coding session summaries to a local SQLite database stored in your local path, so you can later query and summarize your work across projects and time periods.

Why this matters

Coding sessions produce valuable knowledge — decisions made, problems solved, approaches tried and abandoned. Without capturing these, each session starts from scratch. This skill turns conversations into searchable, summarizable records that feed into daily standups, weekly reviews, and long-term project memory.

Database location

The database path is defined by db_path in config.json, defaulting to:

~/Library/Mobile Documents/iCloud~md~obsidian/Documents/vault4life/dev_knowledge.db

To customize, edit <skill-path>/config.json.

If the database doesn't exist yet, initialize it:

python3 <skill-path>/scripts/init_db.py

The script reads the path from config.json automatically. You can also specify a path manually:

python3 <skill-path>/scripts/init_db.py /path/to/your/dev_knowledge.db

Schema

CREATE TABLE dev_logs (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    project_name TEXT NOT NULL,
    session_id TEXT NOT NULL,
    parent_id INTEGER DEFAULT NULL,
    task_category TEXT,
    user_query TEXT NOT NULL,
    thought_process TEXT,
    final_result TEXT,
    file_paths TEXT,
    git_hash TEXT,
    extra_metadata TEXT,
    FOREIGN KEY (parent_id) REFERENCES dev_logs (id)
);

When to record

Record a session log entry when:

  1. User explicitly asks — they say "record this session", "log this conversation", "logging-session", etc.
  2. A meaningful task completes — when a significant coding task is done (bug fixed, feature added, refactoring completed), and the user wants it captured.
  3. Via Stop hook — when the hook fires automatically at session end, synthesize the entire conversation into a log entry.

Do NOT record trivial interactions (quick questions, simple lookups, clarifications) unless the user asks.

Read the full file on GitHub · 226 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. 12d ago First seen · 226 lines · 49 tokens per session scan B de8404002f82

Subscribe to this mod's changes

logging-session is a skill published in the GitHub repository balabalabalading/huuuuuuho-skills (117 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 2,130 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.