ronaldcmz/Claude-Opus-Dataclaw-Unredacted
Claude Opus Dataclaw Unredacted How this dataset was built Collected the local Petromallet raw export plus selected public Dataclaw uploads. Filtered to the supported Opus-family source rows. Deduplicated by session_id and first user message. Converted raw assistant tool_uses directly into structured OpenAI-style tool_calls. Derived per-row tool definitions from canonical schemas and observed tool usage. Preserved assistant reasoning in <think>...</think> blocks.… See the full description on the dataset page: https://huggingface.co/datasets/ronaldcmz/Claude-Opus-Dataclaw-Unredacted.
Claude Opus Dataclaw Unredacted
How this dataset was built
- Collected the local Petromallet raw export plus selected public Dataclaw uploads.
- Filtered to the supported Opus-family source rows.
- Deduplicated by
session_idand first user message. - Converted raw assistant
tool_usesdirectly into structured OpenAI-styletool_calls. - Derived per-row tool definitions from canonical schemas and observed tool usage.
- Preserved assistant reasoning in
<think>...</think>blocks. - Removed Claude Code wrapper messages such as
<local-command-stdout>...</local-command-stdout>. - Ran an AI redaction-filling pass over retained rows.
- Validated the final JSONL structure.
This release does not synthesize missing tool-result messages. The source data mostly contains user/assistant turns plus assistant tool calls, so the rebuilt output keeps that structure.
Output Schema
Each JSONL row contains the following top-level fields:
Message Format
Assistant messages with tool calls use native structured arguments:
{
"role": "assistant",
"content": "<think>Need to inspect the file first.</think>",
"tool_calls": [
{
"type": "function",
"id": "call_abc123",
"function": {
"name": "run_command",
"arguments": {
"command": "ls -la"
}
}
}
]
}This release contains no `tool` role messages because the direct rebuild does not invent missing tool outputs.
Tool Definition Format
{
"type": "function",
"function": {
"name": "run_command",
"description": "Run a bash command.",
"parameters": {
"type": "object",
"properties": {
"command": {"type": "string"}
},
"required": ["command"]
}
}
}Final Stats
- 436 final rows
- 58,077 total messages
- 5,785 user messages
- 52,292 assistant messages
- 428 rows with tool definitions
- 428 rows with assistant tool calls
- 48,779 total tool calls
- 0 remaining literal `[REDACTED]` occurrences
