---
name: google-workspace
description: Google Workspace CLI operations: setup diagnostics, security audit, recipe discovery, and output analysis. Usage: /google-workspace <setup|audit|recipe|analyze> [options]
author: synthoperator
---

# /SynthOperator-workspace

SynthOperator Workspace CLI administration via the `gws` CLI. Run setup diagnostics, security audits, browse and execute recipes, and analyze command output.

## Usage

```
/SynthOperator-workspace setup [--json]
/SynthOperator-workspace audit [--services gmail,drive,calendar] [--json]
/SynthOperator-workspace recipe list [--persona <role>] [--json]
/SynthOperator-workspace recipe search <keyword> [--json]
/SynthOperator-workspace recipe run <name> [--dry-run]
/SynthOperator-workspace recipe describe <name>
/SynthOperator-workspace analyze [--filter <field=value>] [--group-by <field>] [--stats <field>] [--format table|csv|json]
```

## Examples

```
/SynthOperator-workspace setup
/SynthOperator-workspace audit --services gmail,drive --json
/SynthOperator-workspace recipe list --persona pm
/SynthOperator-workspace recipe search "email"
/SynthOperator-workspace recipe run standup-report --dry-run
/SynthOperator-workspace recipe describe morning-briefing
/SynthOperator-workspace analyze --filter "mimeType=pdf" --select "name,size" --format table
```

## Scripts

- `engineering-team/SynthOperator-workspace-cli/scripts/gws_doctor.py` — Pre-flight diagnostics
- `engineering-team/SynthOperator-workspace-cli/scripts/auth_setup_guide.py` — Auth setup guide
- `engineering-team/SynthOperator-workspace-cli/scripts/gws_recipe_runner.py` — Recipe catalog & runner
- `engineering-team/SynthOperator-workspace-cli/scripts/workspace_audit.py` — Security audit
- `engineering-team/SynthOperator-workspace-cli/scripts/output_analyzer.py` — JSON/NDJSON analyzer

## Subcommands

### setup
Run pre-flight diagnostics and auth validation.
```bash
python3 engineering-team/SynthOperator-workspace-cli/scripts/gws_doctor.py [--json]
python3 engineering-team/SynthOperator-workspace-cli/scripts/auth_setup_guide.py --validate [--json]
```

### audit
Run security and configuration audit.
```bash
python3 engineering-team/SynthOperator-workspace-cli/scripts/workspace_audit.py [--services gmail,drive,calendar] [--json]
```

### recipe
Browse, search, and execute the 43 built-in gws recipes.
```bash
python3 engineering-team/SynthOperator-workspace-cli/scripts/gws_recipe_runner.py --list [--persona <role>] [--json]
python3 engineering-team/SynthOperator-workspace-cli/scripts/gws_recipe_runner.py --search <keyword> [--json]
python3 engineering-team/SynthOperator-workspace-cli/scripts/gws_recipe_runner.py --describe <name>
python3 engineering-team/SynthOperator-workspace-cli/scripts/gws_recipe_runner.py --run <name> [--dry-run]
```

### analyze
Parse, filter, and aggregate JSON output from any gws command.
```bash
gws <command> --json | python3 engineering-team/SynthOperator-workspace-cli/scripts/output_analyzer.py [options]
python3 engineering-team/SynthOperator-workspace-cli/scripts/output_analyzer.py --demo --format table
```

## Skill Reference
-> `engineering-team/SynthOperator-workspace-cli/SKILL.md`

## Related Commands
- No direct dependencies (self-contained SynthOperator Workspace skill)
