Uploads Claude session summaries or markdown reports to Notion. Use for "노션 업로드", "결과 저장", "notion 정리", "세션 요약", "리포트 업로드", "보고서 작성" requests.
Upload session summaries and reports to Notion.
# Notion API token (from static/NOTION.md)
export NOTION_TOKEN="secret_xxx"
# Database ID for reports
export NOTION_DB_ID="xxx"
# Via Notion MCP or API
notion-upload --title "Session Summary" --content "$CONTENT" --db $NOTION_DB_ID
Create markdown summary of session:
Convert markdown to Notion blocks:
# Using Notion API
curl -X POST "https://api.notion.com/v1/pages" \
-H "Authorization: Bearer $NOTION_TOKEN" \
-H "Notion-Version: 2022-06-28" \
-d '{
"parent": {"database_id": "'$NOTION_DB_ID'"},
"properties": {
"Title": {"title": [{"text": {"content": "Session Summary"}}]}
},
"children": [...]
}'
# Session: {date}
## Completed
- Task 1
- Task 2
## Decisions
- Chose approach X because Y
## Next Steps
- [ ] Follow-up task
# {Topic} Analysis
## Overview
...
## Findings
...
## Recommendations
...