Mehdi Akiki

Writing archive

Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.

  • Published on
    I wrote one Claude Code skill with a vague description and a specific one, then ran 60 constructed prompts. With Haiku, the vague description loaded the skill for 18 of 30 requests that needed it, the specific one for 28. Neither loaded it for a near miss.
  • Published on

    Reference · Through the layers

    Prevent Shell Injection in Python Agent Tools

    Keep a filename out of the shell, then handle spaces and leading options with a fixed converter and an explicit argument list.
  • Published on
    My site's AGENTS.md adds 1,382 tokens to every Claude Code request. I measured each part, labeled every line, and tested a slimmer version. It dropped a line that I thought was useless, and the agent tried to change the commit author.
  • Published on
    I tested one CLAUDE.md rule, never run git push, in 81 Claude Code runs, with and without a deny rule and a hook. The sentence held every time. The gaps were in the other layers.