ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

stream-of-consciousness

Export the entire conversation context into Open-Token format (including tools and optional internal traces) for agent collaboration, auditability, and reproducibility.

Why use this skill?

Export your OpenClaw agent history into structured Open-Token format for debugging, portability, and audit compliance. Highly configurable.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/247arjun/stream-of-consciousness
Or

What This Skill Does

The stream-of-consciousness skill serves as a high-fidelity diagnostic and portability tool for the OpenClaw agent ecosystem. Its primary function is to serialize the entire conversation state—including chat history, tool executions, and system-level reasoning traces—into the standardized Open-Token format. By providing a structured, machine-parseable representation of the agent's interaction lifecycle, this skill ensures that context is never lost during complex multi-step tasks. It supports multiple output formats (JSON and NDJSON), adjustable redaction levels for PII and sensitive data, and flexible inclusion of internal system events. Whether you are debugging a failed tool call, migrating an agent between different environments, or auditing an agent's reasoning process, this skill provides the ground truth required for technical reproducibility.

Installation

To integrate this skill into your local OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/247arjun/stream-of-consciousness

Ensure that you have sufficient permissions to execute skills in your current project workspace. Once installed, the skill becomes immediately available as an agent tool.

Use Cases

  • Agent Portability: Handoff an active conversation between two different agent runtime instances while maintaining the complete causal chain of events.
  • Debugging & Auditing: Analyze complex agent behaviors by exporting internal traces and tool outputs to identify exactly where a logic loop or execution error originated.
  • Data Provenance: Create immutable records of agent interactions for compliance and regulatory purposes, ensuring that all tool outputs and reasoning steps are captured.
  • Model Fine-Tuning: Extract clean, structured datasets of agent reasoning to provide feedback for future model training or agent behavioral fine-tuning.

Example Prompts

  1. "Export our current conversation to Open-Token format, use JSON mode with pretty printing and include full internal traces for debugging."
  2. "Generate an NDJSON export of our session; apply strict redaction to any PII and limit the output to 5000 bytes."
  3. "Create a conversation snapshot in summary mode to help me review the steps taken during the last data analysis task."

Tips & Limitations

  • Redaction is Essential: Always specify your redact level when exporting production data to prevent sensitive information from being stored in your audit logs.
  • Internal Traces: Be aware that include-internal may not return data if the host runtime environment forbids access to hidden system state; the tool is designed to handle this gracefully by setting conversation.internal_availability to unavailable.
  • Truncation: Use the max_bytes parameter carefully if you are working with large conversation histories to ensure you don't lose critical start-of-conversation metadata.

Metadata

Author@247arjun
Stars1054
Views0
Updated2026-02-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-247arjun-stream-of-consciousness": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#audit#export#debug#portability#logging
Safety Score: 4/5

Flags: file-read, data-collection