donvito/coworker/export-pi-session

Claude Code and agent skill by donvito/coworker

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Export a Coworker task checkpoint from its local SQLite database into Pi coding-agent session JSONL, preserving user, assistant, thinking, tool-call, and tool-result blocks. Use when the user asks to extract, reconstruct, inspect, or migrate a Coworker run in Pi's session format. Do not use for ordinary conversation exports or diagnostic logs.

Install

npx vskill@latest install donvito/coworker/export-pi-session

SKILL.md

The same SKILL.md was published earlier as donvito/coworker/export-pi-session.

Export a Coworker checkpoint as a Pi session

Use scripts/export-pi-session.mjs for deterministic conversion. It merges two database sources: authored conversation entries from messages, and per-task assistant/thinking/tool blocks from task_checkpoints.messages_json. Coworker's synthetic checkpoint user prompts are deliberately discarded because they embed prior You: and coworker transcript lines inside one user block.

Run:

bash
node skills/export-pi-session/scripts/export-pi-session.mjs \
--db /absolute/path/to/coworker.db \
--task-id <task-uuid> \
--output /absolute/path/to/session.jsonl

If the user gives a conversation ID instead, pass --conversation-id; the script selects its latest checkpoint. A task export reconstructs its conversation through that task, including earlier task checkpoints from the same thread. Do not combine different coworkers or conversation branches.

The database and checkpoint may contain private prompts, thinking, tool arguments, and tool results. Read or export them only when the user requests that content. Keep output in the user's workspace unless they explicitly choose another location.

After export, check the script's structured summary and parse every JSONL line. The first line must be a version 3 session header. Remaining entries must form a linear id/parentId chain and message entries must retain their original order.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
11
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/donvito/coworker/export-pi-session/badge)](https://verified-skill.com/skills/donvito/coworker/export-pi-session)

Something wrong with this skill or its page? Tell us.