notion
하는 일
AI 에이전트가 Notion 페이지, 데이터 소스, 댓글, 파일, 검색을 다루도록 안내합니다. 메모, 프로젝트, 데이터베이스를 Notion에 보관하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓에이전트가 Notion 페이지를 읽거나 업데이트하기를 원할 때.
- ✓Notion 데이터베이스나 데이터 소스에서 행을 조회해야 할 때.
- ✓댓글을 달거나 Notion 작업공간 전체를 검색하고 싶을 때.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/skills/notion/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Product Roadmap이라는 Notion 페이지를 찾아서, 팀에게 Q4 항목을 검토해 달라는 댓글을 달아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 ntn 명령으로 페이지를 Markdown으로 읽고 바꾸며, 데이터 소스를 조회하고 댓글을 관리합니다. 명령이 다루지 못하는 기능이 필요할 때만 직접 API 호출로 넘어갑니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Notion
Prefer official ntn CLI. Use curl only when ntn is unavailable or a raw request is clearer.
Setup
npm install -g ntn
ntn --version
ntn login
Script/headless auth:
export NOTION_API_TOKEN=secret_or_ntn_token
export NOTION_API_VERSION=2026-03-11
ntn api sets Authorization and Notion-Version automatically. It uses CLI login by default, or NOTION_API_TOKEN when set.
Inspect
ntn doctor
ntn api ls
ntn api ls --json
ntn api v1/comments --help
ntn api v1/comments --spec -X POST
ntn api v1/comments --docs -X POST
Pages
Markdown-first helpers:
ntn pages get <page-id>
ntn pages get <page-id> --json
ntn pages create --parent page:<page-id> --content '# Title\n\nBody'
ntn pages create --parent data-source:<data-source-id> < page.md
ntn pages update <page-id> --content '# Updated'
ntn pages update <page-id> < page.md
ntn pages trash <page-id> --yes
Notes:
pages getprints Markdown with page properties as frontmatter.- Content input:
--content, stdin, or editor in a TTY. - Parent refs:
page:<id>,database:<id>,data-source:<id>. - For properties/templates/full Pages API, use
ntn api v1/pages.
Data sources
ntn datasources resolve <database-id>
ntn datasources resolve <database-id> --json
ntn datasources query <data-source-id>
ntn datasources query <data-source-id> --limit 50 --json
ntn datasources query <data-source-id> --sort 'Date desc'
ntn datasources query <data-source-id> --filter '{"property":"Done","checkbox":{"equals":true}}'
Use resolve when you have a database ID. Query needs a data source ID.
Raw API
ntn api v1/users/me
ntn api v1/search query=roadmap page_size:=10
ntn api v1/pages 'parent[data_source_id]='"$DS_ID" 'properties[Name][title][0][text][content]=New item'
ntn api "v1/pages/$PAGE_ID" -X PATCH in_trash:=true
ntn api "v1/blocks/$PAGE_ID/children" -X PATCH \
'children[0][type]=paragraph' \
'children[0][paragraph][rich_text][0][text][content]=Hello'
Input syntax:
path=value: string body field.path:=json: typed JSON body field.name==value: query parameter.Header:Value: request header.--data '<json>'or stdin JSON for larger bodies.- Only one body source per request.
Files
ntn files create < image.png
ntn files create --filename photo.png --content-type image/png < /tmp/photo
ntn files create --external-url https://example.com/photo.png
ntn files get <upload-id>
ntn files list
Workers
ntn workers new
ntn workers deploy
ntn workers list --json
ntn workers runs list --json
ntn workers runs logs <run-id>
Workers may require Business/Enterprise plan and workspace enablement.
Curl fallback
curl -sS "https://api.notion.com/v1/users/me" \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2026-03-11" \
-H "Content-Type: application/json"
Version notes
- Current latest API version:
2026-03-11. - Use
in_trash, notarchived. - Append block positioning uses
position, not flatafter. transcriptionblock renamed tomeeting_notes.- Databases can contain multiple data sources; page parents generally use
data_source_id.
자주 묻는 질문
어떻게 로그인하나요?
ntn login 명령으로 로그인하거나, 스크립트에서는 환경 변수로 토큰을 제공할 수 있습니다.
페이지를 휴지통으로 보낼 수 있나요?
예. 다만 명령을 실행하려면 명시적인 확인 플래그가 필요합니다.
데이터베이스 속성도 다루나요?
예. 속성, 템플릿, 전체 Pages API는 직접 API 경로를 사용합니다.
상세 정보
작성자의 원본 설명
Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.
repo: openclaw/openclaw
인기도
- GitHub 스타
- 394k
- 순위
- #68
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
비슷한 스킬
google-workspace-ops
280kGoogle Workspace 문서(Drive, Docs, Sheets, Slides)를 하나의 작업 흐름으로 다룹니다. 도구를 떠나지 않고 파일을 찾고, 요약하고, 수정하기 쉽게 합니다.
excel-author
260k은행권 기준의 감사 가능한 엑셀 통합 문서를 만들도록, 명확한 서식과 라이브 수식, 이름 있는 범위를 적용하게 돕습니다.
pptx-author
260k모든 숫자가 원본 통합 문서까지 추적되는 .pptx 파일을 python-pptx로 만들어, 피치 덱과 보고서를 작성하도록 돕습니다.