agentsclimarketplace

Q eda

Skill TyrealQ/q-skills/skills/q-scholar/q-eda

Run exploratory data analysis on tabular datasets with measurement-appropriate statistics. Use for EDA, descriptive statistics, data exploration, or preparing data summaries for reports and manuscripts.From its SKILL.md

Install
npx -y skills add TyrealQ/q-skills --skill q-eda

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

4.8 KB, as published. Nobody here has run it

Q-EDA

Universal exploratory data analysis for tabular datasets. Interviews the user to confirm column measurement levels, runs statistically appropriate analysis per variable type, and produces structured CSVs with a narrative summary.

IMPORTANT: This skill requires Bash execution. Use the pre-built scripts/run_eda.py from ${SKILL_DIR}/scripts/ — do NOT write a new script or inline Python.

If in plan mode: write a brief plan — "Run q-eda skill: interview user for context and column types, execute run_eda.py, write EXPLORATORY_SUMMARY.md from generated CSVs." — then exit plan mode immediately. Do NOT attempt interview stages, script execution, or any analysis while plan mode is active.

Script Directory

Agent execution instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR.
  2. Script path = ${SKILL_DIR}/scripts/run_eda.py.
  3. Reference path = ${SKILL_DIR}/references/<ref-name>.

Dependencies

pandas
numpy
scipy
openpyxl   # required for .xlsx input and Phase 6 Excel report

Install: pip install pandas numpy scipy openpyxl

References

  • references/interview_protocol.md — two-stage interview, column classification table, and detection rules
  • references/invocation_guide.md — script arguments, examples, and behavioral defaults
  • references/summary_instructions.md — post-script summary instructions, table formatting rules, flagging thresholds
  • references/summary_template.md — structural blueprint for EXPLORATORY_SUMMARY.md
  • ../references/apa_style_guide.md — APA formatting, numbers, notation

Core Principles

  • Exploratory-first: no confirmatory statistics; build the picture before hypothesis testing
  • User-confirmed classification: suggest measurement levels; user confirms before analysis runs
  • Whole-artifact re-presentation on revision: when the user requests corrections, re-present the complete updated classification table alongside the confirmed Stage A answers as a single consolidated proof, and obtain explicit final approval before invoking run_eda.py
  • Measurement-appropriate methods: median/IQR for ordinal, Pearson for continuous, Spearman for ordinal, cross-tabs for nominal
  • Insight-flagging: report patterns and warnings, not just numbers
  • Dual output: CSVs for validation and import; markdown for interpretation
  • APA-compatible statistics: full metric set (M, Mdn, SD, SE, 95% CI, skewness, kurtosis) ready for reporting

Workflow

StepActionReference
1Interview: context questions, then column classification with user confirmationreferences/interview_protocol.md
2Execute: run run_eda.py with confirmed types (see Pipeline below)references/invocation_guide.md
3Summarize: write tables-eda/EXPLORATORY_SUMMARY.md from generated CSVsreferences/summary_template.md, references/summary_instructions.md

Pipeline (Step 2 output)

PhaseOutputContent
0(console)Data loading, column classification, schema summary
101_dataset_profile.csvShape, column types, missing%, uniqueness
202_data_quality.csvMissing counts/%, duplicates, constant columns, outliers (IQR)
303-08_*.csvUnivariate: nominal frequencies, binary summary, ordinal/discrete/continuous descriptives
409-12_*.csvBivariate: Pearson/Spearman correlations, grouped descriptives, cross-tabs
513-14_*.csvSpecialized: text analysis, temporal trends
6EXPLORATORY_REPORT.xlsxAPA-7th formatted workbook (B&W, one sheet per CSV)

Files are omitted when no columns of that type exist. Output directory: tables-eda/.

Scope

Include: Any .xlsx/.csv dataset — academic, business, or general. Outputs feed directly into q-methods and q-results.

Exclude: Confirmatory statistics, visualization, hypothesis testing, data cleaning beyond script internals.

Checklist

  • Column classification table presented and confirmed by user
  • If corrections were requested, full updated classification table re-presented alongside Stage A context and explicitly approved before script invocation
  • Confirmed types passed via --col_types; grouping columns via --group
  • Each detected column type has at least one output file
  • EXPLORATORY_SUMMARY.md follows references/summary_template.md structure
  • Descriptive tables use core + detail split-table format
  • Every content section cites its source CSV in the heading
  • Numbers in the summary match the source CSVs exactly
  • No ad-hoc Python used to derive findings outside the script pipeline

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.