Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

diy-pc-ingest

БесплатноЗапускает вложенные скриптыНе проверен

Ingest pasted PC parts receipts or specs into Notion DIY_PC tables with classification, enrichment, verified upsert, and provisional records when serials are…

nextaltairот nextaltair1 661 установка в других каталогах

Об этом скилле

diy-pc-ingest

Setup (required)

This skill is intended to be shared. Do not hardcode your Notion IDs or token in the skill.

Resolve and read the installed Notion dependency before execution:

  • Its model-facing skill name is notion; its ClawHub package slug is notion-api-automation. Read it with skills_read(name="notion"). If unavailable, use skills_search to locate an eligible Notion CLI skill and read its complete instructions. A slug or directory name is not a skill name.
  • Use the returned SKILL.md location to resolve scripts/notionctl.mjs on the same execution host as this skill. Do not assume both skills share a parent directory: workspace, grouped, managed, extra and revision paths can differ.
  • Pass that absolute CLI path with --notionctl-path (preferred) or set the non-secret NOTIONCTL_PATH environment variable. Explicit paths take priority over the legacy sibling/scoped-root fallback; invalid explicit paths fail without searching another route.
  • Check node <resolved-notionctl-path> --help for api, --compact, --method, --path and --body-json. The API bridge must return {ok:true,result:...}. Discovery/metadata does not guarantee this capability. Do not reinstall a working dependency just because this skill was updated.

Only if the dependency is missing, use OpenClaw's install path for the intended agent (replace <agent-id> with the configured agent, not a human profile ID):

openclaw skills install @tristanmanchester/notion-api-automation --agent <agent-id>

OpenClaw does not enforce cross-skill dependencies or optional environment variables through dependsOnSkills, optionalEnv or network metadata fields. The checks above and the data-flow rules below are part of this skill's procedure.

  1. Read the DIY-PC Notion Targets table in the workspace AGENTS.md ## Tools section for the data_source_id and database_id values for each target. Pass them as explicit CLI arguments:
  • --pcconfig-dsid, --pcconfig-dbid
  • --pcinput-dsid, --pcinput-dbid
  • --storage-dsid, --storage-dbid
  • --enclosure-dsid, --enclosure-dbid
  1. Provide Notion auth for notion-api-automation (notionctl):
  • env: NOTION_API_KEY (legacy shell/service env remains supported)
  • OpenClaw config: skills.entries["diy-pc-ingest"].apiKey

apiKey is associated with metadata.openclaw.primaryEnv and is injected as NOTION_API_KEY for the host agent run. Use an OpenClaw SecretRef supported by the local gateway (env, file, exec, etc.). Do not hardcode provider-specific secret paths in this shared skill.

Example SecretRef shape:

{
  skills: {
    entries: {
      "diy-pc-ingest": {
        apiKey: { source: "exec", provider: "your_notion_secret_provider", id: "value" }
      }
    }
  }
}

Notes:

  • The dependency must use Notion-Version 2025-09-03.
  • NOTIONCTL_PATH is an optional, non-secret path override. The dependency CLI can also accept NOTION_TOKEN / NOTION_API_TOKEN, but this skill's OpenClaw readiness gate still requires NOTION_API_KEY or the configured apiKey.
  • Auth injection is scoped to the host agent run, not automatically to a sandbox or a different node. Use the configured execution host and credential delivery; do not copy secrets across hosts to make a missing gate pass.
  • Preserve host-injected auth/proxy environment; never extract credentials into chat, commands, logs or shell variables.

Data flow disclosure

  • Local input: pasted receipts/spec notes are parsed locally.
  • External enrichment (optional): web_search/web_fetch may send partial product text to external web providers.
  • Notion write path: records are queried/upserted via notion-api-automation/scripts/notionctl.mjs.

Security rules:

  • If user does not want external enrichment, skip web_search/web_fetch and proceed with local extraction only.
  • Use minimal-scope Notion integration permissions (only target DIY_PC data sources).

Canonical Notion targets

Use data_sources endpoints for schema/query, and pages endpoint for row creation.

IDs are documented in the DIY-PC Notion Targets table in the workspace AGENTS.md ## Tools section. Pass them as CLI arguments at runtime. See references/notion-ids.md for lookup and parent-ID rules.

Workflow (A: user pastes raw text)

  1. Read the pasted text and decide target table per item:

    • エンクロージャー: USB/RAID/HDDケース/ドック、ベイ数、JAN/型番、"安全な取り外し"表示名。
    • ストレージ: HDD/SSD/NVMe/SATA/容量/シリアル/健康状態。
    • PCConfig: CPU/GPU/RAM/PSU/MB/ケース/冷却/NIC/キャプチャ等。
  2. Extract fields (best-effort). Prefer Japanese column names as they exist in each table.

  3. Enrich specs using web_search/web_fetch when it reduces user work (e.g., bay count, interface, capacity, form factor). Keep it minimal; don't overfill.

  4. Ask follow-up questions only for fields needed to avoid ambiguity or bad joins.

    • ストレージ / PCInput: S
Полный SKILL.md на ClawHub

Установить diy-pc-ingest в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл diy-pc-ingest?

Ingest pasted PC parts receipts or specs into Notion DIY_PC tables with classification, enrichment, verified upsert, and provisional records when serials are unknown.

Как установить скилл diy-pc-ingest?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл diy-pc-ingest запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить diy-pc-ingest с