{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-tally",
    "name": "OpenClaw Tally",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/JonathanJing/openclaw-tally",
    "canonicalUrl": "https://clawhub.ai/JonathanJing/openclaw-tally",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-tally",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-tally",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "PRD.md",
      "README.md",
      "SKILL.md",
      "db/migrations/001_initial.sql",
      "package-lock.json",
      "package.json"
    ],
    "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",
      "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/openclaw-tally"
    },
    "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/openclaw-tally",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-tally/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-tally/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-tally/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": "OpenClaw Tally",
        "body": "Reframes AI usage from token-counting to task-completion economics. Instead of \"how many tokens?\", answer \"how much to get X done, and was it worth it?\""
      },
      {
        "title": "1. Ask OpenClaw (Recommended)",
        "body": "Tell OpenClaw: \"Install the openclaw-tally skill.\" The agent will handle the installation and configuration automatically."
      },
      {
        "title": "2. Manual Installation (CLI)",
        "body": "If you prefer the terminal, run:\n\nclawhub install openclaw-tally"
      },
      {
        "title": "Security & Privacy Declaration",
        "body": "Hook: This skill registers a message-post hook and processes every message.\nLocal only: All processing is purely local. No data is sent to any external server.\nMessage content: The task detector reads message text to identify task boundaries (start/complete/fail signals) using regex pattern matching. No message text is stored — only metadata (token count, model, session_id, complexity score) is persisted to the database.\nSandboxed storage: SQLite database defaults to ~/.openclaw/tally/tally.db. A custom path can be provided for testing.\nNative dependency: Requires better-sqlite3 (native Node.js addon). Installation runs npm install which triggers a native build step.\nPermissions: No network access. No exec permissions. Filesystem limited to ~/.openclaw/tally/."
      },
      {
        "title": "What It Does",
        "body": "Detects tasks automatically from message streams (Layer 1: Task Detector)\nAttributes costs across sessions, sub-agents, and cron triggers (Layer 2: Task Ledger)\nComputes TES (Task Efficiency Score) per task, model, and cron (Layer 3: Analytics Engine)"
      },
      {
        "title": "Commands",
        "body": "/tasks list — Show recent tasks with status, cost, and TES\n/tasks stats — Summary statistics for a time period\n/tasks this-week — This week's task summary\n/tasks show <task_id> — Show task detail\n/tasks report --dimension model — Model efficiency report\n/tasks cron-health — Cron efficiency and health check"
      },
      {
        "title": "Complexity Levels",
        "body": "L1 (Reflex): Single-turn, text-only, no tools\nL2 (Routine): Multi-turn or 1–3 tool calls\nL3 (Mission): Multiple tools + file I/O + external APIs\nL4 (Campaign): Sub-agents + cron + cross-session"
      },
      {
        "title": "TES (Task Efficiency Score)",
        "body": "TES = quality_score / (normalized_cost × complexity_weight)\n\n> 2.0 🟢 Excellent\n1.0–2.0 🟡 Good\n0.5–1.0 🟠 Below average\n< 0.5 🔴 Poor\n0.0 ⚫ Failed"
      },
      {
        "title": "Usage",
        "body": "When the skill is installed, it automatically hooks into message-post. Use the /tasks commands above to query analytics. All data is stored locally in ~/.openclaw/tally/tally.db.\n\nSee PRD.md for the full product specification."
      }
    ],
    "body": "OpenClaw Tally\n\nReframes AI usage from token-counting to task-completion economics. Instead of \"how many tokens?\", answer \"how much to get X done, and was it worth it?\"\n\n🛠️ Installation\n1. Ask OpenClaw (Recommended)\n\nTell OpenClaw: \"Install the openclaw-tally skill.\" The agent will handle the installation and configuration automatically.\n\n2. Manual Installation (CLI)\n\nIf you prefer the terminal, run:\n\nclawhub install openclaw-tally\n\nSecurity & Privacy Declaration\nHook: This skill registers a message-post hook and processes every message.\nLocal only: All processing is purely local. No data is sent to any external server.\nMessage content: The task detector reads message text to identify task boundaries (start/complete/fail signals) using regex pattern matching. No message text is stored — only metadata (token count, model, session_id, complexity score) is persisted to the database.\nSandboxed storage: SQLite database defaults to ~/.openclaw/tally/tally.db. A custom path can be provided for testing.\nNative dependency: Requires better-sqlite3 (native Node.js addon). Installation runs npm install which triggers a native build step.\nPermissions: No network access. No exec permissions. Filesystem limited to ~/.openclaw/tally/.\nWhat It Does\nDetects tasks automatically from message streams (Layer 1: Task Detector)\nAttributes costs across sessions, sub-agents, and cron triggers (Layer 2: Task Ledger)\nComputes TES (Task Efficiency Score) per task, model, and cron (Layer 3: Analytics Engine)\nCommands\n/tasks list — Show recent tasks with status, cost, and TES\n/tasks stats — Summary statistics for a time period\n/tasks this-week — This week's task summary\n/tasks show <task_id> — Show task detail\n/tasks report --dimension model — Model efficiency report\n/tasks cron-health — Cron efficiency and health check\nComplexity Levels\nL1 (Reflex): Single-turn, text-only, no tools\nL2 (Routine): Multi-turn or 1–3 tool calls\nL3 (Mission): Multiple tools + file I/O + external APIs\nL4 (Campaign): Sub-agents + cron + cross-session\nTES (Task Efficiency Score)\nTES = quality_score / (normalized_cost × complexity_weight)\n\n> 2.0 🟢 Excellent\n1.0–2.0 🟡 Good\n0.5–1.0 🟠 Below average\n< 0.5 🔴 Poor\n0.0 ⚫ Failed\nUsage\n\nWhen the skill is installed, it automatically hooks into message-post. Use the /tasks commands above to query analytics. All data is stored locally in ~/.openclaw/tally/tally.db.\n\nSee PRD.md for the full product specification."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/JonathanJing/openclaw-tally",
    "publisherUrl": "https://clawhub.ai/JonathanJing/openclaw-tally",
    "owner": "JonathanJing",
    "version": "0.3.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-tally",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-tally",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-tally/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-tally/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-tally/agent.md"
  }
}