experiment-design

experiment-design is a skill for Claude Code from flonat/flonat-research. It costs 49 tokens per session (2,135 once invoked), scanned A, original, MIT.

A research-planning tool for designing experiments and surveys before collecting data. It can plan study details, calculate participant needs, create pre-analysis plans, and read Qualtrics survey files.

In plain words
What is it for?
Use it to design experiments, calculate sample sizes with power analysis, write or check a pre-analysis plan, or build a survey specification from a description or Qualtrics .qsf file.
Why use it?
It helps turn an early research idea into a documented design, while exposing unclear choices about participants, measurements, treatments, and analysis before the study begins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; $skill-name invocation.

Good fit Use it to design experiments, calculate sample sizes with power analysis, write or check a pre-analysis plan, or build a survey specification from a description or Qualtrics .qsf file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flonat/flonat-research/experiment-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add flonat/flonat-research --skill experiment-design
Clone the repo
git clone --depth 1 https://github.com/flonat/flonat-research

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for experiment-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/flonat/flonat-research/experiment-design/github.svg)](https://agentmods.dev/skills/flonat/flonat-research/experiment-design)
Your own site
<a href="https://agentmods.dev/skills/flonat/flonat-research/experiment-design"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/experiment-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for experiment-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/flonat/flonat-research/experiment-design"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/experiment-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,135 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02135
Opus 5 $0.00024 $0.01068
Sonnet 5 $0.00010 $0.00427
Haiku 4.5 $0.00005 $0.00214

Measured 5d ago against content hash 6bf98b379951, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

experiment-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/experiment-design/SKILL.md · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Experiment Design

Interview-driven design workflow producing design documents, power analysis scripts, and pre-analysis plans.

Modes

Mode What it produces Entry point
Power Power analysis script + sample size table "How many participants do I need?"
Design Full design document (hypotheses, conditions, measures, randomization) "Design my experiment"
PAP Pre-analysis plan (AEA/OSF/EGAP format) "Write a PAP"
Survey Structured survey specification from natural language or QSF "Build a survey" / "Parse my Qualtrics"

Default: Design. If user provides a .qsf file, auto-select Survey mode.

When to Use

  • Designing a new experiment or survey
  • Calculating required sample sizes
  • Writing or auditing a pre-analysis plan
  • Parsing a Qualtrics .qsf file to understand its structure
  • Building a survey specification from a natural language description

When NOT to Use

  • Running the analysis → data-analysis
  • Auditing identification strategy for observational studies → causal-design
  • Generating synthetic test data → synthetic-data

Shared References

  • Method probing questions: shared/method-probing-questions.md — ask before designing (Experiments/RCTs, Survey sections)
  • Validation tiers: shared/validation-tiers.md — tier determines required power and pre-registration
  • Escalation protocol: shared/escalation-protocol.md — escalate when design has validity threats
  • Engagement-stratified sampling: shared/engagement-stratified-sampling.md — stratify social media samples by engagement
  • Inter-coder reliability: shared/intercoder-reliability.md — reliability planning for content analysis designs

Mode: Power

Read references/power-analysis-recipes.md for language-specific code patterns.

Workflow

  1. Interview — ask for:
    • Primary outcome variable and expected effect size (or domain norms)
    • Design type (between-subjects, within-subjects, factorial, cluster-randomized)
    • Number of conditions/groups
    • Significance level (default: 0.05) and desired power (default: 0.80)
    • Any clustering or stratification
  2. Generate script — R (DeclareDesign/pwr) or Python (statsmodels.stats.power)
  3. Execute and report — produce a sample size table showing N for power = {0.80, 0.90, 0.95}
  4. Write to project — save script to code/power_analysis.R (or .py), results to output/power_analysis_results.md

Read the full file on GitHub · 189 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 189 lines · 49 tokens per session scan A 6bf98b379951

Subscribe to this mod's changes

experiment-design is a skill published in the GitHub repository flonat/flonat-research (132 stars, last pushed 14d ago), licensed MIT. It adds 49 tokens to every session and 2,135 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

latex-compile

Compile a LaTeX document and fix every error plus aesthetic issue (overfull/underfull boxes, widows, alignment, fonts) for a clean PDF and log. Use this instead of running pdflatex/latexmk manually — it avoids the latexmk stale-log trap and silent grep failures on binary log output, and it reformats rather than…

Mexregkan/claude-for-researchers · 79 tokens

nb-to-wolfbook

Convert Mathematica .nb or .m files to Wolfbook .wb format so they open and run in VS Code. Use when bringing existing .nb/.m files into Wolfbook, or to make an existing .wb bridge-safe.

Mexregkan/claude-for-researchers · 53 tokens

sync-wb-nb

Propagate a change made in a Wolfbook .wb notebook into the paired .nb notebook so the two stay identical. Use immediately after every .wb edit.

Mexregkan/claude-for-researchers · 38 tokens

wolfram-headless

Run heavy Wolfram Language (wolframscript) computations from Claude Code reliably, and diagnose the misleading "The product exited because of a license error". Use whenever invoking wolframscript on a non-trivial computation, when a wolframscript job dies with a "license error" despite a valid license, or when Wolfram…

Mexregkan/claude-for-researchers · 84 tokens

cross-validate

Format a result, derivation, or numerical value for independent verification by a second model. Use when you want a cross-check on an important or contested result.

Mexregkan/claude-for-researchers · 36 tokens

verify-citation

Confirm a paper actually exists (arXiv / Semantic Scholar / OpenAlex) before citing it. Use before writing any new citation.

Mexregkan/claude-for-researchers · 31 tokens