Logo von Amazing Psycoder

Amazing Psycoder

Community
soupandpsy
amazing-psycoder

Route Amazing PsyCoder requests to the correct psychological experiment or behavioral-data analysis stage: Designer, Coder, or Reviewer. Use for end-to-end or multi-stage work, ambiguous requests such as “帮我做 Stroop”, cross-pipeline work, system-capability questions, or explicit invocations of Amazing PsyCoder. Supports PsychoPy, jsPsych, Psychtoolbox, R, and Python. For a clearly scoped single-stage request, route directly to the matching psy-exp-* or psy-ana-* skill.

Übersicht

Herausgebersoupandpsy
Repositoryamazing-psycoder-skills
Skill-Nameamazing-psycoder
Sterne
38
Forks
1
Mitgelieferte Dateien
446
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 446 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von soupandpsy auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Amazing Psycoder in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/soupandpsy/amazing-psycoder-skills/tree/main/amazing-psycoder
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/soupandpsy/amazing-psycoder-skills.git /tmp/amazing-psycoder-skills
mkdir -p .claude/skills
cp -r /tmp/amazing-psycoder-skills/amazing-psycoder .claude/skills/amazing-psycoder
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Amazing Psycoder in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Amazing Psycoder automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Amazing Psycoder nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Amazing PsyCoder — System Orchestrator

Version

v1.4.0 — unified standalone and PsyCoder Studio contract, 2026-07-23; direct ExperimentModel@4 and Generation Envelope 4.0 amendment, 2026-08-15. Supports scoped model transactions, bounded AI runtime repair, independent review, and evidence-derived readiness without conflating deployment capability boundaries.

Purpose

This is the entry point for the Amazing PsyCoder system. It routes work into two sequential pipelines that convert psychological experiments from idea to audited code candidates, and experimental data from raw files to audited analysis artifacts whose readiness is limited by the evidence actually reviewed:

  • Experiment Pipeline: psy-exp-designer (5-phase design) → psy-exp-coder (code generation) → psy-exp-reviewer (audit)
  • Analysis Pipeline: psy-ana-designer (5-phase progressive) → psy-ana-coder (R/Python code) → psy-ana-reviewer (audit)

This skill does NOT generate code itself. For end-to-end generation, it enforces design → code → review. For an existing artifact, it starts at the highest stage supported by the input: a complete config may go to Coder, and existing code may go directly to Reviewer.

Platforms: Claude Code / Codex / Hermes / OpenClaw — follows the agentskills.io open standard. See PLATFORMS.md for platform-specific installation and tool mapping.

Execution Profiles

Use standalone unless the caller supplies a validated PsyCoder Studio Generation Envelope 4.0 containing a frozen ExperimentModel@4.0, canonical modelHash, exact asset manifest, and assetSetHash.

  • Standalone Agent Skills host: load STANDALONE.md. This profile covers Claude Code, Codex, Hermes, OpenClaw, or another compatible host. Persist YAML/config/code/review artifacts in the user's workspace and adapt actions to the host's available tools. Studio service dependencies and Studio capability flags do not apply.
  • PsyCoder Studio: load PSYCODER_STUDIO.md and the machine-readable files under runtime/. Those files are authoritative for website routing, schemas, generation availability, and package shape.

Never infer the profile from the model vendor. Claude and OpenAI models may be used in either profile; the input envelope and execution environment decide it.

Authority and Experiment Semantics

Amazing PsyCoder is maintained professional knowledge, not an infallible or sole scientific authority. If confirmed design or reproducible evidence contradicts it, preserve the design, report the conflict, fix and validate the maintained skill source when in scope, then update downstream bundles.

In Studio, the saved ExperimentModel@4 is the single experiment fact; the canvas is its visual projection and may honestly omit unsupported advanced semantics. Direct edits and Psycoder proposals must become the same validated model transaction. PsychoPy, jsPsych, and Psychtoolbox compile this same frozen Model directly. AI may propose model patches and bounded runtime-module repairs, but cannot add unconfirmed semantics, mutate the frozen Model or asset set, or claim readiness. In standalone use, the confirmed ExperimentSpec is authoritative. Paradigm references may guide questions but cannot supply missing executable decisions. Related variants stay independent unless their complete confirmed semantics are identical.

