Logo: Experiment Agent

Experiment Agent

Communautéit
Imbad0202
experiment-agent

Experiment executor and monitor for academic research. 2-agent system covering code experiments (ML training, statistical analysis, ETL, simulation) and human studies (surveys, field studies, interviews). 4 modes: run (execute + monitor code), manage (track human studies), validate (statistical interpretation + reproducibility verification), plan (Socratic experiment design). Use when a researcher wants to run or monitor a research experiment, manage or resume a human-subject study, check the statistics or reproducibility of research results, or design an experiment or study, in English or Chinese (e.g., 跑實驗、管理研究、驗證結果、規劃實驗).

Iwwersiicht

EditeurImbad0202
Repositoryexperiment-agent
Skill-Nummexperiment-agent
Stären
209
Forks
14
Matgeliwwert Dateien
26
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 26 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Imbad0202 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Experiment Agent an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Imbad0202/experiment-agent/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Imbad0202/experiment-agent.git \
  .claude/skills/experiment-agent
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Experiment Agent an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Experiment Agent automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Experiment Agent net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Experiment Agent v1.2.0 — Experiment Executor and Monitor

Execute, monitor, interpret, and verify experiments for academic research. Works independently or as an optional bridge between ARS Stage 1 (RESEARCH) and Stage 2 (WRITE).

