Catalog

Skills

Skills are instruction packages (SKILL.md) that teach an assistant a job. Found in public GitHub repositories; exact copies are merged.

14,845 listed · 0 meet our indexing rules · last sync 2026-11-29

PyAutoLabsautolens-assistant-al-custom-profile

Write a new light or mass profile subclass for use in PyAutoGalaxy / PyAutoLens models. Walks the user through subclassing the right base class, implementing the required `image_2d_from`, `convergence_2d_from`, or `deflections_yx_2d_from` methods, registering parameter defaults / priors, and using the new profile in an `af.Model`. For *combining* existing profiles (bulge + disk, basis expansions) the standard `af.Model` composition already covers it — don't bootstrap a new profile if you only need composition.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-euclid-hpc-runs

Run the Euclid pipeline on a supercomputer — configure hpc/sync (push code/data, pull results), adapt the batch_cpu / batch_gpu SLURM array templates (one dataset per array task), submit, monitor, and pull results back. Use when a Euclid lens sample outgrows the local machine; NOT for single interactive fits (euclid_setup_pipeline) or generic HPC concepts (wiki/core/operations/hpc.md).

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-adaptive-pixelization

Build a model whose source reconstruction uses an adaptive pixelisation (mesh density tracks source brightness or surface density) and adaptive regularisation (smoothing strength inferred from data, not fixed). Use when a uniform mesh wastes resolution on dim regions and under-resolves bright ones — common for complex arcs and ALMA data. More expressive than `al_build_imaging_model`'s "pixelised source" branch, at the cost of more knobs. Pairs with `al_inspect_source_reconstruction` (post-fit inspection). Writes a runnable Python script in scripts/. **Status: stub.**

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-audit-skill-apis

Verify every PyAuto* API symbol cited in skills/, wiki/core/api+stack/, and generated scripts (scripts/) resolves in the currently installed stack. Reports stale references (renamed, moved, or removed) with suggested replacements drawn from string-similarity and a cross-module search. Also owns the API version baseline (`wiki/core/api_audit_baseline.json`) that pins the workspace to an autolens version: `--write-baseline` records the installed versions + public-API-surface hash, and `--check-version` (the cheap session-start drift-check) flags when the installed stack has moved. Pairs with `al_update_wiki` (which detects prose drift via pinned source commits) — this skill closes the complementary gap that skills have no pinned commits and that wiki pages can name symbols that no longer exist.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-euclid-prepare-data

Prepare Euclid strong lens data for the pipeline — validate segmentation outputs, tune binary masks, mark extra-galaxy centres and masks with the GUI tools, and assemble the dataset/(sample)/(dataset)/ folder (multi-HDU FITS + info.json + mask_extra_galaxies.fits). Use when a Euclid lens's inputs need checking or building before modeling; NOT for HST/JWST/generic FITS preparation (al_prepare_imaging_data) and NOT for running fits (euclid_setup_pipeline / euclid_model_lens).

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-mge-decomposition

Build and fit a Multi-Gaussian Expansion (MGE) model for the lens light and/or the source — a basis of N Gaussians with tied or free centres / ellipticities, whose intensities are solved linearly inside the fit. MGE is the workhorse for complex lens galaxy morphologies (where a single Sersic is too rigid) and increasingly for source modelling. More structured than `al_build_imaging_model`'s "MGE option", less open-ended than `al_custom_profile`. Writes a runnable Python script in scripts/. **Status: stub.**

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-plot-tracer

Plot ray-tracing visuals from a `Tracer` — image-plane and source-plane galaxy images, deflection vector field, convergence and potential maps, critical curves and caustics, magnification map. Use after `al_load_results` has handed you a Tracer, or right after building one in `al_simulate_dataset`. For *fit*-derived plots (residuals, model image with PSF) see `al_plot_fit_residuals`.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-inspect-results-mcp

