Skip to content

feat: af_load_data skill — own data loading and selection cuts #61

Closed

Description

@Jammy2211

Overview

The start-here-mode dry run (#38) found that no skill owns loading the user's data and the selection cuts applied to it. af_adapt_to_domain covers papers/likelihood/model, af_wrap_likelihood asks about loading only in passing, and the data-inspection gate fires after loading — so in Part 2 on dataset/sne_cosmology/ the CSV column parsing and the is_calibrator == 0, z_hd > 0.023 cut had no skill guiding or recording them.

Plan

  • Add skills/af_load_data.md: read CSV / FITS / HDF5 / npy / JSON into the arrays the Analysis takes; confirm column meanings and units; state every selection cut back with its justification; record in wiki/project/ (profile "Data shapes" + dated entry); data-inspection gate follows immediately. Python-first per _style.md.
  • Register in skills/README.md (Domain adaptation), .claude/skills/ symlink, .codex/skills/ adapter.
  • Cite from af_adapt_to_domain (interview step 2) and af_wrap_likelihood (Ask: the data); route modes/start_here.md P0 through it.
  • Add a "Data shapes" section to wiki/project/_profile_template.md.
Detailed implementation plan

Affected Repositories

  • autofit_assistant (primary)

Suggested branch: feature/af-load-data-skill

Key Files

  • skills/af_load_data.md — new skill
  • skills/README.md, skills/af_adapt_to_domain.md, skills/af_wrap_likelihood.md, modes/start_here.md, wiki/project/_profile_template.md

Original Prompt

Click to expand starting prompt

PyAutoMind draft/feature/autofit_assistant/data_loading_and_selection_cuts_skill.md (filed 2026-09-10, parent complete/2026/09/start-here-mode.md).

Witness: a new skills/af_load_data.md is registered in skills/README.md and cited from af_adapt_to_domain (interview step 2) and af_wrap_likelihood; running the start-here Part 2 on dataset/sne_cosmology/ records the column meanings, units and every selection cut (e.g. is_calibrator == 0, z_hd > 0.023) in wiki/project/ with a one-line justification each, before the data-inspection gate fires.

Activity

  1. Jammy2211 commented on Nov 8, 2026

    @Jammy2211
    ContributorAuthor

    Shipped

    Merged in #62 (merge commit a975a3c).

    • New skill: skills/af_load_data.md covers loading the user's data, column meanings and units, and justifying every selection cut. af_adapt_to_domain, af_wrap_likelihood and start_here now cite it.
    • Discovery files: before merging I regenerated them with PyAutoBrain/bin/project_discovery.py write. This added the missing .claude/commands/af_load_data.md and refreshed the stale af-configure-search Codex adapter description. install.sh --check-project-discovery autofit_assistant now passes.
    • CI: colab-contexts and wiki-currency were green.

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions