terrylica/cc-skills/plugins/gmail-commander/skills/setup/SKILL.md
setup
Full Gmail Commander setup wizard - Gmail OAuth, Telegram bot, launchd services. Discovers 1Password items, configures mise.
- Source repository stars
- 62
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-08-24
- Source checked
- 2026-08-25
Decision brief
What it does: where it fits
Complete setup wizard for Gmail CLI access, Telegram bot, and launchd services.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/terrylica/cc-skills --skill "plugins/gmail-commander/skills/setup"Inspect the Agent Skill "setup" from https://github.com/terrylica/cc-skills/blob/a5f847b22ee5afa35677e446973a903d098cd1d4/plugins/gmail-commander/skills/setup/SKILL.md at commit a5f847b22ee5afa35677e446973a903d098cd1d4. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Phase 1: Gmail OAuth Setup
If already set, use AskUserQuestion to ask if user wants to reconfigure.
If already set, use AskUserQuestion to ask if user wants to reconfigure.Use AskUserQuestion with discovered items or guide new credential creation. - 02
Step 1: Check if already configured
If already set, use AskUserQuestion to ask if user wants to reconfigure.
If already set, use AskUserQuestion to ask if user wants to reconfigure. - 03
Step 2: Discover 1Password items
Review the “Step 2: Discover 1Password items” section in the pinned source before continuing.
Review and apply the “Step 2: Discover 1Password items” source section. - 04
Step 3: Present options
Use AskUserQuestion with discovered items or guide new credential creation.
Use AskUserQuestion with discovered items or guide new credential creation. - 05
Step 4: Configure .mise.local.toml
Review the “Step 4: Configure .mise.local.toml” section in the pinned source before continuing.
Review and apply the “Step 4: Configure .mise.local.toml” source section.
Permission review
Static risk signals and limitations
Network access
The documentation includes network, browsing, or remote request actions.
command -v mise && echo "OK mise" || echo "MISSING: curl https://mise.run | sh"Network access
The documentation includes network, browsing, or remote request actions.
command -v bun && echo "OK bun" || echo "MISSING: curl -fsSL https://bun.sh/install | bash"Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 62 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- terrylica/cc-skills
- Skill path
- plugins/gmail-commander/skills/setup/SKILL.md
- Commit
- a5f847b22ee5afa35677e446973a903d098cd1d4
- License
- MIT
- Collected
- 2026-08-25
- Default branch
- main
View the original SKILL.md
Gmail Commander Setup
Complete setup wizard for Gmail CLI access, Telegram bot, and launchd services.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Prerequisites Check
# Check required tools
command -v op && echo "OK 1Password CLI" || echo "MISSING: brew install 1password-cli"
command -v mise && echo "OK mise" || echo "MISSING: curl https://mise.run | sh"
command -v bun && echo "OK bun" || echo "MISSING: curl -fsSL https://bun.sh/install | bash"
command -v ffmpeg && echo "OK ffmpeg" || echo "OPTIONAL: brew install ffmpeg (for voice digest)"
Phase 1: Gmail OAuth Setup
Step 1: Check if already configured
echo "GMAIL_OP_UUID: ${GMAIL_OP_UUID:-NOT_SET}"
If already set, use AskUserQuestion to ask if user wants to reconfigure.
Step 2: Discover 1Password items
op item list --vault Employee --format json | jq -r '.[] | select(.title | test("gmail|oauth"; "i")) | "\(.id)\t\(.title)"'
Step 3: Present options
Use AskUserQuestion with discovered items or guide new credential creation.
Step 4: Configure .mise.local.toml
# Add to .mise.local.toml in project directory
cat >> .mise.local.toml << 'EOF'
[env]
GMAIL_OP_UUID = "<selected-uuid>"
EOF
Step 5: Build Gmail CLI
cd "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/gmail-commander/scripts/gmail-cli" && bun install && bun run build
Step 6: Test Gmail access
"$HOME/.claude/plugins/marketplaces/cc-skills/plugins/gmail-commander/scripts/gmail-cli/gmail" list -n 1
Phase 2: Telegram Bot Setup
Step 1: Check Telegram config
echo "TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:+SET}"
echo "TELEGRAM_CHAT_ID: ${TELEGRAM_CHAT_ID:-NOT_SET}"
If NOT_SET, guide user through BotFather setup:
- Message @BotFather on Telegram
- Send
/newbotand follow prompts - Copy the token
- Get chat ID: message the bot, then check
https://api.telegram.org/bot<TOKEN>/getUpdates
Step 2: Add to .mise.local.toml
# Append bot config
cat >> .mise.local.toml << 'EOF'
TELEGRAM_BOT_TOKEN = "<bot-token>"
TELEGRAM_CHAT_ID = "<chat-id>"
EOF
Phase 3: launchd Service Installation
Step 1: Create launcher scripts
mkdir -p ~/own/amonic/bin ~/own/amonic/logs
# Bot launcher
cat > ~/own/amonic/bin/gmail-commander-bot << 'SCRIPT'
#!/bin/bash
set -euo pipefail
eval "$("$HOME/.local/bin/mise" activate bash)"
cd "$HOME/own/amonic"
exec bun run "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/gmail-commander/scripts/bot.ts"
SCRIPT
chmod +x ~/own/amonic/bin/gmail-commander-bot
# Digest launcher
cat > ~/own/amonic/bin/gmail-commander-digest << 'SCRIPT'
#!/bin/bash
set -euo pipefail
eval "$("$HOME/.local/bin/mise" activate bash)"
cd "$HOME/own/amonic"
exec bun run "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/gmail-commander/scripts/digest.ts"
SCRIPT
chmod +x ~/own/amonic/bin/gmail-commander-digest
Step 2: Install launchd plists
Use AskUserQuestion to confirm before installing launchd services.
# Copy plist templates (from bot-process-control SKILL.md) to LaunchAgents
# launchctl load ~/Library/LaunchAgents/com.terryli.gmail-commander-bot.plist
# launchctl load ~/Library/LaunchAgents/com.terryli.gmail-commander-digest.plist
Phase 4: Verification
# Run health check
echo "=== Gmail CLI ==="
"$HOME/.claude/plugins/marketplaces/cc-skills/plugins/gmail-commander/scripts/gmail-cli/gmail" list -n 1 2>&1 | head -5
echo ""
echo "=== Bot Process ==="
pgrep -fl gmail-commander || echo "Not running"
echo ""
echo "=== launchd ==="
launchctl list | grep gmail-commander || echo "Not registered"
Success Criteria
echo $GMAIL_OP_UUIDshows a UUID- Gmail CLI returns email data
echo $TELEGRAM_BOT_TOKENis set- Bot responds to /help in Telegram
- launchd jobs are loaded (optional)
No OAuth Credentials?
Direct user to: gmail-api-setup.md
Post-Execution Reflection
After this skill completes, reflect before closing the task:
- Locate yourself. — Find this SKILL.md's canonical path (Glob for this skill's name) before editing. All corrections target THIS file and its sibling references/ — never other documentation.
- What failed? — Fix the instruction that caused it. If it could recur, add it as an anti-pattern.
- What worked better than expected? — Promote it to recommended practice. Document why.
- What drifted? — Any script, reference, or external dependency that no longer matches reality gets fixed now.
- Log it. — Every change gets an evolution-log entry with trigger, fix, and evidence.
Do NOT defer. The next invocation inherits whatever you leave behind.
Frequently asked questions
What to verify before installation and use
What does the setup source document cover?
Complete setup wizard for Gmail CLI access, Telegram bot, and launchd services.
How do I install setup?
The source record exposes this install command: npx skills add https://github.com/terrylica/cc-skills --skill "plugins/gmail-commander/skills/setup". Inspect the command and pinned source before running it.
Which permission-related actions were detected?
Static rules flagged network in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
davepoon/buildwithclaude
setup
Interactive setup wizard for the claude-ops plugin. Installs missing CLIs, configures env vars for each channel (Telegram, WhatsApp, Email, Slack, Notion, Linear, Sentry, Vercel), builds the project registry, and saves user preferences. Run once after installing the plugin or any time to reconfigure.
terrylica/cc-skills
setup
Full Cal.com Commander setup wizard - Cal.com API, Telegram bot, Supabase DB, GCP project, launchd services. Discovers 1Password.
terrylica/cc-skills
setup
SETUP COMMAND - Execute TodoWrite FIRST, then Check -> Gate -> Install -> Verify. TRIGGERS - itp setup, install dependencies, check prerequisites
coreyhaines31/marketingskills
ab-testing
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program