{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alicloud-ai-text-document-mind",
    "name": "Alicloud Ai Text Document Mind",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/cinience/alicloud-ai-text-document-mind",
    "canonicalUrl": "https://clawhub.ai/cinience/alicloud-ai-text-document-mind",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/alicloud-ai-text-document-mind",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alicloud-ai-text-document-mind",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "agents/openai.yaml",
      "references/sources.md",
      "scripts/quickstart.js"
    ],
    "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/alicloud-ai-text-document-mind"
    },
    "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/alicloud-ai-text-document-mind",
    "agentPageUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/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": "Document Mind (DocMind) — Node.js SDK",
        "body": "Use DocMind to extract document structure, text, and layout with async jobs."
      },
      {
        "title": "Prerequisites",
        "body": "Install SDKs:\n\nnpm install @alicloud/docmind-api20220711 @alicloud/tea-util @alicloud/credentials\n\n\nProvide credentials via standard Alibaba Cloud env vars:\n\nALICLOUD_ACCESS_KEY_ID\nALICLOUD_ACCESS_KEY_SECRET\nALICLOUD_REGION_ID (optional default; if unset, choose the most reasonable region for the task or ask the user)"
      },
      {
        "title": "Quickstart (submit + poll)",
        "body": "const Client = require('@alicloud/docmind-api20220711');\nconst Credential = require('@alicloud/credentials');\nconst Util = require('@alicloud/tea-util');\n\nconst cred = new Credential.default();\nconst regionId = process.env.ALICLOUD_REGION_ID || 'cn-hangzhou'; // Example default; choose/ask if unset.\nconst client = new Client.default({\n  endpoint: `docmind-api.${regionId}.aliyuncs.com`,\n  accessKeyId: cred.credential.accessKeyId,\n  accessKeySecret: cred.credential.accessKeySecret,\n  type: 'access_key',\n  regionId,\n});\n\nasync function submitByUrl(fileUrl, fileName) {\n  const req = new Client.SubmitDocStructureJobRequest();\n  req.fileUrl = fileUrl;\n  req.fileName = fileName;\n  const resp = await client.submitDocStructureJob(req);\n  return resp.body.data.id;\n}\n\nasync function pollResult(jobId) {\n  const req = new Client.GetDocStructureResultRequest();\n  req.id = jobId;\n  const resp = await client.getDocStructureResult(req);\n  return resp.body;\n}\n\n(async () => {\n  const jobId = await submitByUrl('https://example.com/example.pdf', 'example.pdf');\n  console.log('jobId:', jobId);\n\n  // Poll every 10s until completed.\n  for (;;) {\n    const result = await pollResult(jobId);\n    if (result.completed) {\n      console.log(result.status, result.data || result.message);\n      break;\n    }\n    await new Promise((r) => setTimeout(r, 10000));\n  }\n})();"
      },
      {
        "title": "Script quickstart",
        "body": "DOCMIND_FILE_URL=\"https://example.com/example.pdf\" \\\\\nnode skills/ai/text/alicloud-ai-text-document-mind/scripts/quickstart.js\n\nEnvironment variables:\n\nDOCMIND_FILE_URL\nDOCMIND_FILE_NAME (optional)\nDOCMIND_POLL_INTERVAL_MS (optional, default 10000)\nDOCMIND_MAX_POLLS (optional, default 120)"
      },
      {
        "title": "Local file upload",
        "body": "const fs = require('fs');\nconst advanceReq = new Client.SubmitDocStructureJobAdvanceRequest();\nadvanceReq.fileUrlObject = fs.createReadStream('./example.pdf');\nadvanceReq.fileName = 'example.pdf';\nconst runtime = new Util.RuntimeOptions({});\nconst resp = await client.submitDocStructureJobAdvance(advanceReq, runtime);"
      },
      {
        "title": "Notes for Claude Code/Codex",
        "body": "DocMind is async: submit a job, then poll until completed=true.\nPoll every ~10s; max processing window is 120 minutes.\nKeep files publicly accessible when using URL submission."
      },
      {
        "title": "Error handling",
        "body": "UrlNotLegal: URL not publicly accessible or malformed.\nDocProcessing: job still running; keep polling.\nFail: check message and error code for root cause."
      },
      {
        "title": "Validation",
        "body": "mkdir -p output/alicloud-ai-text-document-mind\nfor f in skills/ai/text/alicloud-ai-text-document-mind/scripts/*.py; do\n  python3 -m py_compile \"$f\"\ndone\necho \"py_compile_ok\" > output/alicloud-ai-text-document-mind/validate.txt\n\nPass criteria: command exits 0 and output/alicloud-ai-text-document-mind/validate.txt is generated."
      },
      {
        "title": "Output And Evidence",
        "body": "Save artifacts, command outputs, and API response summaries under output/alicloud-ai-text-document-mind/.\nInclude key parameters (region/resource id/time range) in evidence files for reproducibility."
      },
      {
        "title": "Workflow",
        "body": "Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.\nRun one minimal read-only query first to verify connectivity and permissions.\nExecute the target operation with explicit parameters and bounded scope.\nVerify results and save output/evidence files."
      },
      {
        "title": "References",
        "body": "DocMind Node.js SDK: @alicloud/docmind-api20220711\n\n\nSource list: references/sources.md"
      }
    ],
    "body": "Category: provider\n\nDocument Mind (DocMind) — Node.js SDK\n\nUse DocMind to extract document structure, text, and layout with async jobs.\n\nPrerequisites\nInstall SDKs:\nnpm install @alicloud/docmind-api20220711 @alicloud/tea-util @alicloud/credentials\nProvide credentials via standard Alibaba Cloud env vars:\nALICLOUD_ACCESS_KEY_ID\nALICLOUD_ACCESS_KEY_SECRET\nALICLOUD_REGION_ID (optional default; if unset, choose the most reasonable region for the task or ask the user)\nQuickstart (submit + poll)\nconst Client = require('@alicloud/docmind-api20220711');\nconst Credential = require('@alicloud/credentials');\nconst Util = require('@alicloud/tea-util');\n\nconst cred = new Credential.default();\nconst regionId = process.env.ALICLOUD_REGION_ID || 'cn-hangzhou'; // Example default; choose/ask if unset.\nconst client = new Client.default({\n  endpoint: `docmind-api.${regionId}.aliyuncs.com`,\n  accessKeyId: cred.credential.accessKeyId,\n  accessKeySecret: cred.credential.accessKeySecret,\n  type: 'access_key',\n  regionId,\n});\n\nasync function submitByUrl(fileUrl, fileName) {\n  const req = new Client.SubmitDocStructureJobRequest();\n  req.fileUrl = fileUrl;\n  req.fileName = fileName;\n  const resp = await client.submitDocStructureJob(req);\n  return resp.body.data.id;\n}\n\nasync function pollResult(jobId) {\n  const req = new Client.GetDocStructureResultRequest();\n  req.id = jobId;\n  const resp = await client.getDocStructureResult(req);\n  return resp.body;\n}\n\n(async () => {\n  const jobId = await submitByUrl('https://example.com/example.pdf', 'example.pdf');\n  console.log('jobId:', jobId);\n\n  // Poll every 10s until completed.\n  for (;;) {\n    const result = await pollResult(jobId);\n    if (result.completed) {\n      console.log(result.status, result.data || result.message);\n      break;\n    }\n    await new Promise((r) => setTimeout(r, 10000));\n  }\n})();\n\nScript quickstart\nDOCMIND_FILE_URL=\"https://example.com/example.pdf\" \\\\\nnode skills/ai/text/alicloud-ai-text-document-mind/scripts/quickstart.js\n\n\nEnvironment variables:\n\nDOCMIND_FILE_URL\nDOCMIND_FILE_NAME (optional)\nDOCMIND_POLL_INTERVAL_MS (optional, default 10000)\nDOCMIND_MAX_POLLS (optional, default 120)\nLocal file upload\nconst fs = require('fs');\nconst advanceReq = new Client.SubmitDocStructureJobAdvanceRequest();\nadvanceReq.fileUrlObject = fs.createReadStream('./example.pdf');\nadvanceReq.fileName = 'example.pdf';\nconst runtime = new Util.RuntimeOptions({});\nconst resp = await client.submitDocStructureJobAdvance(advanceReq, runtime);\n\nNotes for Claude Code/Codex\nDocMind is async: submit a job, then poll until completed=true.\nPoll every ~10s; max processing window is 120 minutes.\nKeep files publicly accessible when using URL submission.\nError handling\nUrlNotLegal: URL not publicly accessible or malformed.\nDocProcessing: job still running; keep polling.\nFail: check message and error code for root cause.\nValidation\nmkdir -p output/alicloud-ai-text-document-mind\nfor f in skills/ai/text/alicloud-ai-text-document-mind/scripts/*.py; do\n  python3 -m py_compile \"$f\"\ndone\necho \"py_compile_ok\" > output/alicloud-ai-text-document-mind/validate.txt\n\n\nPass criteria: command exits 0 and output/alicloud-ai-text-document-mind/validate.txt is generated.\n\nOutput And Evidence\nSave artifacts, command outputs, and API response summaries under output/alicloud-ai-text-document-mind/.\nInclude key parameters (region/resource id/time range) in evidence files for reproducibility.\nWorkflow\nConfirm user intent, region, identifiers, and whether the operation is read-only or mutating.\nRun one minimal read-only query first to verify connectivity and permissions.\nExecute the target operation with explicit parameters and bounded scope.\nVerify results and save output/evidence files.\nReferences\n\nDocMind Node.js SDK: @alicloud/docmind-api20220711\n\nSource list: references/sources.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cinience/alicloud-ai-text-document-mind",
    "publisherUrl": "https://clawhub.ai/cinience/alicloud-ai-text-document-mind",
    "owner": "cinience",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind",
    "downloadUrl": "https://openagent3.xyz/downloads/alicloud-ai-text-document-mind",
    "agentUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alicloud-ai-text-document-mind/agent.md"
  }
}