{
  "schemaVersion": "1.0",
  "item": {
    "slug": "notion-api",
    "name": "Notion API Tools",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/timenotspace/notion-api",
    "canonicalUrl": "https://clawhub.ai/timenotspace/notion-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/notion-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=notion-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/notion-api.mjs"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/notion-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/notion-api",
    "agentPageUrl": "https://openagent3.xyz/skills/notion-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/notion-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/notion-api/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "notion-api (generic)",
        "body": "This skill provides a small Node-based CLI for the Notion API. It’s designed to be shareable: no hard-coded database IDs and no secrets in the repo."
      },
      {
        "title": "Auth",
        "body": "Provide a Notion integration token via either:\n\nNOTION_KEY env var, or\n~/.config/notion/api_key (first line)\n\nAlso make sure the target pages/databases are shared with your integration in Notion."
      },
      {
        "title": "Commands (CLI)",
        "body": "Run via:\n\nnode scripts/notion-api.mjs <command> ..."
      },
      {
        "title": "Search",
        "body": "node scripts/notion-api.mjs search \"query\" --page-size 10"
      },
      {
        "title": "Query a data source (database query)",
        "body": "node scripts/notion-api.mjs query --data-source-id <DATA_SOURCE_ID> --page-size 10\n# optionally pass raw JSON body:\nnode scripts/notion-api.mjs query --data-source-id <ID> --body '{\"filter\": {...}, \"sorts\": [...], \"page_size\": 10}'"
      },
      {
        "title": "Create a page in a database",
        "body": "node scripts/notion-api.mjs create-page --database-id <DATABASE_ID> --title \"My item\" --title-prop Name"
      },
      {
        "title": "Output",
        "body": "All commands print JSON to stdout."
      },
      {
        "title": "Notes",
        "body": "Notion API version header defaults to 2025-09-03 (override with NOTION_VERSION).\nRate limits apply; prefer page_size and minimal calls."
      }
    ],
    "body": "notion-api (generic)\n\nThis skill provides a small Node-based CLI for the Notion API. It’s designed to be shareable: no hard-coded database IDs and no secrets in the repo.\n\nAuth\n\nProvide a Notion integration token via either:\n\nNOTION_KEY env var, or\n~/.config/notion/api_key (first line)\n\nAlso make sure the target pages/databases are shared with your integration in Notion.\n\nCommands (CLI)\n\nRun via:\n\nnode scripts/notion-api.mjs <command> ...\nSearch\nnode scripts/notion-api.mjs search \"query\" --page-size 10\n\nQuery a data source (database query)\nnode scripts/notion-api.mjs query --data-source-id <DATA_SOURCE_ID> --page-size 10\n# optionally pass raw JSON body:\nnode scripts/notion-api.mjs query --data-source-id <ID> --body '{\"filter\": {...}, \"sorts\": [...], \"page_size\": 10}'\n\nCreate a page in a database\nnode scripts/notion-api.mjs create-page --database-id <DATABASE_ID> --title \"My item\" --title-prop Name\n\nOutput\n\nAll commands print JSON to stdout.\n\nNotes\nNotion API version header defaults to 2025-09-03 (override with NOTION_VERSION).\nRate limits apply; prefer page_size and minimal calls."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/timenotspace/notion-api",
    "publisherUrl": "https://clawhub.ai/timenotspace/notion-api",
    "owner": "timenotspace",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/notion-api",
    "downloadUrl": "https://openagent3.xyz/downloads/notion-api",
    "agentUrl": "https://openagent3.xyz/skills/notion-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/notion-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/notion-api/agent.md"
  }
}