Skip to content
Back to skills

Prompt Ab Lab

ASecurity

Design, log, compare, and score prompt experiments so users can systematically

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
business

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill prompt-ab-lab --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Ab Lab?

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

Security grade badge for Prompt Ab Lab
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-prompt-ab-lab/badge)](https://www.skillsdirectory.com/skills/dvcrn-prompt-ab-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: prompt-ab-lab
description: "Design, log, compare, and score prompt experiments so users can systematically"
---

# Prompt A/B Lab

## Purpose

Design, log, compare, and score prompt experiments so users can systematically improve outputs instead of guessing.

## Trigger phrases

- 比较两个提示词
- prompt ab test
- 提示词实验
- 哪个 prompt 更好
- 建一个评测表

## Ask for these inputs

- prompt A and B
- task
- evaluation criteria
- test set
- weights if any

## Workflow

1. Define what success looks like before comparing prompts.
2. Generate an evaluation rubric and structured test table.
3. Log outputs per test case and compute weighted scores.
4. Summarize tradeoffs instead of declaring a winner too early.
5. Recommend the next experiment iteration.

## Output contract

- experiment plan
- scored comparison table
- rubric
- next-iteration suggestions

## Files in this skill

- Script: `{baseDir}/scripts/prompt_experiment_logger.py`
- Resource: `{baseDir}/resources/eval_rubric.md`

## Operating rules

- Be concrete and action-oriented.
- Prefer preview / draft / simulation mode before destructive changes.
- If information is missing, ask only for the minimum needed to proceed.
- Never fabricate metrics, legal certainty, receipts, credentials, or evidence.
- Keep assumptions explicit.

## Suggested prompts

- 比较两个提示词
- prompt ab test
- 提示词实验

## Use of script and resources

Use the bundled script when it helps the user produce a structured file, manifest, CSV, or first-pass draft.
Use the resource file as the default schema, checklist, or preset when the user does not provide one.

## Boundaries

- This skill supports planning, structuring, and first-pass artifacts.
- It should not claim that files were modified, messages were sent, or legal/financial decisions were finalized unless the user actually performed those actions.


## Compatibility notes

- Directory-based AgentSkills/OpenClaw skill.
- Runtime dependency declared through `metadata.openclaw.requires`.
- Helper script is local and auditable: `scripts/prompt_experiment_logger.py`.
- Bundled resource is local and referenced by the instructions: `resources/eval_rubric.md`.

Files in this skill

  • CHANGELOG.md41 B
  • README.md3 KB
  • SELF_CHECK.md1.8 KB
  • SKILL.md2.2 KB
  • examples/example-prompt.md564 B
  • resources/eval_rubric.md154 B
  • scripts/prompt_experiment_logger.py863 B
  • tests/smoke-test.md872 B

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…