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
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...
日记引导助手。每日写作引导、感恩日记、反思日记、晨间日记、晚间总结、周总结模板。Journal prompts for daily writing, gratitude, reflection, morning pages, evening review, weekly summary. 日记、写作、反思、感恩。
Use when maintaining RDR2 (Red Dead Redemption 2) playthrough notes — logging an acquisition ("acquired X", "got N gold bars", "finished X"), answering in-game location/crafting questions, or reviewing the notes for duplicate or stale info. Triggers on RDR2, Red Dead Redemption, playthrough, legendary animal, talisman, trinket, valerian root, gold bar, horse, weapon, berry.
Use when a sales rep already has a customer who has expressed some need (from outreach follow-up, account-landing research, customer-initiated contact, or meeting notes) and needs to structurally validate whether that need is real, urgent, whose pain it actually is, and whether it matches the team's capability — before pushing to ROI proofing or buying-intent assessment. Triggers: '验证一下这个需求是不是真的', '需求真不真', '客户说痛但我不确定', '这个客户值不值得跟', '客户说会考虑但是真的吗', '谁拍板', '现有方案是什么', '切换成本', 'need validation', 'pain point validation', 'is this a real need', 'verify customer need'. Do NOT use for: scoring leads at line-item level, building target-customer profiles, calculating ROI, overall buying-intent scoring, opportunity-stage assessment, or writing outreach/cold messages.
Microsoft OneNote integration. Manage Notebooks. Use when the user wants to interact with Microsoft OneNote data.