{
  "schemaVersion": "1.0",
  "item": {
    "slug": "context-slimmer",
    "name": "Context Slimmer",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/SunDevilATB/context-slimmer",
    "canonicalUrl": "https://clawhub.ai/SunDevilATB/context-slimmer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/context-slimmer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-slimmer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/measure.sh"
    ],
    "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/context-slimmer"
    },
    "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/context-slimmer",
    "agentPageUrl": "https://openagent3.xyz/skills/context-slimmer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/context-slimmer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/context-slimmer/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": "Context Slimmer",
        "body": "Audit workspace files that load into every message and reduce their token footprint."
      },
      {
        "title": "Quick Start",
        "body": "# Measure current context cost\nbash scripts/measure.sh\n\n# Full audit (outputs recommendations)\nbash scripts/measure.sh --audit"
      },
      {
        "title": "Audit Process",
        "body": "For each always-loaded file, evaluate:\n\nMove to skill — Content only needed for specific tasks (betting config, group chat rules, detailed protocols). Move to a skill or reference file that loads on demand.\nRemove — Outdated info, dead features, completed one-time setup, duplicated content across files.\nCompress — Verbose explanations that could be 1 sentence. If the agent already knows it, cut it."
      },
      {
        "title": "Rules of Thumb",
        "body": "If a cron job handles it, remove it from HEARTBEAT.md\nIf it's in SOUL.md, don't repeat it in MEMORY.md or AGENTS.md\nIf it's in USER.md, don't repeat it in MEMORY.md\nIf the agent does it daily, it doesn't need instructions — just a trigger word\nPrefer 1 sentence over 5 bullets saying the same thing\nTarget: each file should justify every line's token cost"
      },
      {
        "title": "Expected File Sizes (lean targets)",
        "body": "FileTargetAGENTS.md< 500 tokensTOOLS.md< 500 tokensUSER.md< 700 tokensMEMORY.md< 400 tokensHEARTBEAT.md< 400 tokensSOUL.md< 250 tokensIDENTITY.md< 50 tokensTotal< 2,800 tokens"
      },
      {
        "title": "Output Format",
        "body": "Report: current size, projected size, savings per file. Include specific recommendations grouped by move/remove/compress."
      }
    ],
    "body": "Context Slimmer\n\nAudit workspace files that load into every message and reduce their token footprint.\n\nQuick Start\n# Measure current context cost\nbash scripts/measure.sh\n\n# Full audit (outputs recommendations)\nbash scripts/measure.sh --audit\n\nAudit Process\n\nFor each always-loaded file, evaluate:\n\nMove to skill — Content only needed for specific tasks (betting config, group chat rules, detailed protocols). Move to a skill or reference file that loads on demand.\nRemove — Outdated info, dead features, completed one-time setup, duplicated content across files.\nCompress — Verbose explanations that could be 1 sentence. If the agent already knows it, cut it.\nRules of Thumb\nIf a cron job handles it, remove it from HEARTBEAT.md\nIf it's in SOUL.md, don't repeat it in MEMORY.md or AGENTS.md\nIf it's in USER.md, don't repeat it in MEMORY.md\nIf the agent does it daily, it doesn't need instructions — just a trigger word\nPrefer 1 sentence over 5 bullets saying the same thing\nTarget: each file should justify every line's token cost\nExpected File Sizes (lean targets)\nFile\tTarget\nAGENTS.md\t< 500 tokens\nTOOLS.md\t< 500 tokens\nUSER.md\t< 700 tokens\nMEMORY.md\t< 400 tokens\nHEARTBEAT.md\t< 400 tokens\nSOUL.md\t< 250 tokens\nIDENTITY.md\t< 50 tokens\nTotal\t< 2,800 tokens\nOutput Format\n\nReport: current size, projected size, savings per file. Include specific recommendations grouped by move/remove/compress."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/SunDevilATB/context-slimmer",
    "publisherUrl": "https://clawhub.ai/SunDevilATB/context-slimmer",
    "owner": "SunDevilATB",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/context-slimmer",
    "downloadUrl": "https://openagent3.xyz/downloads/context-slimmer",
    "agentUrl": "https://openagent3.xyz/skills/context-slimmer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/context-slimmer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/context-slimmer/agent.md"
  }
}