Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

groq-apigroq API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

17,112

周安装

699

GitHub Stars

公开资料未说明

下载量

5,480
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:groq-api(groq API 搜索)
来源仓库:https://github.com/ivangdavila/groq-api
安装命令:
openclaw skills install groq-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install groq-api

简介

使用低延迟路由、结构化输出和生产安全模式构建和调试 Groq API 聊天和语音工作流程。

SKILL.md

name
Groq API Inference
slug
groq-api
version
1.0.0
homepage
https://clawic.com/skills/groq-api
description
Build and debug Groq API chat and speech workflows with low-latency routing, structured outputs, and production-safe patterns.
changelog
Initial release with Groq API workflows, model routing guidance, and troubleshooting playbooks for chat and speech.
metadata
{"clawdbot":{"emoji":"⚡","requires":{"bins":["curl","jq"],"env":["GROQ_API_KEY"]},"os":["linux","darwin","win32"]}}

Setup

On first use, read setup.md for activation preferences, credential verification, and default workflow setup.

When to Use

User needs to build, integrate, or troubleshoot Groq API inference for chat, tool calling, or speech transcription. Agent handles request shaping, model routing, failure recovery, and safe production patterns.

Architecture

Memory lives in ~/groq-api/. See memory-template.md for structure.

~/groq-api/
├── memory.md           # Status, activation preference, and defaults
├── requests/           # Reusable payload snippets
├── logs/               # Optional debug snapshots
└── experiments/        # Prompt/model A-B notes

Quick Reference

Use these files as decision aids, not as static docs: pick the smallest file that resolves the current blocker.

TopicFile
Setup processsetup.md
Memory templatememory-template.md
Request patternsapi-patterns.md
Model routingmodel-selection.md
Failures and recoverytroubleshooting.md

Core Rules

1. Verify Auth and Endpoint Before Any Work

Check GROQ_API_KEY first and use Authorization: Bearer $GROQ_API_KEY for every request. Use https://api.groq.com/openai/v1 as the base URL and confirm access with /models.

curl -s https://api.groq.com/openai/v1/models \
  -H "Authorization: Bearer $GROQ_API_KEY" | jq '.data[0].id'

2. Start with a Minimal Deterministic Payload

Begin with small prompts and explicit format instructions. Add complexity only after the baseline call is stable.

3. Route by Task, Not by Habit

Use separate model choices for:

  • Fast interactive chat
  • High-accuracy reasoning
  • Speech transcription

Choose from live /models output instead of hardcoding assumptions.

4. Design for Retry and Degradation

For 429 and 5xx, retry with exponential backoff and capped attempts. If a model is overloaded, fail over to a compatible backup model and log the swap.

5. Validate Output Before Downstream Actions

If output feeds code execution or data writes, enforce JSON schema or strict parsing before acting. Reject malformed output early.

6. Treat Speech as a Separate Reliability Path

Speech uploads have different failure modes than chat. Validate input format, check file size, and surface transcription confidence when available.

7. Keep Secrets and User Data Scoped

Never store API keys in files. Keep request logs sanitized and avoid persisting full sensitive prompts unless the user explicitly asks.

Common Traps

  • Using stale model IDs copied from old examples -> call /models and select available IDs at runtime.
  • Sending giant prompts without truncation -> latency spikes and timeout risk.
  • Ignoring 429 backoff guidance -> repeated failures under load.
  • Mixing chat and transcription assumptions -> wrong endpoint and payload format.
  • Trusting free-form text for automation -> parse and validate before executing.

External Endpoints

All network traffic should be limited to these Groq endpoints for explicit inference tasks requested by the user.

EndpointData SentPurpose
https://api.groq.com/openai/v1/modelsNone (GET)Discover available models
https://api.groq.com/openai/v1/chat/completionsPrompt messages and optionsChat completions
https://api.groq.com/openai/v1/audio/transcriptionsAudio file and transcription paramsSpeech-to-text

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • Prompt content sent to Groq inference endpoints
  • Audio content sent to Groq transcription endpoint when requested

Data that stays local:

  • Workflow preferences in ~/groq-api/memory.md
  • Optional local debug notes in ~/groq-api/logs/

This skill does NOT:

  • Store GROQ_API_KEY in project files
  • Access files outside ~/groq-api/ for persistence
  • Call undeclared third-party endpoints
  • Modify itself or other skills

Trust

By using this skill, prompts and optional audio content are sent to Groq. Only install if you trust Groq with that data.

Related Skills

Install with clawhub install <slug> if user confirms:

  • api — reusable REST patterns, auth, and error handling
  • models — model comparison and selection heuristics
  • ai — current AI landscape checks before implementation decisions
  • fine-tuning — adaptation workflows when prompting is not enough
  • langchain — orchestration patterns for multi-step LLM pipelines

Feedback

  • If useful: clawhub star groq-api
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.09%
按下载量换算4,444

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills