Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计提醒

personaldatahubpersonaldatahub 控制

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

14,643

周安装

629

GitHub Stars

公开资料未说明

下载量

5,133
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:personaldatahub(personaldatahub 控制)
来源仓库:https://github.com/haojian/personaldatahub
安装命令:
openclaw skills install personaldatahub
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install personaldatahub

简介

用于访问控制网关提取个人数据并提出出站操作。

  • 适合处理电子邮件、问题草稿等个人信息管理。
  • 数据经过过滤与编辑,确保合规性。personaldatahub 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install personaldatahub,需确认脱敏边界。
  • 注意权限范围,避免批量写回或导出未授权数据。

SKILL.md

name
PersonalDataHub
description
Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub access control gateway. Data is filtered, redacted, and shaped by the owner's policy before reaching the agent.
version
0.1.0
skillKey
personaldatahub
emoji
🔐
homepage
https://github.com/AISmithLab/PersonalDataHub
os
darwin, linux, win32
install
cd ../../ && pnpm install && pnpm build && npx pdh init "OpenClaw Agent" && npx pdh start
metadata
{}
always
false

PersonalDataHub

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.

MCP Setup (Recommended)

PersonalDataHub provides an MCP server for native tool discovery. Add to your Claude Code config (.claude/settings.json):

{
  "mcpServers": {
    "personaldatahub": {
      "command": "npx",
      "args": ["pdh", "mcp"]
    }
  }
}

This registers source-specific tools dynamically — only sources with connected OAuth tokens get tools.

Tools

read_emails

*(Gmail — requires connected Gmail OAuth)*

Pull emails from Gmail. Data is filtered and redacted according to the owner's access control policy.

Parameters:

  • purpose (required) — Why this data is needed (logged for audit)
  • query (optional) — Gmail search query (e.g., "is:unread from:alice newer_than:7d")
  • limit (optional) — Maximum number of results

Example:

Pull my recent unread emails about the Q4 report.

draft_email

*(Gmail — requires connected Gmail OAuth)*

Draft an email via Gmail. The draft is staged for the data owner to review — it does NOT send until approved.

Parameters:

  • to (required) — Recipient email address
  • subject (required) — Email subject
  • body (required) — Email body
  • purpose (required) — Why this action is being proposed (logged for audit)
  • in_reply_to (optional) — Message ID for threading

send_email

*(Gmail — requires connected Gmail OAuth)*

Send an email via Gmail. The action is staged for the data owner to review — it does NOT execute until approved.

Parameters:

  • to (required) — Recipient email address
  • subject (required) — Email subject
  • body (required) — Email body
  • purpose (required) — Why this action is being proposed (logged for audit)
  • in_reply_to (optional) — Message ID for threading

reply_to_email

*(Gmail — requires connected Gmail OAuth)*

Reply to an email via Gmail. The reply is staged for the data owner to review — it does NOT send until approved.

Parameters:

  • to (required) — Recipient email address
  • subject (required) — Email subject
  • body (required) — Email body
  • in_reply_to (required) — Message ID of the email being replied to
  • purpose (required) — Why this action is being proposed (logged for audit)

search_github_issues

*(GitHub — requires connected GitHub OAuth)*

Search GitHub issues. Data is filtered according to the owner's access control policy.

Parameters:

  • purpose (required) — Why this data is needed (logged for audit)
  • query (optional) — Search query for issues
  • limit (optional) — Maximum number of results

search_github_prs

*(GitHub — requires connected GitHub OAuth)*

Search GitHub pull requests. Data is filtered according to the owner's access control policy.

Parameters:

  • purpose (required) — Why this data is needed (logged for audit)
  • query (optional) — Search query for pull requests
  • limit (optional) — Maximum number of results

Direct API Fallback

If the MCP tools above are not available, you can call the PersonalDataHub API directly via HTTP.

Config: Read ~/.pdh/config.json to get hubUrl.

Pull data:

curl -X POST <hubUrl>/app/v1/pull \
  -H "Content-Type: application/json" \
  -d '{"source": "gmail", "purpose": "reason for pulling data"}'

Propose an action:

curl -X POST <hubUrl>/app/v1/propose \
  -H "Content-Type: application/json" \
  -d '{"source": "gmail", "action_type": "draft_email", "action_data": {"to": "...", "subject": "...", "body": "..."}, "purpose": "reason for action"}'

Troubleshooting

If calls fail, check if the PersonalDataHub server is running:

curl <hubUrl>/health

If the server is not running, find and start it:

# Check where PersonalDataHub is installed
cat ~/.pdh/config.json   # look at hubDir
# Start the server
cd <hubDir> && node dist/index.js

Setup

The install hook bootstraps PersonalDataHub automatically:

  1. Installs dependencies, builds the project, initializes the database
  2. Saves hub URL and directory to ~/.pdh/config.json
  3. Starts the server in the background

After installation, open http://localhost:3000 to connect Gmail/GitHub via OAuth.

Agents read config automatically from ~/.pdh/config.json — no manual configuration needed.

Query Syntax (Gmail)

  • is:unread — unread emails
  • from:alice — emails from Alice
  • newer_than:7d — emails from the last 7 days
  • subject:report — emails with "report" in subject
  • Combine: is:unread from:alice newer_than:7d

Important Notes

  • Data is filtered: The owner controls which fields you see. Some fields may be missing or redacted.
  • Actions require approval: All outbound actions (emails, drafts) go to a staging queue. The owner must approve before execution.
  • Everything is audited: Every pull and propose is logged with your purpose string.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.17%
按下载量换算4,474

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills