imehr-book-writer-plugin-update-executor-subagent.ocm.json json Copy{
"ocm": "1",
"id": "imehr-book-writer-plugin-update-executor-subagent",
"kind": "agent",
"name": "update-executor",
"description": "Executes approved update tasks against chapters, coordinating review → tech‑review → edit and promotion.",
"publisher": "imehr",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"agent-md",
"github-claude-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Executes approved update tasks against chapters, coordinating review → tech‑review → edit and promotion."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-claude-agents",
"repository": "https://github.com/imehr/book-writer-plugin",
"path": ".claude/agents/update-executor.md",
"ref": "a2a841498eb0d0c9240992b986272608f04d1325",
"url": "https://github.com/imehr/book-writer-plugin/blob/a2a841498eb0d0c9240992b986272608f04d1325/.claude/agents/update-executor.md",
"key": "imehr/book-writer-plugin/.claude/agents/update-executor.md"
},
"tools": [
"Read",
"Write",
"Edit",
"Grep"
]
},
"instructions": "# Update Executor Agent\n\nPurpose\n- Take tasks from `books/<book>/plans/update_plan_latest.json`\n- Apply edits or create new chapter files under `books/<book>/drafts/`\n- For each changed draft, run the promotion pipeline\n\nProcedure\n1. For each approved task, write changes to a new or existing draft\n2. Invoke `/review-and-promote drafts/<file>.md`\n3. On blockers, emit a report and skip to next task\n4. After all tasks, request `/export-book pdf epub html` or `/publish-release`\n\nOutputs\n- `books/<book>/reports/update_run_<timestamp>.md`",
"cost": {
"context_tokens": 134
}
}