Skip to content
Back to skills

Gpt

ASecurity

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

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill gpt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gpt?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gpt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gpt-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-gpt-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gpt
description: "Generate GPT API request payloads. Use when building chat completions, embeddings, fine-tuning data, or estimating API costs."
version: "3.4.0"
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags:
  - gpt
  - openai
  - api
  - chat-completion
  - embeddings
  - fine-tuning
---

# 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
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
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
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
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
bash scripts/script.sh batch --file prompts.txt --model gpt-4o --output batch_requests.jsonl
```

### convert

Convert between JSONL and CSV data formats.

```bash
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.