Skip to content
Back to skills

Gpt Lab

ASecurity

Benchmark and compare small GPTs for task-specific inference. Tests base, fine-tuned, and prompted models against shared eval datasets. Finds minimum viable model, compares fine-tuned vs prompted, and generates reports.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
toolsbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add grahama1970/agent-skills --skill gpt-lab --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gpt Lab?

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

Security grade badge for Gpt Lab
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grahama1970-gpt-lab/badge)](https://www.skillsdirectory.com/skills/grahama1970-gpt-lab)

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-lab
description: >
  Benchmark and compare small GPTs for task-specific inference. Tests base, fine-tuned,
  and prompted models against shared eval datasets. Finds minimum viable model,
  compares fine-tuned vs prompted, and generates reports.
allowed-tools: Bash, Read
triggers:
  - benchmark gpt models
  - compare gpt models
  - gpt lab benchmark
  - find minimum model
  - compare fine-tuned vs prompted
  - model benchmarking
  - gpt evaluation
metadata:
  short-description: Benchmark and compare small GPTs for task-specific inference
provides:
  - skill-creation
composes:
  - scillm
  - memory
  - create-gpt
  - create-figure
  - task-monitor
  - agentic-evals
taxonomy:
  - creation
  - training
  - benchmarking
disciplines:
  - ml-training
  - evaluation-quality
---

> STOP. READ THIS ENTIRE SKILL.MD BEFORE CALLING ANY ENDPOINT.

# GPT Lab

Benchmark and compare small GPTs trained by `/create-gpt` against prompted alternatives.
Answers the key question: **"Is fine-tuning worth it for this task?"**

## Minimum Data for Meaningful Benchmarks

Benchmarking a model trained on < 1,000 examples will produce misleading results.
The model hasn't learned the task — you're benchmarking noise.

Evidence: `sparta_stress_grading` (246 training samples) → 33.7% shadow agreement.
No amount of benchmarking fixes an undertrained model. Collect more labels first.

See `/create-gpt` SKILL.md "Minimum Training Data" section for thresholds.

## Quick Start

```bash
cd .pi/skills/gpt-lab

# Benchmark multiple models on a task
./run.sh benchmark --task qra-validator --models "qwen2.5-0.5b,qwen2.5-1.5b"

# Find the smallest model meeting a threshold
./run.sh find-minimum --task qra-validator --threshold 0.85

# Compare fine-tuned vs prompted
./run.sh compare --task qra-validator \
  --finetuned ../create-gpt/models/qra-validator/model.gguf \
  --prompted deepseek-v3.2

# Profile a single model
./run.sh profile --model ../create-gpt/models/qra-validator/model.gguf --samples 100

# Generate report
./run.sh report --task qra-validator --format markdown
```

## Commands

```bash
./run.sh benchmark --task NAME --models "model1,model2,..."
./run.sh compare --task NAME --finetuned PATH --prompted MODEL_NAME
./run.sh find-minimum --task NAME --threshold FLOAT
./run.sh profile --model PATH --samples N
./run.sh report --task NAME [--format markdown|json]
./run.sh history --task NAME
```

## Fine-Tuned vs Prompted Verdict

```
accuracy delta < -5%                          → NOT_WORTH_IT
accuracy delta >= -2% AND speedup >= 5x       → WORTH_IT
otherwise                                     → MARGINAL
```

## Integration

- **`/create-gpt`**: Trains the models that this skill benchmarks
- **`/scillm`**: Provides prompted baseline via Chutes API
- **`/prompt-lab`**: find-minimum pattern adapted from this skill
- **`/classifier-lab`**: Benchmark engine pattern adapted from this skill

Files in this skill

  • SKILL.md2.9 KB
  • app.py1.3 KB
  • bridge.py13 KB
  • fixtures/agentic_eval.json485 B
  • memory_integration.py3.3 KB
  • pyproject.toml573 B
  • run.sh2.4 KB
  • sanity.sh1.7 KB
  • scripts/benchmark.py14.5 KB
  • scripts/compare.py5.9 KB
  • scripts/find_minimum.py7 KB
  • scripts/profile.py5.2 KB
  • scripts/report.py4.8 KB
  • scripts/shadow_benchmark.py7.6 KB

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.

Comments

Loading comments…

Newsletter

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