Run and configure the read-only results-inspector MCP server, which lets an MCP client (Claude Desktop, Claude Code) inspect PyAutoLens fit results without running Python — list fits ranked by evidence, read model and posterior summaries, view result images inline in chat, and extract/combine subplot panels and FITS HDUs across many fits. Use when the user wants to "browse/inspect my results from chat", asks about the MCP server, or wants Claude Desktop wired to their output folder. Not for loading results in Python (that is `al_load_results` / `al_aggregator_bulk_analysis`) and not for running fits.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-euclid-setup-pipeline

Set up and run the Euclid strong lens modeling pipeline (euclid mode entry point). Clone euclid_strong_lens_modeling_pipeline, verify the PyAutoLens + JAX environment, understand the dataset/(sample)/(dataset)/ layout, and run start_here.py as a black box on a Euclid lens. Use for any "model Euclid data" request that hasn't already got the pipeline running; NOT for general non-Euclid lens modeling (al_build_imaging_model) or for HST/JWST data preparation.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-point-source

Fit a strong-lens model to point-source data — multiple-image positions of a lensed quasar / QSO, optionally with flux ratios and time delays. Use when the user has positions (sky coordinates of multiple images) rather than extended-arc imaging, or when imaging is so poor the lensed source is effectively a point. Pairs with `al_time_delay_cosmography` (H0 from delays) and `al_build_imaging_model` (when the same system also has resolved imaging). Writes a runnable Python script in scripts/. **Status: stub — recipe sections need filling in.**

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-to-notebook

Convert a generated narrative-docstring PyAutoLens script (.py) into a Jupyter notebook (.ipynb) — each top-level docstring becomes a markdown cell, the code between becomes code cells. Use when the user says "turn this into a notebook", "convert to ipynb", or wants a Jupyter/Colab version of a script the assistant produced.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-subhalo-detect

Detect (or rule out) dark-matter subhaloes in a strong lens via Bayesian model comparison. Compares a base fit (smooth lens mass) against fits with an added perturbing subhalo at a grid of (y, x, mass) positions; the Bayesian evidence ratio is the detection statistic. Requires a converged base fit, typically with a pixelised source (subhalo signatures appear as small residuals only a flexible source can reveal). Pairs with `al_sensitivity_mapping` (what mass could you have detected?). Writes a runnable Python script in scripts/. **Status: stub.**

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-profiling-setup

Look up recorded PyAutoLens likelihood timings and bounded setup advice for imaging, interferometer and other dataset/model families. Match dataset size, masked pixels, source resolution, PSF, precision, hardware and software against a pinned profiling catalogue, distinguishing exact matches, approximate analogues and absent evidence. Use for setup/performance questions, not for launching profiling jobs, choosing accepted baselines or predicting sampler convergence.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-build-results-library

Turn hundreds or thousands of finished lens fits into a checked, shippable results library with PyAutoFit's results tools — index every result and its state, declare what should exist and list what is missing (with reasons), add a product to finished fits without rerunning them, export catalogue tables incrementally (sharded on a cluster), package them into checksummed part zips, verify a package, and compare a rebuild against a reference. Use for a lens sample or survey catalogue (Euclid, SLACS-scale and up), after a cluster campaign, or whenever "which fits are missing or broken?" matters more than loading one fit. For one fit use `al_load_results`; for querying a few fits use `al_aggregator_bulk_analysis`.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-inspect-source-reconstruction

Inspect a pixelised source reconstruction from a completed fit — source-plane image, mesh / regularisation state, reconstruction error, and the inversion's linear solution. Pixelised sources are common for complex arcs and for ALMA/JVLA visibilities. Use after `al_load_results` has handed you the dataset + tracer; needs to rebuild the `FitImaging` because pixelisation state isn't stored in `tracer.json`.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-configure-search

