Agent skill
Google OAuth Manager
This skill should be used when the user asks about "oauth tokens", "google tokens", "refresh tokens", "token expired", "re-authenticate google", "gmail auth", or needs to manage Google API authentication.
Install this agent skill to your Project
npx add-skill https://github.com/ChinchillaEnterprises/ChillSkills/tree/main/google-oauth
SKILL.md
Google OAuth Token Manager
Manage Google OAuth tokens for Gmail and Calendar APIs.
Token Locations
/Users/tori/Desktop/%/AI (Play)/daily-brief/config/tokens/
├── token_jamiepastore_at_gmail_com.json
├── token_jamie_at_peptide_partners.json
└── token_jamie_at_chinchilla-ai_com.json
Health Check
Run token health check:
cd "/Users/tori/Desktop/%/AI (Play)/daily-brief"
./venv/bin/python3 scripts/check_token_health.py
Output:
- ✅ Valid - Token works
- ❌ Expired - Needs re-auth
- ❌ Missing - Token file doesn't exist
Re-Authentication
When tokens expire:
cd "/Users/tori/Desktop/%/AI (Play)/daily-brief"
# Personal account
./venv/bin/python3 scripts/fetch_gmail.py --account jamiepastore@gmail.com --reauth
# Work accounts
./venv/bin/python3 scripts/fetch_gmail.py --account jamie@peptide.partners --reauth
./venv/bin/python3 scripts/fetch_gmail.py --account jamie@chinchilla-ai.com --reauth
Each command opens a browser window - sign in with the correct account.
Token Longevity
Tokens last until:
- Password change on the Google account
- Manual revocation in Google account settings
- Security event (suspicious activity)
- 6 months of inactivity
Google Cloud Project
| Field | Value |
|---|---|
| Project ID | sinuous-moment-470219-d5 |
| Project Number | 557261198223 |
| Status | Production (not Testing) |
| Budget Alert | $1/month limit |
Budget Alerts
Budget alert configured:
- Name: Daily Brief Alert
- Limit: $1 USD/month
- Alerts: 50%, 90%, 100%
- Billing account: 0117CE-AB2F29-E87914
Required APIs
- Gmail API
- Google Calendar API
- Cloud Billing Budget API (for alerts)
OAuth Scopes
SCOPES = [
'https://www.googleapis.com/auth/gmail.readonly',
'https://www.googleapis.com/auth/calendar.readonly',
'https://www.googleapis.com/auth/calendar.events'
]
Credentials File
/Users/tori/Desktop/%/AI (Play)/daily-brief/config/google_credentials.json
Common Issues
| Issue | Solution |
|---|---|
| Token expired | Re-run fetch script with --reauth |
| Invalid grant | Delete token file, re-authenticate |
| API not enabled | Enable in Google Cloud Console |
| Budget API error | Enable billingbudgets.googleapis.com |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Red Team
Use this skill when the user says "red team", "stress test", "attack this", "critique this", "run the models against this", "test this plan", "refine this with AI", or wants to use external AI models to critique, validate, or improve a document, pitch, plan, or idea. Also use when the user wants to save Claude Code usage by offloading analysis to other models.
Upwork Scanner
This skill should be used when the user asks to "scan upwork", "find upwork jobs", "check upwork", "run the scanner", "look for jobs", or mentions finding freelance projects for Chinchilla AI.
Polymarket Arb Scanner
This skill should be used when the user asks to "scan polymarket", "find arb opportunities", "check polymarket arbs", "run arb scanner", "polymarket arbitrage", or mentions detecting price inefficiencies on Polymarket.
captain-update
Polymarket Copy Trader
This skill should be used when the user asks to "copy trade", "telegram bot polymarket", "follow traders", "copy polymarket", or mentions building a copy trading bot for Polymarket.
Architecture Diagram
This skill should be used when the user asks to "generate a diagram", "create an architecture diagram", "make a diagram", "draw a system diagram", or needs a branded Chinchilla AI technical diagram for proposals or documentation.
Didn't find tool you were looking for?