← 返回 Skills 市场
haojian

Personaldatahub

作者 Haojian Jin · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
494
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install personaldatahub
功能描述
Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub access control gateway. Data is filtered, reda...
安全使用建议
What to consider before installing this skill: - Confirm source and trust: The skill's homepage points to a GitHub repo; review that repo and its history before installing. The package will build and may start a local server and create local credentials. - Expect writes and processes: The SKILL.md install steps run pnpm build and npx pdh init/start, which will write config and credentials under ~/.pdh and start a background HTTP service on localhost. If you do not want services started or files written to your home directory, do not run the install commands. - Environment/credentials mismatch: Although the registry lists no required env vars, the code reads PDH_HUB_URL and PDH_API_KEY and ~/.pdh/credentials.json. If you install, verify where API keys and hub URLs are stored and who can read them. - Secret leakage risk: The plugin logs auto-created API keys (api.logger.info). If you allow auto-creation, the key may be emitted to agent logs. Consider rotating/deleting any auto-created key or inspecting logs for exposure. - Install in a sandbox first: Because the install uses pnpm at a parent path (cd ../../) and starts a server, run the install and server inside a container, VM, or isolated environment to confirm behavior before adding it to a production/local agent. - Verify 'cd ../../' intent: The install line's cd ../../ is unusual (it moves out of the plugin directory) — ask the author why this is necessary and whether the command should be run from a particular repository layout. - Prefer explicit configuration: Instead of relying on auto-discovery/auto-creation, consider configuring hubUrl and apiKey explicitly (or set environment variables) so you control where credentials are created and stored. If you want more assurance, ask the maintainer for a detailed install guide, a signed release, or run a code review of the npx pdh package and the repo's build artifacts before enabling the skill in your agent.
功能分析
Type: OpenClaw Skill Name: personaldatahub Version: 0.1.0 The skill is classified as suspicious due to significant discrepancies between the provided `src` (source) and `dist` (compiled) files, particularly concerning API key handling and configuration loading (`src/hub-client.ts` vs `dist/hub-client.js`, `src/index.ts` vs `dist/index.js`, `src/setup.ts` vs `dist/setup.js`). While the `dist` code (which would be executed) appears to implement the stated functionality of interacting with a local PersonalDataHub and includes security features like API key authentication and owner approval for actions, the lack of transparency and reproducibility between `src` and `dist` is a critical supply chain vulnerability. Additionally, the `SKILL.md`'s `install` command includes `cd ../../`, which is an overly broad directory change that could lead to unintended side effects during installation, although the subsequent commands (`pnpm install`, `npx pdh init`, `npx pdh start`) are specific to the stated purpose.
能力评估
Purpose & Capability
The plugin's code (dist/*) implements a client and tools to pull data and propose actions via a PersonalDataHub HTTP API — this aligns with the description. However, the registry metadata declares no required env vars or credentials while the code supports/reads PDH_HUB_URL, PDH_API_KEY, and ~/.pdh/credentials.json (config resolution). That mismatch between declared requirements and actual config resolution is unexpected and should be clarified.
Instruction Scope
SKILL.md and the code instruct the agent/installer to read and write files under ~/.pdh (config/credentials), probe localhost URLs, create API keys via POST /api/keys, and start a local server (npx pdh start or node dist/index.js). These actions go beyond simple read-only queries: they create credentials, persist configuration to disk, and start background services — all of which are within the skill's purpose but are sensitive operations that the skill did not advertize in the registry metadata.
Install Mechanism
There is no registry-level install spec, but SKILL.md includes an 'install' command that runs: cd ../../ && pnpm install && pnpm build && npx pdh init "OpenClaw Agent" && npx pdh start. Running pnpm in a parent directory (cd ../../) is unusual and risky (may install dependencies outside the plugin sandbox). The install flow writes config (~/.pdh), builds code, and starts a server — this will write files and run code locally. No external, untrusted download URLs are present, but the install performs non-trivial disk and process operations.
Credentials
The package does not declare required env vars in registry metadata, yet the runtime code checks PDH_HUB_URL and PDH_API_KEY, reads ~/.pdh/credentials.json, and can auto-create API keys. The plugin also logs auto-created API keys via api.logger.info, which risks leaking secrets into logs. Asking for or creating an API key and then printing it is disproportionate unless the user explicitly expects/consents to local key creation and understands logging implications.
Persistence & Privilege
The skill does not request always:true; it registers tools and appends a system prompt via a before_agent_start hook (normal behaviour for a data-access plugin). The main privilege is that the skill can auto-discover localhost, create API keys, persist credentials to ~/.pdh, and start a local server — persistent artifacts are created on disk and a background service may be started during install. That persistence is expected for a local gateway, but it is a noticeable system presence and should be consented to by the user.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install personaldatahub
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /personaldatahub 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of PersonalDataHub. - Enables secure access to personal data from Gmail, GitHub, and other sources via an access control gateway. - Data access and outbound actions are filtered, redacted, and staged based on owner-defined policies. - Supports pulling emails, drafting/replying/sending emails, and searching GitHub issues and pull requests (all require respective OAuth connections). - All outbound actions require explicit owner approval before execution. - Includes MCP server for tool discovery and fallback to direct API usage. - Automated setup and configuration for easy installation and integration.
元数据
Slug personaldatahub
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Personaldatahub 是什么?

Pull personal data (emails, issues) and propose outbound actions (drafts, replies) through the PersonalDataHub access control gateway. Data is filtered, reda... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 494 次。

如何安装 Personaldatahub?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install personaldatahub」即可一键安装,无需额外配置。

Personaldatahub 是免费的吗?

是的,Personaldatahub 完全免费(开源免费),可自由下载、安装和使用。

Personaldatahub 支持哪些平台?

Personaldatahub 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Personaldatahub?

由 Haojian Jin(@haojian)开发并维护,当前版本 v0.1.0。

💬 留言讨论