gws-workspace-context

gws-workspace-context is an agent for coding agents from orieg/gws-connector. It costs 53 tokens per session (96 once invoked), scanned A, original, MIT.

Instructions for handling Google Workspace tasks when several Google accounts are connected, including rules for choosing the right account.

In plain words
What is it for?
They help route account-specific Gmail, Calendar, and other Workspace operations through the configured GWS tools when the user names an account, label, or domain. Google Workspace is Google's collection of work apps and services.
Why use it?
They reduce the risk of sending mail, changing calendars, or accessing files in the wrong organisation or account.

Agent

Part of the gws plugin — 6 skills, 1 agent, 1 hook, 1 MCP server shipped together

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.

agentmods
npx agentmods add agents/orieg/gws-connector/workspace-context
Clone the repo
git clone --depth 1 https://github.com/orieg/gws-connector

Or install gws, the plugin that ships this one along with the rest of its 6 skills, 1 agent, 1 hook, 1 MCP server.

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-workspace-context

README.md
[![agentmods](https://agentmods.dev/badge/agents/orieg/gws-connector/workspace-context.svg)](https://agentmods.dev/agents/orieg/gws-connector/workspace-context)
Your own site
<a href="https://agentmods.dev/agents/orieg/gws-connector/workspace-context"><img src="https://agentmods.dev/badge/agents/orieg/gws-connector/workspace-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 96 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00096
Opus 5 $0.00026 $0.00048
Sonnet 5 $0.00011 $0.00019
Haiku 4.5 $0.00005 $0.00010

Measured 4d ago against content hash 8579ec9de32c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gws-workspace-context 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 4d 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.

agents/workspace-context.md · 7 lines

What it actually says

Read and follow the instructions in CONTEXT.md for all GWS workspace operations — it contains the account routing rules, per-service guidelines, and safety requirements.

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. 4d ago First seen · 7 lines · 53 tokens per session scan A 8579ec9de32c

Subscribe to this mod's changes

gws-workspace-context is an agent published in the GitHub repository orieg/gws-connector (1 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 96 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other agents, from other repositories

iteration-guard

The verify gate of the Logic-Lens iteration loop. Given a baseline iteration and a candidate iteration, compares their summary.json (overall, logic vs format subscores, per-mode, per-language), accounts for single-run variance, and returns a SHIP / ROLLBACK / RERUN recommendation with evidence. Use after…

hyhmrright/logic-lens · 99 tokens

skill-editor

Applies a single, minimal, generalized edit to a Logic-Lens skill (SKILL.md / guide / shared file) given a concrete failure diagnosis. Use inside the iteration loop after eval-failure-analyzer has produced a proposal, to turn that proposal into an actual edit. Mutates files; does NOT run evals or sync the cache — it…

hyhmrright/logic-lens · 84 tokens

eval-failure-analyzer

Analyze Logic-Lens benchmark/eval failures. Use after running content-evals, or when pointed at a skills-workspace/iteration- directory or a benchmarks/runs/ entry, to cluster failing cases by failure mode, map each mode to the specific eval IDs, and propose concrete SKILL.md disambiguation-rule changes. Read-only…

hyhmrright/logic-lens · 90 tokens

error-analyzer

Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on user impact.

PostHog/ai-plugin · 27 tokens

discovery-to-fr

End-to-end research-to-spec workflow. Takes raw user research and produces a complete Feature Request with persona context — running synthesize-user-research, build-user-persona, and write-feature-request in sequence. Use when you have research data and want to go straight to a finished FR without managing each skill…

felipecabargas/gambit · 112 tokens

sprint-to-stakeholders

Full sprint-to-communications workflow. Takes sprint data and produces all three stakeholder artefacts — running sprint-review, write-release-notes, and write-stakeholder-update in sequence. Use at the end of every sprint to produce the complete communication package in one run. Trigger on: "run…

felipecabargas/gambit · 107 tokens