Repository navigation
feat: "start here" mode — guided six-step tour, then your own project - #39
Merged
Merged
Conversation
The published start-here prompt (PyAutoFit README, RTD Quick Start, this README) now has a mode that catches it. modes/start_here.md scripts a guided first session: turn 0 introduces PyAutoFit, the bundled gaussian_x1 dataset and its equation; Part 1 walks the six sections of the RTD Natural Language Inference page one step per turn, handing the user each section's prompt verbatim, running it through the existing skills, showing the real output and inviting a variation; Part 2 replays the same six steps on the user's own science (paper or plain description -> model -> likelihood -> search -> fit -> organise) through af_adapt_to_domain and its channels. Every step of both parts carries the same footer: ask anything, or say "teacher mode". AGENTS.md registers the mode and its selection rule; README.md is restructured around the tour (Getting Started -> Setup -> The tour step by step -> Your own project -> Teacher mode and HowToFit), with every prompt blockquote unchanged and the model.info block brought into lockstep with the RTD page; the two setup pages say the tour takes questions at every step. scripts/start_here/ holds the dry-run of the tour, one workspace-style script per step plus the shared peak-normalised Gaussian and Analysis (af.ex.Gaussian is area-normalised and would push the normalization outside the page's 0-100 prior). Step 4 recovers centre 50.00, normalization 24.89, sigma 9.82 in 16 s; the three-Gaussian extension runs at 0.27% Dynesty efficiency (unconverged after 30 min) and 2.5 min under Nautilus, which the mode offers as the fallback (log evidence -60.23 vs -49.41 for one Gaussian). Closes #38 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BrGfrSxV9xoqCa4v1p9hix
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the start here mode (
modes/start_here.md) that catches the published start-here prompt and runs a guided first session:dataset/gaussian_x1/and its truth values, the Gaussian equation, a plot of the data, one depth question, then the step-1 prompt and stop.af_ingest_paper) or plain description →af_compose_model→af_wrap_likelihood/af_custom_analysiswith the data-inspection gate →af_configure_search→ go-ahead → fit and results →start-new-projectoffered → extensions.af_adapt_to_domainis the engine; the mode only sequences it.modes/teacher.mdon without leaving the tour.AGENTS.mdregisters the mode and the selection rule (the start-here prompt outranks inference from the opening request;.maintainerstill outranks everything).README.mdis restructured around the tour: Getting Started → Setting up → The tour, step by step → Your own project → Teacher mode and HowToFit → License. No prompt blockquote text changed; themodel.infoblock is brought into lockstep with the RTD page (PyAutoLabs/PyAutoFit#1603).docs/setup/claude_code.mdandcodex_cli.mdsay the tour takes questions at every step.Scripts Changed
New
scripts/start_here/— the dry run of Part 1, one workspace-style script per step, plusgaussian.py(peak-normalised, matching the page's equation and the dataset README;af.ex.Gaussianis area-normalised and would put the normalization near 620, outside the page's 0–100 prior) andanalysis.py(independent Gaussian errors, visualiser for the live fit images):step_1_compose_model.py,step_2_define_likelihood.py,step_3_choose_search.py,step_4_fit_and_results.py,step_5_save_and_load.py,step_6_three_gaussians.py,step_6_three_gaussians_nautilus.py.Dry run (all numbers quoted in the mode come from these runs)
model.infoids 0–2 with the page's priors; two-Gaussian variation prints a 6-parameter CollectionDynestyStatic(nlive=100)configureddataset/sne_cosmology/as a plain-description P0: Ωm 0.343 +0.022/−0.021, H0 73.13 +0.30/−0.29 (README 0.344 / 73.14), 14 s; nothing committed from itEvery script passes
python autoassistant/audit_skill_apis.py --file;--check-versionexits 0; all eleven RTD prompts quoted in the mode grep byte-identical inPyAutoFit/docs/overview/natural_language.md.Test Plan
model.infowith the page's priors; "make it two Gaussians": a 6-parameter Collectionsource activate.sh && for s in scripts/start_here/step_*.py; do python $s; done(step 6 Dynesty is the slow one; Nautilus variant ~2.5 min)Merge order
Library-first gate: PyAutoLabs/PyAutoFit#1603 (docs only, links the prompt to this mode) merges first; both are documentation-only, so the gate is a formality.
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BrGfrSxV9xoqCa4v1p9hix