{
  "schemaVersion": "1.0",
  "item": {
    "slug": "corpus",
    "name": "Corpus",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/doninocode/corpus",
    "canonicalUrl": "https://clawhub.ai/doninocode/corpus",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/corpus",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=corpus",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/corpus_api.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. 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-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/corpus"
    },
    "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/corpus",
    "agentPageUrl": "https://openagent3.xyz/skills/corpus/agent",
    "manifestUrl": "https://openagent3.xyz/skills/corpus/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/corpus/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": "Corpus Skill",
        "body": "Use this skill to read and write a user's Corpus data through the Corpus API."
      },
      {
        "title": "Required environment variables",
        "body": "CORPUS_API_TOKEN: user token for Corpus API access."
      },
      {
        "title": "Generate CORPUS_API_TOKEN",
        "body": "Install Corpus AI for iPhone: https://apps.apple.com/us/app/corpus-ai/id6748364607\nOpen the app and sign in.\nGo to Integrations -> OpenClaw.\nCreate an API token and copy it (the full value is shown once).\nSet that value as CORPUS_API_TOKEN in your OpenClaw skill env."
      },
      {
        "title": "Optional environment variables",
        "body": "CORPUS_API_BASE_URL: API base URL (default: https://corpusai.app).\nCORPUS_TIMEOUT_SECONDS: HTTP timeout in seconds (default: 30)."
      },
      {
        "title": "OpenClaw config example",
        "body": "{\n  \"skills\": {\n    \"entries\": {\n      \"corpus\": {\n        \"path\": \"/absolute/path/to/skills/corpus\",\n        \"env\": {\n          \"CORPUS_API_TOKEN\": \"csk_live_or_jwt_token_here\",\n          \"CORPUS_API_BASE_URL\": \"https://corpusai.app\"\n        }\n      }\n    }\n  }\n}"
      },
      {
        "title": "Commands",
        "body": "Run all commands through:\n\npython3 {baseDir}/scripts/corpus_api.py <command> [options]\n\nAvailable commands:\n\nprofile\nlist-content --limit 20 --cursor <cursor>\nsearch --query \"<text>\" --limit 8\ncontent --user-content-id <id>\nsave-url --url <url> [--user-note \"<note>\"]\ncreate-reminder --title \"<title>\" --description \"<desc>\" --scheduled-date-utc \"2026-02-18T16:00:00Z\" [--user-content-id <id>]"
      },
      {
        "title": "Recommended workflow for implementation tasks",
        "body": "When a user asks for \"find items in Corpus and implement\":\n\nUse search with a focused query.\nUse content for top hits to collect concrete steps.\nProduce an implementation plan with explicit file changes.\nApply code changes in the current working repository after user confirmation."
      },
      {
        "title": "Safety rules",
        "body": "Never print or log CORPUS_API_TOKEN.\nPrefer read operations before write operations.\nBefore write operations (save-url, create-reminder), confirm user intent if the instruction is ambiguous."
      }
    ],
    "body": "Corpus Skill\n\nUse this skill to read and write a user's Corpus data through the Corpus API.\n\nRequired environment variables\nCORPUS_API_TOKEN: user token for Corpus API access.\nGenerate CORPUS_API_TOKEN\nInstall Corpus AI for iPhone: https://apps.apple.com/us/app/corpus-ai/id6748364607\nOpen the app and sign in.\nGo to Integrations -> OpenClaw.\nCreate an API token and copy it (the full value is shown once).\nSet that value as CORPUS_API_TOKEN in your OpenClaw skill env.\nOptional environment variables\nCORPUS_API_BASE_URL: API base URL (default: https://corpusai.app).\nCORPUS_TIMEOUT_SECONDS: HTTP timeout in seconds (default: 30).\nOpenClaw config example\n{\n  \"skills\": {\n    \"entries\": {\n      \"corpus\": {\n        \"path\": \"/absolute/path/to/skills/corpus\",\n        \"env\": {\n          \"CORPUS_API_TOKEN\": \"csk_live_or_jwt_token_here\",\n          \"CORPUS_API_BASE_URL\": \"https://corpusai.app\"\n        }\n      }\n    }\n  }\n}\n\nCommands\n\nRun all commands through:\n\npython3 {baseDir}/scripts/corpus_api.py <command> [options]\n\nAvailable commands:\n\nprofile\nlist-content --limit 20 --cursor <cursor>\nsearch --query \"<text>\" --limit 8\ncontent --user-content-id <id>\nsave-url --url <url> [--user-note \"<note>\"]\ncreate-reminder --title \"<title>\" --description \"<desc>\" --scheduled-date-utc \"2026-02-18T16:00:00Z\" [--user-content-id <id>]\nRecommended workflow for implementation tasks\n\nWhen a user asks for \"find items in Corpus and implement\":\n\nUse search with a focused query.\nUse content for top hits to collect concrete steps.\nProduce an implementation plan with explicit file changes.\nApply code changes in the current working repository after user confirmation.\nSafety rules\nNever print or log CORPUS_API_TOKEN.\nPrefer read operations before write operations.\nBefore write operations (save-url, create-reminder), confirm user intent if the instruction is ambiguous."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/doninocode/corpus",
    "publisherUrl": "https://clawhub.ai/doninocode/corpus",
    "owner": "doninocode",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/corpus",
    "downloadUrl": "https://openagent3.xyz/downloads/corpus",
    "agentUrl": "https://openagent3.xyz/skills/corpus/agent",
    "manifestUrl": "https://openagent3.xyz/skills/corpus/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/corpus/agent.md"
  }
}