System Architecture

Experiment Pipeline

User describes experiment (English / 中文)
       │
       ▼
┌──────────────────────────────────────┐
│ ① psy-exp-designer      │  Orchestration layer
│   Input: natural language description│  5-phase design workflow
│   Output: config YAML + conditions   │  Design Decision Registry
│   Gates: Gate 1→2→3→4→5             │  Progressive confirmation
└──────────────┬───────────────────────┘
               │ saved config YAML + reported path
               ▼
┌──────────────────────────────────────┐
│ ② psy-exp-coder            │  Code generation layer
│   Input: config YAML + conditions    │  Standalone config → target code
│   Output: runnable code + README     │  4-layer priority architecture
│   Gate: 10-item post-generation check│  Canonical Code Skeleton
└──────────────┬───────────────────────┘
               │ Runnable experiment code
               ▼
┌──────────────────────────────────────┐
│ ③ psy-exp-reviewer    │  Audit layer (final mandatory gate)
│   Input: code / config / plan        │  5 review modes
│   Output: audit report + readiness   │  Platform-aware checks
│   Gate: 0 Critical + 0 Major         │  Severity grading
└──────────────────────────────────────┘

Analysis Pipeline

User has experiment data + scientific questions
       │
       ▼
┌──────────────────────────────────────┐
│ ④ psy-ana-designer      │  Analysis design layer
│   Input: experiment config + questions│  5-phase progressive confirmation
│   Output: analysis config YAML        │  Estimand + hierarchy method selection
│   Gates: Gate 1→2→3→4→5             │  Method/chart reference inventory
└──────────────┬───────────────────────┘
               │ analysis config YAML
               ▼
┌──────────────────────────────────────┐
│ ⑤ psy-ana-coder              │  Analysis code generation
│   Input: analysis config YAML        │  12-step script structure
│   Output: script + report + lock/pins│  R (tidyverse/lme4/ggplot2)
│   Gate: 10-item Quality Gate         │  Python (pandas/statsmodels/seaborn)
└──────────────┬───────────────────────┘
               │ Runnable analysis script
               ▼
┌──────────────────────────────────────┐
│ ⑥ psy-ana-reviewer      │  Analysis audit layer
│   Input: analysis script + data      │  4 review modes
│   Output: audit report + readiness   │  Statistical correctness checks
│   Gate: 0 Critical + 0 Major         │  Reproducibility scoring
└──────────────────────────────────────┘

Two independent pipelines. Seven skills total (1 orchestrator + 6 sub-skills). Same rigorous standard. Experiment: Designer→Coder→Reviewer. Analysis: Designer→Coder→Reviewer.

End-to-end generation uses every stage. Direct review of existing code does not replay upstream stages, but no experiment code is ready for collection and no analysis script is ready for publication without the corresponding Reviewer gate.

Evidence State Model

Do not collapse pipeline progress into a single “passed” state:

StateRequired evidenceWhat it permits
design_confirmedSaved config + confirmed Decision RegistryCode generation
static_review_passedConfig/code/conditions reviewed; zero unresolved Critical/MajorPackaging for runtime/execution testing
runtime_or_execution_passedComplete reviewed per-test target-machine evidence, or successful analysis run with reviewed outputs/environmentCollection/publication readiness evaluation
ready_for_collection / ready_for_publicationStatic pass + runtime/execution evidence + final Reviewer verdictIntended use

Every handoff must include artifact paths and the evidence state. Never rely on hidden conversational state as the only copy of a config, registry, report, or test result.

How to Use This Skill

When a user invokes this skill, analyze their request to determine which pipeline and stage they need. The user's own words tell you where to route them — no forced stage-selection question unless their intent is genuinely ambiguous.

Routing Decision Tree

Route directly based on the user's expressed need:

