소스 정보
- 저장소
- 2p1c/Data2Insight
- 최근 소스 활동
- 2026년 3월 17일 17:10
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/2p1c/Data2Insight --skill gmail-summarize명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | gmail-summarize |
| description | Fetch recent unread Gmail (yesterday + today) and send a digest to the user. |
| metadata | {"skill":{"emoji":"📬","requires":{"runtime":"python3","env_vars":"[Truncated]","credentials":"[Truncated]","config":"$EMAIL_CONFIG_PATH or ~/.config/gmail-summarize/config.json (used only when IMAP_USERNAME/IMAP_PASSWORD env vars are absent)","config_fields":"[Truncated]","external_connections":"[Truncated]"}}} |
python command).| Variable | Description | Default |
|---|---|---|
IMAP_HOST | IMAP server hostname | imap.gmail.com |
IMAP_PORT | IMAP server port | 993 |
IMAP_USERNAME | IMAP login username | (required) |
IMAP_PASSWORD | IMAP login password / app-password | (required) |
IMAP_MAX_BODY_CHARS | Max body characters per email | 2000 |
Set EMAIL_CONFIG_PATH to point to a JSON file, or place the file at ~/.config/gmail-summarize/config.json.
The file must contain only the fields below (no other sensitive data should be stored in this file):
{
"email": {
"imapHost": "imap.gmail.com",
"imapPort": 993,
"imapUsername": "your@gmail.com",
"imapPassword": "your-app-password",
"maxBodyChars": 2000
}
}
IMAP_HOST, IMAP_PORT, IMAP_USERNAME, IMAP_PASSWORD) so no file on disk is read at all.email fields listed above. The script reads only those four fields and nothing else from the file.IMAP_HOST / email.imapHost. No other endpoints are contacted.Run the fetch script via exec tool:
python {workspace}/skills/gmail-summarize/scripts/fetch_unseen.py
(replace {workspace} with your actual workspace root)
Parse the JSON array. Each item has: sender, subject, date, body
For each email compose one line:
[date] sender | subject — one-sentence body summary
Send the full digest via MessageTool in this format:
📬 邮件摘要 (N封,覆盖 MM/DD–MM/DD)
• [日期] 发件人 | 主题 — 一句话摘要 • [日期] 发件人 | 主题 — 一句话摘要 ...
If result is empty, send: 📭 近两日暂无未读邮件