Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-rbac

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install groq-enterprise-rbac in Claude Code

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 →

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.

groq-enterprise-rbac Install

Add to stack

Loading.