Agent skill

Adversarial Prompting

by sundial-org in sundial-org/awesome-openclaw-skills

Applies rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem (technical or non-technical).

No licenceAuto-check passed

Install Adversarial Prompting

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill adversarial-prompting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills adversarial-prompting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/adversarial-prompting .claude/skills/adversarial-prompting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adversarial-prompting
GitHub stars
663
Token cost
~1.1k tokens
SKILL.md length
547 words
Files
2 (incl. scripts)
Skills in repo
383
Repo updated
First seen
Licence
None found

At a glance

Applies rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem (technical or non-technical).

  • Works in 7 steps: Solution Generation → Adversarial Critique → Fix Development → …
  • Facing complex problems requiring thorough analysis
  • SKILL.md covers When to Use This Skill, How to Use This Skill and Implementation Notes
  • Runs Python scripts from its folder

What it does

Adversarial Prompting is an agent skill from sundial-org/awesome-openclaw-skills. Applies rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem (technical or non-technical). Use when facing complex problems requiring thorough analysis, multiple solution approaches, and validation of proposed fixes before implementation.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/export_analysis.py`).

The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • Facing complex problems requiring thorough analysis
  • Multiple solution approaches
  • Validation of proposed fixes before implementation

Example prompts

  • “Use the adversarial-prompting skill to apply rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem…”
  • “/adversarial-prompting”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Solution Generation
  2. Adversarial Critique
  3. Fix Development
  4. Validation Check
  5. Consolidation
  6. Summary of Options
  7. Final Recommendation

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adversarial Prompting loads about 1.1k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 547 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 547 words (~1,133 tokens).

“This skill applies a structured adversarial methodology to problem-solving by generating multiple solutions, rigorously critiquing each for weaknesses, developing fixes, validating those fixes, and consolidating into ranked recommendations. The approach forces deep analysis of failure modes, edge cases, and unintended…”

— opening of SKILL.md by sundial-org
name
adversarial-prompting

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in skills/adversarial-prompting of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • scripts/export_analysis.py

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Adversarial Prompting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adversarial Prompting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adversarial Prompting this skillsundial-org/awesome-openclaw-skills663—~1.1kAutomated safety check: PassNone
Prompt Optimizeraffaan-m/ECC277k5 repos~3.8kAutomated safety check: PassMIT
Refine Promptpenpot/penpot61k—~1.6kAutomated safety check: PassMPL-2.0
Prompt Governancealirezarezvani/claude-skills28k—~2.8kAutomated safety check: PassMIT
Design Critiquepaperclipai/paperclip100k—~1.2kAutomated safety check: PassMIT
Prompt Optimizeraffaan-m/ECC277k2 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Prompt Optimizer

    affaan-m/ECC

    Analyze draft prompts, detect intent and missing context, match ECC commands, skills, and agents, and output a ready-to-paste optimized prompt with diagnosis and rationale — advisory only, never…

    277k GitHub starsUsed in 5 repos~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Refine Prompt

    penpot/penpot

    Refine and improve a user-supplied prompt for maximum clarity and effectiveness using prompt-engineering best practices and Penpot project context.

    61k GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Prompt Governance

    alirezarezvani/claude-skills

    A skill your agent uses when managing prompts in production at scale: versioning prompts, running A/B tests on prompts, building prompt registries, preventing prompt regressions, or creating eval…

    28k GitHub stars~2.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Design Critique

    paperclipai/paperclip

    Give a structured product design critique — user job clarity, hierarchy, affordance, error states, accessibility, and consistency — focused on what to change, in what order, and why.

    100k GitHub stars~1.2k tokensUpdated today
    Media & CreativeAuto-check passed
  • Prompt Optimizer

    affaan-m/ECC

    分析原始提示,识别意图和差距,匹配ECC组件(技能/命令/代理/钩子),并输出一个可直接粘贴的优化提示。仅提供咨询角色——绝不自行执行任务。触发时机:当用户说“优化提示”、“改进我的提示”、“如何编写提示”、“帮我优化这个指令”或明确要求提高提示质量时。中文等效表达同样触发:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发时机:当用户希望直接执行任…

    277k GitHub starsUsed in 2 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Prompt Engineer Toolkit

    alirezarezvani/claude-skills

    Turns marketing prompts into tested, versioned production assets: A/B prompt evaluation against structured test cases, immutable prompt version history with diffs, ready-to-use marketing prompt…

    28k GitHub stars~1.4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Questions about Adversarial Prompting

What does Adversarial Prompting do?

Applies rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem (technical or non-technical). Adversarial Prompting is an agent skill from sundial-org/awesome-openclaw-skills. Applies rigorous adversarial analysis to generate, critique, fix, and consolidate solutions for any problem (technical or non-technical).

When should I use Adversarial Prompting?

Adversarial Prompting fits situations like: facing complex problems requiring thorough analysis; multiple solution approaches; validation of proposed fixes before implementation.

How do I install Adversarial Prompting in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill adversarial-prompting -a claude-code`. Or copy the skill folder (skills/adversarial-prompting in sundial-org/awesome-openclaw-skills) into .claude/skills/adversarial-prompting in your project. Claude Code loads it when a task matches its description.

How do I install Adversarial Prompting in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill adversarial-prompting -a codex`. Or copy the skill folder (skills/adversarial-prompting in sundial-org/awesome-openclaw-skills) into .agents/skills/adversarial-prompting in your project. Codex loads it when a task matches its description.

Can I use Adversarial Prompting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill adversarial-prompting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adversarial-prompting, .gemini/skills/adversarial-prompting, .github/skills/adversarial-prompting and .opencode/skills/adversarial-prompting in your project.

What does Adversarial Prompting need to run?

Going by SKILL.md and its folder, Adversarial Prompting needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Adversarial Prompting access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Adversarial Prompting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Adversarial Prompting use?

No licence was found for Adversarial Prompting or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Adversarial Prompting use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adversarial Prompting?

Skills that share tags, products or a category with Adversarial Prompting: Prompt Optimizer (affaan-m/ECC, 277k stars), Refine Prompt (penpot/penpot, 61k stars), Prompt Governance (alirezarezvani/claude-skills, 28k stars) and Design Critique (paperclipai/paperclip, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adversarial Prompting?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.