{
  "schemaVersion": "1.0",
  "item": {
    "slug": "audit-case-rag",
    "name": "Audit Case Rag",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/jack4world/audit-case-rag",
    "canonicalUrl": "https://clawhub.ai/jack4world/audit-case-rag",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/audit-case-rag",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=audit-case-rag",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/case-folder-template.md",
      "scripts/audit_case_rag.py",
      "scripts/requirements.txt"
    ],
    "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/audit-case-rag"
    },
    "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/audit-case-rag",
    "agentPageUrl": "https://openagent3.xyz/skills/audit-case-rag/agent",
    "manifestUrl": "https://openagent3.xyz/skills/audit-case-rag/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/audit-case-rag/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": "audit-case-rag",
        "body": "This skill packages a local-only workflow to build a searchable evidence index for a single audit/investigation case and query it with page-level citations."
      },
      {
        "title": "0) Prepare a case folder (事件驱动)",
        "body": "Create a case directory named:\n\n<项目问题编号>__<标题>\n\nInside, use stage folders (stage is inferred from folder name):\n\n01_policy_basis/ (basis) — 制度/流程/授权\n02_process/ (process) — 招采/定标/过程证据\n03_contract/ (contract) — 合同/补充协议\n04_settlement_payment/ (payment) — 结算/付款/发票/验收\n05_comm/ (comm) — 邮件/会议纪要/IM\n06_interviews/ (interview) — 访谈/笔录/询证\n07_workpapers/ (workpaper) — 底稿/抽样/复核表\n09_rectification/ (rectification) — 整改/闭环\n\nFull template: references/case-folder-template.md"
      },
      {
        "title": "1) Install dependencies (local)",
        "body": "From the skill folder (or copy the script into your repo):\n\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r scripts/requirements.txt\n\nLibreOffice is recommended for Office→PDF page citations:\n\nsoffice must be available (PATH) or pass --soffice /path/to/soffice."
      },
      {
        "title": "2) Index the case",
        "body": "./scripts/audit_case_rag.py index \\\n  --case-dir \"/path/to/<项目问题编号>__<标题>\" \\\n  --out-dir  \"/path/to/audit_rag_db\"\n\nOutputs:\n\nmanifest.jsonl written into the case directory\naudit_rag_db/<case_id>.joblib (persistent local index)"
      },
      {
        "title": "3) Query with event filters",
        "body": "./scripts/audit_case_rag.py query \\\n  --case \"<项目问题编号>\" \\\n  --stage payment \\\n  \"付款节点是否倒挂？请给出处页码\"\n\nNotes:\n\nEvidence lines include clickable file://...#page=N citations when possible.\nRetrieval is hybrid: embedding recall + TF‑IDF rerank (alpha configurable)."
      },
      {
        "title": "Safety/Privacy",
        "body": "No cloud APIs. Everything runs locally.\nDo not commit outputs (indices, converted PDFs) to git."
      }
    ],
    "body": "audit-case-rag\n\nThis skill packages a local-only workflow to build a searchable evidence index for a single audit/investigation case and query it with page-level citations.\n\nWorkflow\n0) Prepare a case folder (事件驱动)\n\nCreate a case directory named:\n\n<项目问题编号>__<标题>\n\nInside, use stage folders (stage is inferred from folder name):\n\n01_policy_basis/ (basis) — 制度/流程/授权\n02_process/ (process) — 招采/定标/过程证据\n03_contract/ (contract) — 合同/补充协议\n04_settlement_payment/ (payment) — 结算/付款/发票/验收\n05_comm/ (comm) — 邮件/会议纪要/IM\n06_interviews/ (interview) — 访谈/笔录/询证\n07_workpapers/ (workpaper) — 底稿/抽样/复核表\n09_rectification/ (rectification) — 整改/闭环\n\nFull template: references/case-folder-template.md\n\n1) Install dependencies (local)\n\nFrom the skill folder (or copy the script into your repo):\n\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r scripts/requirements.txt\n\n\nLibreOffice is recommended for Office→PDF page citations:\n\nsoffice must be available (PATH) or pass --soffice /path/to/soffice.\n2) Index the case\n./scripts/audit_case_rag.py index \\\n  --case-dir \"/path/to/<项目问题编号>__<标题>\" \\\n  --out-dir  \"/path/to/audit_rag_db\"\n\n\nOutputs:\n\nmanifest.jsonl written into the case directory\naudit_rag_db/<case_id>.joblib (persistent local index)\n3) Query with event filters\n./scripts/audit_case_rag.py query \\\n  --case \"<项目问题编号>\" \\\n  --stage payment \\\n  \"付款节点是否倒挂？请给出处页码\"\n\n\nNotes:\n\nEvidence lines include clickable file://...#page=N citations when possible.\nRetrieval is hybrid: embedding recall + TF‑IDF rerank (alpha configurable).\nSafety/Privacy\nNo cloud APIs. Everything runs locally.\nDo not commit outputs (indices, converted PDFs) to git."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jack4world/audit-case-rag",
    "publisherUrl": "https://clawhub.ai/jack4world/audit-case-rag",
    "owner": "jack4world",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/audit-case-rag",
    "downloadUrl": "https://openagent3.xyz/downloads/audit-case-rag",
    "agentUrl": "https://openagent3.xyz/skills/audit-case-rag/agent",
    "manifestUrl": "https://openagent3.xyz/skills/audit-case-rag/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/audit-case-rag/agent.md"
  }
}