Stress Testのロゴ

Stress Test

組織
ai-analyst-lab
stress-test

Pressure-test any analysis plan or approach for hidden methodological flaws before execution: wrong baselines, survivorship bias, missing segments, uncontrolled confounds, absent kill criteria. Trigger on "/stress-test", "stress test this plan", "review my analysis design", "check my approach", "is this analysis sound?", "gut-check this analysis", "what am I missing in this design?". Produces a 7-point diagnostic with an A-F grade.

概要

公開者ai-analyst-lab
リポジトリai-analyst-plugin
スキル名stress-test
スター
34
フォーク
13
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ai-analyst-labがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Stress Test」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/stress-test
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/stress-test .claude/skills/stress-test
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでStress Testを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にStress Testを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Stress Testは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Skill: Stress Test

Type: Standalone — reviews any analysis plan for methodological flaws


Purpose

Takes an analysis plan, investigation design, or analytical approach and pressure-tests it for hidden flaws — wrong baselines, survivorship bias, missing segments, uncontrolled confounds, and absent kill criteria. Acts as a "senior data scientist code review" for your analytical thinking.

This skill is standalone — it works on any analysis plan, whether produced by /analysis-design, written by the user, or pulled from an existing document.


When to Use

  • Before committing a week to executing an analysis plan
  • Before presenting an analysis design to stakeholders
  • When you've written an analysis brief and want a gut-check
  • When reviewing someone else's analytical approach
  • After an analysis came back with unexpected results (was the design flawed?)

Inputs

InputRequiredSourceDescription
{{PLAN}}YesUser or file pathThe analysis plan to review. Can be a file path, pasted text, or a description of the approach
{{CONTEXT}}NoUserBusiness context — what decision this analysis will inform
{{AUDIENCE}}NoUserWho will consume the results (affects what counts as "fatal" vs. "nice to have")
{{DATA_DESCRIPTION}}NoUserDescription of available data, if not obvious from the plan

The 7-Point Stress Test

CRITICAL FIRST STEP: Check data availability BEFORE methodology review.

Before reviewing methodology quality, immediately verify that required data exists:

  1. Read the active dataset schema (.knowledge/datasets/{active}/schema.md)
  2. Check if the plan's required fields/tables/dimensions exist in the dataset
  3. If ANY required data is missing → HALT, skip checkpoints 1-6, jump straight to checkpoint 7, assign FAIL verdict with BLOCKER status, provide F grade, and stop
  4. If all required data exists → proceed with checkpoints 1-7 in order

Why this matters: A methodologically perfect plan that requires non-existent data is useless. Data availability is a BLOCKER that makes all other issues irrelevant. Check it FIRST, not last.

Common data blockers to check for:

  • Plan requires device/platform segmentation → check if device, platform, or user_agent fields exist
  • Plan requires funnel analysis → check if event-level tracking exists (page views, clicks, sessions)
  • Plan requires traffic source attribution → check if source, medium, campaign, or referrer fields exist
  • Plan requires geographic segmentation → check if country, region, city, or geo fields exist
  • Plan assumes conversion rate → check if both numerator (orders, signups) AND denominator (sessions, page views) data exist

After confirming data availability, review the plan against each checkpoint. For each one, assign a verdict: PASS, WARNING, or FAIL.

1. Hypothesis Clarity

Check: Is there a specific, testable hypothesis? Or is this a fishing expedition?

VerdictCriteria
PASSHypothesis is falsifiable with a clear claim about cause and effect
WARNINGHypothesis exists but is vague ("engagement is down") or has multiple interpretations
FAILNo hypothesis — plan is "explore the data and see what we find"

Fix if FAIL: "State what you expect to find AND what would prove you wrong."

2. Baseline Validity

Check: Is the comparison group / baseline appropriate?

