google-workspace-cli
Skill1 starsChanged 6 months agoMITView on GitHub
This skill should be used when the user asks to "audit Google Workspace", "check GWS security settings", "set up Google Workspace authentication", "diagnose Workspace issues", or "review Google admin configurations".
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- dzianisv/skillstheir own version, first seen Jun 16, 2026
- Hussain-Elfalah/Agentic-Skillstheir own version, first seen Jun 4, 2026
- hoodini/ai-agents-skillstheir own version, first seen Jan 7, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- hoodini/ai-agents-skills★ 281same name
- Hassaan146/claude-skills★ 18same name
- dzianisv/skills★ 4same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository130 other files it gives its agents.
- ab-test-analysisSkill
- analysis-assumptions-logSkill
- analysis-documentationSkill
- analysis-planningSkill
- analysis-qa-checklistSkill
- analysis-retrospectiveSkill
- browser-automationSkill
- business-metrics-calculatorSkill
- chat-attachment-is-not-a-fileSkill
- claude-code-masterySkill
- codex-cli-specialistSkill
- cohort-analysisSkill
- cut-the-curveSkill
- dashboard-specificationSkill
- data-catalog-entrySkill
- data-narrative-builderSkill
- data-quality-auditSkill
- executive-summary-generatorSkill
- focused-fixSkill
- funnel-analysisSkill
- gate-must-derive-its-criterionSkill
- gsd-add-testsSkill
- gsd-ai-integration-phaseSkill
- gsd-audit-fixSkill
- gsd-audit-milestoneSkill
- gsd-audit-uatSkill
- gsd-autonomousSkill
- gsd-captureSkill
- gsd-cleanupSkill
- gsd-code-reviewSkill
- gsd-complete-milestoneSkill
- gsd-configSkill
- gsd-debugSkill
- gsd-discuss-phaseSkill
- gsd-docs-updateSkill
- gsd-eval-reviewSkill
- gsd-execute-phaseSkill
- gsd-exploreSkill
- gsd-extract-learningsSkill
- gsd-fastSkill
- gsd-forensicsSkill
- gsd-graphifySkill
- gsd-healthSkill
- gsd-helpSkill
- gsd-importSkill
- gsd-inboxSkill
- gsd-ingest-docsSkill
- gsd-managerSkill
- gsd-map-codebaseSkill
- gsd-milestone-summarySkill
- gsd-mvp-phaseSkill
- gsd-new-milestoneSkill
- gsd-new-projectSkill
- gsd-ns-contextSkill
- gsd-ns-ideateSkill
- gsd-ns-manageSkill
- gsd-ns-projectSkill
- gsd-ns-reviewSkill
- gsd-ns-workflowSkill
- gsd-pause-workSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Before running, confirm these inputs.
- Distinctive: line 33
Stop rule: ask only the 2-3 that most change the output.
- Very specific: line 96
Audit: - Run workspace_audit.py against the config file
- Distinctive: line 99
Re-audit: - Verify changes resolved findings
- Very specific: line 104
Generate guide: - Run auth_setup_guide.py with desired method
- Distinctive: line 105
Follow steps: - Create credentials in Google Cloud Console
- Distinctive: line 107
Verify: - Test API access with provided verification steps
- Distinctive: line 112
Review results: - Check DNS, email, and integration health
- Distinctive: line 114
Re-check: - Verify fixes pass diagnostics
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Workspace CLI
Category: Engineering Domain: Google Workspace Administration
Overview
The Google Workspace CLI skill provides tools for auditing Google Workspace configurations, generating authentication setup documentation, and diagnosing common GWS issues. It helps IT administrators maintain secure, well-configured Workspace environments without needing to navigate complex admin consoles.
Clarify First
Before running, confirm these inputs. If any is unknown or vague, ASK — do not assume:
- Task — security audit, auth setup guide, or diagnostics (selects
workspace_audit.pyvsauth_setup_guide.pyvsgws_doctor.py) - Config export or auth method — the GWS config JSON to audit, or the auth method and scopes for a setup guide (sets
--configor--method/--scopes) - Output mode — human-readable vs JSON for automation (sets
--format json)
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
Quick Start
# Audit Workspace security configuration
python scripts/workspace_audit.py --config gws-config.json
# Generate auth setup guide
python scripts/auth_setup_guide.py --method oauth --scopes admin,drive
# Run diagnostics
python scripts/gws_doctor.py --check all
# JSON output for automation
python scripts/workspace_audit.py --config gws-config.json --format jsonTools Overview
workspace_audit.py
Audits Google Workspace configuration exports for security best practices.
| Feature | Description |
| 2FA enforcement | Checks if 2-step verification is required |
| Password policy | Validates password strength requirements |
| Sharing settings | Reviews external sharing configurations |
| App access | Checks third-party app access policies |
| Admin roles | Reviews admin role assignments |
| Mobile management | Checks device management policies |
| Drive settings | Validates Drive sharing and access controls |
auth_setup_guide.py
Generates step-by-step authentication setup documentation for GWS API access.
| Feature | Description |
| OAuth setup | Generates OAuth 2.0 configuration guide |
| Service account | Creates service account setup documentation |
| API scopes | Lists required scopes for each API |
| Domain delegation | Documents domain-wide delegation setup |
| Testing guide | Provides verification steps |
gws_doctor.py
Diagnostic tool for common Google Workspace configuration issues.
| Feature | Description |
| DNS checks | Validates MX, SPF, DKIM, DMARC records format |
| SSL/TLS | Checks certificate and transport security settings |
| Integration health | Validates common integration patterns |
| Config consistency | Checks for conflicting settings |
| Best practices | Compares against GWS recommended settings |
Workflows
Security Audit Workflow
- Export config - Export GWS settings to JSON via Admin SDK or manual export
- Audit - Run workspace_audit.py against the config file
- Review findings - Prioritize critical security gaps
- Remediate - Apply recommended settings in Admin Console
- Re-audit - Verify changes resolved findings
API Setup Workflow
- Plan - Determine which APIs and scopes are needed
- Generate guide - Run auth_setup_guide.py with desired method
- Follow steps - Create credentials in Google Cloud Console
- Configure - Set up domain delegation if needed
- Verify - Test API access with provided verification steps
Health Check Workflow
- Run diagnostics - Execute gws_doctor.py with all checks
- Review results - Check DNS, email, and integration health
- Fix issues - Address failures in priority order
- Re-check - Verify fixes pass diagnostics
Regular Maintenance
# Monthly security audit
python scripts/workspace_audit.py --config gws-export.json --format json > audit_$(date +%Y%m).json
# Weekly health check
python scripts/gws_doctor.py --check dns,email --format jsonReference Documentation
- GWS Admin Guide - Security settings, API configuration, DNS requirements
Common Patterns Quick Reference
Security Priorities
| Setting | Priority | Impact |
| 2FA enforcement | Critical | Prevents account takeover |
| Password policy | Critical | Reduces credential attacks |
| External sharing | High | Prevents data leakage |
| App access control | High | Limits third-party risk |
| Mobile management | Medium | Secures device access |
| Admin role review | Medium | Limits privilege exposure |
DNS Records for Email
| Record | Purpose | Example |
| MX | Email routing | ASPMX.L.GOOGLE.COM |
| SPF | Sender verification | v=spf1 include:_spf.google.com ~all |
| DKIM | Email signing | Domain-specific CNAME |
| DMARC | Policy enforcement | v=DMARC1; p=reject; rua=mailto:... |
API Scopes
| API | Scope | Purpose |
| Admin SDK | admin.directory.user | User management |
| Drive | drive.readonly | File listing |
| Gmail | gmail.settings.basic | Email settings |
| Calendar | calendar.readonly | Calendar access |
Common Issues
| Issue | Symptom | Fix |
| No 2FA | Account takeover risk | Enable 2FA enforcement |
| Weak passwords | Credential stuffing | Set 12+ char minimum |
| Open sharing | Data leakage | Restrict external sharing |
| No DMARC | Email spoofing | Add DMARC DNS record |
| Stale admins | Excessive privileges | Review admin roles quarterly |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

