personaldatahub
by haojian
CommunicationBrief
Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub.
Description
What This Skill Does
PersonalDataHub is an access control gateway that sits between AI agents and personal data sources like Gmail and GitHub. The data owner configures which fields are visible, what gets redacted, and which actions an agent can propose. All reads are logged and outbound actions are staged in an approval queue before executing.
Agents get access to real personal data without seeing raw credentials or unredacted content, because the gateway enforces owner-defined policies on every read and proposed action.
When to Use It
- Summarizing unread emails from a specific sender
- Drafting a reply to a manager's email for review before sending
- Searching open GitHub issues assigned to you
- Queuing outbound emails an agent proposes without auto-sending
- Auditing what data an agent accessed and why
Example Workflow
User asks: Find my unread emails about the Q4 report and draft a reply to the most recent one
- 1
Calls read_emails with query 'is:unread subject:Q4 report' and a logged purpose string
- 2
Receives filtered email data shaped by the owner's access control policy
- 3
Identifies the most recent matching thread
- 4
Calls draft_email with recipient, subject, body, and in_reply_to fields
- 5
Draft is staged in PersonalDataHub's approval queue, not sent
A draft reply is queued for owner review at the PersonalDataHub approval interface
Requirements
- Gmail account connected via OAuth through PersonalDataHub setup at http://localhost:3000
- GitHub account connected via OAuth through PersonalDataHub setup at http://localhost:3000
Installation
clawhub install haojian/personaldatahubRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.