Mini-cases

All entries

Work situations where I made a non-obvious decision.

4 entries

  1. mini-casepersonalwork

    AI agents should write sync scripts, not sync content manually

    When splitting work between agents in separate projects, you often run into this problem: the same content is needed in different forms. The format may differ, or one project may need extra passages inserted into the text—see the example below. This only becomes a problem when the content needs repeated updates: each update consumes a lot of tokens, and, more importantly, there is no guarantee that the agent will synchronize everything with 100% accuracy every time.

    Show more

    Today I ran into this while synchronizing the CVs on this site with a separate project containing full information about me. It would make little sense to clutter the site developer agent’s context with all that information. But I have encountered this at work too: for example, synchronizing product descriptions between the company website project and the project used to prepare commercial proposals.

    In these situations, use scripts—program code—and take advantage of the fact that modern agents are excellent programmers who need very little explanation when it comes to software. Today I wrote:

    I want you to update the website versions whenever you update your own versions. Suggest a workflow with a script.

    The website files used different markup: some homepage text lived in YAML fields, alongside site-only paragraphs, illustrations and SEO metadata. The agent wrote a script to convert the ordinary Markdown into the website’s format, with the site-specific differences stored in a separate configuration file. I did nothing else: it delivered the working script, tests and instructions for future updates, including a rule telling future agents to run it after editing the CVs.

    Get new entries by email
  2. mini-casepersonal

    An agent with lots of context won't ask where to read more

    I asked an AI agent to create the content of my site’s home page based on everything it knew about me and on a web search for best practices, and added this instruction:

    Show more

    If you need more info about me, ask questions like “where can ** be read?”

    Only my AI Architect CV had been discussed in this project before, so almost all the questions the agent asked were about that role, which made them irrelevant.

    Agents are not trained to follow such instructions: when an agent has a lot of context, it decides that it is enough.

    So I left most of its questions unanswered, went up a level and gave it a separate step first. We discussed my job from various perspectives and searched the web for other role names for me. Then the agent reconciled these higher-level decisions with the concrete requirements for the home page; agents can do this without prompting.

    All a human has to do in such a case is reject the AI’s work rather than try to improve it.

    Get new entries by email
  3. mini-casepersonal

    To find the right skill for new logic, ask how many cases could share it

    I split my publishing skills into log-to-site, which publishes entries to my site, and work-in-public, which interviews me. Then I was adding a check for earlier entries that make the same point. The AI agent proposed that log-to-site only find such entries, while the skills calling it would offer me a shorter version with links; I moved the whole check, including the dialog, into log-to-site.

    Show more

    Apart from work-in-public, many other skills can use log-to-site, and adding the same logic to each of them would be overhead. I feel that the logic of interacting with a user is always too complex to duplicate.

    Get new entries by email
  4. mini-casepersonal

    Shared functionality goes into its own skill, just as in code

    I’m building skills that publish entries of my work to the timeline on my personal site. The AI agent proposed one shared skill for everything, from the interview with me to the git push; I split it into log-to-site, which does only the publishing routine, and work-in-public, which interviews me.

    Show more

    Just as in software development, functionality shared by different cases is better extracted into a separate agent skill, for reuse and to avoid all the problems that come with duplication. The different cases here are: 1) work in public (explanations and advice can come up in literally any work with an agent); 2) my work in my Second Brain project, where insights and shared ideas can appear.

    Besides, log-to-site can then be replaced with log-to-something-else, while the core logic of cases 1 and 2 stays the same.

    Get new entries by email