by PriorLabs
Autofit by Prior Labs: a Claude Code plugin that builds strong tabular prediction models on top of TabPFN-4
# Add to your Claude Code skills
git clone https://github.com/PriorLabs/autofitGuides for using ide extensions skills like autofit.
autofit is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by PriorLabs. Autofit by Prior Labs: a Claude Code plugin that builds strong tabular prediction models on top of TabPFN-4. It has 145 GitHub stars.
autofit's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/PriorLabs/autofit" and add it to your Claude Code skills directory (see the Installation section above).
autofit is primarily written in Python. It is open-source under PriorLabs on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh autofit against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Autofit by Prior Labs is a Claude Code plugin that helps you build strong models for tabular prediction problems, such as churn, demand, delivery times, conversion or pricing.
It builds on TabPFN, a foundation model for tabular data, and runs the whole modeling loop for you: setting up the problem and its validation, a baseline, experiments to beat it, an ensemble, and a final model you can predict with.
The documentation is at docs.priorlabs.ai/autofit.
uv self update if yours is
older, or update it the way you installed it (for example brew upgrade uv).TABPFN_TOKEN to an
API key.claude update if
yours is older. Claude Code in VS Code does not run plugins.Paste this into Claude Code:
Set up the Autofit plugin from github.com/PriorLabs/autofit for me. First check that uv is 0.11 or newer and Claude Code is 2.1.328 or newer; if one is missing or older, tell me how to install or update it and stop. Then run `claude plugin marketplace add PriorLabs/autofit` and `claude plugin install autofit@priorlabs` in the shell. When both succeed, tell me to type /reload-plugins, then /af login to sign in to TabPFN (Autofit first installs itself in about a minute, and the sign-in starts once it is done), then /af doctor.
Then type the three commands Claude names; the steps below explain each one.
Add the marketplace and install the plugin in Claude Code:
/plugin marketplace add PriorLabs/autofit
/plugin install autofit@priorlabs
Reload plugins:
/reload-plugins
Autofit then installs itself, which takes about a minute: the line under the prompt says "installing Autofit" until it is done, and its tools connect then, without a restart. You can go on meanwhile.
Sign in to the TabPFN API:
/af login
While Autofit still installs, /af login says so and starts the sign-in once
the install is done. Your browser opens with a code filled in: check that it
matches the one Claude Code shows, and approve. Over SSH nothing opens: open the link on any device and
enter the code. If you skip this step, Claude signs you in the first time you ask
it to run Autofit. The sign-in lasts 30 days; /af login again renews it,
without a restart. With an API key from
platform.priorlabs.ai instead,
set TABPFN_TOKEN in the shell you start Claude Code from.
Then run:
/af doctor
It checks your token, Claude Code, its version and login, and the layout the sidebar needs, and prints the fix next to anything missing. Run it once the install is done; before that it says to wait. The plugin also runs these checks at the start of each session and shows a line under the prompt when something needs changing.
Open Claude Code in the folder with your data and ask:
Run Autofit on churn.csv and predict churn.
In fullscreen layout in a wide window, the sidebar opens with the run, or type /af.
New versions come as releases, each with notes on what changed. To update, run in a shell:
claude plugin marketplace update priorlabs && claude plugin update autofit@priorlabs
Then restart Claude Code. Autofit installs the new version at the first start: usually in a few seconds, up to about a minute when uv downloads its dependencies again. Claude Code sessions and Autofit runs that were already going keep the version they started with until they end.
A session's model loads only with the Autofit code and packages that saved it.
When a release changes them, its notes say so, and predict and score refuse
sessions saved before it; start a new session on the same data then.
If you installed the command line tool with uv tool install (see
Other ways to run it), run the same command again with
--force to update it. It installs the newest packages rather than the plugin's
locked ones, so sessions saved before can stop predicting even when the release
notes do not say so.
Every experiment is scored on the same validation rows, which are fixed before the first one runs, and feature transformations are fitted on the training rows only. The run happens in the background and the chat stays free.
/af steer <text>) what the
data does not say ("tenure is in months") or an experiment to try ("try
charges per month of tenure"). The agent picks it up after its current step
and answers: what it will do with it, or why not. Nothing changes an
experiment that is already running.1 approves, 2
skips, or you type what to change./af pause, /af budget 30, /af stop and more act on the run
directly.Sessions are saved, so you can close Claude Code and pick one up later.
The sidebar docks next to the chat in fullscreen layout (/tui fullscreen), in a
window at least 110 columns wide; from 144 columns it opens by itself when a run
starts. In the classic layout or a narrower window there is no sidebar: the label
under the prompt shows the progress, the approval card still appears, and /af
prints the session with every experiment. /af doctor tells you which applies to
yours.
The screenshot shows a run on two years of hourly bike rentals, scored on the last five months of the data. Plain TabPFN had an RMSE of 59.39. After 7 of 20 experiments, the best was at 56.39 (5.0% better) and the ensemble at 56.31. A note sent while it ran, that demand follows commuting hours on working days, matches the best experiment, opened in the sidebar with its code change: one column that combines the hour with whether it is a working day. With review turned on, the next experiment waits for approval below the chat.
How much Autofit adds depends on the table. TabPFN is a strong baseline, and on some data a handful of experiments will not beat it.
https://docs.priorlabs.ai/mcp) to Claude Code. Claude searches it for
TabPFN questions, and the search text can mention your task.~/.autofit/sessions; the report also goes to the folder you
started the session from, as autofit-report-<session>.html, and so does
the live page, autofit-live-<session>.html.
Both are single files: no server, nothing loaded from the web.A run uses two paid services:
ANTHROPIC_API_KEY when it