Skip to content
Back to skills

Targets Scorers

ASecurity

"Configure PyRIT prompt targets, target capabilities, scorers,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolsazureapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill targets-scorers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Targets Scorers?

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

Security grade badge for Targets Scorers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-targets-scorers/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-targets-scorers)

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: targets-scorers
description: "Configure PyRIT prompt targets, target capabilities, scorers,
  score aggregation, and target/scorer troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Targets and Scorers

Use this sub-skill when you need to:

- choose and configure a prompt target
- reason about target capabilities, modalities, auth, and rate limits
- choose or compose scorers
- aggregate, threshold, or batch score results
- debug credential, endpoint, browser, model, JSON, or modality failures

## Start here

- [Targets and scorers reference](references/targets-scorers-reference.md)
- [API reference](references/api-reference.md)
- [Troubleshooting](references/troubleshooting.md)
- [Offline smoke script](scripts/target_scorer_smoke.py)

## Fast routing

- Offline dry run, logging, or manual prompt capture: `TextTarget`
- OpenAI / Azure OpenAI / OpenAI-compatible services: `OpenAIChatTarget`, `OpenAIResponseTarget`, `OpenAICompletionTarget`
- Raw HTTP or API-style endpoints: `HTTPTarget`, `HTTPXAPITarget`
- Browser or web UI workflows: `PlaywrightTarget`, `PlaywrightCopilotTarget`, `WebSocketCopilotTarget`
- Provider fan-out or load balancing: `LiteLLMChatTarget`, `RoundRobinTarget`
- Local model / torch / download-heavy workflows: `HuggingFaceChatTarget`
- Exact or regex detectors: `SubStringScorer`, `RegexScorer`
- LLM-guided judgment: `SelfAsk*` scorers, `LlamaGuardScorer`, `ShieldGemmaScorer`
- Aggregation, thresholding, and memory-backed evaluation: `TrueFalseCompositeScorer`, `FloatScaleThresholdScorer`, `BatchScorer`, `pyrit.analytics`

## Boundaries

- For memory and configuration bootstrap, use [setup-memory-core](../setup-memory-core/SKILL.md).
- For attacks and scenarios that consume targets and scorers, use [attacks-scenarios](../attacks-scenarios/SKILL.md).
- For converters and datasets that shape target input, use [converters-datasets](../converters-datasets/SKILL.md).
- For scanner/backend commands, use [cli-backend-scanner](../cli-backend-scanner/SKILL.md).

## Operating rule

1. Pick the smallest target family that fits the endpoint or workflow.
2. Check capabilities before assuming the target can accept a modality or conversation shape.
3. Prefer local scorers when the signal is lexical or rule-based.
4. Use LLM-backed scorers only when the judgment needs model reasoning.
5. Keep live-service checks separate from the offline smoke script.

## Bundled files

- [references/targets-scorers-reference.md](references/targets-scorers-reference.md)
- [references/api-reference.md](references/api-reference.md)
- [references/troubleshooting.md](references/troubleshooting.md)
- [scripts/target_scorer_smoke.py](scripts/target_scorer_smoke.py)

Files in this skill

  • SKILL.md2.7 KB
  • references/api-reference.md3.8 KB
  • references/targets-scorers-reference.md7.6 KB
  • references/troubleshooting.md3 KB
  • scripts/target_scorer_smoke.py1.8 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.