Analyze the user's request — what do they actually want?
  │
  ├─ 🧪 EXPERIMENT — they want to build/design/code/review an experiment
  │
  │   ├─ "I want to build an experiment" / "我要做一个…实验" / "设计一个…范式"
  │   │    → psy-exp-designer (start Phase 1)
  │   │
  │   ├─ "Generate experiment code from this config" / "用这个config生成实验代码"
  │   │    → User has config → psy-exp-coder
  │   │
  │   ├─ "Generate experiment code" / "生成实验代码"  (no config visible)
  │   │    → "你有实验 config YAML 吗?如果没有,需要先通过 psy-exp-designer 设计实验。"
  │   │       Has config → psy-exp-coder
  │   │       No config → psy-exp-designer
  │   │
  │   ├─ "Review this experiment code" / "审计这个实验" / "实验代码有没有问题"
  │   │    → psy-exp-reviewer
  │   │
  │   └─ "Experiment code error" / "实验代码报错"
  │        → Design error → psy-exp-designer
  │           Code error   → psy-exp-coder
  │
  ├─ 📊 ANALYSIS — they want to design/code/review a data analysis
  │
  │   ├─ "Design my analysis" / "设计分析方案" / "用什么统计方法" / "怎么分析这个数据"
  │   │    → psy-ana-designer (start Phase 1)
  │   │
  │   ├─ "Analyze my data" / "分析我的数据" / "帮我做统计分析"
  │   │    → psy-ana-designer (design before code — never jump straight to coder)
  │   │
  │   ├─ "Generate analysis code from this config" / "用这个analysis config生成代码"
  │   │    → User has analysis_config.yaml → psy-ana-coder
  │   │
  │   ├─ "Generate analysis code" / "生成分析代码"  (no config visible)
  │   │    → "你有 analysis_config.yaml 吗?如果没有,需要先通过 psy-ana-designer 设计分析方案。"
  │   │       Has config → psy-ana-coder
  │   │       No config → psy-ana-designer
  │   │
  │   ├─ "Review this analysis" / "审计分析代码" / "检查分析脚本"
  │   │    → psy-ana-reviewer
  │   │
  │   └─ "Analysis script error" / "分析代码报错" / "分析结果不对"
  │        → Design error (wrong method) → psy-ana-designer
  │           Code error (API misuse)    → psy-ana-coder
  │
  ├─ 🔀 CROSS-PIPELINE — experiment done, now want analysis
  │
  │   ├─ "Experiment passed review, now analyze the data" / "实验做完了,分析数据"
  │   │    → psy-ana-designer
  │   │    → "如果有实验 config YAML 可以直接复用;没有的话我帮你手动收集实验信息。"
  │   │
  │   └─ "Build experiment AND analyze" / "设计实验并分析数据"
  │        → psy-exp-designer first → after pipeline completes, remind user to return for analysis
  │
  ├─ ❓ AMBIGUOUS — unclear which pipeline
  │
  │   └─ "帮我做 Stroop" / "I want to do a Stroop study"
  │        → "你需要设计实验程序,还是分析已有数据?"
  │           Build experiment → psy-exp-designer
  │           Analyze data      → psy-ana-designer
  │
  └─ ℹ️ GENERAL
       ├─ "有哪些范式" → Paradigm Coverage Matrix
       ├─ "有哪些分析方法" → method/chart reference inventory summary; do not imply verified implementation coverage
       └─ "这个系统怎么用" → System overview + both pipelines

End-to-End Execution Order

Experiment Pipeline:

  1. First: Invoke psy-exp-designer — guide user through 5-phase design (assess → windows & rules → conditions → sequences → validate). Output: experiment config YAML
  2. Second: Invoke psy-exp-coder — generate platform code from config. Output: .py/.js/.m + README
  3. Third: Invoke psy-exp-reviewer — audit the generated code. Output: audit report + readiness label

Analysis Pipeline:

  1. First: Invoke psy-ana-designer — guide user through 5-phase progressive confirmation. Output: analysis config YAML
  2. Second: Invoke psy-ana-coder — generate R or Python analysis script. Output: analysis.R/.py + report
  3. Third: Invoke psy-ana-reviewer — audit the analysis script. Output: audit report + readiness label

For new end-to-end work, do not skip a step. Never generate experiment code before the trial window timeline is confirmed. Never generate analysis code before the scientific question and method are confirmed. Existing configs and code may enter at the matching downstream stage.


