gws-schema

gws-schema is a skill for Claude Code from fakoli/fakoli-plugins. It costs 26 tokens per session (501 once invoked), scanned A, original, MIT.

A command for inspecting the exact inputs and outputs of a Google Workspace API method before calling it.

In plain words
What is it for?
Checking API method arguments, data types, nested structures, and available values.
Why use it?
It prevents guessing the required parameters, request format, and response fields.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gws plugin — 94 skills, 15 commands, 11 agents shipped together

Good fit Checking API method arguments, data types, nested structures, and available values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fakoli/fakoli-plugins/gws-schema
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fakoli/fakoli-plugins --skill gws-schema
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code.

Or install gws, the plugin that ships this one along with the rest of its 94 skills, 15 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gws-schema

README.md
[![agentmods](https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-schema/github.svg)](https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-schema)
Your own site
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-schema"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-schema/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gws-schema

Your own site · 80×15
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-schema"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00501
Opus 5.5 $0.00010 $0.00200
Sonnet 5.5 $0.00005 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 1mo ago against content hash 2e479c0485c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gws-schema scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gws/skills/gws-schema/SKILL.md · 72 lines

What it actually says

gws schema

Reference: See the gws-shared skill for auth, global flags, and security rules.

Introspect any Google Workspace API schema at runtime. Use this before executing unfamiliar API calls to understand the exact parameters, request body structure, and response types.

Why Use Schema Introspection

  • Avoid guessing — see the exact JSON payload structure before writing --json
  • Discover parameters — find required vs optional query/path parameters
  • Explore types — inspect nested object schemas and enum values
  • Resolve references — follow $ref pointers to see full type definitions

Syntax

# Introspect a method's parameters and request/response schemas
gws schema <service>.<resource>.<method>

# Introspect a type definition
gws schema <service>.<TypeName>

# Resolve $ref pointers to inline the full schema
gws schema <service>.<resource>.<method> --resolve-refs

Examples

Discover method parameters

# What parameters does drive files list accept?
gws schema drive.files.list

# What does the request body for calendar events insert look like?
gws schema calendar.events.insert

# What fields are in a Gmail message?
gws schema gmail.Message

Resolve nested references

# Inline all $ref pointers for the full picture
gws schema sheets.spreadsheets.create --resolve-refs

Explore before executing

# Step 1: Check the schema
gws schema drive.permissions.create

# Step 2: Now execute with confidence
gws drive permissions create \
  --params '{"fileId": "FILE_ID"}' \
  --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'

Tips

  • Always run gws schema before using an unfamiliar API method
  • Use --resolve-refs when the schema output contains $ref pointers you want to see inline
  • Combine with --help for flag-level docs: gws drive files list --help
  • The schema is fetched from Google's Discovery Service — it's always up to date
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 72 lines · 26 tokens per session scan A 2e479c0485c1

Subscribe to this mod's changes

gws-schema is a skill published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 501 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

email-systems

Transactional email (Resend, SendGrid, SES), templates (React Email, MJML), deliverability (SPF/DKIM/DMARC), and inboxing best practices. Use when building email infrastructure, designing templates, or troubleshooting deliverability.

travisjneuman/.claude · 55 tokens

microservices-architecture

Microservices architecture patterns and best practices. Use when designing distributed systems, breaking down monoliths, or implementing service communication.

travisjneuman/.claude · 30 tokens

agent-go-expert

Specialist subagent: Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 75 tokens

devex-sdk-design

Developer experience (DX) engineering, SDK design patterns, API ergonomics, CLI tooling design, documentation-driven development, and developer onboarding. Use when designing SDKs, improving API ergonomics, building developer tools, or creating developer documentation.

travisjneuman/.claude · 52 tokens

laravel-ops

Laravel framework patterns, Eloquent ORM, authentication, queues, and testing. Use for: laravel, eloquent, artisan, blade, php, sanctum, livewire, inertia, pest, phpunit, forge, vapor, queue, middleware, migration, factory, seeder.

0xDarkMatter/claude-mods · 63 tokens

payloadcms-ops

Payload CMS 3 (Next.js-native) architecture - collections, globals, fields, access control, hooks, Local API, storage adapters, and database (Postgres/MongoDB/SQLite). Use for: payload, payloadcms, payload cms, payload 3, collection config, access control, payload hooks, local api, payload fields, multi-tenant…

0xDarkMatter/claude-mods · 101 tokens