Skip to content
Skills Library
AI & agents · Testing

agilab-prompt-eval-regression

/agilab-prompt-eval-regression

Design and maintain regression evaluations for AGILAB prompts, local/remote LLM flows, notebook import classification, generated-code routing, agent-skill behavior, and prompt-driven repair or analysis features. Use when a change touches prompt templates, model defaults, local LLM readiness, notebook-to-project import, code generation, or AI-assisted UX.

Repository
agilab ↗
Licence
BSD-3-Clause
Last repository change
20.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

BSD-3-Clause, otwarta.

What it does and when to use it

Design and maintain regression evaluations for AGILAB prompts, local/remote LLM flows, notebook import classification, generated-code routing, agent-skill behavior, and prompt-driven repair or analysis features. Use when a change touches prompt templates, model defaults, local LLM readiness, notebook-to-project import, code generation, or AI-assisted UX.

Original author description

Design and maintain regression evaluations for AGILAB prompts, local/remote LLM flows, notebook import classification, generated-code routing, agent-skill behavior, and prompt-driven repair or analysis features. Use when a change touches prompt templates, model defaults, local LLM readiness, notebook-to-project import, code generation, or AI-assisted UX.

How it works

  1. Scope
  2. Evaluation Pattern
  3. Test Design
  4. AGILAB-Specific Checks
  5. Validation Commands
Original SKILL.md headings · 98 lines, 558 words
SKILL.md preview
---
name: agilab-prompt-eval-regression
description: Design and maintain regression evaluations for AGILAB prompts, local/remote LLM flows, notebook import classification, generated-code routing, agent-skill behavior, and prompt-driven repair or analysis features. Use when a change touches prompt templates, model defaults, local LLM readiness, notebook-to-project import, code generation, or AI-assisted UX.
license: BSD-3-Clause (see repo LICENSE)
metadata:
  updated: 2026-09-10
---

# AGILAB Prompt Eval Regression

Use this skill when AGILAB behavior depends on a prompt, model response, or
LLM-assisted classification. The goal is not to make tests depend on live model
luck. The goal is to turn prompt-sensitive workflows into deterministic
regression surfaces with clear fixtures, expected decisions, and replayable
evidence.

## Scope

Trigger this skill for changes touching:

- notebook import cell classification, manager/worker tagging, stage naming, or
  template selection;
- generated code snippets, prompt-to-code repair, local LLM autofix, or
  pipeline generation;
- `pre_prompt.json`, prompt templates, model defaults, provider capability
  checks, or OpenAI/Ollama/GPT-OSS routing;
- agent skills whose behavior depends on prompt wording;
- documentation that claims an LLM-assisted workflow is reliable, deterministic,
  or safe.

## Evaluation Pattern

Prefer a three-layer eval:

1. **Static prompt contract**: prompt inputs are bounded, redacted, and include
   enough task context without leaking private paths or secrets.
2. **Decision fixture**: deterministic fixtures assert classification/routing
   decisions without calling a live model.
3. **Optional live smoke**: model-backed checks are opt-in, tagged, bounded by
   timeout, and record model/provider/version in evidence.

Do not add live LLM calls to default unit tests. If a live model is useful, gate
it behind an explicit environment variable or workflow profile and document the
expected cost, timeout, and failure mode.

## Test Design

- Use small notebook, prompt, and traceback fixtures that exercise the failure
  mode without external services.
- Assert on structured decisions, not exact free-form prose.
- Include negative cases: ambiguous cell, unsafe generated code, missing model,
  unreachable local endpoint, unsupported provider, and prompt too large.
- Freeze schema fields for prompt-eval evidence: `schema`, `producer`,
  `fixture`, `decision`, `model` when used, `status`, and remediation.
- Keep expected outputs human-readable enough for a reviewer to spot drift.
- Redact secrets before storing prompt, response, or traceback evidence.

## AGILAB-Specific Checks

For versioned skill evaluations, use the existing agent-run producer and the
native [evaluation receipt workflow](references/evaluation-receipts.md). Freeze
the complete skill, fixtures, grader, declared evaluator configuration, and case
cohort before execution. Record installation, routing, task, and persistence
observations separately; retain failed runs and missing observations in the
original denominator. Verify the saved receipt before reporting its outcome.
A verified receipt establishes content consistency; it does not independently
prove that a host selected the skill or executed the frozen grader.

- Notebook import must fail closed when manager/worker role is ambiguous and no
  metadata or user decision exists.
- Generated code should be routed through existing review/sandbox boundaries,
  not autorun silently.
- Local LLM readiness should report actionable setup steps instead of falling
  back to a different provider.
- Provider capability mismatches should be detected up front; do not introduce
  automatic API/client fallback rewrites.
- Prompt changes should update docs only when deterministic fixtures or live
  evidence support the new behavior.

## Validation Commands

Start with targeted tests for the touched surface:

```bash
uv --preview-features extra-build-dependencies run pytest -q -o addopts='' test/test_pipeline_ai_support.py
uv --preview-features extra-build-dependencies run pytest -q -o addopts='' test/test_notebook_import_preflight.py test/test_notebook_pipeline_import_report.py
uv --preview-features extra-build-dependencies run pytest -q -o addopts='' test/test_agent_config_and_capabilities.py
```

For skill or prompt-runbook changes:

```bash
uv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile skills
```

For optional live local-model validation, first print the exact command and keep
the result out of the default regression path:

```bash
uv --preview-features extra-build-dependencies run python tools/launch_gpt_oss.py --print-only
```

Close with which layer was validated: static fixture only, deterministic
decision fixture, or opt-in live model smoke.
Files in this package (2)
  • SKILL.md 5 KB
  • references/evaluation-receipts.md 6 KB

Versions

The database has no other skills named agilab-prompt-eval-regression.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 482191883d14 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100notebook-to-agilab-project
    Migrate or maintain a small local notebook workflow inside an AGILAB project. Use this skill when a user wants notebooks turned into a reproducible AGILAB project, project-owned notebooks exposed under ANALYSIS, WORKFLOW notebook import, lab_stages.toml, artifact contracts, and…
  • 100agilab-ui-robot-validation
    Validate AGILAB native React/Python UI changes with the repo's browser and widget robots. Use when touching ABOUT, PROJECT, ORCHESTRATE, ANALYSIS, SETTINGS, sidebar flows, first-proof wizard links, notebook import, screenshots, or public demo UI evidence.
  • 90llm-eval-harness
    This skill should be used when the user asks to "evaluate a prompt", "build an eval", "test my LLM feature", "compare models", "will switching to Haiku/Sonnet break quality", "regression test prompts", or before changing a model ID, effort level or prompt in production code.…
  • 90llm-eval-design
    Build LLM evaluations from real failures with calibrated judges and regression gates that catch quality drift. Use when an LLM feature needs quality measurement or prompts change without anyone knowing what broke.
  • 100design-agent-eval-workflow
    Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval cases, graders, thresholds, regression runs, full-auto gates, or escalation points for Codex skills, repo-local agents, OpenAI Agents SDK services,…
  • 90prompt-engineering
    Use this skill when you writing commands, hooks, skills for Agent, or prompts for sub agents or any other LLM interaction, including optimizing prompts, improving LLM outputs, or designing production prompt templates.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.