Self configuring
For a while now I have had a setup procedure on ai.memention.net. One point an agent at the page and it sets up the repo with skills and cards. It works pretty well. But once the files are in the repo, they are just files. Which version of a skill did that repo get? Is there a newer one? And what if a different kind of project wants a slightly different setup? I started to want to manage it a bit further, per project, but not all projects the same.
We solved this for code a long time ago, it is called a package manager. So how hard can it be?
So I whipped up ast, the AI setup tool. A project keeps a small ast.toml that says which repos it takes tools from and which tools it wants, plus a lock file, and both are committed together with the installed files. Every clone and worktree get the same setup:
ast init
ast source add epatel/agent-skills --ref latest-tag
ast add double-check makefile-actions
ast status # local changes + upstream updates
ast update
How about a whole team then? An organisation can keep one repo of named sets, a default and per-project sets that extend it, add a few tools and exclude some. A project just picks one:
ast use epatel/ast-repo
ast select python-service
But the part I enjoyed most was ast prompt. The tool does the mechanical part, but choosing which set fits a project needs judgment. So the tool tells the agent what to do instead. In Claude Code one run ! ast prompt setup epatel/ast-repo and say “follow that”. The agent looks at the repo, picks a set, installs and reports back. An org repo can add its own prompts too, so the setup kind of configures itself.
A tool that ships its own instructions for the agent that runs it. I think we might see more of this, maybe?!
And of course it was built with agents, and it uses itself for its own skills. I let the aihealth score loose on it too. It started at 6.96 (cli.py at 3.61, ouch). One late night of letting the agents work through the findings and it is at 9.53, with a badge in the README to keep it honest.
So now the circle closes, I am trying to replace the old setup page with ast plus epatel/ast-repo. We will see how that goes…
There is a guide with examples, and you grab it at github.com/epatel/ai-setup-tool.
PS. Same idea, but for the developer’s own machine. project-setup keeps the setup steps of a project in a setup-todo-list.md that an agent can run, continue when it stopped, and check again later, a bit like flutter doctor. ast itself uses it. Maybe that will be the next post?!