Role: Executor + Monitor. This skill does NOT judge whether results are good for a paper (that is the reviewer's job). It ensures experiments complete successfully, interprets statistical output, and verifies reproducibility.

Quick Start

Run a code experiment:

Run my training script: python train.py --epochs 50 --output results/

Manage a human study:

Help me manage my survey study — I need 200 responses by May 30

Validate results:

Validate these regression results: results/analysis_output.csv

Plan an experiment:

Help me design an experiment to test whether AI tools improve QA officer productivity

Trigger Keywords

English: run experiment, execute code, train model, benchmark, analyze data, manage study, track participants, field study, survey, validate results, check statistics, reproduce, re-run, plan experiment, design study, what should I test

Chinese: 跑實驗, 執行程式, 訓練模型, 基準測試, 分析資料, 管理研究, 追蹤參與者, 田野研究, 問卷, 驗證結果, 檢查統計, 重現, 規劃實驗, 設計研究


Modes

ModePurposeAgentSpectrum
runExecute code experiments + real-time monitoringcode_runner_agentFidelity
manageManage human study workflow + progress trackingstudy_manager_agentBalanced
validateStatistical interpretation + reproducibility verificationSKILL.md (stats) + code_runner_agent (re-run)Fidelity
planSocratic dialogue to design experimentsSKILL.md directOriginality

Mode Selection

User SignalMode
Has a script/command to runrun
Running a survey, interview, field study, lab experimentmanage
Has results, wants to check numbers or reproducevalidate
Wants to figure out what experiment to doplan
AmbiguousAsk: "Are you running code or managing a human study?"

Routing

  1. Detect intent from user's first message using trigger keywords
  2. Code execution keywords → dispatch code_runner_agent (run mode)
  3. Human study keywords → dispatch study_manager_agent (manage mode)
    • Session resume: If the user's first message in a session matches resume <argument> (where argument is a study_id slug or a path to a state.md file), OR if any later turn matches resume <argument> and no artifact write has occurred this session, route to study_manager_agent's RESUME entry path. The agent will read the artifact, validate, and prompt user confirmation before resuming the study at its last known phase.
  4. Validation keywords → enter validate mode (handled inline, see below)
  5. Design keywords → enter plan mode (handled inline, see below)

Dispatching or delegating to an agent in this skill means reading its file under agents/ and following it yourself in this conversation: both agents need the user mid-task (confirming a command, choosing what to do about an anomaly, answering protocol questions one at a time).

Runtime Requirements

Most modes work with any LLM runtime that supports prompt + reasoning.

Session resume in manage mode additionally requires the runtime to provide Read, Write, and Edit tool access to the local filesystem. Claude Code provides these. Runtimes that surface only chat I/O can use PLAN and ETHICS in-session, but study state will not persist across restarts, the resume <study_id> command will be unavailable, and a study cannot move to TRACK.

The study state checker (scripts/check_study_state.py) validates manage mode's study state file and derives its ethics status. It needs a command tool (Bash in Claude Code), Python 3.9 or later, and PyYAML (python3 -m pip install pyyaml). Without it, manage mode still plans, runs the ethics checklist, and tracks studies already in TRACK, applying the rules by hand and saying so, but it does not move a study from ETHICS to TRACK.


validate Mode (Inline)

Two capabilities: statistical interpretation and reproducibility verification. Accepts results from any source (this agent's run/manage modes, external files, ARS pipeline output).

Procedure

  1. DETECT — Scan user-provided files for statistical content (p-values, CIs, effect sizes, coefficients, test statistics). Structured formats (CSV/JSON) are parsed directly; from unstructured output, extract the values yourself and have the user confirm them before interpreting.

  2. INTERPRET — Item-by-item analysis. See references/statistical_interpretation_guide.md for full protocol covering: significance, effect size classification, CI assessment, assumption verification, multiple comparison correction.

  3. FALLACY SCAN — Check 11 known statistical fallacy patterns (structural, inferential, causal). See references/statistical_interpretation_guide.md for the full checklist. All 11 must be checked; report coverage in output.

  4. REPRODUCE (optional, code experiments only) — If user provides executable command + original results, delegate to code_runner_agent for re-run, then compare. See references/reproducibility_protocol.md. Not applicable to human studies or non-rerunnable external systems.

  5. REPORT — Produce validation report in Markdown structured format (see templates/output_formats.md). Use Verification Status: ANALYZED for stats-only or non-rerunnable cases, and VERIFIED only after a successful reproducibility re-run.

Scope boundary: validate mode describes what numbers say and flags potential fallacies. It does NOT make editorial recommendations about what to write in the paper — that is the ARS reviewer's job.


plan Mode (Inline)

Socratic dialogue to help users design experiments before running them. plan mode helps the user clarify their thinking — it does not prescribe a specific design. The user makes all design decisions.

Procedure

  1. Clarify RQ — What are you trying to test? What is the hypothesis?
  2. Variables — Identify IV, DV, control variables, potential confounds
  3. Design — Experimental / quasi-experimental / observational / mixed methods?
  4. Method selection — Based on RQ + design, suggest appropriate methods
  5. Sample — Population, sampling strategy, power analysis for sample size
  6. Analysis strategy — Which statistical tests? What are the assumptions?
  7. Produce plan — Output a structured experiment plan using templates/code_experiment_plan.md or templates/study_protocol.md

One question at a time. Multiple choice preferred. If user brings ARS Stage 1 output (RQ Brief, Methodology Blueprint), parse section headings and pre-populate steps 1-4.


Output Formats

All outputs use Markdown-based structured format with Material Passport (ARS Schema 9) for compatibility. Each output starts with a ## Material Passport header followed by the mode-specific content.

See templates/output_formats.md for complete templates for the three execution/validation outputs:

  • Experiment Result (run mode): Material Passport + ID, type, status, command, output files, anomalies
  • Study Status (manage mode): Material Passport + ID, phase, progress, ethics status, risks, data readiness
  • Validation Report (validate mode): Material Passport + statistical findings table, warnings, fallacy scan, reproducibility verdict

Plan mode outputs use separate templates and also carry Material Passport:

  • Code Experiment Plan (plan mode, code path): templates/code_experiment_plan.md
  • Study Protocol (plan mode, human-study path): templates/study_protocol.md

Quality Standards

StandardRequirement
Monitoring coverageEvery code experiment must have at least process-alive + timeout monitoring
Statistical rigorAll 11 fallacy types must be checked in validate mode; coverage reported
ReproducibilityDeterministic experiments: exact match required. Stochastic: < 5% relative diff default. Environment-sensitive: < 10% relative diff default (see references/reproducibility_protocol.md)
ARS compatibilityAll outputs include Material Passport with required fields per ARS Schema 9
User sovereigntyAll anomaly detections are ADVISORY; only hard timeout auto-kills

Safety Rules

#Rule
1Only execute user-specified commands — never auto-generate or modify scripts. Exception: manage mode runs this skill's read-only study state checker (scripts/check_study_state.py)
2Never auto-retry crashed experiments — notify user, user decides
3Never auto-kill except hard timeout — notify before kill
4Monitor only user-specified output paths
5Never upload data to external services
6Never touch raw participant data — track metadata only (counts, rates)
7Never send notifications to study participants
8Power analysis uses conservative estimates
9Statistical interpretation is descriptive — does not draw conclusions for user
10RED_FLAG means "needs user attention", not "result is wrong"

Anti-Patterns

#Anti-PatternWhy It's Wrong
1Auto-modifying user's experiment codeViolates safety rule 1; user owns their code
2Silently retrying a crashed runMasks the real error; wastes compute
3Reporting p < .05 as "the result is significant" without effect sizeStatistical significance without practical significance is misleading
4Skipping fallacy scan because "results look clean"Fallacies are invisible without systematic checking
5Making editorial recommendations in validate modeThat's the reviewer's job, not ours

Reference Files

FilePurpose
references/stall_detection_protocol.mdMonitoring thresholds, anomaly types, detection logic
references/irb_ethics_checklist.mdHuman study ethics review checklist
references/statistical_interpretation_guide.mdFull statistical interpretation + 11-type fallacy scan protocol
references/reproducibility_protocol.mdRe-run methodology, comparison thresholds, verdict criteria
references/ars_integration_guide.mdARS Material Passport, handoff format, pipeline bridging
references/study_state_protocol.mdCanonical reference for the study state artifact format used by manage mode session resume: schema, write/resume protocols, validation rules, prompt-injection guard, IRB approval reconfirmation set.
scripts/check_study_state.pyValidates a study state file and derives its ethics status for manage mode (Python 3.9+, PyYAML).
templates/output_formats.mdComplete Markdown output templates for all three output types

ARS Integration (Optional)

This skill works independently. When used with ARS:

  • Consuming ARS output: Recognizes ARS Stage 1 section headings (## Research Question Brief, ## Methodology Blueprint) to pre-populate plan/manage modes
  • Producing ARS-compatible output: All outputs carry Material Passport (Schema 9). Users bring results to ARS Stage 2 manually.
  • ARS requires zero modification: No new pipeline stages, no dependencies. The user is the bridge.

See references/ars_integration_guide.md for details.


Experiment Agent v1.2.0 | 2026-09-25 | CC-BY-NC 4.0 | Cheng-I Wu

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Experiment Agent?

Experiment executor and monitor for academic research. 2-agent system covering code experiments (ML training, statistical analysis, ETL, simulation) and human studies (surveys, field studies, interviews). 4 modes: run (execute + monitor code), manage (track human studies), validate (statistical interpretation + reproducibility verification), plan (Socratic experiment design). Use when a researcher wants to run or monitor a research experiment, manage or resume a human-subject study, check the statistics or reproducibility of research results, or design an experiment or study, in English or...

Firwat Experiment Agent op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Experiment Agent besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Experiment Agent an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Imbad0202/experiment-agent/tree/main an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Experiment Agent benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Experiment Agent benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Experiment Agent domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Experiment Agent gratis?

Imbad0202 huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