{
  "schemaVersion": "1.0",
  "item": {
    "slug": "context-engineer",
    "name": "context-engineer",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/tkuehnl/context-engineer",
    "canonicalUrl": "https://clawhub.ai/tkuehnl/context-engineer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/context-engineer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-engineer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "context.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": "context-engineer",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T20:22:55.021Z",
      "expiresAt": "2026-05-11T20:22:55.021Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-engineer",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-engineer",
        "contentDisposition": "attachment; filename=\"context-engineer-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "context-engineer"
      },
      "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/context-engineer"
    },
    "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-engineer",
    "agentPageUrl": "https://openagent3.xyz/skills/context-engineer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/context-engineer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/context-engineer/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": "When to use this skill",
        "body": "Use this skill when the user wants to:\n\nUnderstand where their context window tokens are going\nAnalyze workspace files (SKILL.md, SOUL.md, MEMORY.md, etc.) for bloat\nAudit tool definitions for redundancy and overhead\nGet a comprehensive context efficiency report\nCompare before/after snapshots to measure optimization progress\nOptimize system prompts for token efficiency"
      },
      {
        "title": "Commands",
        "body": "# Analyze workspace context files — token counts, efficiency scores, recommendations\npython3 skills/context-engineer/context.py analyze --workspace ~/.openclaw/workspace\n\n# Analyze with a custom budget and save a snapshot for later comparison\npython3 skills/context-engineer/context.py analyze --workspace ~/.openclaw/workspace --budget 128000 --snapshot before.json\n\n# Audit tool definitions for overhead and overlap\npython3 skills/context-engineer/context.py audit-tools --config ~/.openclaw/openclaw.json\n\n# Generate a comprehensive context engineering report\npython3 skills/context-engineer/context.py report --workspace ~/.openclaw/workspace --format terminal\n\n# Compare two snapshots to see projected token savings\npython3 skills/context-engineer/context.py compare --before before.json --after after.json"
      },
      {
        "title": "What It Analyzes",
        "body": "System prompt efficiency — Length, redundancy detection, compression potential\nTool definition overhead — Count tools, per-tool token cost, identify unused/overlapping\nMemory file bloat — MEMORY.md size, stale entries, optimization suggestions\nSkill overhead — Installed skills contributing to context, per-skill token cost\nContext budget — What % of model context window is consumed by static content vs available for conversation"
      },
      {
        "title": "Options",
        "body": "--workspace PATH — Path to workspace directory (default: ~/.openclaw/workspace)\n--config PATH — Path to OpenClaw config file (default: ~/.openclaw/openclaw.json)\n--budget N — Context window token budget (default: 200000)\n--snapshot FILE — Save analysis snapshot to FILE for later comparison\n--format terminal — Output format (currently: terminal)"
      },
      {
        "title": "Notes",
        "body": "Token estimates are approximate (~4 characters per token). For precise counts, use a model-specific tokenizer.\nNo external dependencies required — runs with Python 3 stdlib only.\nBuilt by Anvil AI — context engineering experts. https://anvil-ai.io"
      }
    ],
    "body": "When to use this skill\n\nUse this skill when the user wants to:\n\nUnderstand where their context window tokens are going\nAnalyze workspace files (SKILL.md, SOUL.md, MEMORY.md, etc.) for bloat\nAudit tool definitions for redundancy and overhead\nGet a comprehensive context efficiency report\nCompare before/after snapshots to measure optimization progress\nOptimize system prompts for token efficiency\nCommands\n# Analyze workspace context files — token counts, efficiency scores, recommendations\npython3 skills/context-engineer/context.py analyze --workspace ~/.openclaw/workspace\n\n# Analyze with a custom budget and save a snapshot for later comparison\npython3 skills/context-engineer/context.py analyze --workspace ~/.openclaw/workspace --budget 128000 --snapshot before.json\n\n# Audit tool definitions for overhead and overlap\npython3 skills/context-engineer/context.py audit-tools --config ~/.openclaw/openclaw.json\n\n# Generate a comprehensive context engineering report\npython3 skills/context-engineer/context.py report --workspace ~/.openclaw/workspace --format terminal\n\n# Compare two snapshots to see projected token savings\npython3 skills/context-engineer/context.py compare --before before.json --after after.json\n\nWhat It Analyzes\nSystem prompt efficiency — Length, redundancy detection, compression potential\nTool definition overhead — Count tools, per-tool token cost, identify unused/overlapping\nMemory file bloat — MEMORY.md size, stale entries, optimization suggestions\nSkill overhead — Installed skills contributing to context, per-skill token cost\nContext budget — What % of model context window is consumed by static content vs available for conversation\nOptions\n--workspace PATH — Path to workspace directory (default: ~/.openclaw/workspace)\n--config PATH — Path to OpenClaw config file (default: ~/.openclaw/openclaw.json)\n--budget N — Context window token budget (default: 200000)\n--snapshot FILE — Save analysis snapshot to FILE for later comparison\n--format terminal — Output format (currently: terminal)\nNotes\nToken estimates are approximate (~4 characters per token). For precise counts, use a model-specific tokenizer.\nNo external dependencies required — runs with Python 3 stdlib only.\nBuilt by Anvil AI — context engineering experts. https://anvil-ai.io"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tkuehnl/context-engineer",
    "publisherUrl": "https://clawhub.ai/tkuehnl/context-engineer",
    "owner": "tkuehnl",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/context-engineer",
    "downloadUrl": "https://openagent3.xyz/downloads/context-engineer",
    "agentUrl": "https://openagent3.xyz/skills/context-engineer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/context-engineer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/context-engineer/agent.md"
  }
}