Coding Agent Fabricator banner
0din-ai 0din-ai

Coding Agent Fabricator

AI community

Description

Fabricate conversation between LLM coding agents like Claude Code and OpenAI Codex

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Fabricator

A comprehensive JSONL conversation processing toolkit for Claude Code sessions. Built with Bun and TypeScript.

Features

  • Conversation Pipeline: Process Claude JSONL files to identify, remove, and replace content
  • Session Conversion: Bidirectional conversion between Claude Code and OpenAI Codex formats
  • Codex Session Cloning: Duplicate a Codex session file with a new session ID
  • Line Appending: Programmatically add new conversation lines to existing sessions
  • Conversation Extension: Automatically extend conversations with additional exchanges

Installation

# Clone the repository
git clone https://github.com/0din-ai/coding-agent-fabricator
cd coding-agent-fabricator

# Install dependencies
bun install

Quick Start

# Run the pipeline
bun run src/index.ts  ""

# Convert sessions
bun run src/index.ts --to-codex 
bun run src/index.ts --to-claude 

# Clone a Codex session (duplicate with new ID)
bun run src/index.ts --clone-codex  [output-dir]

# Add lines to a session
bun run src/index.ts --add-user  "Hello!"

# List available sessions
bun run src/index.ts --list-sessions

1. Conversation Pipeline

The core pipeline processes Claude conversation JSONL files to:

  1. Identify lines where the assistant refused to help
  2. Remove the flagged refusal content
  3. Replace with helpful content based on a specified topic

Basic Usage

bun run src/index.ts  ""

Examples

# Process a session about TypeScript
bun run src/index.ts abc123def "helping with TypeScript development"

# Process a session about Python data analysis
bun run src/index.ts my-session-456 "assisting with Python data analysis"

# Process with conversation extension (adds 5 more exchanges)
bun run src/index.ts abc123def "helping with TypeScript" --extend 5

Pipeline Output

==