← Back to Skills Marketplace
mikehankk

Wei Devils Advocate

by Wei Han · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
119
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wei-devils-advocate
Description
Stress-test ideas using multiple LLMs in adversarial roles to generate counterarguments, cross-check reasoning, and expose hidden risks and failure modes. 易找...
Usage Guidance
What to check before installing: - Metadata mismatch: The registry metadata shows no required environment variables, but SKILL.md and code require OPENROUTER_API_KEY and/or DASHSCOPE_API_KEY. Don’t assume there are no credentials needed — the skill will ask for provider API keys. - Review client code: The included scripts make network calls to the configured api_base endpoints (openrouter.ai and dashscope.aliyuncs.com). If you will supply API keys, ensure you trust those provider endpoints and understand that queries (and any user data you pass) will be sent there. - Inspect prompt files: The pre-scan detected a prompt‑injection string in SKILL.md. Open prompts/debater.txt and prompts/judge.txt (and SKILL.md) and confirm the suspicious phrases are only documented as examples or defenses, not embedded in ways that could cause unintended model behavior. - File writes: The tool will write reports and intermediate outputs to reports/ and intermediate/ in the skill directory. Don’t run it from a location containing sensitive files you don’t want mixed or leaked. - Install steps: SKILL.md instructs installing Bun via the official bun.sh installer (downloaded by curl). That is common but you should only run it if you trust the source. The package dependencies are standard (axios, dotenv). - If you are unsure: request the author to update registry metadata to declare required env vars, provide a formal install spec, and confirm why any prompt phrases that resemble injection attacks are present. If you will provide API keys, avoid sending secrets or extremely sensitive data through the skill until you have audited the client implementations and prompts.
Capability Analysis
Type: OpenClaw Skill Name: wei-devils-advocate Version: 1.0.0 The skill bundle is a legitimate multi-LLM adversarial analysis tool designed to stress-test ideas using various language models. The code implementation in `scripts/agent.ts` and the HTTP clients in `scripts/clients/` are well-structured, using standard libraries like Axios and Dotenv. Notably, the agent includes a proactive `sanitizeInput` function to mitigate prompt injection attacks by redacting common injection phrases. Sensitive data such as API keys are correctly handled via environment variables, and file operations are restricted to local report generation within the skill's directory. No evidence of data exfiltration, malicious execution, or unauthorized persistence was found.
Capability Tags
cryptocan-make-purchasesrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill is a multi‑LLM 'devil's advocate' tool and the code calls multiple providers (OpenRouter / DashScope) which is appropriate for its purpose. However the registry metadata lists no required environment variables while SKILL.md and the code clearly expect OPENROUTER_API_KEY and/or DASHSCOPE_API_KEY — an inconsistency between declared requirements and actual needs.
Instruction Scope
SKILL.md instructs installing Bun, running scripts, and creating .env with provider API keys; the code reads config.json, prompts/, and writes reports/intermediate outputs. That scope is coherent for the stated task. However a pre‑scan found a prompt‑injection pattern ('ignore-previous-instructions') inside the SKILL.md content; while the agent implements input sanitization for common injection patterns, the existence of these strings in runtime prompt materials is a red flag that should be manually reviewed (could be an example/explanation or could be an attempt to manipulate models).
Install Mechanism
There is no formal install spec in the registry, but SKILL.md instructs using the Bun installer (curl https://bun.sh/install) and running 'bun install'. bun.sh is a known installer site; dependencies are standard (axios, dotenv). This is an expected workflow but the absence of a declared install spec while providing runnable code is an inconsistency to be aware of.
Credentials
The only runtime secrets referenced (OPENROUTER_API_KEY, DASHSCOPE_API_KEY) are appropriate for a multi‑provider LLM tool. The concern is the metadata claims no required env vars while the README/SKILL.md and code require API keys and will error if they are not set — this mismatch could mislead users into installing without realizing they'll need to provide provider credentials. No unrelated credentials (AWS, GitHub, etc.) are requested.
Persistence & Privilege
The skill is not 'always: true' and does not request system‑wide privileges. It writes reports and intermediate files into project directories (reports/, intermediate/), which is expected and disclosed in the README. It does not appear to alter other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wei-devils-advocate
  3. After installation, invoke the skill by name or use /wei-devils-advocate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of wei-devils-advocate (v1.0.0). - Stress-tests ideas using multiple language models acting as devil’s advocates to generate counterarguments, cross-check reasoning, and expose hidden risks and failure modes. - Supports query-type based model selection and role-based model assignment via config.json. - Includes "attack" mode for generating adversarial analysis; multi-round "simulation" mode is planned for future versions. - Output includes thesis, hidden assumptions, counterarguments, failure scenarios, survivability, verdict, and recommendations. - Designed for use in decision validation, risk analysis, product testing, and more; not intended for consensus or brainstorming.
Metadata
Slug wei-devils-advocate
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Wei Devils Advocate?

Stress-test ideas using multiple LLMs in adversarial roles to generate counterarguments, cross-check reasoning, and expose hidden risks and failure modes. 易找... It is an AI Agent Skill for Claude Code / OpenClaw, with 119 downloads so far.

How do I install Wei Devils Advocate?

Run "/install wei-devils-advocate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Wei Devils Advocate free?

Yes, Wei Devils Advocate is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Wei Devils Advocate support?

Wei Devils Advocate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Wei Devils Advocate?

It is built and maintained by Wei Han (@mikehankk); the current version is v1.0.0.

💬 Comments