groq-enterprise-rbac
Skill by jeremylongshore
Sets up per-team access control for Groq inference through an application gateway. It covers model allow-lists, spending caps, rate limits, and key rotation for organizations that run Groq for several teams.
Install groq-enterprise-rbac
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/groq-enterprise-rbac ~/.claude/skills/groq-enterprise-rbacRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/groq-enterprise-rbac ~/.gemini/antigravity-cli/skills/groq-enterprise-rbacAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install groq-enterprise-rbac in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets up team access control for Groq's inference API. Groq uses flat API keys with the gsk_ prefix and no built-in scopes, so the skill places access control in a gateway between teams and Groq. It describes a key registry with one Groq Project and key per team and environment, plus a per-team policy for allowed models, max tokens per request, monthly budget, and requests per minute. A guard rejects unauthorized models or oversized requests before they reach Groq.
The skill also covers spending controls. It describes an organization-level cap with alerts at 50, 80, and 95 percent set in the Groq Console, and per-team spend tracking in the gateway. It includes a zero-downtime key rotation runbook. It is intended for organizations that run Groq for multiple teams. Full code is in a referenced implementation file.
Written from the project's SKILL.md and checked against it.
What it can do
- API key strategyMaps each team and environment to its own Groq Project key in a registry.
- Model access controlDefines per-team allowed models, token ceilings, budgets, and rate limits in one policy object.
- Request validationRejects unauthorized models or oversized requests before they reach Groq.
- API gatewayChecks permissions and budget, rate-limits per team, calls Groq with the team's key, and records usage.
- Spending controlsSets org-level caps and alerts in the Groq Console and tracks per-team spend with threshold alerts.
- Key rotationDescribes a zero-downtime process for creating, deploying, and deleting Groq API keys.
What you need
- A Groq organization with Console access and billing configured
- Permission to create Groq Projects
- A secret manager such as AWS Secrets Manager, GCP Secret Manager, or Vault
- A Node/TypeScript gateway layer
- groq-sdk and p-queue packages
Try asking
- Set up a key registry with one Groq project per team and environment
- Write a gateway check that blocks models not on a team's allow-list
- Create a zero-downtime Groq API key rotation runbook for my services
Good to know
- Groq API keys have no built-in scopes, so access control must live in your gateway.
- Rate limits are per organization and shared across all keys.
- The reference implementation is written in Node/TypeScript.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/groq-enterprise-rbac/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEdit
-
SKILL.md5 KB -
references/examples.md2 KB -
references/implementation.md6 KB
Alternatives to groq-enterprise-rbac
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
groq-enterprise-rbac: common questions
Does Groq support per-key permissions?
No. Groq keys have no built-in scopes and every key has full API access, so the skill enforces access control in an application gateway.
How are Groq rate limits applied across teams?
Rate limits are per organization and shared across all keys. The gateway adds per-team rate limiting with p-queue, but teams still share the org-level limits.
How does key rotation work without downtime?
Create a new key in the same Project, deploy it alongside the old key, update the secret manager, restart services, monitor for 24 hours, then delete the old key.
How do I install groq-enterprise-rbac?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is groq-enterprise-rbac free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is groq-enterprise-rbac safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to groq-enterprise-rbac?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