VerdictCriteria
PASSBaseline accounts for seasonality, concurrent changes, and selection effects
WARNINGBaseline is reasonable but has known gaps (e.g., no YoY comparison available)
FAILBaseline is naive (e.g., "compare to last week" without checking for holidays, campaigns, or deployments)

Common traps to check:

  • Comparing to a period with a holiday, major campaign, or outage
  • Before/after with no control group
  • Comparing cohorts of different sizes or compositions
  • Using "last month" when the metric is seasonal

Fix if FAIL: "Identify 2-3 alternative baselines and explain why each is valid or invalid."

3. Survivorship Bias

Check: Does the analysis only look at entities that "survived" to be measured?

VerdictCriteria
PASSAnalysis includes churned/dropped users, failed transactions, abandoned sessions
WARNINGSurvivorship risk is acknowledged but not controlled for
FAILAnalysis only includes "active" or "completed" entities without acknowledging what's excluded

Common traps:

  • "Average revenue per user" that only counts users who made a purchase
  • "Onboarding completion rate" that only counts users who started onboarding
  • "Feature satisfaction" survey that only reaches users who didn't churn
  • Retention analysis that excludes users who churned before the measurement window

Fix if FAIL: "Explicitly define the denominator. Who is EXCLUDED from this analysis and why?"

4. Segment Coverage

Check: Will the analysis check for segment-level differences that could reverse the overall finding?

VerdictCriteria
PASSPlan includes segment breakdowns on 3+ dimensions with explicit Simpson's paradox check
WARNINGPlan checks 1-2 segments but doesn't systematically test all categorical dimensions
FAILPlan only reports overall/aggregate numbers

Key segments to always check:

  • Device (mobile/desktop/tablet)
  • Platform (iOS/Android/web)
  • User tenure (new/returning/power user)
  • Geography (if multi-market)
  • Traffic source / acquisition channel
  • Product category / feature area
  • Customer tier / plan type

Fix if FAIL: "Add segment breakdowns for every categorical dimension with >2 values. Flag any reversal."

5. Confound Identification

Check: Does the plan identify and control for concurrent changes?

VerdictCriteria
PASSPlan lists all known concurrent changes and has a control strategy for each
WARNINGPlan acknowledges confounds exist but doesn't have a strategy to isolate them
FAILPlan doesn't mention confounds or assumes the hypothesized cause is the only thing that changed

Questions to surface confounds:

  • What else shipped/launched/changed in the same time period?
  • Were there any data pipeline or tracking changes?
  • Did marketing spend or campaign strategy shift?
  • Were there external events (holidays, competitor moves, news)?
  • Did the user population change (growth spike, new channel, geography expansion)?

Fix if FAIL: "List every change that happened in the same time window. For each, explain how you'll separate its effect."

6. Kill Criteria

Check: Does the plan define what would make you REJECT the hypothesis?

VerdictCriteria
PASSExplicit thresholds for acceptance AND rejection, plus practical significance criteria
WARNINGHas acceptance criteria but no rejection criteria (can only "confirm," never "disprove")
FAILNo criteria — "we'll see what the data shows"

What good criteria look like:

  • "If the effect is less than 2pp, it's not practically significant regardless of p-value"
  • "If the drop is uniform across all segments, the widget hypothesis is rejected"
  • "If the confound analysis shows the loyalty program explains >60% of the variance, the widget is not the primary cause"

Fix if FAIL: "Define the minimum effect size that matters AND what finding would disprove your hypothesis."

7. Output Alignment

Check: Will the analysis output actually answer the stakeholder's question? AND can the analysis be executed with available data?

VerdictCriteria
PASSOutput format matches stakeholder need AND all required data exists
WARNINGOutput will be useful but may need translation for the audience, OR data exists but may have quality/completeness issues
FAILOutput is descriptive ("here's what happened") when stakeholder needs prescriptive ("here's what to do"), OR BLOCKER: required data does not exist (e.g., plan requires "product category" but dataset has no category field)

