psy-ana-coder

psy-ana-coder is a skill for Codex from soupandpsy/amazing-psycoder-skills. It costs 94 tokens per session (3,287 once invoked), scanned A, original, MIT.

A coding assistant for implementing confirmed data analyses in R or Python from a YAML configuration or an existing script. It covers data preparation, statistical models, checks, figures, reports, and session details.

In plain words
What is it for?
Use it to turn a completed analysis plan into reproducible R or Python code, including statistical tests, assumption checks, effect sizes, sensitivity analyses, publication figures, and reports.
Why use it?
It keeps the implemented analysis aligned with an approved plan instead of changing the research question during coding. It also identifies when a requested model is not validated in the chosen programming language.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to turn a completed analysis plan into reproducible R or Python code, including statistical tests, assumption checks, effect sizes, sensitivity analyses, publication figures, and reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder
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 soupandpsy/amazing-psycoder-skills --skill psy-ana-coder
Clone the repo
git clone --depth 1 https://github.com/soupandpsy/amazing-psycoder-skills

Made for: Codex.

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 psy-ana-coder

README.md
[![agentmods](https://agentmods.dev/badge/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder/github.svg)](https://agentmods.dev/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder)
Your own site
<a href="https://agentmods.dev/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder"><img src="https://agentmods.dev/badge/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder/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 psy-ana-coder

Your own site · 80×15
<a href="https://agentmods.dev/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder"><img src="https://agentmods.dev/badge/skills/soupandpsy/amazing-psycoder-skills/psy-ana-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,287 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.00094 $0.03287
Opus 5 $0.00047 $0.01643
Sonnet 5 $0.00019 $0.00657
Haiku 4.5 $0.00009 $0.00329

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

Security

Grade A, and why

psy-ana-coder 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (python/demo/stroop_lmer.py, python/demo/stroop_ttest.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

amazing-psycoder/psy-ana-coder/SKILL.md · 240 lines

How it starts

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

Analysis Coder

Authoritative-source boundary: never load or copy files under python/demo/ or r/demo/ during generation. They are quarantined historical demonstrations and do not satisfy the v1.4.0 analysis contract. Use only the confirmed config plus the current spec, mapping, and checklist selected below.

Version

v1.4.0 — unified evidence-gated contract, 2026-07-23. Sub-skill of amazing-psycoder.

Purpose

Receive the analysis config from psy-ana-designer and implement it in R or Python. Preserve the same estimand and decision rules across languages, but do not claim API/capability equivalence: if a selected model has no validated implementation in the chosen ecosystem, block or obtain approval for a scientifically equivalent alternative.

Does not design analyses — only implements a confirmed analysis plan.

Platform Routing

Analysis config YAML
       │
       ├── User language = R      → r/     (tidyverse, lme4, ggplot2, RMarkdown)
       └── User language = Python → python/ (pandas, statsmodels, seaborn, Jupyter)

Each platform includes authoritative spec/, mapping/, and checklist/ components. Existing demo/ directories are quarantined historical material and are excluded from generation context.

Phase 0: Config Ingestion & Validation

Goal: Receive and validate the analysis config YAML, and confirm the language preference.

0.1 Receive Config

"Please provide the analysis config YAML generated by psy-ana-designer. You may paste its content, or provide a file path (e.g., analysis_config.yaml)."

Validate immediately after reading the config:

  • version is compatible (current contract: v1.2)
  • Required fields: analysis_mode, exact runtime.language/runtime.language_version/dependency strategy/concrete dependency_file/target environment, design.design_type, design.observation_level, design.dvs, questions[].estimand, questions[].selected_method, and model.stochastic
  • If model.stochastic: true, model.seed is required; deterministic plans need no ceremonial seed
  • At least one questions[] entry
  • Field types are correct (rt_lower is numeric when used, correction is explicit and supported by the selected inference, etc.)

Read the full file on GitHub · 240 lines

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. 9d ago First seen · 240 lines · 94 tokens per session scan A 8c5bf4d9f1e9

Subscribe to this mod's changes

psy-ana-coder is a skill published in the GitHub repository soupandpsy/amazing-psycoder-skills (33 stars, last pushed 25d ago), licensed MIT. It adds 94 tokens to every session and 3,287 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

dep-audit

Cross-repository dependency audit. Scans package manifests for outdated packages, security advisories, version conflicts, and license issues. Produces a prioritized update plan. Supports Node.js, Python, Rust, and Go projects.

thatrebeccarae/claude-marketing · 48 tokens

qector-architecture

QECTOR architecture overview: the Rust core / Python layer FFI boundary, the module map, the threading and memory models, the layering of services, and the bit-determinism guarantee. Load for any question about the engine's internals, where a class lives, how the GIL interacts with the decode call, or why batch decode…

GuillaumeLessard/qector-claude-plugin · 80 tokens

qector-pymatching-compat

The PyMatching-compatible shim in qector-decoder-v3 (manual 17.1). Covers qectordecoderv3.pymatchingcompat.Matching as a drop-in for pymatching.Matching, the supported methods (fromcheckmatrix, fromdetectorerrormodel, addedge, addboundaryedge, decode, decodebatch, decodetoedgesarray), the fact that it is backed by the…

GuillaumeLessard/qector-claude-plugin · 142 tokens

accelerate

Run PyTorch training across GPUs with minimal changes.

NousResearch/hermes-agent · 13 tokens

jupyter-notebook

Iterative Python via live Jupyter kernel (hamelnb).

NousResearch/hermes-agent · 18 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens