返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
s

session-log

Lightweight session logging for OpenClaw agents. Automatically creates a timestamped session file on every session start (including /new resets) and appends topic summaries during conversation. Solves the problem of /new overwriting session history — logs persist across resets and are readable by daily report crons. Use when setting up session continuity, conversation audit trails, or multi-agent daily summaries. Works for main, writer, coding, or any agent.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
693
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

session-log

# Session Log Lightweight session logging that survives `/new` resets. ## How It Works - On every session start → create `sessions/YYYY-MM-DD_HH-MM_{agent}.md` - During conversation → append a one-line summary after each meaningful topic - Daily report / cron → glob `sessions/YYYY-MM-DD_*.md` to reconstruct the full day ## Session Startup (add to AGENTS.md) ```markdown 5. Create `sessions/YYYY-MM-DD_HH-MM_{agent}.md` (local time) for this session ``` Get current time and create the file: ```bash python3 /path/to/skills/session-log/scripts/new_session.py --agent main --dir /path/to/workspace/sessions ``` Or manually: ``` # Session 2026-03-04 09:30 | main ## Log ``` ## During Conversation After each meaningful topic wraps up, append one line: ```bash echo "- [topic] one-line summary" >> sessions/YYYY-MM-DD_HH-MM_{agent}.md ``` Keep it short — one line per topic, a dozen words max. This is a log, not a journal. ## Multi-Agent Setup Each agent writes to **its own workspace** `sessions/` folder. The daily report reads all of them: | Agent | Path | |--------|------| | main | `/path/to/main-workspace/sessions/` | | writer | `/path/to/writer-workspace/sessions/` | | coding | `/path/to/coding-workspace/sessions/` | ## Daily Report Integration In the report cron's prepare step, glob today's session files from all agents: ```bash ls /path/to/main-workspace/sessions/YYYY-MM-DD_*.md ls /path/to/writer-workspace/sessions/YYYY-MM-DD_*.md ls /path/to/coding-workspace/sessions/YYYY-MM-DD_*.md ``` Read each file and include summaries in the conversation recap section, tagged by agent (`[main]`/`[writer]`/`[coding]`). ## File Format ```markdown # Session YYYY-MM-DD HH:MM | {agent} ## Log - [topic-a] one-line summary - [topic-b] one-line summary ``` ## Helper Script Use `scripts/new_session.py` to create the session file with correct timestamp: ```bash python3 skills/session-log/scripts/new_session.py --agent main --dir workspace/sessions ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 session-log-1776273884 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 session-log-1776273884 技能

通过命令行安装

skillhub install session-log-1776273884

下载

⬇ 下载 session-log v1.0.1(免费)

文件大小: 2.3 KB | 发布时间: 2026-4-16 16:53

v1.0.1 最新 2026-4-16 16:53
No code changes — republish to trigger fresh VirusTotal rescan (v1.0.0 was a false positive)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部