# Send Notion Manager to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/notion-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=notion-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "notion-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T13:40:12.462Z",
      "expiresAt": "2026-05-07T13:40:12.462Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=notion-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=notion-cli",
        "contentDisposition": "attachment; filename=\"notion-cli-0.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "notion-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### notion

Use notion-cli to create/read/update pages, data sources (databases), and blocks.

### Setup

Install notion-cli: npm install -g @iansinnott/notion-cli
Create an integration at https://notion.so/my-integrations
Copy the API key (starts with ntn_ or secret_)
Store it:

mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key


Share target pages/databases with your integration (click "..." → "Connect to" → your integration name)

### Usage

All commands require the NOTION_TOKEN environment variable to be set:

export NOTION_TOKEN=$(cat ~/.config/notion/api_key)

### Common Operations

Search for pages and data sources:
notion-cli search --query "page title"


Get page:
notion-cli page retrieve <PAGE_ID>


Get page content (blocks):
notion-cli page retrieve <PAGE_ID> -r


Create page in a database:
curl -X POST https://api.notion.com/v1/pages \\
  -H "Authorization: Bearer $NOTION_TOKEN" \\
  -H "Content-Type: application/json" \\
  -H "Notion-Version: 2025-09-03" \\
  --data '{
    "parent": { "database_id": "YOUR_DATABASE_ID" },
    "properties": {
      "Name": {
        "title": [
          {
            "text": {
              "content": "Nouvelle idée"
            }
          }
        ]
      }
    }
  }'



Query a database:
notion-cli db query <DB_ID> -a '{"property":"Status","status":{"equals":"Active"}}'


Update page properties:
curl -X PATCH https://api.notion.com/v1/pages/PAGE_ID \\
  -H "Authorization: Bearer $NOTION_TOKEN" \\
  -H "Content-Type: application/json" \\
  -H "Notion-Version: 2025-09-03" \\
  --data '{
    "properties": {
      "Name": {
        "title": [
          {
            "text": {
              "content": "Nouveau titre"
            }
          }
        ]
      },
      "Status": {
        "status": {
          "name": "In progress"
        }
      },
      "Priority": {
        "select": {
          "name": "High"
        }
      },
      "Due date": {
        "date": {
          "start": "2026-02-10"
        }
      },
      "Description": {
        "rich_text": [
          {
            "text": {
              "content": "Description mise à jour"
            }
          }
        ]
      }
    }
  }'



Get database info:
notion-cli db retrieve <DB_ID>

### Property Types

Common property formats for database items:

Title: {"title": [{"text": {"content": "..."}}]}
Rich text: {"rich_text": [{"text": {"content": "..."}}]}
Status: {"status": {"name": "Option"}}
Select: {"select": {"name": "Option"}}
Multi-select: {"multi_select": [{"name": "A"}, {"name": "B"}]}
Date: {"date": {"start": "2024-01-15", "end": "2024-01-16"}}
Checkbox: {"checkbox": true}
Number: {"number": 42}
URL: {"url": "https://..."}
Email: {"email": "a@b.com"}

### Examples

Search for pages:
notion-cli search --query "AIStories"


Query database with filter:
notion-cli db query 2faf172c094981d3bbcbe0f115457cda \\
  -a '{
    "property": "Status",
    "status": { "equals": "Backlog" }
  }'



Retrieve page content:
notion-cli page retrieve 2fdf172c-0949-80dd-b83b-c1df0410d91b -r


Update page status:
curl -X PATCH https://api.notion.com/v1/pages/2fdf172c-0949-80dd-b83b-c1df0410d91b \\
  -H "Authorization: Bearer $NOTION_TOKEN" \\
  -H "Content-Type: application/json" \\
  -H "Notion-Version: 2025-09-03" \\
  --data '{
    "properties": {
      "Status": {
        "status": {
          "name": "In progress"
        }
      }
    }
  }'

### Key Features

Interactive mode: For complex queries, run notion-cli db query <DB_ID> without arguments to enter interactive mode
Multiple output formats: table (default), csv, json, yaml
Raw JSON: Use --raw flag for complete API responses
Filter syntax: Use -a flag for complex filters with AND/OR conditions

### Notes

Page/database IDs are UUIDs (with or without dashes)
The CLI handles authentication automatically via NOTION_TOKEN
Rate limits are managed by the CLI
Use notion-cli help for complete command reference

### References

GitHub Notion-CLI: https://github.com/litencatt/notion-cli
Notion API Documentation: https://developers.notion.com
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: willykinfoussia
- Version: 0.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T13:40:12.462Z
- Expires at: 2026-05-07T13:40:12.462Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/notion-cli)
- [Send to Agent page](https://openagent3.xyz/skills/notion-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/notion-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/notion-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/notion-cli)