Common misalignment:

  • Stakeholder wants a recommendation, plan produces a description
  • Stakeholder wants dollar impact, plan produces percentages
  • Stakeholder wants a yes/no, plan produces "it depends"
  • Stakeholder wants a 1-page brief, plan will produce a 20-page report
  • BLOCKER: Plan requires data fields that don't exist in the dataset

Fix if FAIL (data blocker): "HALT — this analysis cannot be executed. The dataset does not contain [required field]. Either locate the field in another table, request a data extension, or pivot to a different dimension that exists (e.g., analyze by customer segment instead of product category)."

Fix if FAIL (alignment): "Restate the stakeholder's actual question and work backwards to what the output must contain."


Output Format

Start with a 1-sentence executive summary at the top (before the separator line) stating the grade and any blockers.

STRESS TEST RESULTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[1-sentence summary: e.g., "GRADE D (2 FAILs, 2 WARNINGs) — significant redesign needed before execution" or "GRADE F — BLOCKER: required data does not exist"]

OVERALL GRADE: [A/B/C/D/F]

| # | Check | Verdict | Issue |
|---|-------|---------|-------|
| 1 | Hypothesis Clarity | PASS/WARNING/FAIL | ... |
| 2 | Baseline Validity | PASS/WARNING/FAIL | ... |
| 3 | Survivorship Bias | PASS/WARNING/FAIL | ... |
| 4 | Segment Coverage | PASS/WARNING/FAIL | ... |
| 5 | Confound Identification | PASS/WARNING/FAIL | ... |
| 6 | Kill Criteria | PASS/WARNING/FAIL | ... |
| 7 | Output Alignment | PASS/WARNING/FAIL | ... |

CRITICAL ISSUES (must fix before executing):
  - ... [If data blocker: "BLOCKER: Cannot execute — required data does not exist. [Field name] not found in dataset."]

WARNINGS (address if time allows):
  - ...

RECOMMENDED FIXES:
  1. ... [Include estimated time impact for top 3 fixes: "~30 min", "~2 hours", etc.]
  2. ...
  3. ...

Grading Scale

GradeCriteria
A0 FAILs, 0-1 WARNINGs — execute with confidence
B0 FAILs, 2-3 WARNINGs — execute but address warnings
C1 FAIL, any WARNINGs — fix the failure before executing
D2 FAILs — significant redesign needed
F3+ FAILs — start over with the Analysis Design Brief

Output File

Saves to: working/stress_test_{{DATE}}.md


Examples

Review a plan you wrote

/stress-test "I'm going to compare this month's conversion rate to last month's, broken by device, to see if the new checkout flow helped."

Review a file

/stress-test working/investigation_plan_2026-03-28.md

With context

/stress-test working/analysis_brief.md context="Board meeting Friday, need to decide whether to invest $500K in onboarding redesign" audience="CEO and CFO"

Integration

  • Works independently of /analysis-design — use it on ANY plan
  • Can be chained: /analysis-design → /stress-test → fix → re-test
  • Complements the Question Framing skill (whose Question Brief is the plan) by reviewing the plan after it's written
  • Pairs with Confound Scanner agent — the scanner finds threats proactively during planning; /stress-test reviews an existing plan retroactively

よくある質問

AIスキル「Stress Test」では何ができますか?

Pressure-test any analysis plan or approach for hidden methodological flaws before execution: wrong baselines, survivorship bias, missing segments, uncontrolled confounds, absent kill criteria. Trigger on "/stress-test", "stress test this plan", "review my analysis design", "check my approach", "is this analysis sound?", "gut-check this analysis", "what am I missing in this design?". Produces a 7-point diagnostic with an A-F grade.

TypingMindでStress Testを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Stress Testはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにStress Testをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/stress-testを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Stress Testを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Stress Testで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStress Testを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Stress Test」は無料ですか?

はい。ai-analyst-labがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