Design Principles (System-Wide)

#PrincipleDescriptionApplies to
1Output is deliverableEvery phase produces complete, usable artifactsAll
2Progressive confirmationDesign decisions confirmed phase by phase; defaults flagged ⚠️Both Designers
3Decision traceabilityDecision Registry records source of every decisionBoth Designers
4Skeleton-first generationAll code generation MUST start from platform spec Canonical Code SkeletonBoth Coders
5Spec provides logic, adapters provide implementationExperiment references suggest questions; only confirmed specs define behaviorExperiment pipeline
6Measurement-invalidating anti-patterns are blockedWrong RT origins, unsafe persistence, or ignored dependence structures cannot pass reviewBoth Coders & Reviewers
7Evidence, not guaranteesUser owns the design; the system enforces checks and states what remains unverifiedAll
8Design before codeNo code generation before design is confirmedBoth pipelines
9Post-generation audit mandatoryAll generated code must pass through Reviewer before useBoth Coders & Reviewers
10Input bounds outputReviewer's conclusions cannot exceed what the input supportsBoth Reviewers
11Scientific question drives methodAnalysis methods chosen by scientific question, not habitpsy-ana-designer
12Proportionate alternatives assessmentCompare viable methods on decision-relevant dimensions; use the full 12-dimension matrix only when alternatives are genuinely competitive or the choice is high-impactpsy-ana-designer
13Method before codeAnalysis method must be confirmed before generating analysis codepsy-ana-designer, psy-ana-coder
14Recovery path always providedAudit reports with Critical/Major issues MUST include explicit fix path back to the correct upstream skillBoth Reviewers

Red Lines (System-Wide Absolute Prohibitions)

These rules span all six pipeline skills. Violation is never acceptable:

#RuleOwned byConsequence of violation
R1No code generation before trial window timeline is completepsy-exp-designerStructural errors, expensive late-stage fixes
R2No assumed response mappingpsy-exp-designerGuessing key mapping invalidates accuracy data
R3No time.sleep() in experiment codepsy-exp-coderBlocks event loop, Escape unresponsive
R4No event.getKeys(maxWait=...)psy-exp-coderBlocks event loop
R5No data saved only at experiment endpsy-exp-coderCrash = all data lost
R6No silent filling of [MISSING] valuespsy-exp-designerEvery gap must be resolved by asking user or offering flagged default
R7No font-sensitive/CJK stimulus without an explicit font strategy and visual verificationpsy-exp-coderGlyph coverage and layout depend on the target runtime
R8No skipping relevant design decisionspsy-exp-designerExact-reference questions are candidates only; every decision required by the actual design must be confirmed
R9No rt_onset omitted on response windowspsy-exp-coderMissing/incorrect RT onset invalidates all reaction time data
R10No collection without Reviewer + smoke passAllStatic validation or zero findings alone never proves target-machine runtime readiness
R11No analysis method recommendation without an estimand, design hierarchy, and documented alternatives assessmentpsy-ana-designerMethod-first selection risks answering the wrong question
R12No analysis code without exclusion provenance + claim-appropriate effect estimates; require a seed only for stochastic stepspsy-ana-coderReproducibility requirements must match the actual computation
R13No analysis script delivery without session info outputpsy-ana-coderNon-reproducible without environment capture
R14No declared dependency strategy without its concrete pin/lock artifactpsy-ana-coderA strategy label alone cannot recreate the environment

Code Generation Architecture (4-Layer Priority)

All platforms use the same 4-layer priority stack. When layers conflict, higher always wins:

Layer 1: spec/          ← Highest: API spec, anti-patterns, Canonical Code Skeleton
Layer 2: mapping/       ← Structural: config YAML fields → platform code structures
Layer 3: paradigms/      ← Optional design evidence only; never fills missing semantics
Layer 4: demo/          ← Lowest: raw demo code, logic reference only, never API reference

Code generation priority: confirmed standalone config or frozen Studio ExperimentModel@4 > platform spec and anti-patterns > config/Model→code mapping > optional exact-design reference > demos

