← 返回 Skills 市场
1205
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install openclaw-skill-diy-pc-ingest
功能描述
Ingest pasted PC parts purchase/config text (Discord message receipts, bullet lists) into Notion DIY_PC tables (PCConfig, ストレージ, エンクロージャー, PCInput). Use when the user pastes raw purchase logs/spec notes and wants the AI to classify, enrich via web search, ask follow-up questions for unknowns, and then upsert rows into the correct Notion data sources using the 2025-09-03 data_sources API.
安全使用建议
This skill appears to do what it claims: parse pasted PC part text and upsert rows into Notion. Before installing or running it:
- Provide a dedicated Notion integration token (NOTION_API_KEY) with only the necessary DB/page access; do not reuse high-privilege tokens.
- Be aware the skill will write ~/.config/diy-pc-ingest/config.json when bootstrapping IDs and may read ~/.config/notion/api_key or other env-vars (DIY_PC_INGEST_CONFIG, NOTION_API_KEY_FILE). Inspect that config and remove any secrets before sharing.
- Review scripts/notion_apply_records.js and bootstrap_config.js (they are readable JS) to confirm behavior and to see what fields will be sent to Notion.
- If you want to limit network exposure, run the skill in a controlled environment or temporarily restrict the integration's access while testing.
- Because registry metadata omitted required env/config declarations, treat the omission as an informational mismatch (not necessarily malicious) and confirm you can supply the required NOTION_API_KEY and local config before enabling the skill.
功能分析
Type: OpenClaw Skill
Name: openclaw-skill-diy-pc-ingest
Version: 2.0.1
The skill is designed to ingest PC parts data into Notion databases, which is a legitimate purpose. However, the `SKILL.md` explicitly instructs the AI agent to use `web_search/web_fetch` for data enrichment. While the stated intent is benign, this capability allows the agent to make arbitrary external network requests, which presents a significant vulnerability for prompt injection or data exfiltration if the agent is compromised or given a malicious prompt. The underlying Python and Node.js scripts (`scripts/notion_apply_records.py`, `scripts/notion_apply_records.js`) are otherwise clean, interacting only with the legitimate Notion API and local configuration files, and do not show signs of intentional malice or unauthorized actions beyond their stated purpose.
能力评估
Purpose & Capability
The skill is clearly designed to parse/classify user-pasted PC part text and upsert rows into Notion — the bundled JS/Python scripts call the Notion API and use the 2025-09-03 data_sources/pages endpoints as described. However, the registry metadata claims no required environment variables or config paths, while the SKILL.md and scripts require a Notion token (NOTION_API_KEY or NOTION_TOKEN and fallback file NOTION_API_KEY_FILE) and local config (~/.config/diy-pc-ingest/config.json). That mismatch is an administrative/information omission but not malicious.
Instruction Scope
SKILL.md confines runtime behavior to classifying/extracting fields from pasted text, optionally enriching via web_search/web_fetch, asking clarifying questions, and then calling scripts/notion_apply_records.js to upsert into Notion. The scripts themselves are deterministic and only perform Notion queries/patches/creates. There is no instruction to read unrelated sensitive system files or exfiltrate data to unknown endpoints (all network calls target api.notion.com).
Install Mechanism
There is no install spec (instruction-only skill) and bundled code is plain JS/Python source. No remote downloads or opaque binaries are pulled during install. The only persistence is writing a local config file under the user's home (~/.config/diy-pc-ingest/config.json) via bootstrap behavior.
Credentials
The skill requires a Notion integration token (NOTION_API_KEY/NOTION_TOKEN) to function and may read/write local files (NOTION_API_KEY_FILE, DIY_PC_INGEST_CONFIG, and ~/.config/diy-pc-ingest/config.json). Those are proportional to the stated Notion-upsert purpose, but the registry metadata did not declare these required env vars or config paths — verify you supply a dedicated limited-scope Notion integration token and manage the local config carefully.
Persistence & Privilege
always:false (no forced always-on). The skill will create/overwrite ~/.config/diy-pc-ingest/config.json when bootstrapping Notion IDs if the config is missing, and it will read token files from ~/.config/notion/api_key if used. This is reasonable for convenience but users should be aware of and control that file creation and the token source. The skill does not modify other skills' configs or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-skill-diy-pc-ingest - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-skill-diy-pc-ingest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
- No functional or documentation changes in this release.
- Version bump only; content remains identical to the previous version.
v2.0.0
Version 2.0.0 of openclaw-skill-diy-pc-ingest:
- Migrated Notion upsert/apply script to Node.js (`scripts/notion_apply_records.js`) as the new default.
- Added support for control fields in JSONL input: `page_id`, `archive`, and `overwrite`.
- Introduced optional flag `mirror_to_pcconfig` to allow storage records to also update linked PCConfig rows.
- Retained the legacy Python implementation in a `_deprecated` directory for reference.
- Updated documentation in SKILL.md for new script, fields, and usage details.
- Removed the original Python upsert script from the main scripts directory.
v1.0.1
diy-pc-ingest 1.0.1: Initial release for ingesting DIY PC parts lists into Notion tables.
- Parses raw PC parts purchase/configuration text and maps items to the correct Notion DIY_PC tables (PCConfig, ストレージ, エンクロージャー, PCInput).
- Extracts and enriches fields using web search when useful, while minimizing unnecessary data filling.
- Asks follow-up questions only for ambiguous or required fields to ensure correct data mapping.
- Upserts data into Notion using the 2025-09-03 data_sources API, handling creation, update, and safe deduplication based on configurable key rules.
- Does not hardcode Notion IDs or tokens; requires user setup via config file.
元数据
常见问题
Diy Pc Ingest 是什么?
Ingest pasted PC parts purchase/config text (Discord message receipts, bullet lists) into Notion DIY_PC tables (PCConfig, ストレージ, エンクロージャー, PCInput). Use when the user pastes raw purchase logs/spec notes and wants the AI to classify, enrich via web search, ask follow-up questions for unknowns, and then upsert rows into the correct Notion data sources using the 2025-09-03 data_sources API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1205 次。
如何安装 Diy Pc Ingest?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-skill-diy-pc-ingest」即可一键安装,无需额外配置。
Diy Pc Ingest 是免费的吗?
是的,Diy Pc Ingest 完全免费(开源免费),可自由下载、安装和使用。
Diy Pc Ingest 支持哪些平台?
Diy Pc Ingest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Diy Pc Ingest?
由 Altair(@nextaltair)开发并维护,当前版本 v2.0.1。
推荐 Skills