# Agent skills: preserve flexibility while supplying context

Canonical source : [Agent skills: preserve flexibility while supplying context](<https://sebastien.rigaux.be/en/tech-watch/links/agent-skills-preserve-flexibility-while-supplying-context>)

PostHog shares practical guidance for writing skills that help agents without locking them into a brittle workflow. The core idea is to load context progressively, define the goal and constraints, then let the agent choose steps that fit the repository and runtime environment.

The article also addresses maintenance: separate durable structure from fast-changing details, point to a single source of truth, and regenerate skills instead of patching them indefinitely. Skills carry context and upkeep costs, so they make most sense for recurring tasks where agents lack essential context or perform poorly by default.

- Selected on : 2026-10-23

- Resource publication : 2026-08-03

- Entry updated : 2026-11-07T20:32:37+0000

- Format : Article

- Source language : EN

- Credit : Ian Vanagas

- Found via : [JavaScript Weekly](<https://javascriptweekly.com/>)

Original resource : [Agent skills: preserve flexibility while supplying context](<https://newsletter.posthog.com/p/what-nobody-tells-you-about-writing?utm_source=convertkit&utm_campaign=%E2%9A%9B%EF%B8%8F+This+Week+In+React+%23302%3A+Next.js%2C+React+Router%2C+DevTools%2C+Security%2C+shadcn%2C+Hydrogen%2C+Vinext%2C+Mutative%2C+R3F+%7C+RN+0.88%2C+Expo+58%2C+Navigation%2C+FastImage%2C+Screens%2C+Device+Hub%2C+Edge+to+Edge+%7C+TypeScript%2C+PHP%2C+CrUX%2C+Rsdoctor%2C+Astro+-+23823401&ck_subscriber_id=2550494205&utm_medium=email>)

Tags : [Agent skills](<https://sebastien.rigaux.be/en/tech-watch/tags/agent-skills>) · [AI Agents](<https://sebastien.rigaux.be/en/tech-watch/tags/ai-agents>) · [Prompt Engineering](<https://sebastien.rigaux.be/en/tech-watch/tags/prompt-engineering>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/agent-skills-transmettre-le-contexte-sans-figer-les-etapes>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/agent-skills-preserve-flexibility-while-supplying-context>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
