Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By balabalabaladingMITIn 1 marketplace
Records each Claude Code session as a searchable SQLite log and exports project or weekly summaries to Obsidian. An optional Stop hook blocks session end once so Claude logs the session first. Default paths target a macOS iCloud Obsidian vault, so edit config.json first.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Record and query AI conversation logs — what users asked, how it was solved, and the result. Use when users want to log conversations, summarize recent work from sessions, or want daily/weekly project summaries from past conversations.
parent_id to build conversation threadsIn Claude Code:
/plugin marketplace add balabalabalading/huuuuuuho-skills
/plugin install logging-session@huuuuuuho
The database path and Obsidian vault path are defined in config.json with these defaults:
{
"db_path": "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/vault4life/dev_knowledge.db",
"obsidian_vault_path": "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/vault4life"
}
To customize, edit config.json. Scripts will read from it automatically — no need to pass --db manually.
python3 <skill-path>/scripts/init_db.py
The script reads the database path from config.json automatically.
Add the following to ~/.claude/settings.json to enable automatic session logging:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "你是一个负责检查会话是否真正可以结束的守卫。下面是本次 Stop hook 的输入 JSON:\n\n$ARGUMENTS\n\n规则:\n1. 如果这是第一次触发 Stop hook(stop_hook_active 字段为 false 或不存在),你必须返回 {\"ok\": false, \"reason\": \"现在请运行 /logging-session,总结整个当前会话,并把总结结果发给用户。完成后你可以再次尝试结束会话。\"}。\n2. 如果 stop_hook_active 为 true,说明上一次 Stop hook 已经要求你执行 /logging-session,这一轮就允许结束:返回 {\"ok\": true}。\n仅返回一个 JSON 对象,不要说其它话。"
}
]
}
]
}
}
Just finish your work — the Stop hook captures it automatically. You can also trigger manually:
SCRIPTS=<skill-path>/scripts
# Last 7 days for a specific project (markdown)
python3 $SCRIPTS/query_logs.py \
--project "my-app" --days 7 --format markdown
# Today's logs across all projects
python3 $SCRIPTS/query_logs.py \
--days 1 --format markdown
# Export to Obsidian note
python3 $SCRIPTS/query_logs.py \
--days 7 --format markdown \
--output ~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/vault4life/Weekly-$(date +%Y-W%V).md
Generate a weekly report grouped by project with task category breakdowns:
# All projects, past 7 days (excludes today)
python3 $SCRIPTS/weekly_summary.py --days 7 --format markdown
# Single project, past 14 days
python3 $SCRIPTS/weekly_summary.py --project "my-app" --days 14
# Compact AI-readable text format
python3 $SCRIPTS/weekly_summary.py --format ai
# Export to Obsidian
python3 $SCRIPTS/weekly_summary.py \
--format markdown \
--output ~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/vault4life/周报-$(date +%Y-W%V).md
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)
);
| Category | Description |
|---|---|
bugfix | Fixed a bug or error |
feature | Added new functionality |
refactor | Restructured code without changing behavior |
debug | Investigated an issue |
setup | Project setup, configuration |
docs | Documentation work |
test | Writing or fixing tests |
other | Anything else |
写个 Hook 截胡大模型:将零散的 AI 对话重塑为本地知识资产
记录和查询 AI 会话日志 — 用户问了什么、怎么解决的、结果如何。当你需要记录会话、回顾近期工作,或生成日/周项目摘要时使用。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub balabalabalading/huuuuuuho-skills --plugin logging-sessionPlugins from other owners that cover similar ground