# Mini-cases

Work situations where I made a non-obvious decision.

Kind: mini-cases. Contexts: personal. 4 entries. Newest first.

HTML version: https://alexeye.fyi/log/tag/explanation/personal

## [AI agents should write sync scripts, not sync content manually](/log/2026-11-02-ai-agents-write-sync-scripts.md)

Date: 2026-11-02 · Kind: mini-case · Context: personal, work

When [splitting work between agents in separate projects](https://alexeye.fyi/log/2026-10-29-agents-two-projects-one-goal), 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.

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.

---

## [An agent with lots of context won't ask where to read more](/log/2026-10-22-agent-lots-context-wont-ask.md)

Date: 2026-10-22 · Kind: mini-case · Context: personal

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:

> 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](https://alexeye.fyi/log/2026-04-26-rejecting-ai-work-core-skills) rather than try to improve it.**

---

## [To find the right skill for new logic, ask how many cases could share it](/log/2026-10-20-find-right-skill-for-new-logic.md)

Date: 2026-10-20 · Kind: mini-case · Context: personal

I [split my publishing skills](https://alexeye.fyi/log/2026-10-19-shared-functionality-goes-into-own-skill) 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`.

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**.

---

## [Shared functionality goes into its own skill, just as in code](/log/2026-10-19-shared-functionality-goes-into-own-skill.md)

Date: 2026-10-19 · Kind: mini-case · Context: personal

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.

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.

## Other filters

- [All kinds](/log/tag/all/personal.md)
- [Insights](/log/tag/insight/personal.md)
- [Shared ideas](/log/tag/finding/personal.md)
- [Tools](/log/tag/tool/personal.md)
- [Tips](/log/tag/advice/personal.md)
- [Add context work](/log/tag/explanation/work,personal.md)
- [Add context pet project](/log/tag/explanation/pet-project,personal.md)
- [Remove context personal](/log/tag/explanation.md)
- [All entries](/log/tag/all.md)

Any state is a URL: `/log.md?tag=<kind>&ctx=<a>,<b>` (kind: all, insight, finding, tool, advice, explanation; contexts, comma-separated: work, pet-project, personal; both optional).

## Feeds

- [@alexeye: all entries](https://alexeye.fyi/log/rss.xml)
- [@alexeye's notes](https://alexeye.fyi/log/notes.xml)
- [How @alexeye works with AI](https://alexeye.fyi/log/work.xml)