Pick and tune a non-linear search for a lens-modelling fit. Defaults to Nautilus (nested sampling, the recommended choice); covers Dynesty, Emcee, Zeus, and the JAX multi-start gradient optimizers (MultiStartProdigy recommended when a fast MAP point estimate on a parametric source is wanted — not pixelized). Sets sampler-specific knobs (live points, walkers, tolerance) and the output `path_prefix` / `name` that determine where results land. Pairs with `al_run_search`, which actually calls `search.fit`.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-inference-setup

Look up pinned inference-summary v2 records for a dataset/model setup and prepared problem. Distinguish exact matches, qualified analogues and absent evidence while retaining baseline acceptance, archived status, priors, SLaM stage, cold/warm/resumed sampler starts, hardware, compilation/cache, costs, work units, seed diagnostics and sample availability. Use for evidence-based sampler/setup questions, never for launching jobs, ranking samplers or predicting runtime from parameter count.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-euclid-model-lens

Model a Euclid strong lens through the pipeline's staged scripts — the initial MGE + SIE fit (start_here.py), Sersic lens/source photometry for SED fitting (sersic_lens_model.py), lens-only MGE subtraction (mge_lens_only.py), multi-waveband NIR/EXT fits with the VIS model fixed (lens_model_waveband.py), and the full SLaM pixelized-source + PowerLaw model (full_model.py). Use to choose and run the right Euclid pipeline stage for a science goal; NOT for setting up the repo (euclid_setup_pipeline) or hand-composed non-Euclid models (al_build_imaging_model / al_run_slam_pipeline).

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-al-run-search

Execute a non-linear search on a configured model + analysis. Calls `search.fit(model=model, analysis=analysis)` and monitors progress to the search's `path_prefix/name/unique_id/` output folder. Includes the sandbox / test-mode wrapper so smoke tests don't burn hours on real sampling. Use after `al_build_imaging_model` (or interferometer) and `al_configure_search` have produced `model`, `analysis`, and `search` objects.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautolens-assistant-feedback

Draft user-reviewed feedback about using PyAutoLabs software and assistants, including goals, successes, friction and evidence. Use when a user asks to share feedback, summarize their experience for maintainers, or prepare an agent-assisted retrospective. Produces a draft for the existing Discussions hub; never posts it.

Listed
Found in PyAutoLabs/autolens_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-update-wiki

Refresh wiki/ pages whose pinned source commits have moved, by re-reading the relevant source files from the PyAuto* repos and rewriting stale sections. Also surfaces newly added public APIs (new classes / functions in __init__.py) so the user can decide whether they warrant new wiki pages. Use whenever the user reports an API change, after pulling fresh source repos, or on a manual refresh cadence. Do NOT run opportunistically as part of unrelated work — the diff should be reviewable.

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-debug-fit-failure

Triage a misbehaving fit — garbage posteriors, stuck samplers, NaN likelihoods, truth not recovered, walls of sampler warnings. A strict-order diagnostic flowchart: likelihood sanity first, then prior coverage, then data pathology, then sampler diagnostics — because each later stage is meaningless if an earlier one is broken. Use when the user says "the fit isn't working", "the posterior looks wrong", "the sampler is stuck", or a simulation recovery failed. Not for slow-but-correct fits (that is a chaining/budget conversation, af_chain_searches / af_configure_search).

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-audit-skill-apis

Verify every PyAuto* API symbol cited in skills/, wiki/core/, and generated scripts (scripts/) resolves in the currently installed stack. Reports stale references (renamed, moved, or removed) with suggested replacements drawn from string-similarity and a cross-module search. Also owns the API version baseline (`wiki/core/api_audit_baseline.json`) that pins the workspace to an autofit version: `--write-baseline` records the installed versions + public-API-surface hash, and `--check-version` (the cheap session-start drift-check) flags when the installed stack has moved. Pairs with `af_update_wiki` (which detects prose drift via pinned source commits) — this skill closes the complementary gap that skills have no pinned commits and that wiki pages can name symbols that no longer exist. Run when a user reports an API error, after a PyAuto* upgrade, or on a manual cadence; the helper script `autoassistant/audit_skill_apis.py` does the mechanical pass and this skill drives interpretation and curates fixes.

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-load-results

