{
  "schemaVersion": "1.0",
  "item": {
    "slug": "personaldatahub",
    "name": "Personaldatahub",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/haojian/personaldatahub",
    "canonicalUrl": "https://clawhub.ai/haojian/personaldatahub",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/personaldatahub",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=personaldatahub",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "dist/hub-client.d.ts",
      "dist/hub-client.js",
      "dist/index.d.ts",
      "dist/index.js",
      "dist/prompts.d.ts"
    ],
    "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/personaldatahub"
    },
    "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/personaldatahub",
    "agentPageUrl": "https://openagent3.xyz/skills/personaldatahub/agent",
    "manifestUrl": "https://openagent3.xyz/skills/personaldatahub/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/personaldatahub/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": "PersonalDataHub",
        "body": "Access personal data from Gmail, GitHub, and other sources through the PersonalDataHub access control gateway. The data owner controls what the agent can see, which fields are visible, what gets redacted, and which actions are allowed."
      },
      {
        "title": "MCP Setup (Recommended)",
        "body": "PersonalDataHub provides an MCP server for native tool discovery. Add to your Claude Code config (.claude/settings.json):\n\n{\n  \"mcpServers\": {\n    \"personaldatahub\": {\n      \"command\": \"npx\",\n      \"args\": [\"pdh\", \"mcp\"]\n    }\n  }\n}\n\nThis registers source-specific tools dynamically — only sources with connected OAuth tokens get tools."
      },
      {
        "title": "read_emails",
        "body": "(Gmail — requires connected Gmail OAuth)\n\nPull emails from Gmail. Data is filtered and redacted according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Gmail search query (e.g., \"is:unread from:alice newer_than:7d\")\nlimit (optional) — Maximum number of results\n\nExample:\n\nPull my recent unread emails about the Q4 report."
      },
      {
        "title": "draft_email",
        "body": "(Gmail — requires connected Gmail OAuth)\n\nDraft an email via Gmail. The draft is staged for the data owner to review — it does NOT send until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\npurpose (required) — Why this action is being proposed (logged for audit)\nin_reply_to (optional) — Message ID for threading"
      },
      {
        "title": "send_email",
        "body": "(Gmail — requires connected Gmail OAuth)\n\nSend an email via Gmail. The action is staged for the data owner to review — it does NOT execute until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\npurpose (required) — Why this action is being proposed (logged for audit)\nin_reply_to (optional) — Message ID for threading"
      },
      {
        "title": "reply_to_email",
        "body": "(Gmail — requires connected Gmail OAuth)\n\nReply to an email via Gmail. The reply is staged for the data owner to review — it does NOT send until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\nin_reply_to (required) — Message ID of the email being replied to\npurpose (required) — Why this action is being proposed (logged for audit)"
      },
      {
        "title": "search_github_issues",
        "body": "(GitHub — requires connected GitHub OAuth)\n\nSearch GitHub issues. Data is filtered according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Search query for issues\nlimit (optional) — Maximum number of results"
      },
      {
        "title": "search_github_prs",
        "body": "(GitHub — requires connected GitHub OAuth)\n\nSearch GitHub pull requests. Data is filtered according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Search query for pull requests\nlimit (optional) — Maximum number of results"
      },
      {
        "title": "Direct API Fallback",
        "body": "If the MCP tools above are not available, you can call the PersonalDataHub API directly via HTTP.\n\nConfig: Read ~/.pdh/config.json to get hubUrl.\n\nPull data:\n\ncurl -X POST <hubUrl>/app/v1/pull \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"source\": \"gmail\", \"purpose\": \"reason for pulling data\"}'\n\nPropose an action:\n\ncurl -X POST <hubUrl>/app/v1/propose \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"source\": \"gmail\", \"action_type\": \"draft_email\", \"action_data\": {\"to\": \"...\", \"subject\": \"...\", \"body\": \"...\"}, \"purpose\": \"reason for action\"}'"
      },
      {
        "title": "Troubleshooting",
        "body": "If calls fail, check if the PersonalDataHub server is running:\n\ncurl <hubUrl>/health\n\nIf the server is not running, find and start it:\n\n# Check where PersonalDataHub is installed\ncat ~/.pdh/config.json   # look at hubDir\n# Start the server\ncd <hubDir> && node dist/index.js"
      },
      {
        "title": "Setup",
        "body": "The install hook bootstraps PersonalDataHub automatically:\n\nInstalls dependencies, builds the project, initializes the database\nSaves hub URL and directory to ~/.pdh/config.json\nStarts the server in the background\n\nAfter installation, open http://localhost:3000 to connect Gmail/GitHub via OAuth.\n\nAgents read config automatically from ~/.pdh/config.json — no manual configuration needed."
      },
      {
        "title": "Query Syntax (Gmail)",
        "body": "is:unread — unread emails\nfrom:alice — emails from Alice\nnewer_than:7d — emails from the last 7 days\nsubject:report — emails with \"report\" in subject\nCombine: is:unread from:alice newer_than:7d"
      },
      {
        "title": "Important Notes",
        "body": "Data is filtered: The owner controls which fields you see. Some fields may be missing or redacted.\nActions require approval: All outbound actions (emails, drafts) go to a staging queue. The owner must approve before execution.\nEverything is audited: Every pull and propose is logged with your purpose string."
      }
    ],
    "body": "PersonalDataHub\n\nAccess personal data from Gmail, GitHub, and other sources through the PersonalDataHub access control gateway. The data owner controls what the agent can see, which fields are visible, what gets redacted, and which actions are allowed.\n\nMCP Setup (Recommended)\n\nPersonalDataHub provides an MCP server for native tool discovery. Add to your Claude Code config (.claude/settings.json):\n\n{\n  \"mcpServers\": {\n    \"personaldatahub\": {\n      \"command\": \"npx\",\n      \"args\": [\"pdh\", \"mcp\"]\n    }\n  }\n}\n\n\nThis registers source-specific tools dynamically — only sources with connected OAuth tokens get tools.\n\nTools\nread_emails\n\n(Gmail — requires connected Gmail OAuth)\n\nPull emails from Gmail. Data is filtered and redacted according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Gmail search query (e.g., \"is:unread from:alice newer_than:7d\")\nlimit (optional) — Maximum number of results\n\nExample:\n\nPull my recent unread emails about the Q4 report.\n\ndraft_email\n\n(Gmail — requires connected Gmail OAuth)\n\nDraft an email via Gmail. The draft is staged for the data owner to review — it does NOT send until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\npurpose (required) — Why this action is being proposed (logged for audit)\nin_reply_to (optional) — Message ID for threading\nsend_email\n\n(Gmail — requires connected Gmail OAuth)\n\nSend an email via Gmail. The action is staged for the data owner to review — it does NOT execute until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\npurpose (required) — Why this action is being proposed (logged for audit)\nin_reply_to (optional) — Message ID for threading\nreply_to_email\n\n(Gmail — requires connected Gmail OAuth)\n\nReply to an email via Gmail. The reply is staged for the data owner to review — it does NOT send until approved.\n\nParameters:\n\nto (required) — Recipient email address\nsubject (required) — Email subject\nbody (required) — Email body\nin_reply_to (required) — Message ID of the email being replied to\npurpose (required) — Why this action is being proposed (logged for audit)\nsearch_github_issues\n\n(GitHub — requires connected GitHub OAuth)\n\nSearch GitHub issues. Data is filtered according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Search query for issues\nlimit (optional) — Maximum number of results\nsearch_github_prs\n\n(GitHub — requires connected GitHub OAuth)\n\nSearch GitHub pull requests. Data is filtered according to the owner's access control policy.\n\nParameters:\n\npurpose (required) — Why this data is needed (logged for audit)\nquery (optional) — Search query for pull requests\nlimit (optional) — Maximum number of results\nDirect API Fallback\n\nIf the MCP tools above are not available, you can call the PersonalDataHub API directly via HTTP.\n\nConfig: Read ~/.pdh/config.json to get hubUrl.\n\nPull data:\n\ncurl -X POST <hubUrl>/app/v1/pull \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"source\": \"gmail\", \"purpose\": \"reason for pulling data\"}'\n\n\nPropose an action:\n\ncurl -X POST <hubUrl>/app/v1/propose \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"source\": \"gmail\", \"action_type\": \"draft_email\", \"action_data\": {\"to\": \"...\", \"subject\": \"...\", \"body\": \"...\"}, \"purpose\": \"reason for action\"}'\n\nTroubleshooting\n\nIf calls fail, check if the PersonalDataHub server is running:\n\ncurl <hubUrl>/health\n\n\nIf the server is not running, find and start it:\n\n# Check where PersonalDataHub is installed\ncat ~/.pdh/config.json   # look at hubDir\n# Start the server\ncd <hubDir> && node dist/index.js\n\nSetup\n\nThe install hook bootstraps PersonalDataHub automatically:\n\nInstalls dependencies, builds the project, initializes the database\nSaves hub URL and directory to ~/.pdh/config.json\nStarts the server in the background\n\nAfter installation, open http://localhost:3000 to connect Gmail/GitHub via OAuth.\n\nAgents read config automatically from ~/.pdh/config.json — no manual configuration needed.\n\nQuery Syntax (Gmail)\nis:unread — unread emails\nfrom:alice — emails from Alice\nnewer_than:7d — emails from the last 7 days\nsubject:report — emails with \"report\" in subject\nCombine: is:unread from:alice newer_than:7d\nImportant Notes\nData is filtered: The owner controls which fields you see. Some fields may be missing or redacted.\nActions require approval: All outbound actions (emails, drafts) go to a staging queue. The owner must approve before execution.\nEverything is audited: Every pull and propose is logged with your purpose string."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/haojian/personaldatahub",
    "publisherUrl": "https://clawhub.ai/haojian/personaldatahub",
    "owner": "haojian",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/personaldatahub",
    "downloadUrl": "https://openagent3.xyz/downloads/personaldatahub",
    "agentUrl": "https://openagent3.xyz/skills/personaldatahub/agent",
    "manifestUrl": "https://openagent3.xyz/skills/personaldatahub/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/personaldatahub/agent.md"
  }
}