personal-data-hub
by haojian
CommunicationBrief
Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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
Requirements
- Gmail account (connected via OAuth at http://localhost:3000 after install)
- GitHub account (connected via OAuth at http://localhost:3000 after install)
Installation
clawhub install haojian/personal-data-hubRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.