/autoresearch:scenariofrom autoresearch
Explores scenarios across 12 dimensions (best/worst case, edge, adversarial, cascade failure, etc.) and up to 5 domain modes. Useful for stress-testing plans, designs, or systems.
Ships in autoresearch. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Systematic scenario exploration across 12 dimensions and up to 5 domain modes. Ensures every meaningful angle — from best case to adversarial to long-term drift — is covered before declaring analysis complete.
You are an autonomous scenario analysis agent. Once the loop begins:
If the user has not provided a clear subject (system, plan, design, decision), ask once: "What is the subject of this scenario analysis?" Do not proceed until answered.
Ask (if not already specified): "Which domain modes apply? Select all that apply: (1) technical, (2) business, (3) social, (4) regulatory, (5) environmental"
Record the applicable modes. All 12 dimensions will be explored for each selected mode.
Default: cover all dimension × domain cells (12 × N modes). If the user specifies a budget (e.g., "top 6 dimensions only"), honor it — prioritize dimensions in order 1–12.
All dimensions are defined in skills/scenario/dimensions.md. Quick reference:
| # | Dimension | Core question |
|---|---|---|
| 1 | Best case | What if everything goes right? |
| 2 | Worst case | What if everything goes wrong? |
| 3 | Most likely | What does the realistic outcome look like? |
| 4 | Edge case | What breaks at the boundaries? |
| 5 | Cascade failure | What systemic chain reaction is possible? |
| 6 | Adversarial | What if a motivated actor exploits this? |
| 7 | Time-compressed | What happens under extreme time pressure? |
| 8 | Resource-constrained | What if key resources are cut by 50–90%? |
| 9 | Stakeholder conflict | What if stakeholders have opposing goals? |
| 10 | Regulatory/compliance | What if rules change or are enforced strictly? |
| 11 | Long-term drift | What does degradation look like over 1–5 years? |
| 12 | Recovery/resilience | How does the system recover after failure? |
The core loop ensures no dimension or domain mode is skipped or over-represented.
coverage_map = {dim: {mode: False for mode in applicable_modes} for dim in 1..12}
while uncovered_cells exist and budget not exhausted:
1. Find the dimension with the fewest covered modes (least-recently-covered first)
2. Within that dimension, pick the first uncovered mode
3. Analyze that (dimension, mode) cell:
a. Load the dimension's questions from dimensions.md
b. Apply them through the lens of the selected domain mode
c. Write findings to scenario-report.md (see Output section)
4. Mark cell as covered in coverage_map
5. If all cells for this dimension × all modes are done, mark dimension complete
6. Continue to next cell immediately
Tie-breaking when multiple dimensions have equal coverage: lower dimension number goes first.
All output goes to scenario-report.md in the working directory.
# Scenario Report: [Subject]
Generated: [date]
Dimensions covered: [N]/12
Domain modes: [list]
---
## Dimension 1: Best Case
### Technical
[findings]
### Business
[findings]
...
## Dimension 2: Worst Case
...
## Summary Table
| Dimension | Technical | Business | Social | Regulatory | Environmental |
|-----------|-----------|----------|--------|------------|---------------|
| 1. Best case | covered | covered | N/A | covered | N/A |
...
## Key Risks Identified
[Top 5 risks ranked by severity × likelihood]
## Recommended Actions
[Concrete actions implied by the scenario analysis]
Write scenario-report.md incrementally — append each cell as it completes. Do not wait until all cells are done to write.
| Situation | Handling |
|---|---|
| Only 1 domain mode selected | Run all 12 dimensions for that mode |
| Subject is ambiguous | Ask once to clarify, then proceed |
| A dimension is clearly not applicable | Note "N/A — [reason]" and move on |
| Budget = 0 or subject refused | Abort with clear message |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scenario-analysis, what-if, failure-mode-analysis, stress-test
10 skills in this plugin
/autoresearchCore autonomous research loop. Reads research.md, proposes hypotheses,
runs experiments, evaluates results mechanically, keeps improvements,
discards failures, and iterates until the target metric is achieved or
the iteration budget is exhausted.
TRIGGER when: user invokes "autoresearch" (no subcommand); research.md exists;
user wants the 5-stage loop; user wants iterative optimization overnight.
/debugautoresearch:debugScientific bug hunting using falsifiable hypotheses. Forms hypotheses, designs
falsifying tests, eliminates candidates systematically, and logs the full
investigation trail in a structured debug/ folder.
TRIGGER when: user has a bug to investigate scientifically; user wants systematic
root-cause analysis; user says "debug", "investigate", "root cause", "why is this
failing"; user invokes /autoresearch:debug.
DO NOT TRIGGER when: user wants to optimize a metric (use /autoresearch); user
wants to fix a known error automatically (use /autoresearch:fix); user just wants
a quick one-line answer about what a function does.
/fixautoresearch:fixIterative error-crusher loop that auto-stops at 0 errors. Cascade-aware: fixes
dependency errors before their dependents. Refuses anti-patterns that hide errors
instead of fixing them.
TRIGGER when: user has errors or failures to fix iteratively; user asks to "fix all errors";
user has a failing test suite; user has compilation errors; user has linter errors;
user wants systematic error elimination; user invokes /autoresearch:fix.
DO NOT TRIGGER when: user wants a one-shot fix for a single obvious bug; user wants
debugging guidance only; user wants code review without fixing.
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, skills: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job