DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to export agent work history as JSON for other tools with Bough

Write the full task and cost structure of a project to JSON for your own analysis.

Short answer: Install Bough as described in the README; then run bough <project-name> --json -o work.json to write the graph to a file; open work.json in a script or spreadsheet and total the cost fields per task. All steps.

  • Money
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

Who it is forA developer or analyst who wants to feed agent session costs into a spreadsheet, script or dashboard.

The problemThe browser and text views cannot be processed by other programs, so the structure of the work stays locked in the tool.

The outcomeA JSON file holding the sittings, tasks and prompts for a project, with facts about the work and no layout data.

What you need first

  • A Claude Code, OpenAI Codex CLI or Pi installation with existing session history on this machine
  • Homebrew on macOS, or the install script on Linux or Windows, or Go installed
  • A terminal to run bough in

Steps

  1. Install Bough as described in the README.
  2. Run bough <project-name> --json -o work.json to write the graph to a file. (inferred, check the README)
  3. Open work.json in a script or spreadsheet and total the cost fields per task.
  4. Run bough <project-name> --json --no-repo -o work.json if you do not want Bough to read the project's git history. (inferred, check the README)

Prompt for your agent

Using the bough repo at github.com/nickelsec/bough, run `bough <project-name> --json -o work.json` for the project <project-name>. Check that work.json parses as valid JSON and that it contains task entries with cost fields.

Caveat. The JSON carries no colours, sizes or positions, only what Bough judges true about the work, so a consumer must do its own layout.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nickelsec/bough and "Export agent work history as JSON for other tools"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer