Logo di 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.

Panoramica

Autoresoupandpsy
Repositoryamazing-psycoder-skills
Nome della skillamazing-psycoder
Stelle
38
Fork
1
File inclusi
446
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 446 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da soupandpsy su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Amazing Psycoder in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/soupandpsy/amazing-psycoder-skills/tree/main/amazing-psycoder
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Amazing Psycoder in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Amazing Psycoder non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Amazing Psycoder non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

e altri 140 file.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Amazing Psycoder su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Amazing Psycoder è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Amazing Psycoder in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/soupandpsy/amazing-psycoder-skills/tree/main/amazing-psycoder. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Amazing Psycoder?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Amazing Psycoder?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Amazing Psycoder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Amazing Psycoder è gratuita?

Sì. È pubblicata su GitHub da soupandpsy con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