Gpt OpenClaw Skill

Generate GPT API request payloads. Use when building chat completions, embeddings, fine-tuning data, or estimating API costs.

v3.4.1 Recently Updated Updated 3 wk ago

Installation

clawhub install gpt

Requires npm i -g clawhub

361

Downloads

0

Stars

4

current installs

4 all-time

15

Versions

EU EU-Hosted Inference API

Power your OpenClaw skills with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

gpt

GPT API calling assistant. Build chat completion requests, generate embedding payloads, prepare fine-tuning data, estimate costs, batch requests, and convert between formats.

Commands

chat

Build a chat completion request JSON payload from messages.

bash scripts/script.sh chat --system "You are a translator" --user "Translate: hello"
bash scripts/script.sh chat --system "Helper" --user "Hi" --model gpt-4o --temperature 0.7

embed

Generate an embedding API request payload.

bash scripts/script.sh embed --input "Text to embed"
bash scripts/script.sh embed --file texts.txt --model text-embedding-3-small

finetune

Prepare and validate fine-tuning JSONL data from source files.

bash scripts/script.sh finetune --input pairs.csv --output training.jsonl
bash scripts/script.sh finetune --validate training.jsonl

cost

Estimate API costs based on token count and model pricing.

bash scripts/script.sh cost --tokens 5000 --model gpt-4o
bash scripts/script.sh cost --file input.txt --model gpt-4-turbo

batch

Generate multiple API request payloads from a list of inputs.

bash scripts/script.sh batch --file prompts.txt --model gpt-4o --output batch_requests.jsonl

convert

Convert between JSONL and CSV data formats.

bash scripts/script.sh convert --input data.csv --to jsonl --output data.jsonl
bash scripts/script.sh convert --input data.jsonl --to csv --output data.csv

Output

All commands output JSON request bodies or JSONL to stdout by default. Use --output to write to a file. Cost estimates print a breakdown table with per-model pricing.

Requirements

  • bash 4+

Feedback

Report issues or suggestions: https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com

Statistics

Downloads 361
Stars 0
Current installs 4
All-time installs 4
Versions 15
Comments 0
Created Mar 15, 2026
Updated Mar 17, 2026

Latest Changes

v3.4.1 · Mar 17, 2026

v2.5 standard: Use-when desc, homepage, source, security fix

Quick Install

clawhub install gpt
EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.

Customer Support