karaage0703/ai-assistant-workspace/xs-notion-manager
Claude Code and agent skill by karaage0703/ai-assistant-workspace
- community
Checking that the SKILL.md file is still in the repository.
Notion APIでページ検索・閲覧・作成、ファイルアップロード、画像付き日記作成、個別ブロックの更新・削除を行うスキル。「Notionで検索して」「Notionに日記書いて」「Notionにファイルアップロードして」「Notionの個別ブロックを修正して」で使用。
Install
npx vskill@latest install karaage0703/ai-assistant-workspace/xs-notion-managerSKILL.md
Notion Manager
Notion APIを使ってページの検索・閲覧・作成、ファイルアップロードを行う。
絶対遵守事項
- APIキー設定が必要(初回のみ)
- 対象ページには「接続」許可が必要
- アップロードは20MB以下は single-part、20MB超は自動で multi-part upload(10MBチャンク)
セットアップ(初回のみ)
- https://notion.so/my-integrations でIntegration作成
- APIキー(
ntn_xxx)をコピー - 設定:
``bash mkdir -p ~/.config/notion echo "ntn_xxxxx" > ~/.config/notion/api_key ``
- 対象ページで「...」→「接続」→ Integration名を選択
コマンド一覧
検索
ページ読み込み
ページ作成
ファイルアップロード
対応形式:
- 画像: jpg, jpeg, png, gif, webp
- 動画: mp4, mov, webm, avi, mkv
- 音声: mp3, wav, m4a, ogg, flac
- 文書: pdf, pptx, docx, xlsx
- テキスト: txt, md, csv, json, html
サイズ: 20MB以下は single-part、20MB超は自動で multi-part upload(10MBチャンクで分割→/complete で結合)。
個別ブロックの取得・更新・削除
対応ブロックタイプ: paragraph, heading_1〜3, bulleted_list_item, numbered_list_item, to_do, quote, code
注意:
- Notion API はブロックタイプの直接変更を許可しないため、
--type指定時は 新タイプを直後に挿入 → 旧ブロック削除 で位置を保ちつつ置き換える(新ブロックIDが返る) --typeの対応タイプ: paragraph / heading_1〜3 / bulleted_list_item / numbered_list_item / to_do / quote- 画像・動画・ファイルブロックは
update非対応 →deleteしてuploadで再投稿 deleteは archive 扱い(Notion上はゴミ箱に入る、復元可)
ページに追記(append)
⚠️ `-b "..."` / `-t "..."` インラインでは、内容にバックティックや `$()` を含めない。bash がダブルクォート内のそれらをコマンド置換として解釈し、bullet/text の該当部分が空文字に化ける。コマンド名・URL・特殊文字を含む長文は -F/--body-file 一択。
添付ファイルのダウンロード
read --json で取得した JSON の file ブロックには署名付きURLが入る。curl -sL -o <out> <url> でダウンロード。URLは1時間で期限切れなので取得後すぐに。
日記作成(画像付き)
Page IDの取得方法
NotionのページURL末尾の32文字(ハイフンなし)がPage ID。 https://notion.so/Page-Title-abc123def456... の abc123def456... 部分。
制限事項・トラブルシューティングは `README.md` を参照。
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xs-notion-manager/SKILL.md
Popularity
- Repository stars
- 137
- Repository forks
- 14
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/karaage0703/ai-assistant-workspace/xs-notion-manager)