groq-data-handling
Skill by jeremylongshore
Adds a privacy pipeline to Groq API calls. It sanitizes prompts, redacts PII, filters responses, writes hash-only audit logs, and tracks token cost for developers using the Groq SDK.
Install groq-data-handling
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-data-handling ~/.claude/skills/groq-data-handlingRun 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-data-handling ~/.gemini/antigravity-cli/skills/groq-data-handlingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The groq-data-handling skill wires a privacy pipeline around the Groq SDK in a Node.js project. It sanitizes prompts before they are sent, redacts PII such as emails, phone numbers, SSNs, card numbers and IP addresses, and filters model responses after they return.
Each call is logged with a SHA-256 hash of the prompt rather than the prompt text, so the audit trail holds no sensitive content. Token counts and estimated cost are tracked per model. It is aimed at developers who need GDPR-style data handling, retention or compliance controls for a Groq integration.
Written from the project's SKILL.md and checked against it.
What it can do
- Prompt sanitizationRuns a PII rule table over every message before it leaves the process.
- PII redactionReplaces detected emails, phones, SSNs, cards and IPs with placeholders.
- Response filteringFilters model responses after they return from the Groq API.
- safeCompletionWrapper that passes input and response through the sanitizer around the completion call.
- Usage trackingRecords token counts and estimated cost per call using a per-model price table.
- auditedCompletionLogs a SHA-256 prompt hash and PII flags without storing prompt text.
- Content moderationDescribes content safety checks using Llama Guard through Groq.
- Daily cost reportAggregates usage into totals and a per-model cost breakdown.
What you need
- Node.js project
- groq-sdk npm package
- Groq API key set as GROQ_API_KEY
Try asking
- Sanitize these messages to remove emails and phone numbers before calling Groq.
- Show me the audit log entry for my last Groq completion without the prompt text.
- Generate a daily Groq cost report broken down by model.
Good to know
- Usage data may be missing in streaming mode, so use non-streaming calls or estimate.
- Cost figures are estimates based on a per-model price table.
- Groq may temporarily log requests for abuse prevention.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/groq-data-handling/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-data-handling
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
groq-data-handling: common questions
Does Groq use my API data for training?
The source states that Groq does not train on API request or response data. It also says prompts and completions are processed and discarded.
What goes into the audit log?
Each audit entry holds a SHA-256 hash of the prompt, PII detection flags, a response filtered flag and the usage record. The prompt text is not stored.
Which PII types does it redact?
The sanitized output uses placeholders for EMAIL, PHONE, SSN, CARD and IP. The source does not list other categories.
How do I install groq-data-handling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is groq-data-handling free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is groq-data-handling 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-data-handling?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
