SuperAPI AI Directory

my-context-sync

Office & productivity

View repository

Updated 10-15 19:47

About this skill

My Context Sync

A skill that gathers scattered information in one place and organizes it.

Collects recent information from Slack, Notion, Gmail, Google Calendar, ClickUp, and GitHub, and consolidates it into a single Markdown document.

Source Definitions

Source 1: Slack

Item 값
MCP Tool mcp__claude_ai_Slack__slack_read_channel
Collection Range Last 7 days

List of channels to collect:

channels:
  - name: "general"          # 전체 공지
  - name: "team-operation"   # 팀 운영
  - name: "random"           # 자유 채널

Collection Method:

각 채널에 대해 mcp__claude_ai_Slack__slack_read_channel 호출.
채널명과 메시지 개수(limit)를 전달한다.

mcp__claude_ai_Slack__slack_read_channel(channel="general", limit=50)

Information to Extract:

  • Important announcements
  • Decision items (keywords "confirmed", "decided", "agreed")
  • Messages mentioning me
  • Questions that need replies

Source 2: Gmail

Item 값
Execution Method Python script (Gmail API)
Collection Range Last 7 days, inbox

Collection Method:

uv run python .claude/skills/my-context-sync/scripts/gmail_fetch.py --days 7

Information to Extract:

  • Number of unread emails
  • Summary of emails from important senders
  • Emails that need replies
  • Calendar invitations (calendar integration)

Source 3: Google Calendar

Item 값
Execution Method Python script (Google Calendar API)
Collection Range Today ~ 7 days later

Collection Method:

uv run python .claude/skills/my-context-sync/scripts/calendar_fetch.py --days 7

Information to Extract:

  • Today's schedule
  • Key meetings this week
  • Meetings that require preparation (presentations, external meetings, etc.)
  • Whether there are schedule conflicts

Source 4: Notion

Item 값
MCP Tool Notion MCP (mcp__notion__API-post-search)
Collection Range Recently updated pages and tasks

Collection Method:

mcp__notion__API-post-search 호출로 최근 수정된 페이지를 조회한다.

mcp__notion__API-post-search(
  sort={"direction": "descending", "timestamp": "last_edited_time"},
  page_size=20
)

Information to Extract:

  • Tasks in progress
  • Items with approaching deadlines
  • Recently updated pages

Source 5: ClickUp

Item 값
MCP Tool mcp__claude_ai_ClickUp__clickup_search
Collection Range Tasks assigned to me

Collection Method:

mcp__claude_ai_ClickUp__clickup_search 호출.
진행 중이거나 기한 임박한 태스크를 조회한다.

mcp__claude_ai_ClickUp__clickup_search(query="", assignee="me", status="in progress")

Information to Extract:

  • Tasks in progress
  • Tasks with approaching deadlines (within 3 days)
  • Tasks with recent comments
  • Blocked tasks

Source 6: GitHub

Item 값
Execution Method Python script (GitHub REST API)
Collection Range Last 7 days, my activity

Collection Method:

GITHUB_PERSONAL_ACCESS_TOKEN=<token> python C:/Users/ash/.claude/skills/my-context-sync/scripts/github_fetch.py --days 7

Token location: .claude.json → mcpServers.github.env.GITHUB_PERSONAL_ACCESS_TOKEN

Information to Extract:

  • Open PRs (including review requests)
  • Issues I was involved in
  • Recent commit history
  • Merged PRs

Execution Flow

When this skill is triggered, execute in the following order.

Step 1: Parallel Collection

7 sources simultaneously collect. Since there is no dependency between them, parallel execution is possible.

수집 시작
  ├── [소스 1] Slack 채널 메시지 수집         ─┐
  ├── [소스 2] Gmail 이메일 수집               │
  ├── [소스 3] Google Calendar 일정 수집       ├── 병렬 실행
  ├── [소스 4] Notion 페이지/태스크 수집       │
  ├── [소스 5] ClickUp 태스크 수집             │
  └── [소스 6] GitHub 활동 수집               ─┘
수집 완료

Each source collection is executed with a subagent (Task tool):

Task(description="Slack 수집",    prompt="general, team-operation, random 채널에서 최근 7일 메시지를 수집하라")
Task(description="Gmail 수집",    prompt="gmail_fetch.py를 실행하여 최근 7일 이메일을 수집하라")
Task(description="Calendar 수집", prompt="calendar_fetch.py를 실행하여 7일간 일정을 수집하라")
Task(description="Notion 수집",   prompt="최근 수정된 페이지와 진행 중 태스크를 수집하라")
Task(description="ClickUp 수집",  prompt="나에게 할당된 진행 중 및 기한 임박 태스크를 수집하라")
Task(description="GitHub 수집",   prompt="github_fetch.py를 실행하여 최근 7일 활동을 수집하라")

Step 2: Result Integration

Merge the collected information into a single document.

Integration rules:

  • Separate into sections by source
  • In each section, select "Highlights" (no more than 3 important items)
  • Gather and organize action items at the bottom of the document
  • For sources that failed to be collected, record the reason along with a "Collection Failed" indication

Step 3: Save Document

Save the result file.

저장 위치: .claude/skills/my-context-sync/sync/YYYY-MM-DD-context-sync.md

Step 4: Report

Report the execution results to the user.

싱크 완료!

수집 결과:
  Slack:           3개 채널, 47개 메시지
  Gmail:           12개 이메일 (안 읽음 5개)
  Calendar:        8개 일정
  Notion:          15개 페이지
  ClickUp:         7개 태스크
  GitHub:          4개 PR, 12개 커밋

하이라이트 3건:
  1. [Slack] #team-operation: 배포 일정 확정
  2. [Gmail] 파트너사 계약서 회신 필요
  3. [GitHub] PR #42 리뷰 요청 대기 중

액션 아이템:
  - [ ] 파트너사 계약서 회신
  - [ ] GitHub PR #42 리뷰
  - [ ] ClickUp 기한 초과 태스크 처리

파일 저장: .claude/skills/my-context-sync/sync/2026-02-19-context-sync.md

Output format

Output method: Markdown file — sync/YYYY-MM-DD-context-sync.mdsave to

Save path: .claude/skills/my-context-sync/sync/YYYY-MM-DD-context-sync.md

Structure of the saved Markdown file:

# Context Sync - YYYY-MM-DD

> 자동 수집 시각: HH:MM

## 하이라이트

- **[소스]** 내용
- **[소스]** 내용
- **[소스]** 내용

## Slack
...

## Gmail
...

## Google Calendar
...

## Notion
...

## ClickUp
...

## GitHub
...

## 액션 아이템

- [ ] 항목 1
- [ ] 항목 2