Treat demo/_raw/ and any L3 code block targeting a different/legacy runtime as quarantined: extract only design semantics, never copy API calls, and re-implement against the pinned L1-L2 target.

Platform Layer Fill Status

LayerPsychoPyjsPsychPsychtoolbox
L1 spec/✅✅✅
L2 mapping/✅✅✅
L3 paradigms/✅ 28 paradigms✅ 26 paradigms✅ 5 paradigms
L4 demo/_raw/✅ 45 .py✅ 23 .js✅ 100 .md

Code Template (Overview)

Experiment generation follows config-driven setup → preload → declared windows/blocks → durable data → cleanup → package. Analysis generation follows confirmed estimand/config → schema/provenance checks → modeling/diagnostics → saved results/environment. Run validate_experiment.py or validate_analysis.py at the relevant handoffs.


Post-Generation Quality Gate (Overview)

Before delivery, run scripts/validate_experiment.py, then pass all 10 checks in quality-gate.md. Static success is necessary but never sufficient for collection; Reviewer audit and target-machine smoke tests remain mandatory.

PsyCoder Studio Compatibility

This skill set defines the professional context and integration contract for PsyCoder Studio's AI generation pipeline. A conforming Studio integration uses a Skill Reference Engine to:

  • Route required skill documents by stage + platform, plus an optional exact-design reference when present
  • Inject skill context into AI prompts at Interpreter, Code Generator, and Reviewer stages
  • Enforce Review Gate semantics: unresolved critical/major issues block artifact packaging
  • Record skill version and selected documents in pipeline metadata

See PSYCODER_STUDIO.md for full pipeline integration contracts. Repository validation proves those contracts are internally consistent; it does not prove a live Studio deployment or target-machine runtime.


Review Modes and Readiness Labels

Experiment Review Modes (psy-exp-reviewer)

