{
  "schemaVersion": "1.0",
  "item": {
    "slug": "overstory-integration",
    "name": "Overstory Integration",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/RuneweaverStudios/overstory-integration",
    "canonicalUrl": "https://clawhub.ai/RuneweaverStudios/overstory-integration",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/overstory-integration",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=overstory-integration",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/agent_lifecycle.py",
      "scripts/mail_bridge.py",
      "scripts/overstory_wrapper.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/overstory-integration"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/overstory-integration",
    "agentPageUrl": "https://openagent3.xyz/skills/overstory-integration/agent",
    "manifestUrl": "https://openagent3.xyz/skills/overstory-integration/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/overstory-integration/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "Integrates overstory's Claude Code agent swarm system with the nanobot orchestrator. Provides agent lifecycle management, an inter-agent SQLite mail bridge, and git worktree coordination for parallel agent workstreams."
      },
      {
        "title": "Architecture",
        "body": "┌──────────────┐       ┌───────────────────┐\n│   nanobot     │──────▶│ overstory_wrapper │──▶ overstory CLI (tmux sessions)\n│  orchestrator │       └───────────────────┘\n│               │       ┌───────────────────┐\n│               │──────▶│ agent_lifecycle    │──▶ SQLite (agent_lifecycle.db)\n│               │       └───────────────────┘\n│               │       ┌───────────────────┐\n│               │──────▶│   mail_bridge     │──▶ SQLite (.overstory/mail.db)\n└──────────────┘       └───────────────────┘\n\noverstory_wrapper.py — Thin wrapper around the overstory CLI. Spawns agents via tmux, manages worktrees, installs hooks.\nagent_lifecycle.py — Tracks agent state (spawned → running → completed/failed/terminated) in a local SQLite database. Provides async monitoring and cleanup.\nmail_bridge.py — Thread-safe message bridge using overstory's native SQLite mail format. Supports direct messages, broadcasts, and threaded conversations."
      },
      {
        "title": "Requirements",
        "body": "Python 3.9+\noverstory CLI installed and on PATH (or set OVERSTORY_BIN)\ngit (for worktree management)\ntmux (overstory uses tmux for agent sessions)\nNo external Python dependencies (stdlib only)"
      },
      {
        "title": "Environment Variables",
        "body": "VariableDefaultDescriptionOVERSTORY_BINoverstoryPath to overstory binaryOVERSTORY_WORKSPACEcurrent directoryWorkspace root for overstory operations"
      },
      {
        "title": "Initialize workspace",
        "body": "python3 scripts/overstory_wrapper.py init --workspace /path/to/project"
      },
      {
        "title": "Spawn an agent",
        "body": "python3 scripts/overstory_wrapper.py sling \\\n  --task-id TASK-42 \\\n  --capability code \\\n  --name builder-alice \\\n  --description \"Implement auth module\" \\\n  --worktree"
      },
      {
        "title": "Check status",
        "body": "python3 scripts/overstory_wrapper.py status\npython3 scripts/overstory_wrapper.py status --agent builder-alice --verbose"
      },
      {
        "title": "Inspect agent transcript",
        "body": "python3 scripts/overstory_wrapper.py inspect --agent builder-alice --lines 100"
      },
      {
        "title": "Kill an agent",
        "body": "python3 scripts/overstory_wrapper.py kill --agent builder-alice"
      },
      {
        "title": "Worktree management",
        "body": "python3 scripts/overstory_wrapper.py list-worktrees\npython3 scripts/overstory_wrapper.py cleanup-worktree --agent builder-alice"
      },
      {
        "title": "Agent lifecycle",
        "body": "python3 scripts/agent_lifecycle.py spawn --task \"Fix login bug\" --capability code --name bug-fixer\npython3 scripts/agent_lifecycle.py list-active --json\npython3 scripts/agent_lifecycle.py wait --agent bug-fixer --timeout 1800\npython3 scripts/agent_lifecycle.py cleanup --max-age 24"
      },
      {
        "title": "Mail bridge",
        "body": "python3 scripts/mail_bridge.py send --from orchestrator --to builder-alice --subject \"Priority change\" --body \"Switch to auth module\"\npython3 scripts/mail_bridge.py read --agent builder-alice --unread\npython3 scripts/mail_bridge.py broadcast --from orchestrator --channel @all --message \"Stand down\"\npython3 scripts/mail_bridge.py create-thread --agents orchestrator,builder-alice --subject \"Auth design\"\npython3 scripts/mail_bridge.py reply --thread THREAD-ID --from builder-alice --body \"Done with phase 1\""
      },
      {
        "title": "Usage as Python Module",
        "body": "from overstory_wrapper import OverstoryWrapper\nfrom agent_lifecycle import AgentLifecycle\nfrom mail_bridge import MailBridge\n\nwrapper = OverstoryWrapper(\"/path/to/workspace\")\nwrapper.init()\n\nlifecycle = AgentLifecycle()\nagent = lifecycle.spawn_agent(task=\"Build API\", capability=\"code\", name=\"api-builder\")\n\nbridge = MailBridge(\"/path/to/workspace\")\nbridge.send(\"orchestrator\", \"api-builder\", \"Context\", \"Here are the specs...\")"
      },
      {
        "title": "agent_lifecycle.db (~/.nanobot/agent_lifecycle.db)",
        "body": "ColumnTypeDescriptionidINTEGER PRIMARY KEYAuto-incrementagent_nameTEXT UNIQUEAgent identifiercapabilityTEXTAgent capability (code, research, etc.)statusTEXTspawned/running/completed/failed/terminatedtaskTEXTTask descriptionresultTEXTFinal output (nullable)start_timeREALUnix timestampend_timeREALUnix timestamp (nullable)timeoutINTEGERMax runtime in seconds"
      },
      {
        "title": "mail.db (.overstory/mail.db)",
        "body": "ColumnTypeDescriptionidINTEGER PRIMARY KEYAuto-incrementthread_idTEXTThread identifier (nullable)from_agentTEXTSender agent nameto_agentTEXTRecipient agent namesubjectTEXTMessage subjectbodyTEXTMessage bodypriorityTEXTnormal/high/urgentreadINTEGER0=unread, 1=readcreated_atREALUnix timestamp"
      }
    ],
    "body": "overstory Integration\nDescription\n\nIntegrates overstory's Claude Code agent swarm system with the nanobot orchestrator. Provides agent lifecycle management, an inter-agent SQLite mail bridge, and git worktree coordination for parallel agent workstreams.\n\nArchitecture\n┌──────────────┐       ┌───────────────────┐\n│   nanobot     │──────▶│ overstory_wrapper │──▶ overstory CLI (tmux sessions)\n│  orchestrator │       └───────────────────┘\n│               │       ┌───────────────────┐\n│               │──────▶│ agent_lifecycle    │──▶ SQLite (agent_lifecycle.db)\n│               │       └───────────────────┘\n│               │       ┌───────────────────┐\n│               │──────▶│   mail_bridge     │──▶ SQLite (.overstory/mail.db)\n└──────────────┘       └───────────────────┘\n\noverstory_wrapper.py — Thin wrapper around the overstory CLI. Spawns agents via tmux, manages worktrees, installs hooks.\nagent_lifecycle.py — Tracks agent state (spawned → running → completed/failed/terminated) in a local SQLite database. Provides async monitoring and cleanup.\nmail_bridge.py — Thread-safe message bridge using overstory's native SQLite mail format. Supports direct messages, broadcasts, and threaded conversations.\nRequirements\nPython 3.9+\noverstory CLI installed and on PATH (or set OVERSTORY_BIN)\ngit (for worktree management)\ntmux (overstory uses tmux for agent sessions)\nNo external Python dependencies (stdlib only)\nEnvironment Variables\nVariable\tDefault\tDescription\nOVERSTORY_BIN\toverstory\tPath to overstory binary\nOVERSTORY_WORKSPACE\tcurrent directory\tWorkspace root for overstory operations\nCommands\nInitialize workspace\npython3 scripts/overstory_wrapper.py init --workspace /path/to/project\n\nSpawn an agent\npython3 scripts/overstory_wrapper.py sling \\\n  --task-id TASK-42 \\\n  --capability code \\\n  --name builder-alice \\\n  --description \"Implement auth module\" \\\n  --worktree\n\nCheck status\npython3 scripts/overstory_wrapper.py status\npython3 scripts/overstory_wrapper.py status --agent builder-alice --verbose\n\nInspect agent transcript\npython3 scripts/overstory_wrapper.py inspect --agent builder-alice --lines 100\n\nKill an agent\npython3 scripts/overstory_wrapper.py kill --agent builder-alice\n\nWorktree management\npython3 scripts/overstory_wrapper.py list-worktrees\npython3 scripts/overstory_wrapper.py cleanup-worktree --agent builder-alice\n\nAgent lifecycle\npython3 scripts/agent_lifecycle.py spawn --task \"Fix login bug\" --capability code --name bug-fixer\npython3 scripts/agent_lifecycle.py list-active --json\npython3 scripts/agent_lifecycle.py wait --agent bug-fixer --timeout 1800\npython3 scripts/agent_lifecycle.py cleanup --max-age 24\n\nMail bridge\npython3 scripts/mail_bridge.py send --from orchestrator --to builder-alice --subject \"Priority change\" --body \"Switch to auth module\"\npython3 scripts/mail_bridge.py read --agent builder-alice --unread\npython3 scripts/mail_bridge.py broadcast --from orchestrator --channel @all --message \"Stand down\"\npython3 scripts/mail_bridge.py create-thread --agents orchestrator,builder-alice --subject \"Auth design\"\npython3 scripts/mail_bridge.py reply --thread THREAD-ID --from builder-alice --body \"Done with phase 1\"\n\nUsage as Python Module\nfrom overstory_wrapper import OverstoryWrapper\nfrom agent_lifecycle import AgentLifecycle\nfrom mail_bridge import MailBridge\n\nwrapper = OverstoryWrapper(\"/path/to/workspace\")\nwrapper.init()\n\nlifecycle = AgentLifecycle()\nagent = lifecycle.spawn_agent(task=\"Build API\", capability=\"code\", name=\"api-builder\")\n\nbridge = MailBridge(\"/path/to/workspace\")\nbridge.send(\"orchestrator\", \"api-builder\", \"Context\", \"Here are the specs...\")\n\nDatabase Schemas\nagent_lifecycle.db (~/.nanobot/agent_lifecycle.db)\nColumn\tType\tDescription\nid\tINTEGER PRIMARY KEY\tAuto-increment\nagent_name\tTEXT UNIQUE\tAgent identifier\ncapability\tTEXT\tAgent capability (code, research, etc.)\nstatus\tTEXT\tspawned/running/completed/failed/terminated\ntask\tTEXT\tTask description\nresult\tTEXT\tFinal output (nullable)\nstart_time\tREAL\tUnix timestamp\nend_time\tREAL\tUnix timestamp (nullable)\ntimeout\tINTEGER\tMax runtime in seconds\nmail.db (.overstory/mail.db)\nColumn\tType\tDescription\nid\tINTEGER PRIMARY KEY\tAuto-increment\nthread_id\tTEXT\tThread identifier (nullable)\nfrom_agent\tTEXT\tSender agent name\nto_agent\tTEXT\tRecipient agent name\nsubject\tTEXT\tMessage subject\nbody\tTEXT\tMessage body\npriority\tTEXT\tnormal/high/urgent\nread\tINTEGER\t0=unread, 1=read\ncreated_at\tREAL\tUnix timestamp"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/RuneweaverStudios/overstory-integration",
    "publisherUrl": "https://clawhub.ai/RuneweaverStudios/overstory-integration",
    "owner": "RuneweaverStudios",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/overstory-integration",
    "downloadUrl": "https://openagent3.xyz/downloads/overstory-integration",
    "agentUrl": "https://openagent3.xyz/skills/overstory-integration/agent",
    "manifestUrl": "https://openagent3.xyz/skills/overstory-integration/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/overstory-integration/agent.md"
  }
}