redteam-autoresearch

Generate labeled adversarial prompts and responses for guardrail training data.

76|11|Updated May 18, 2026
One-click install
npx skills add https://github.com/superagent-ai/skills --skill redteam-autoresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: redteam-autoresearch
Source: https://github.com/superagent-ai/skills/tree/main/skills/redteam-autoresearch
Command: npx skills add https://github.com/superagent-ai/skills --skill redteam-autoresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, pyyaml, python-dotenv, tenacity, tqdm, sentence-transformers, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill orchestrates a bounded red-team autoresearch loop to generate labeled guardrail training data for LLM safety. It enables attackers and judges to simulate real-world adversarial probing under explicit authorization, producing studyable datasets locally.

Core Features & Use Cases

  • End-to-end autoresearch workflow: target profiling, seed research, batch generation, deterministic mutators, model querying, judging with StrongREJECT, recording, and archive-based novelty tracking.
  • Data export for guardrails: prepares labeled prompts, responses, and metadata for training guardrail classifiers and detectors.
  • Benchmark-ready: supports holdout seeds, difficulty strata, and macro/micro ASR reporting for model comparisons.

Quick Start

Set up a run workspace and start the bounded red-team autoresearch workflow to generate guardrail training data.

Frequently Asked Questions about redteam-autoresearch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate adversarial prompts for LLM guardrail training data?

You generate adversarial prompts for LLM guardrail training data by running a bounded red-team autoresearch loop that profiles targets, selects seeds, applies mutators, queries models, and records labeled datasets locally.

What is red-team autoresearch for LLM evaluation?

Red-team autoresearch for LLM evaluation simulates real-world adversarial probing under explicit authorization to produce studyable, labeled guardrail datasets for downstream training.

How do I evaluate model safety using StrongREJECT judging?

You evaluate model safety using StrongREJECT judging by querying models with mutated adversarial prompts and scoring responses to calculate macro and micro attack success rates for benchmark comparisons.

Can I use OpenAI with python-dotenv to automate adversarial dataset creation?

Yes, you can use OpenAI with python-dotenv to automate adversarial dataset creation by setting up a local run workspace to handle batch generation, querying, and recording.

Are there limitations to running local red-team guardrail generation with tenacity?

Local red-team guardrail generation with tenacity enforces authorized usage and local execution, meaning it requires explicit permission for adversarial probing and operates within bounded, local run workspaces only.