personal-data-hub
由 haojian 提供
Communication简介
Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub.
描述
该技能的功能
Connects to Gmail and GitHub through a local access control gateway that the data owner configures. Agents can pull filtered, redacted data and propose outbound actions, which are staged for owner approval before anything executes. Every pull and propose is logged with an auditable purpose string.
Unlike direct API access, every agent action goes through an approval queue and policy filter, so the agent cannot read fields or send messages the owner hasn't explicitly allowed.
何时使用
- Summarizing unread emails from a specific sender
- Drafting email replies for review before sending
- Querying open GitHub issues assigned to you
- Triaging Q4 report threads without exposing full mailbox contents
- Maintaining an audit trail of what an agent read and why
示例工作流
User asks: Draft a reply to Alice's Q4 report email thanking her for the numbers
- 1
Calls personal_data_pull with source=gmail, query='from:alice subject:Q4 report', purpose='find email to reply to'
- 2
Retrieves filtered email metadata and body per owner policy
- 3
Calls personal_data_propose with action_type=reply_email, recipient, subject, and body populated
- 4
Action is placed in the staging queue, not sent
- 5
Owner reviews and approves the draft at http://localhost:3000
Draft reply queued for owner approval; nothing is sent until the owner confirms
前置要求
- Gmail account (connected via OAuth at http://localhost:3000 after install)
- GitHub account (connected via OAuth at http://localhost:3000 after install)
安装
clawhub install haojian/personal-data-hub运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。