Load and analyse the results of completed PyAutoFit fits — the Result object's posterior samples (medians, errors at sigma, instances), the Bayesian evidence, marginalisation, CSV export, and bulk loading of many fits via the aggregator/database. Use when the user says "load my results", "what did the fit find", "get the posterior/errors/evidence", or wants to compare or tabulate many completed fits. Not for running fits (that is `af_run_search`).

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-plot-fit

Visualise fits and posteriors — corner plots and search diagnostics via autofit.plot (aplt), model-vs-data and residual figures via matplotlib over model instances, and the af.ex.plot_profile_1d helper for 1D profiles. Use when the user says "plot the fit", "show me the corner plot", "plot residuals", or wants figures from a completed search. Not for the in-search Visualizer hooks (that is af_custom_analysis) or for loading the results being plotted (af_load_results).

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-load-data

Load the user's real data — CSV, FITS, HDF5, npy/npz or JSON — into the arrays their Analysis takes, name each column's meaning and units, and surface every selection cut (a redshift floor, a quality flag, a calibrator exclusion) back to the user with its scientific justification before anything is fitted. Records the column map, units and cuts in wiki/project/ (profile "Data shapes" + a dated entry); the data-inspection gate follows immediately. Use when the user says "load my data", "here's my CSV/FITS file", "which rows should we keep", or arrives at the data step of af_adapt_to_domain, af_wrap_likelihood or start-here Part 2. Not for simulated data (af_simulate_dataset), wrapping the likelihood (af_wrap_likelihood) or plotting fits (af_plot_fit).

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-adapt-to-domain

The domain-adaptation orchestrator — turn a fresh clone of this assistant into the user's own domain inference assistant. Runs a light interview about their field, data and conventions; drives the three adaptation channels (paper ingestion into wiki/literature/, likelihood wrapping, model composition); and records everything durable in wiki/project/profile.md so future sessions start domain-aware. Use when a user says "become my assistant for (field)", "adapt to my domain", "train yourself on my papers", or arrives with a new scientific domain the assistant hasn't recorded. Not for a single paper (af_ingest_paper) or a single wrap (af_wrap_likelihood) — this composes them.

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-to-notebook

Convert a generated narrative-docstring PyAutoFit script (.py) into a Jupyter notebook (.ipynb) — each top-level docstring becomes a markdown cell, the code between becomes code cells. Use when the user says "turn this into a notebook", "convert to ipynb", or wants a Jupyter/Colab version of a script the assistant produced.

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-af-chain-searches

Chain non-linear searches — pass one fit's result into the next fit's priors or start points, so a cheap simplified fit hands a focused parameter space to the expensive full fit. Covers `result.instance` (fix at fitted values), `result.model` (posterior-updated priors), the `model_centred*` variants, and the Initializer start-point classes. Use when the user says "use the first fit to seed the second", "fix these components at the previous result", "chain searches", or wants a staged/pipelined analysis. Not for choosing a single sampler (af_configure_search) or combining datasets (that is the factor graph).

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

PyAutoLabsautofit-assistant-start-new-project

The single bridge from the assistant to a standalone science project, and the project's full lifecycle. Use when the user says "start a new project", "create a project", "set up a science project", "set up a paper repo", "share this analysis with collaborators", "continue a collaborator's project" (they forked/cloned one), "open-source the repo that goes with my paper", or "prepare this project for public release". Creates a separate, self-contained git repo for one analysis/paper that refers back to this assistant for skills and wiki, then carries it through Create → Work → Collaborate → Publish.

Listed
Found in PyAutoLabs/autofit_assistant on GitHub. Last sync 2026-11-21

Also as Markdown and JSON.