How I tuned AI at work: the setup's evolution
Timeline
My setup didn't appear in one go. Most rules came out of a specific mistake, which is why every step has a date.
-
Overloaded and fragile
A setup copied from the community with dozens of skills, hooks, plugins and agents. At work, until October, there was also a Copilot Studio agent for sorting mail that created duplicate folders and lost rounds, and an older calculation tool that didn't calculate correctly.
-
Restart
I built a new set of skills from scratch and tested each one on real past inquiries from the archive. Mail now reaches Claude through a Power Automate flow, and my own toolset lives in git.
-
Setup moved to the profile
Instructions, agents, hooks and skills moved from one work folder into the Claude Code user profile. The source lives in git and an install script deploys it, so hand edits no longer drift from the versioned copy.
-
Critic made mandatory
After a setup audit a single rules file remained, six agents and the old calculation tool were archived, and the check script returns an error until the critic's verdict sits next to the output.
-
Rules with "why" and a date
Once, the agent turned my instruction about one type of shipment into a ban for all of them, and since then every rule carries its source, meaning who, when and the literal quote. A rules checker has to approve every change.
-
Done only with proof
The finish-task skill got a gate, so before the agent says "done", it has to rerun the check and read the output, and words like "should be" mean the proof is missing.
-
Quality over leanness, learning loop
After a big research round I got clear that I don't want to trim rules or effort just to save tokens and that I want no silent failures. The first trial run of the nightly learning loop and the skill curator also took place.
-
Rotating threads
Long threads move into fresh ones every day at a quiet hour, with a handover note, because according to my usage log one standing thread had used 841 million tokens by re-reading the whole context on every turn.
Before and now
| Area | Before | November 2026 |
|---|---|---|
| Rules | scattered across several files and instructions | one file, every rule with a reason, a date and a quote |
| Checking | up to the agent | mandatory critic, a check script and an end-of-turn hook |
| Setup | in one work folder, edited by hand | in the user profile, source in git, deployed by a script |
| Threads | long threads for everything | a new thread per inquiry and a daily rotation |
| Learning | corrections got lost in the chat history | every correction straight into memory, a nightly loop and a weekly curator |
| Plugins | dozens copied from the community | three switched on |
What I'd do differently
I'd start lean right away, with one recurring task, one skill and a test on an old job where I know the right answer, and I'd add the next tool only when it's actually missing.
I'd also write the safeguards as code from day one, not as a sentence in the instructions, because the rule "close your browser tabs" didn't work as text, whereas a hook that won't let the turn end does.
The specific problems I hit along the way are in Lessons.