{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nickelsec-bough--export-agent-work-graph-as-json",
 "repo": "nickelsec/bough",
 "repo_url": "https://github.com/nickelsec/bough",
 "repo_slug": "nickelsec-bough",
 "title": "Export agent work history as JSON for other tools",
 "page_title": "How to export agent work history as JSON for other tools with Bough",
 "summary": "Write the full task and cost structure of a project to JSON for your own analysis.",
 "who": "A developer or analyst who wants to feed agent session costs into a spreadsheet, script or dashboard.",
 "problem": "The browser and text views cannot be processed by other programs, so the structure of the work stays locked in the tool.",
 "outcome": "A JSON file holding the sittings, tasks and prompts for a project, with facts about the work and no layout data.",
 "steps": [
  "Install Bough as described in the README.",
  "Run `bough <project-name> --json -o work.json` to write the graph to a file. (inferred, check the README)",
  "Open work.json in a script or spreadsheet and total the cost fields per task.",
  "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)"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Money",
 "tags": [
  "Money"
 ],
 "lang": "go",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nickelsec-bough/export-agent-work-graph-as-json/",
 "md": "https://dedupedai.com/use-cases/nickelsec-bough/export-agent-work-graph-as-json/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nickelsec-bough--export-agent-work-graph-as-json.json",
 "api_version": "v1"
}
