Skip to main content

notion

Work with Notion pages and databases via the official Notion API.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
notion
description
Work with Notion pages and databases via the official Notion API.
homepage
https://developers.notion.com
metadata
{"thinkfleetbot":{"emoji":"🧠","requires":{"env":"[Truncated]"},"install":["[Truncated]"]}}
# Notion This skill lets the agent work with **Notion pages and databases** using the official Notion API. The skill is declarative: it documents **safe, recommended operations** and assumes a local CLI (`notion-cli`) that actually performs API calls. ## Authentication - Create a Notion Integration at https://www.notion.so/my-integrations - Copy the Internal Integration Token. - Export it as: ```bash export NOTION_API_KEY=secret_xxx ``` Share the integration with the pages or databases you want to access. Unshared content is invisible to the API. ## Profiles (personal / work) You may define multiple profiles (e.g. personal, work) via env or config. Default profile: personal Override via: ```bash export NOTION_PROFILE=work ``` ## Pages **Read page:** ```bash notion-cli page get <page_id> ``` **Append blocks:** ```bash notion-cli block append <page_id> --markdown "..." ``` Prefer appending over rewriting content. **Create page:** ```bash notion-cli page create --parent <page_id> --title "..." ``` ## Databases **Inspect schema:** ```bash notion-cli db get <database_id> ``` **Query database:** ```bash notion-cli db query <database_id> --filter <json> --sort <json> ``` **Create row:** ```bash notion-cli page create --database <database_id> --props <json> ``` **Update row:** ```bash notion-cli page update <page_id> --props <json> ``` ## Schema changes (advanced) Always inspect diffs before applying schema changes. Never modify database schema without explicit confirmation. Recommended flow: ```bash notion-cli db schema diff <database_id> --desired <json> notion-cli db schema apply <database_id> --desired <json> ``` ## Safety notes - Notion API is rate-limited; batch carefully. - Prefer append and updates over destructive operations. - IDs are opaque; store them explicitly, do not infer from URLs.
GitHub에서 보기