collect-sessionInstalls and configures a hook to capture and save detailed Markdown session summaries with telemetry and cost data on /new or /reset commands.
Install via ClawdBot CLI:
clawdbot install virtualpaul/collect-sessionGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
http://localhost:4000/health`Audited Apr 16, 2026 · audit v1.0
Generated May 7, 2026
A distributed team uses OpenClaw AI agents for development tasks. The collect-session hook automatically captures every session when /new or /reset is issued, generating Markdown summaries and indexes for easy access. Managers review session logs to track progress, debug issues, and analyze costs.
An e-commerce company deploys AI agents to handle customer inquiries. Using collect-session, they capture session telemetry including tool calls and model usage to monitor cost and performance. The SESSION-INDEX.md helps managers identify problematic sessions and optimize agent behavior.
A research lab uses AI agents to perform literature reviews and data analysis. With collect-session, each session is automatically documented with LLM-generated summaries and cost data. Researchers use the JSONL log for analytics, and the Markdown reports for reproducibility.
An AI consulting firm uses OpenClaw agents to deliver client projects. The collect-session hook ensures every client engagement session is captured with full telemetry for billing and compliance. The output directory is configured per client, and backfill sweeps collect any missed sessions.
An edtech startup replaces human tutors with AI agents for student practice. Each tutoring session is logged with session duration, tool usage, and cost via collect-session. The structured index allows educators to analyze student progress and adjust curricula.
Charge customers based on the number of AI agent sessions consumed. The session-log.jsonl provides granular usage data for invoicing, while Markdown reports give customers visibility into their session activity. Integrate with billing systems via the JSONL analytics.
Offer a premium service that guarantees full session traceability for regulated industries. The collect-session hook's automatic logging and indexing serve as immutable records. Charge for setup, configuration per workspace, and optional backfill sweeps.
Use session telemetry to analyze agent performance, cost, and error rates. Provide clients with optimization recommendations based on the collected data. Charge per engagement or as an add-on to existing AI agent deployments.
💬 Integration Tip
Before enabling the hook, ensure OpenClaw workspace.dir is set and Node.js is available. Test with --no-llm flag first to verify basic functionality, then configure LiteLLM environment variables for full enrichment.
Scored Jun 29, 2026
Work with Obsidian vaults (plain Markdown notes) and automate via notesmd-cli.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
LinkHut bookmark management API integration with managed OAuth. Save, organize, search, and manage bookmarks with tags, notes, and privacy settings. Use this...
Manage a personal knowledge base by adding, searching, organizing, and reviewing articles, links, and notes with tags and natural language queries.
Generate a daily work report by automatically discovering all git repositories the user worked on, collecting commit logs across all branches, and summarizin...
把一本书里沉淀的方法论蒸馏成一组原子化、可被Agent调用的skills,同时产出给人看的笔记和话术库。触发:用户说'帮我拆《XX》''把XX蒸馏成skill''distill this book into skills'时。不做书摘/读后感/作者人设角色扮演。