{
  "schemaVersion": "1.0",
  "item": {
    "slug": "notion-cli",
    "name": "Notion Manager",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/willykinfoussia/notion-cli",
    "canonicalUrl": "https://clawhub.ai/willykinfoussia/notion-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/notion-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=notion-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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-cli"
    },
    "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-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/notion-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/notion-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/notion-cli/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "notion",
        "body": "Use notion-cli to create/read/update pages, data sources (databases), and blocks."
      },
      {
        "title": "Setup",
        "body": "Install notion-cli: npm install -g @iansinnott/notion-cli\nCreate an integration at https://notion.so/my-integrations\nCopy the API key (starts with ntn_ or secret_)\nStore it:\n\nmkdir -p ~/.config/notion\necho \"ntn_your_key_here\" > ~/.config/notion/api_key\n\n\nShare target pages/databases with your integration (click \"...\" → \"Connect to\" → your integration name)"
      },
      {
        "title": "Usage",
        "body": "All commands require the NOTION_TOKEN environment variable to be set:\n\nexport NOTION_TOKEN=$(cat ~/.config/notion/api_key)"
      },
      {
        "title": "Common Operations",
        "body": "Search for pages and data sources:\nnotion-cli search --query \"page title\"\n\n\nGet page:\nnotion-cli page retrieve <PAGE_ID>\n\n\nGet page content (blocks):\nnotion-cli page retrieve <PAGE_ID> -r\n\n\nCreate page in a database:\ncurl -X POST https://api.notion.com/v1/pages \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"parent\": { \"database_id\": \"YOUR_DATABASE_ID\" },\n    \"properties\": {\n      \"Name\": {\n        \"title\": [\n          {\n            \"text\": {\n              \"content\": \"Nouvelle idée\"\n            }\n          }\n        ]\n      }\n    }\n  }'\n\n\n\nQuery a database:\nnotion-cli db query <DB_ID> -a '{\"property\":\"Status\",\"status\":{\"equals\":\"Active\"}}'\n\n\nUpdate page properties:\ncurl -X PATCH https://api.notion.com/v1/pages/PAGE_ID \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"properties\": {\n      \"Name\": {\n        \"title\": [\n          {\n            \"text\": {\n              \"content\": \"Nouveau titre\"\n            }\n          }\n        ]\n      },\n      \"Status\": {\n        \"status\": {\n          \"name\": \"In progress\"\n        }\n      },\n      \"Priority\": {\n        \"select\": {\n          \"name\": \"High\"\n        }\n      },\n      \"Due date\": {\n        \"date\": {\n          \"start\": \"2026-02-10\"\n        }\n      },\n      \"Description\": {\n        \"rich_text\": [\n          {\n            \"text\": {\n              \"content\": \"Description mise à jour\"\n            }\n          }\n        ]\n      }\n    }\n  }'\n\n\n\nGet database info:\nnotion-cli db retrieve <DB_ID>"
      },
      {
        "title": "Property Types",
        "body": "Common property formats for database items:\n\nTitle: {\"title\": [{\"text\": {\"content\": \"...\"}}]}\nRich text: {\"rich_text\": [{\"text\": {\"content\": \"...\"}}]}\nStatus: {\"status\": {\"name\": \"Option\"}}\nSelect: {\"select\": {\"name\": \"Option\"}}\nMulti-select: {\"multi_select\": [{\"name\": \"A\"}, {\"name\": \"B\"}]}\nDate: {\"date\": {\"start\": \"2024-01-15\", \"end\": \"2024-01-16\"}}\nCheckbox: {\"checkbox\": true}\nNumber: {\"number\": 42}\nURL: {\"url\": \"https://...\"}\nEmail: {\"email\": \"a@b.com\"}"
      },
      {
        "title": "Examples",
        "body": "Search for pages:\nnotion-cli search --query \"AIStories\"\n\n\nQuery database with filter:\nnotion-cli db query 2faf172c094981d3bbcbe0f115457cda \\\n  -a '{\n    \"property\": \"Status\",\n    \"status\": { \"equals\": \"Backlog\" }\n  }'\n\n\n\nRetrieve page content:\nnotion-cli page retrieve 2fdf172c-0949-80dd-b83b-c1df0410d91b -r\n\n\nUpdate page status:\ncurl -X PATCH https://api.notion.com/v1/pages/2fdf172c-0949-80dd-b83b-c1df0410d91b \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"properties\": {\n      \"Status\": {\n        \"status\": {\n          \"name\": \"In progress\"\n        }\n      }\n    }\n  }'"
      },
      {
        "title": "Key Features",
        "body": "Interactive mode: For complex queries, run notion-cli db query <DB_ID> without arguments to enter interactive mode\nMultiple output formats: table (default), csv, json, yaml\nRaw JSON: Use --raw flag for complete API responses\nFilter syntax: Use -a flag for complex filters with AND/OR conditions"
      },
      {
        "title": "Notes",
        "body": "Page/database IDs are UUIDs (with or without dashes)\nThe CLI handles authentication automatically via NOTION_TOKEN\nRate limits are managed by the CLI\nUse notion-cli help for complete command reference"
      },
      {
        "title": "References",
        "body": "GitHub Notion-CLI: https://github.com/litencatt/notion-cli\nNotion API Documentation: https://developers.notion.com"
      }
    ],
    "body": "notion\n\nUse notion-cli to create/read/update pages, data sources (databases), and blocks.\n\nSetup\nInstall notion-cli: npm install -g @iansinnott/notion-cli\nCreate an integration at https://notion.so/my-integrations\nCopy the API key (starts with ntn_ or secret_)\nStore it:\nmkdir -p ~/.config/notion\necho \"ntn_your_key_here\" > ~/.config/notion/api_key\nShare target pages/databases with your integration (click \"...\" → \"Connect to\" → your integration name)\nUsage\n\nAll commands require the NOTION_TOKEN environment variable to be set:\n\nexport NOTION_TOKEN=$(cat ~/.config/notion/api_key)\n\nCommon Operations\n\nSearch for pages and data sources:\n\nnotion-cli search --query \"page title\"\n\nGet page:\n\nnotion-cli page retrieve <PAGE_ID>\n\nGet page content (blocks):\n\nnotion-cli page retrieve <PAGE_ID> -r\n\nCreate page in a database:\n\ncurl -X POST https://api.notion.com/v1/pages \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"parent\": { \"database_id\": \"YOUR_DATABASE_ID\" },\n    \"properties\": {\n      \"Name\": {\n        \"title\": [\n          {\n            \"text\": {\n              \"content\": \"Nouvelle idée\"\n            }\n          }\n        ]\n      }\n    }\n  }'\n\n\nQuery a database:\n\nnotion-cli db query <DB_ID> -a '{\"property\":\"Status\",\"status\":{\"equals\":\"Active\"}}'\n\nUpdate page properties:\n\ncurl -X PATCH https://api.notion.com/v1/pages/PAGE_ID \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"properties\": {\n      \"Name\": {\n        \"title\": [\n          {\n            \"text\": {\n              \"content\": \"Nouveau titre\"\n            }\n          }\n        ]\n      },\n      \"Status\": {\n        \"status\": {\n          \"name\": \"In progress\"\n        }\n      },\n      \"Priority\": {\n        \"select\": {\n          \"name\": \"High\"\n        }\n      },\n      \"Due date\": {\n        \"date\": {\n          \"start\": \"2026-02-10\"\n        }\n      },\n      \"Description\": {\n        \"rich_text\": [\n          {\n            \"text\": {\n              \"content\": \"Description mise à jour\"\n            }\n          }\n        ]\n      }\n    }\n  }'\n\n\nGet database info:\n\nnotion-cli db retrieve <DB_ID>\n\nProperty Types\n\nCommon property formats for database items:\n\nTitle: {\"title\": [{\"text\": {\"content\": \"...\"}}]}\nRich text: {\"rich_text\": [{\"text\": {\"content\": \"...\"}}]}\nStatus: {\"status\": {\"name\": \"Option\"}}\nSelect: {\"select\": {\"name\": \"Option\"}}\nMulti-select: {\"multi_select\": [{\"name\": \"A\"}, {\"name\": \"B\"}]}\nDate: {\"date\": {\"start\": \"2024-01-15\", \"end\": \"2024-01-16\"}}\nCheckbox: {\"checkbox\": true}\nNumber: {\"number\": 42}\nURL: {\"url\": \"https://...\"}\nEmail: {\"email\": \"a@b.com\"}\nExamples\n\nSearch for pages:\n\nnotion-cli search --query \"AIStories\"\n\nQuery database with filter:\n\nnotion-cli db query 2faf172c094981d3bbcbe0f115457cda \\\n  -a '{\n    \"property\": \"Status\",\n    \"status\": { \"equals\": \"Backlog\" }\n  }'\n\n\nRetrieve page content:\n\nnotion-cli page retrieve 2fdf172c-0949-80dd-b83b-c1df0410d91b -r\n\nUpdate page status:\n\ncurl -X PATCH https://api.notion.com/v1/pages/2fdf172c-0949-80dd-b83b-c1df0410d91b \\\n  -H \"Authorization: Bearer $NOTION_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Notion-Version: 2025-09-03\" \\\n  --data '{\n    \"properties\": {\n      \"Status\": {\n        \"status\": {\n          \"name\": \"In progress\"\n        }\n      }\n    }\n  }'\n\nKey Features\nInteractive mode: For complex queries, run notion-cli db query <DB_ID> without arguments to enter interactive mode\nMultiple output formats: table (default), csv, json, yaml\nRaw JSON: Use --raw flag for complete API responses\nFilter syntax: Use -a flag for complex filters with AND/OR conditions\nNotes\nPage/database IDs are UUIDs (with or without dashes)\nThe CLI handles authentication automatically via NOTION_TOKEN\nRate limits are managed by the CLI\nUse notion-cli help for complete command reference\nReferences\nGitHub Notion-CLI: https://github.com/litencatt/notion-cli\nNotion API Documentation: https://developers.notion.com"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/willykinfoussia/notion-cli",
    "publisherUrl": "https://clawhub.ai/willykinfoussia/notion-cli",
    "owner": "willykinfoussia",
    "version": "0.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/notion-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/notion-cli",
    "agentUrl": "https://openagent3.xyz/skills/notion-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/notion-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/notion-cli/agent.md"
  }
}