{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pyzotero",
    "name": "Pyzotero",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/killgfat/pyzotero",
    "canonicalUrl": "https://clawhub.ai/killgfat/pyzotero",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pyzotero",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pyzotero",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG_v2.md",
      "EXAMPLES.md",
      "INSTALL.md",
      "OPENCLAW_USAGE.md",
      "QUICKSTART.md",
      "README.md"
    ],
    "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": "pyzotero",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T16:03:38.871Z",
      "expiresAt": "2026-05-14T16:03:38.871Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pyzotero",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pyzotero",
        "contentDisposition": "attachment; filename=\"pyzotero-2.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pyzotero"
      },
      "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/pyzotero"
    },
    "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/pyzotero",
    "agentPageUrl": "https://openagent3.xyz/skills/pyzotero/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pyzotero/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pyzotero/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": "Pyzotero CLI - Python Scripts",
        "body": "使用 Python 脚本调用 pyzotero 库，支持本地 Zotero API 和在线 Web API 两种模式。"
      },
      {
        "title": "快速开始",
        "body": "# 安装 pyzotero 库\npipx install pyzotero\n\n# 设置环境变量 (可选)\nexport ZOTERO_LOCAL=\"true\"  # 使用本地 API (默认)\n# export ZOTERO_LOCAL=\"false\"  # 使用在线 API\n\n# 搜索库\npython3 scripts/zotero_tool.py search -q \"machine learning\"\n\n# 全文搜索 (包括 PDF)\npython3 scripts/zotero_tool.py search -q \"attention mechanisms\" --fulltext\n\n# 列出所有集合\npython3 scripts/zotero_tool.py listcollections\n\n📖 详细指南: QUICKSTART.md"
      },
      {
        "title": "ZOTERO_LOCAL (必需)",
        "body": "控制使用本地 API 还是在线 API:\n\n值模式说明\"true\" (默认)本地模式使用本地 Zotero 7+ 的本地 API\"false\"在线模式使用 Zotero Web API"
      },
      {
        "title": "ZOTERO_USER_ID (在线模式必需)",
        "body": "您的 Zotero 用户 ID，在在线模式下需要设置。"
      },
      {
        "title": "ZOTERO_API_KEY (在线模式必需)",
        "body": "您的 Zotero API Key，在在线模式下需要设置。"
      },
      {
        "title": "配置示例",
        "body": "本地模式 (推荐):\n\nexport ZOTERO_LOCAL=\"true\"\npython3 scripts/zotero_tool.py search -q \"python\"\n\n在线模式:\n\nexport ZOTERO_LOCAL=\"false\"\nexport ZOTERO_USER_ID=\"your_user_id\"\nexport ZOTERO_API_KEY=\"your_api_key\"\npython3 scripts/zotero_tool.py search -q \"python\""
      },
      {
        "title": "pipx (推荐)",
        "body": "pipx install pyzotero"
      },
      {
        "title": "pip (通用)",
        "body": "pip install --user pyzotero\nexport PATH=\"$HOME/.local/bin:$PATH\"\n\n📖 完整安装指南: INSTALL.md"
      },
      {
        "title": "本地模式配置",
        "body": "需要在 Zotero 7+ 中启用本地 API:\n\n打开 Zotero 7 (或更新版本)\n进入 编辑 > 首选项 > 高级 (macOS: Zotero > 设置 > 高级)\n勾选 \"允许此计算机上的其他应用程序与 Zotero 通信\"\n重启 Zotero"
      },
      {
        "title": "在线模式配置",
        "body": "需要获取 API 密钥:\n\n访问 https://www.zotero.org/settings/keys\n点击 \"Create new private key\"\n授予读取权限 (Read access to library and files)\n复制密钥并设置环境变量:\nexport ZOTERO_USER_ID=\"your_user_id\"\nexport ZOTERO_API_KEY=\"your_key\""
      },
      {
        "title": "核心命令",
        "body": "命令说明python3 scripts/zotero_tool.py search -q \"关键词\"搜索库python3 scripts/zotero_tool.py search --fulltext全文搜索 (包括 PDF)python3 scripts/zotero_tool.py search --collection ID在特定集合中搜索python3 scripts/zotero_tool.py listcollections列出所有集合python3 scripts/zotero_tool.py itemtypes列出项目类型python3 scripts/zotero_tool.py item KEY获取单个项目详情python3 scripts/zotero_tool.py add -t \"标题\"添加单个项目python3 scripts/zotero_tool.py add-from-json file.json批量添加项目python3 scripts/zotero_tool.py collection-create -n \"名称\"创建新集合python3 scripts/zotero_tool.py collection-rename KEY -n \"新名\"重命名集合python3 scripts/zotero_tool.py collection-delete KEY -y删除集合python3 scripts/zotero_tool.py collection-add-item ITEM -c COLL添加项目到集合python3 scripts/zotero_tool.py collection-remove-item ITEM -c COLL从集合移除项目python3 scripts/zotero_tool.py collection-list KEY列出集合中的项目"
      },
      {
        "title": "基本搜索",
        "body": "# 搜索标题和元数据\npython3 scripts/zotero_tool.py search -q \"machine learning\"\n\n# 短语搜索\npython3 scripts/zotero_tool.py search -q \"\\\"deep learning\\\"\""
      },
      {
        "title": "全文搜索",
        "body": "# 在 PDF 和附件中搜索\npython3 scripts/zotero_tool.py search -q \"neural networks\" --fulltext"
      },
      {
        "title": "高级过滤",
        "body": "# 按项目类型过滤\npython3 scripts/zotero_tool.py search -q \"methodology\" --itemtype book\n\n# 在特定集合中搜索\npython3 scripts/zotero_tool.py search --collection ABC123 -q \"test\"\n\n# 限制结果数量\npython3 scripts/zotero_tool.py search -q \"python\" -l 10"
      },
      {
        "title": "获取项目详情",
        "body": "# 获取单个项目\npython3 scripts/zotero_tool.py item ABC123XYZ"
      },
      {
        "title": "添加单个项目",
        "body": "# 添加期刊文章\npython3 scripts/zotero_tool.py add -t \"文章标题\" -a \"FirstName LastName\" -p \"期刊名\" -d \"2024\"\n\n# 添加带 DOI 和标签的文章\npython3 scripts/zotero_tool.py add -t \"AI 在医学中的应用\" -a \"张三\" \"李四\" -p \"中华医学杂志\" -d \"2024\" --doi \"10.xxxx/xxxxx\" --tags AI 医学 machine-learning\n\n# 添加带摘要和 URL 的文章\npython3 scripts/zotero_tool.py add -t \"Python 数据分析\" -a \"王五\" -p \"计算机学报\" -d \"2024\" --url \"https://example.com\" --abstract \"本文介绍了...\" --tags python 数据分析"
      },
      {
        "title": "批量添加项目",
        "body": "# 从 JSON 文件批量添加\npython3 scripts/zotero_tool.py add-from-json papers.json\n\n# JSON 文件格式示例:\n[\n  {\n    \"itemType\": \"journalArticle\",\n    \"title\": \"文章标题\",\n    \"creators\": [{\"firstName\": \"First\", \"lastName\": \"Last\", \"creatorType\": \"author\"}],\n    \"publicationTitle\": \"期刊名\",\n    \"date\": \"2024\",\n    \"DOI\": \"10.xxxx/xxxxx\",\n    \"tags\": [{\"tag\": \"tag1\", \"type\": 1}],\n    \"abstractNote\": \"摘要\"\n  }\n]"
      },
      {
        "title": "集合管理",
        "body": "# 创建新集合\npython3 scripts/zotero_tool.py collection-create -n \"新集合名称\"\n\n# 创建子集合\npython3 scripts/zotero_tool.py collection-create -n \"子集合\" -p PARENT_KEY\n\n# 重命名集合\npython3 scripts/zotero_tool.py collection-rename COLLECTION_KEY -n \"新名称\"\n\n# 删除集合（需要确认）\npython3 scripts/zotero_tool.py collection-delete COLLECTION_KEY\npython3 scripts/zotero_tool.py collection-delete COLLECTION_KEY -y  # 跳过确认\n\n# 添加项目到集合\npython3 scripts/zotero_tool.py collection-add-item ITEM_KEY -c COLLECTION_KEY\n\n# 从集合移除项目\npython3 scripts/zotero_tool.py collection-remove-item ITEM_KEY -c COLLECTION_KEY\n\n# 列出集合中的项目\npython3 scripts/zotero_tool.py collection-list COLLECTION_KEY\npython3 scripts/zotero_tool.py collection-list COLLECTION_KEY -l 50  # 显示 50 个"
      },
      {
        "title": "人类可读格式 (默认)",
        "body": "python3 scripts/zotero_tool.py search -q \"python\""
      },
      {
        "title": "JSON 输出",
        "body": "# 输出 JSON 格式\npython3 scripts/zotero_tool.py search -q \"topic\" --json\n\n# 使用 jq 处理\npython3 scripts/zotero_tool.py search -q \"topic\" --json | jq '.[].data.title'\n\n# 保存到文件\npython3 scripts/zotero_tool.py search -q \"topic\" --json > results.json"
      },
      {
        "title": "文档",
        "body": "文档说明QUICKSTART.md5 分钟快速入门INSTALL.md详细安装指南EXAMPLES.md实用使用示例README.md项目概览"
      },
      {
        "title": "故障排除",
        "body": "本地模式连接错误:\n\n确保 Zotero 正在运行\n启用本地 API: 设置 > 高级 > \"允许此计算机上的其他应用程序与 Zotero 通信\"\n重启 Zotero\n\n在线模式认证错误:\n\n# 检查环境变量是否正确设置\necho $ZOTERO_USER_ID\necho $ZOTERO_API_KEY\n\n# 确认 ZOTERO_LOCAL 设置为 false\nexport ZOTERO_LOCAL=\"false\"\n\n模块未找到错误:\n\n# 确保已安装 pyzotero\npipx install pyzotero\n# 或\npip install --user pyzotero\n\n权限错误 (PEP 668 系统):\n\npipx install pyzotero\n\n📖 详细故障排除: INSTALL.md"
      },
      {
        "title": "快速参考",
        "body": "# 设置模式\nexport ZOTERO_LOCAL=\"true\"   # 本地模式 (默认)\nexport ZOTERO_LOCAL=\"false\"  # 在线模式\n\n# 在线模式需要额外设置\nexport ZOTERO_USER_ID=\"your_id\"\nexport ZOTERO_API_KEY=\"your_key\"\n\n# 搜索\npython3 scripts/zotero_tool.py search -q \"topic\"\npython3 scripts/zotero_tool.py search -q \"topic\" --fulltext\npython3 scripts/zotero_tool.py search -q \"topic\" --json\n\n# 列表\npython3 scripts/zotero_tool.py listcollections\npython3 scripts/zotero_tool.py itemtypes\n\n# 获取项目\npython3 scripts/zotero_tool.py item ITEM_KEY\n\n# 过滤\npython3 scripts/zotero_tool.py search -q \"topic\" --itemtype journalArticle\npython3 scripts/zotero_tool.py search --collection ABC123 -q \"topic\"\n\n完整文档:\n\nQUICKSTART.md - 快速入门\nINSTALL.md - 安装详情\nEXAMPLES.md - 使用示例\nREADME.md - 完整概览"
      },
      {
        "title": "脚本说明",
        "body": "本技能提供 Python 脚本 scripts/zotero_tool.py，通过 pyzotero 库与 Zotero 交互:\n\n本地模式 (ZOTERO_LOCAL=\"true\"): 直接连接到运行中的 Zotero 7+ 本地实例\n在线模式 (ZOTERO_LOCAL=\"false\"): 通过 Zotero Web API 访问您的在线库\n\n所有功能与原版 pyzotero-cli 保持一致，但使用 Python 脚本方式调用，更灵活且易于集成到其他 Python 项目中。"
      }
    ],
    "body": "Pyzotero CLI - Python Scripts\n\n使用 Python 脚本调用 pyzotero 库，支持本地 Zotero API 和在线 Web API 两种模式。\n\n快速开始\n# 安装 pyzotero 库\npipx install pyzotero\n\n# 设置环境变量 (可选)\nexport ZOTERO_LOCAL=\"true\"  # 使用本地 API (默认)\n# export ZOTERO_LOCAL=\"false\"  # 使用在线 API\n\n# 搜索库\npython3 scripts/zotero_tool.py search -q \"machine learning\"\n\n# 全文搜索 (包括 PDF)\npython3 scripts/zotero_tool.py search -q \"attention mechanisms\" --fulltext\n\n# 列出所有集合\npython3 scripts/zotero_tool.py listcollections\n\n\n📖 详细指南: QUICKSTART.md\n\n环境变量配置\nZOTERO_LOCAL (必需)\n\n控制使用本地 API 还是在线 API:\n\n值\t模式\t说明\n\"true\" (默认)\t本地模式\t使用本地 Zotero 7+ 的本地 API\n\"false\"\t在线模式\t使用 Zotero Web API\nZOTERO_USER_ID (在线模式必需)\n\n您的 Zotero 用户 ID，在在线模式下需要设置。\n\nZOTERO_API_KEY (在线模式必需)\n\n您的 Zotero API Key，在在线模式下需要设置。\n\n配置示例\n\n本地模式 (推荐):\n\nexport ZOTERO_LOCAL=\"true\"\npython3 scripts/zotero_tool.py search -q \"python\"\n\n\n在线模式:\n\nexport ZOTERO_LOCAL=\"false\"\nexport ZOTERO_USER_ID=\"your_user_id\"\nexport ZOTERO_API_KEY=\"your_api_key\"\npython3 scripts/zotero_tool.py search -q \"python\"\n\n安装\npipx (推荐)\npipx install pyzotero\n\npip (通用)\npip install --user pyzotero\nexport PATH=\"$HOME/.local/bin:$PATH\"\n\n\n📖 完整安装指南: INSTALL.md\n\n前提条件\n本地模式配置\n\n需要在 Zotero 7+ 中启用本地 API:\n\n打开 Zotero 7 (或更新版本)\n进入 编辑 > 首选项 > 高级 (macOS: Zotero > 设置 > 高级)\n勾选 \"允许此计算机上的其他应用程序与 Zotero 通信\"\n重启 Zotero\n在线模式配置\n\n需要获取 API 密钥:\n\n访问 https://www.zotero.org/settings/keys\n点击 \"Create new private key\"\n授予读取权限 (Read access to library and files)\n复制密钥并设置环境变量:\nexport ZOTERO_USER_ID=\"your_user_id\"\nexport ZOTERO_API_KEY=\"your_key\"\n\n核心命令\n命令\t说明\npython3 scripts/zotero_tool.py search -q \"关键词\"\t搜索库\npython3 scripts/zotero_tool.py search --fulltext\t全文搜索 (包括 PDF)\npython3 scripts/zotero_tool.py search --collection ID\t在特定集合中搜索\npython3 scripts/zotero_tool.py listcollections\t列出所有集合\npython3 scripts/zotero_tool.py itemtypes\t列出项目类型\npython3 scripts/zotero_tool.py item KEY\t获取单个项目详情\npython3 scripts/zotero_tool.py add -t \"标题\"\t添加单个项目\npython3 scripts/zotero_tool.py add-from-json file.json\t批量添加项目\npython3 scripts/zotero_tool.py collection-create -n \"名称\"\t创建新集合\npython3 scripts/zotero_tool.py collection-rename KEY -n \"新名\"\t重命名集合\npython3 scripts/zotero_tool.py collection-delete KEY -y\t删除集合\npython3 scripts/zotero_tool.py collection-add-item ITEM -c COLL\t添加项目到集合\npython3 scripts/zotero_tool.py collection-remove-item ITEM -c COLL\t从集合移除项目\npython3 scripts/zotero_tool.py collection-list KEY\t列出集合中的项目\n使用示例\n基本搜索\n# 搜索标题和元数据\npython3 scripts/zotero_tool.py search -q \"machine learning\"\n\n# 短语搜索\npython3 scripts/zotero_tool.py search -q \"\\\"deep learning\\\"\"\n\n全文搜索\n# 在 PDF 和附件中搜索\npython3 scripts/zotero_tool.py search -q \"neural networks\" --fulltext\n\n高级过滤\n# 按项目类型过滤\npython3 scripts/zotero_tool.py search -q \"methodology\" --itemtype book\n\n# 在特定集合中搜索\npython3 scripts/zotero_tool.py search --collection ABC123 -q \"test\"\n\n# 限制结果数量\npython3 scripts/zotero_tool.py search -q \"python\" -l 10\n\n获取项目详情\n# 获取单个项目\npython3 scripts/zotero_tool.py item ABC123XYZ\n\n添加单个项目\n# 添加期刊文章\npython3 scripts/zotero_tool.py add -t \"文章标题\" -a \"FirstName LastName\" -p \"期刊名\" -d \"2024\"\n\n# 添加带 DOI 和标签的文章\npython3 scripts/zotero_tool.py add -t \"AI 在医学中的应用\" -a \"张三\" \"李四\" -p \"中华医学杂志\" -d \"2024\" --doi \"10.xxxx/xxxxx\" --tags AI 医学 machine-learning\n\n# 添加带摘要和 URL 的文章\npython3 scripts/zotero_tool.py add -t \"Python 数据分析\" -a \"王五\" -p \"计算机学报\" -d \"2024\" --url \"https://example.com\" --abstract \"本文介绍了...\" --tags python 数据分析\n\n批量添加项目\n# 从 JSON 文件批量添加\npython3 scripts/zotero_tool.py add-from-json papers.json\n\n# JSON 文件格式示例:\n[\n  {\n    \"itemType\": \"journalArticle\",\n    \"title\": \"文章标题\",\n    \"creators\": [{\"firstName\": \"First\", \"lastName\": \"Last\", \"creatorType\": \"author\"}],\n    \"publicationTitle\": \"期刊名\",\n    \"date\": \"2024\",\n    \"DOI\": \"10.xxxx/xxxxx\",\n    \"tags\": [{\"tag\": \"tag1\", \"type\": 1}],\n    \"abstractNote\": \"摘要\"\n  }\n]\n\n集合管理\n# 创建新集合\npython3 scripts/zotero_tool.py collection-create -n \"新集合名称\"\n\n# 创建子集合\npython3 scripts/zotero_tool.py collection-create -n \"子集合\" -p PARENT_KEY\n\n# 重命名集合\npython3 scripts/zotero_tool.py collection-rename COLLECTION_KEY -n \"新名称\"\n\n# 删除集合（需要确认）\npython3 scripts/zotero_tool.py collection-delete COLLECTION_KEY\npython3 scripts/zotero_tool.py collection-delete COLLECTION_KEY -y  # 跳过确认\n\n# 添加项目到集合\npython3 scripts/zotero_tool.py collection-add-item ITEM_KEY -c COLLECTION_KEY\n\n# 从集合移除项目\npython3 scripts/zotero_tool.py collection-remove-item ITEM_KEY -c COLLECTION_KEY\n\n# 列出集合中的项目\npython3 scripts/zotero_tool.py collection-list COLLECTION_KEY\npython3 scripts/zotero_tool.py collection-list COLLECTION_KEY -l 50  # 显示 50 个\n\n输出格式\n人类可读格式 (默认)\npython3 scripts/zotero_tool.py search -q \"python\"\n\nJSON 输出\n# 输出 JSON 格式\npython3 scripts/zotero_tool.py search -q \"topic\" --json\n\n# 使用 jq 处理\npython3 scripts/zotero_tool.py search -q \"topic\" --json | jq '.[].data.title'\n\n# 保存到文件\npython3 scripts/zotero_tool.py search -q \"topic\" --json > results.json\n\n文档\n文档\t说明\nQUICKSTART.md\t5 分钟快速入门\nINSTALL.md\t详细安装指南\nEXAMPLES.md\t实用使用示例\nREADME.md\t项目概览\n故障排除\n\n本地模式连接错误:\n\n确保 Zotero 正在运行\n启用本地 API: 设置 > 高级 > \"允许此计算机上的其他应用程序与 Zotero 通信\"\n重启 Zotero\n\n\n在线模式认证错误:\n\n# 检查环境变量是否正确设置\necho $ZOTERO_USER_ID\necho $ZOTERO_API_KEY\n\n# 确认 ZOTERO_LOCAL 设置为 false\nexport ZOTERO_LOCAL=\"false\"\n\n\n模块未找到错误:\n\n# 确保已安装 pyzotero\npipx install pyzotero\n# 或\npip install --user pyzotero\n\n\n权限错误 (PEP 668 系统):\n\npipx install pyzotero\n\n\n📖 详细故障排除: INSTALL.md\n\n快速参考\n# 设置模式\nexport ZOTERO_LOCAL=\"true\"   # 本地模式 (默认)\nexport ZOTERO_LOCAL=\"false\"  # 在线模式\n\n# 在线模式需要额外设置\nexport ZOTERO_USER_ID=\"your_id\"\nexport ZOTERO_API_KEY=\"your_key\"\n\n# 搜索\npython3 scripts/zotero_tool.py search -q \"topic\"\npython3 scripts/zotero_tool.py search -q \"topic\" --fulltext\npython3 scripts/zotero_tool.py search -q \"topic\" --json\n\n# 列表\npython3 scripts/zotero_tool.py listcollections\npython3 scripts/zotero_tool.py itemtypes\n\n# 获取项目\npython3 scripts/zotero_tool.py item ITEM_KEY\n\n# 过滤\npython3 scripts/zotero_tool.py search -q \"topic\" --itemtype journalArticle\npython3 scripts/zotero_tool.py search --collection ABC123 -q \"topic\"\n\n\n完整文档:\n\nQUICKSTART.md - 快速入门\nINSTALL.md - 安装详情\nEXAMPLES.md - 使用示例\nREADME.md - 完整概览\n脚本说明\n\n本技能提供 Python 脚本 scripts/zotero_tool.py，通过 pyzotero 库与 Zotero 交互:\n\n本地模式 (ZOTERO_LOCAL=\"true\"): 直接连接到运行中的 Zotero 7+ 本地实例\n在线模式 (ZOTERO_LOCAL=\"false\"): 通过 Zotero Web API 访问您的在线库\n\n所有功能与原版 pyzotero-cli 保持一致，但使用 Python 脚本方式调用，更灵活且易于集成到其他 Python 项目中。"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/killgfat/pyzotero",
    "publisherUrl": "https://clawhub.ai/killgfat/pyzotero",
    "owner": "killgfat",
    "version": "2.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pyzotero",
    "downloadUrl": "https://openagent3.xyz/downloads/pyzotero",
    "agentUrl": "https://openagent3.xyz/skills/pyzotero/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pyzotero/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pyzotero/agent.md"
  }
}