Files
googleworkspace--cli/.agent/workflows/verify-skills.md
T
wehub-resource-sync 76a9e7a0cc
Automation / Format (push) Waiting to run
Automation / File Labeler (push) Waiting to run
Automation / Gemini Review (push) Waiting to run
Automation / Gemini Reviewed (push) Waiting to run
CI / Detect Changes (push) Waiting to run
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
CI / Nix (push) Blocked by required conditions
CI / Lint (push) Blocked by required conditions
CI / Cargo Deny (push) Blocked by required conditions
CI / Verify Skills (push) Blocked by required conditions
CI / Lint Skills (push) Blocked by required conditions
CI / Build (Linux x86_64) (push) Blocked by required conditions
CI / Build (macos-latest, aarch64-apple-darwin) (push) Blocked by required conditions
CI / Build (macos-latest, x86_64-apple-darwin) (push) Blocked by required conditions
CI / Build (ubuntu-latest, aarch64-unknown-linux-gnu) (push) Blocked by required conditions
CI / Build (windows-latest, x86_64-pc-windows-msvc) (push) Blocked by required conditions
CI / API Smoketest (push) Blocked by required conditions
Coverage / Coverage (push) Waiting to run
Policy / Policy Check (push) Waiting to run
Release (Changeset) / Release (push) Waiting to run
Publish OpenClaw Skills / publish (push) Has been cancelled
Audit / Security Audit (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:06 +08:00

2.5 KiB

description
description
Verify all skills/*/SKILL.md files against actual CLI output for accuracy

Verify Skills

Ensure every skills/*/SKILL.md file is accurate and optimized for AI agent consumption.

Steps

  1. List all skill files
find skills -name SKILL.md | sort
  1. Get top-level help for every service

// turbo

for svc in drive sheets gmail calendar admin admin-reports docs slides tasks people chat vault groupssettings reseller licensing apps-script; do
  echo "=== $svc ==="
  ./target/debug/gws $svc --help 2>&1
  echo
done
  1. Get sub-resource help for key services (spot-check method names used in examples)

// turbo

./target/debug/gws drive files --help 2>&1
./target/debug/gws gmail users messages --help 2>&1
./target/debug/gws sheets spreadsheets --help 2>&1
./target/debug/gws sheets spreadsheets values --help 2>&1
./target/debug/gws calendar events --help 2>&1
./target/debug/gws people people --help 2>&1
./target/debug/gws chat spaces --help 2>&1
./target/debug/gws vault matters --help 2>&1
./target/debug/gws admin users --help 2>&1
./target/debug/gws tasks tasks --help 2>&1
  1. For each SKILL.md, verify the following against the CLI --help output:

    • Resource names match exactly (e.g., files, spreadsheets, users)
    • Method names match exactly (e.g., list, insert, batchUpdate, getContent)
    • Nested resource paths are correct (e.g., spreadsheets values get, not values get)
    • Alias mentioned in the file matches services.rs (e.g., gws script for apps-script)
    • API version in the header is correct
    • Example commands use valid --params and --json flag syntax
    • No OAuth scopes section — scopes should not be listed in skill files
    • Tips section contains accurate, actionable advice
  2. Cross-check shared/SKILL.md covers:

    • --fields / field mask syntax
    • CLI syntax (--params, --json, --output, --upload, --page-all, --page-limit, --page-delay)
    • Authentication (GOOGLE_WORKSPACE_CLI_CREDENTIALS, GOOGLE_WORKSPACE_API_KEY)
    • Auto-pagination (--page-all) with NDJSON output
    • gws schema <method> introspection
    • Error handling JSON structure
    • Binary download with --output
    • Version override (--api-version, colon syntax)
  3. Fix any issues found — update the SKILL.md files directly.

  4. Rebuild and re-verify if any examples were changed.

// turbo

cargo build 2>&1