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.

  1. before

    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.

  2. restart

    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.

  3. restart

    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.

  4. new rule

    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.

  5. new rule

    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.

  6. new rule

    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.

  7. new rule

    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.

  8. today

    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
Rulesscattered across several files and instructionsone file, every rule with a reason, a date and a quote
Checkingup to the agentmandatory critic, a check script and an end-of-turn hook
Setupin one work folder, edited by handin the user profile, source in git, deployed by a script
Threadslong threads for everythinga new thread per inquiry and a daily rotation
Learningcorrections got lost in the chat historyevery correction straight into memory, a nightly loop and a weekly curator
Pluginsdozens copied from the communitythree 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.