{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ops-framework",
    "name": "Ops Framework",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Zjianru/ops-framework",
    "canonicalUrl": "https://clawhub.ai/Zjianru/ops-framework",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ops-framework",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ops-framework",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "OPS_FRAMEWORK.md",
      "README.md",
      "SKILL.md",
      "UPSTREAM.md",
      "ops-jobs.example.json",
      "ops-monitor.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "ops-framework",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T17:56:47.994Z",
      "expiresAt": "2026-05-13T17:56:47.994Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ops-framework",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ops-framework",
        "contentDisposition": "attachment; filename=\"ops-framework-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ops-framework"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ops-framework"
    },
    "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/ops-framework",
    "agentPageUrl": "https://openagent3.xyz/skills/ops-framework/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ops-framework/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ops-framework/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Ops Framework（Jobs + Ops Monitor）— OpenClaw Skill (MVP)",
        "body": "目标：把“长任务执行 / 断点续跑 / 进度汇报 / 异常告警”做成 0-token 的可复用能力。\n\n这套技能由两部分组成：\n\nops-monitor.py：一个纯本地脚本，负责跑 status / 检测卡住 / 发送 Telegram 快报\nops-jobs.json：一个声明式 job 配置（包含 kind/risk/命令/策略）\n\n推荐作为“外挂”存在：长任务尽量用脚本跑，避免让模型持续盯进度烧 token。"
      },
      {
        "title": "What this solves",
        "body": "Long-running read jobs: scans, inventories, large syncs, periodic polling; support pause/resume and stall detection.\nOne-shot read jobs: health checks or lint-like checks; only report when they emit ACTION REQUIRED / ALERT or fail.\nOne-shot write jobs: blocked by default; must be explicitly approved and must chain to a read-only verification job."
      },
      {
        "title": "Quickstart (local)",
        "body": "Copy files to your OpenClaw host (suggested layout):\n\n~/.openclaw/net/tools/ops-monitor.py\n~/.openclaw/net/config/ops-jobs.json\n~/.openclaw/net/state/ops-monitor.json (auto-created)\n\nYou can also run the script from any directory as long as OPENCLAW_HOME points to your OpenClaw state dir (default ~/.openclaw).\n\nStart from the example config:\n\nops-jobs.example.json\n\nValidate:\n\npython3 ops-monitor.py validate-config --config-file ~/.openclaw/net/config/ops-jobs.json\npython3 ops-monitor.py selftest\n\nRun one monitoring tick (prints only; does not send):\n\npython3 ops-monitor.py tick --print-only\n\nRun periodic ticks via your OS scheduler (launchd/systemd/cron). The script is designed to be called frequently; it decides whether to report based on policy and state."
      },
      {
        "title": "Job kinds and safety",
        "body": "kind is one of:\n\nlong_running_read\none_shot_read\none_shot_write (never auto-executed by ops-monitor)\n\nrisk is one of:\n\nread_only\nwrite_local\nwrite_external\n\nRules (MVP):\n\nlong_running_read may auto-resume only when risk=read_only and policy.autoResume=true.\none_shot_read may run explicitly or via queue (read-only only).\none_shot_write is always blocked from auto-run; it exists as a declarative “approval + verification chain” placeholder."
      },
      {
        "title": "Status contract (for long_running_read)",
        "body": "Your commands.status must print JSON to stdout, with at least:\n\nrunning (boolean)\ncompleted (boolean)\n\nRecommended:\n\npid (number)\nstopReason (string)\nprogress (object)\nprogressKey (string) — stable key used for stall detection\nlevel (ok|warn|alert)\nmessage (string)"
      },
      {
        "title": "Commands",
        "body": "# Validate config\npython3 ops-monitor.py validate-config --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Print current statuses (no Telegram)\npython3 ops-monitor.py status --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# One monitoring tick\npython3 ops-monitor.py tick --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Explicitly start/stop a long job\npython3 ops-monitor.py start <job_id> --config-file ~/.openclaw/net/config/ops-jobs.json\npython3 ops-monitor.py stop <job_id>  --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Run one one_shot_read job explicitly\npython3 ops-monitor.py run <job_id> --config-file ~/.openclaw/net/config/ops-jobs.json"
      },
      {
        "title": "Reference docs",
        "body": "Spec (Chinese, detailed): OPS_FRAMEWORK.md"
      }
    ],
    "body": "Ops Framework（Jobs + Ops Monitor）— OpenClaw Skill (MVP)\n\n目标：把“长任务执行 / 断点续跑 / 进度汇报 / 异常告警”做成 0-token 的可复用能力。\n\n这套技能由两部分组成：\n\nops-monitor.py：一个纯本地脚本，负责跑 status / 检测卡住 / 发送 Telegram 快报\nops-jobs.json：一个声明式 job 配置（包含 kind/risk/命令/策略）\n\n推荐作为“外挂”存在：长任务尽量用脚本跑，避免让模型持续盯进度烧 token。\n\nWhat this solves\nLong-running read jobs: scans, inventories, large syncs, periodic polling; support pause/resume and stall detection.\nOne-shot read jobs: health checks or lint-like checks; only report when they emit ACTION REQUIRED / ALERT or fail.\nOne-shot write jobs: blocked by default; must be explicitly approved and must chain to a read-only verification job.\nQuickstart (local)\nCopy files to your OpenClaw host (suggested layout):\n~/.openclaw/net/tools/ops-monitor.py\n~/.openclaw/net/config/ops-jobs.json\n~/.openclaw/net/state/ops-monitor.json (auto-created)\n\nYou can also run the script from any directory as long as OPENCLAW_HOME points to your OpenClaw state dir (default ~/.openclaw).\n\nStart from the example config:\nops-jobs.example.json\nValidate:\npython3 ops-monitor.py validate-config --config-file ~/.openclaw/net/config/ops-jobs.json\npython3 ops-monitor.py selftest\n\nRun one monitoring tick (prints only; does not send):\npython3 ops-monitor.py tick --print-only\n\nRun periodic ticks via your OS scheduler (launchd/systemd/cron). The script is designed to be called frequently; it decides whether to report based on policy and state.\nJob kinds and safety\n\nkind is one of:\n\nlong_running_read\none_shot_read\none_shot_write (never auto-executed by ops-monitor)\n\nrisk is one of:\n\nread_only\nwrite_local\nwrite_external\n\nRules (MVP):\n\nlong_running_read may auto-resume only when risk=read_only and policy.autoResume=true.\none_shot_read may run explicitly or via queue (read-only only).\none_shot_write is always blocked from auto-run; it exists as a declarative “approval + verification chain” placeholder.\nStatus contract (for long_running_read)\n\nYour commands.status must print JSON to stdout, with at least:\n\nrunning (boolean)\ncompleted (boolean)\n\nRecommended:\n\npid (number)\nstopReason (string)\nprogress (object)\nprogressKey (string) — stable key used for stall detection\nlevel (ok|warn|alert)\nmessage (string)\nCommands\n# Validate config\npython3 ops-monitor.py validate-config --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Print current statuses (no Telegram)\npython3 ops-monitor.py status --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# One monitoring tick\npython3 ops-monitor.py tick --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Explicitly start/stop a long job\npython3 ops-monitor.py start <job_id> --config-file ~/.openclaw/net/config/ops-jobs.json\npython3 ops-monitor.py stop <job_id>  --config-file ~/.openclaw/net/config/ops-jobs.json\n\n# Run one one_shot_read job explicitly\npython3 ops-monitor.py run <job_id> --config-file ~/.openclaw/net/config/ops-jobs.json\n\nReference docs\nSpec (Chinese, detailed): OPS_FRAMEWORK.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Zjianru/ops-framework",
    "publisherUrl": "https://clawhub.ai/Zjianru/ops-framework",
    "owner": "Zjianru",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ops-framework",
    "downloadUrl": "https://openagent3.xyz/downloads/ops-framework",
    "agentUrl": "https://openagent3.xyz/skills/ops-framework/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ops-framework/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ops-framework/agent.md"
  }
}