ModeInputMaximum label
code-auditComplete experiment code + config; target smoke evidence is required for the final labelready_for_collection only when runtime evidence is reviewed; otherwise not_ready_for_collection
config-auditConfig YAML / trial timelinepre_code_ready
implementation-plan-reviewPseudocode / architecture plannot_applicable (non-readiness architecture review; a validated config is still required)
triage-onlyNatural-language descriptionNone (missing-info list only)
blockedInsufficient inputNone (state what's needed)

Analysis Review Modes (psy-ana-reviewer)

ModeInputMaximum label
analysis-auditComplete script + config/data schemaready_for_execution unless successful execution outputs are also reviewed
result-auditScript + config + dependency artifact + execution log + generated tables/figuresready_for_publication
plan-reviewAnalysis config YAMLanalysis_plan_ready
triage-onlyResearch questionNone (missing-info list only)
blockedInsufficient inputNone

Readiness Labels

LabelPipelineMeaning
ready_for_collectionExperimentZero Critical + zero Major + target-machine smoke tests passed
ready_for_publicationAnalysisZero Critical/Major + clean execution evidence + reviewed tables/figures/environment
ready_for_executionAnalysisStatic audit passed; run and result verification still required
not_ready_for_collectionExperimentCritical/Major issues exist, or target-machine smoke evidence is missing/failed — do NOT collect
not_readyAnalysisCritical or Major issues exist
pre_code_readyExperimentDesign complete, ready for code generation
analysis_plan_readyAnalysisAnalysis design complete, ready for code generation
blockedBothInput insufficient for any review

Severity Classification

SeverityDefinitionCan proceed?
CriticalPrevents launch/recovery/safe operation, or systematically invalidates the primary measurement/claimNo — intended use is blocked
MajorMaterially compromises design fidelity, estimates/uncertainty, data recoverability, or independent verificationNo — fix and re-audit before formal collection/publication
MinorNon-material maintainability/reporting issue that does not alter measurement or claimsOnly to the maximum evidence-supported label; document/fix as appropriate

Paradigm Coverage Matrix

Core Paradigms (14) — Full Programming-Layer Spec

All 10 required sections filled (When to Use, Core Logic, Must Confirm, Do Not Assume, Condition File Columns, Trial Window Timeline, Data Analysis, Variants, References, Example):

Go/No-go · Navon · Priming · Stroop · Eriksen Flanker · Simon · Rating · Stop-signal · IAT · N-back · Dot-probe · Visual Search · Task Switching · EAST

Extended Paradigms (24) — Full Programming-Layer Spec

Antisaccade · ANT · BART · Bilingual Stroop · Change Detection · Children Flanker · Choice RT · Climate Reflection · CPT · Corsi Blocks · Cyberball · Delay Discounting · Drag and Drop · Mental Rotation · Multisensory Nature · Numerical Stroop · Phone a Friend · Posner Cuing · Psychophysics Staircase · Rating to Choice · Sternberg · Ultimatum Game · WCST · Writing Distraction

Paradigm Count Explained

LayerCountWhat they are
Programming paradigms/38 (14 core + 24 extended)Design references for the 5-phase workflow. Apply to ALL platforms
Coder psychopy/paradigms/28PsychoPy code references with platform-specific generation logic
Coder jspsych/paradigms/26Legacy logic sources (mostly PsychoJS; code blocks quarantined)
Coder psychtoolbox/paradigms/5PTB code references; most paradigms use 12-step template for manual adaptation

Cross-Platform Mandatory API Quick Reference

DimensionPsychoPyjsPsych (pinned 8.x target)Psychtoolbox
Keyboardexplicit target-supported Keyboard backendPlugin class referencesKbQueueCreate + KbQueueCheck for time-critical keyboard tasks
RT sourceselected backend's key.rtpinned plugin's documented data.rtfirstPress - VBLTimestamp
RT originwin.callOnFlip(kb.clock.reset)Stimulus onset (automatic)VBLTimestamp = Screen('Flip') return
Timing loopCountdownTimertrial_duration parametervbl + (waitframes-0.5)*ifi
Data savetry/finally + per-trial flushdurable on_data_update checkpoint + final exporttry/catch + append/flush/close per trial
QuitEscape check in every timed loopcentralized abort path reachable from every interactive nodeEscape included in the KbQueue mask and checked between phases
Cleanupwin.close() + core.quit()durable checkpoint then jsPsych.abortExperiment() for abortssca + Priority(0) + ShowCursor
CJK fontFONT_CONFIG toggle + TextBox2CSS font-familyScreen('TextFont') + TextStyle

Analysis Platform API Quick Reference

DimensionRPython
Data importreadr::read_csv()pandas.read_csv()
Filteringdplyr::filter()df[df['col'] > x]
Grouped statsgroup_by() %>% summarise()df.groupby().agg()
Paired t-testt.test(paired=TRUE)scipy.stats.ttest_rel()
Mixed modellme4::lmer()statsmodels.MixedLM()
GLMM (binomial)lme4::glmer(family=binomial)bambi / statsmodels.genmod.bayes_mixed_glm (within supported scope)
Effect sizeeffectsize::cohens_d() / repeated_measures_d()pingouin.compute_effsize()
Post-hocemmeans::emmeans() + pairs()statsmodels.stats.multicomp
Visualizationggplot2 + ggrainmatplotlib + seaborn
Reproducibilitystochastic step: set.seed(); always capture sessionInfo()stochastic step: explicit RNG seed; always capture environment/package versions

Inter-Skill Communication Protocol

Experiment Pipeline

psy-exp-designer → psy-exp-coder:

  • Artifact: Complete saved config.yaml + Decision Registry; report its path to the user (do not dump raw YAML unless requested)
  • Precondition: Gate 5 passed (user confirmed full Design Decision Registry)
  • Coder's duty: Load config → select platform → copy skeleton → map code → Quality Gate → deliver

Coder → Reviewer:

  • Artifact: Generated experiment code (.py / .js / .m) + condition files + README
  • Precondition: Coder's Post-Generation Quality Gate passed
  • Reviewer's duty: Detect platform → load corresponding spec → audit each dimension → output graded report + readiness label

Analysis Pipeline

Designer → Coder:

  • Artifact: analysis_config.yaml (saved to working directory)
  • Precondition: Gate 5 passed (user confirmed full Analysis Decision Registry)
  • Coder's duty: Phase 0 validate config → confirm language (R/Python) → preview plan → generate code → deliver

Coder → Reviewer:

  • Artifact: Generated analysis script (analysis.R/.py) + report (.Rmd/.ipynb)
  • Precondition: Coder's 10-item Quality Gate passed
  • Reviewer's duty: Intake → detect platform → Gate 0 grep scan → 5-dimension audit → output graded report + readiness label + recovery path

Shared Artifacts

ArtifactProducerConsumerFormat
Experiment config YAMLpsy-exp-designerpsy-exp-coder, UserSaved .yaml; path always reported
Condition filespsy-exp-designerpsy-exp-coder.xlsx / .csv
Experiment codepsy-exp-coderpsy-exp-reviewer.py / .js / .m
Experiment READMEpsy-exp-coderpsy-exp-reviewer.md
Analysis config YAMLpsy-ana-designerpsy-ana-coder, UserSaved .yaml; path always reported
Analysis scriptpsy-ana-coderpsy-ana-reviewer.R / .py
Analysis reportpsy-ana-coderpsy-ana-reviewer.Rmd / .ipynb
Audit reportBoth ReviewersUserMarkdown (graded + readiness label)

Code Output Specification

Experiment Deliverables

FileFormatContent
Platform experiment file.py / .js / .mRunnable code, all parameters at top, platform-appropriate explicit font strategy if participant-visible CJK is used
Experiment README.mdWindow sequence, condition/block structure, response rules, data columns, how to run, stable parameter names/sections, known limitations

Analysis Deliverables

FileFormatContent
Analysis script.R / .pyConfig-driven structure, exclusion provenance, estimates + uncertainty, diagnostics, environment capture; seed only for stochastic steps
Analysis report.Rmd / .ipynbExclusion summary, descriptive stats, model results, figures, environment info

Language Consistency

Code comments and README language MUST match the user's language:

  • 中文用户 → 中文 README + 中文代码注释
  • English user → English README + English code comments

Resource Routing

The orchestrator stays compact; load only the resources required by the selected stage:

NeedAuthoritative resource
Platform capabilitiesPLATFORMS.md
Standalone Claude Code/Codex executionSTANDALONE.md
PsyCoder Studio executionPSYCODER_STUDIO.md + runtime/
Experiment design / generation / reviewpsy-exp-designer/ → psy-exp-coder/ → psy-exp-reviewer/
Analysis design / generation / reviewpsy-ana-designer/ → psy-ana-coder/ → psy-ana-reviewer/
Deterministic preflight checksscripts/validate_experiment.py, scripts/validate_analysis.py
Installationinstall.sh

When NOT to Use This Skill

  • Quick PsychoPy/jsPsych/PTB API questions: Answer directly; don't invoke the full workflow
  • Quick R/Python stats questions: Answer directly; don't invoke the full analysis pipeline
  • General Python/JavaScript/MATLAB/R questions: Answer directly
  • Non-experiment programming tasks: Not in scope
  • Data analysis without experiment context: The analysis pipeline CAN handle standalone data — psy-ana-designer will manually collect experiment information if no config YAML exists

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

und 140 weitere Dateien.

Häufig gestellte Fragen

Was macht der KI-Skill Amazing Psycoder?

Route Amazing PsyCoder requests to the correct psychological experiment or behavioral-data analysis stage: Designer, Coder, or Reviewer. Use for end-to-end or multi-stage work, ambiguous requests such as “帮我做 Stroop”, cross-pipeline work, system-capability questions, or explicit invocations of Amazing PsyCoder. Supports PsychoPy, jsPsych, Psychtoolbox, R, and Python. For a clearly scoped single-stage request, route directly to the matching psy-exp-* or psy-ana-* skill.

Warum Amazing Psycoder in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Amazing Psycoder besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Amazing Psycoder in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/soupandpsy/amazing-psycoder-skills/tree/main/amazing-psycoder ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Amazing Psycoder nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Amazing Psycoder verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Amazing Psycoder damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Amazing Psycoder kostenlos?

Ja. Der Skill wird von soupandpsy auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