How to Build a Context Engineering Skill (With a Template)

Article author portrait

By

Jan Meinecke

・

・

9

Min

How to Build a Context Engineering Skill (With a Template)

Article author portrait

By

jan Meinecke

9

Min

When our workshop invitation email came back from ChatGPT Work finished, on brand and with every link correct, the prompt was one sentence long. The work had already been done in the setup: A project with the right files, plugins connected to our tools, and a skill that knew how we write invitations. Of those three, the skill is the part you can copy, share and improve, and that makes it the best place to put your context engineering. This guide shows you how to build a context engineering skill, a skill whose job is to decide what the agent sees before it starts, with a template you can hand straight to the skill creator in ChatGPT Work or Claude Cowork.

What a context engineering skill is

Context engineering is the work of giving an AI everything it needs for a task and keeping out everything it doesn’t. A context engineering skill puts that work into a reusable file, so it happens the same way every time instead of depending on how carefully you briefed the agent that morning.

There are two kinds worth knowing about. The first is a task skill that carries the context for one job. Our workshop invitation skill is one of these: It knows the structure we use, where the workshop details live and how the email should look, which is why a one-line request was enough. The second kind, and the one this guide builds, is a context setup skill. It runs at the start of any new piece of work, gathers the goal, the files, the tools and the boundaries, writes them into a short brief, and only then lets the real work begin.

You’ll also see the phrase used in two other ways. Some people mean context engineering as a skill to learn, the ability itself, and developers often mean ready-made skill collections for building agents. I’ll come back to both further down.

Why skills are context engineering by design

Skills were built to solve a context problem. Before them, the usual approach was one enormous set of instructions holding everything the agent might ever need, all loaded at once, including the parts that had nothing to do with today’s job. That bloats the context and drags the quality down.

A skill loads in layers instead. Anthropic, which created the format, calls this progressive disclosure: The agent starts with only each skill’s name and description, reads the full instructions when a task matches, and opens any extra files the skill bundles only when it needs them. OpenAI’s skills documentation describes ChatGPT working the same way, and because both build on the open Agent Skills standard, the same skill runs in ChatGPT Work and Claude. Our guide to how Claude skills work goes through the three layers in more detail.

That design does the “select” part of context engineering for you. A context engineering skill simply makes the rest of it deliberate too.

What a context setup skill does

A context setup skill turns the four parts of a good brief, the goal, the context, the output and the boundaries, into steps the agent follows before it touches the task. OpenAI recommends those four parts for briefing an agent in its prompting guide, and the skill makes sure none of them gets skipped.

  1. It checks the brief. If your request is missing the goal, the output you want or the boundaries, it asks for them in one message, with a sensible default for each.

  2. It selects the files. It looks through the project, lists the handful of files it will use and says which ones it’s deliberately leaving out.

  3. It fetches what’s current. If the task needs live information, it pulls only the records it needs through your connectors, such as the right email thread or CRM entry.

  4. It writes the brief down. It saves a short brief to a file in the project, so the context survives the session and anyone on the team can reuse it.

  5. It starts clean. If the conversation is already long, it suggests a fresh session that begins from the brief alone, and it waits for your go-ahead before doing any of the work.

A context setup skill in five steps: check the brief, select the files, fetch what’s current, write the brief down and start clean, before the agent does the task

How to build a context engineering skill, step by step

You won’t be writing the skill file by hand. Both ChatGPT Work and Claude Cowork have a built-in skill creator that writes it for you, so your job is to describe the workflow clearly and check what it saves.

  1. Do the setup once by hand. Pick a real task and walk the agent through it: Ask me for anything missing from the brief, find the files, write the brief, then wait. Correct it wherever it goes wrong. It’s the same rule we follow for every skill, which is to prove the workflow works before you save it.

  2. Save it with the skill creator. Once a run comes out right, ask the skill creator to save that workflow as a skill, using the template in the next section as your instructions.

  3. Get the description right. The name and description are the only parts the agent always sees, so they decide when the skill fires. OpenAI’s advice is to write concise descriptions “with clear scope and boundaries” and to put the main use case and trigger words first.

  4. Move reference material into separate files. A short map of which project folders hold what, or your brand guidelines, can sit alongside the skill and load only when a task needs it, which keeps the core instructions lean.

  5. Test it in a fresh session. Run it on two or three real tasks. When a brief misses something, fix it in the conversation first, then update the skill so the fix sticks.

  6. Share it with your team. In ChatGPT, plugins bundle skills and connectors together so the whole team gets the same setup, and Claude Cowork works the same way.

If you want the general method for building any skill, our guides to ChatGPT skills and to creating a Claude skill cover it from start to finish.

A context engineering skill template

Paste this into the skill creator in ChatGPT Work or Claude Cowork, then change the folder name and the word limits to suit how your team works.

Create a skill called context-setup. Use it whenever I start a new multi-step task in this project, or when I say “set up this task”.

  1. Restate the task in one sentence. If the goal, the output I want or the boundaries are missing, ask me for them in a single message and suggest a default for each.

  2. Look through the project and list the files you’ll use, with one line on why for each. Use no more than five unless I say otherwise, and name any you’re deliberately leaving out.

  3. If the task needs current information from a connected tool, such as email, Google Drive, Notion or our CRM, fetch only the records this task needs.

  4. Write a brief to briefs/[task-name].md under five headings: Goal, Context, Output, Boundaries and Open questions. Keep it under 300 words.

  5. Show me the brief and wait for my go-ahead before doing any of the work.

  6. If this conversation is already long, suggest I start a fresh session and give it only the brief.

For the workshop invitation, the brief it produces would read something like this. Goal: Invite our email list to this week’s live workshop on ChatGPT Work for beginners. Context: The workshop page, the invitation skill and the email tool through its plugin. Output: A draft in the email tool, with a preview link. Boundaries: Don’t send anything, and ask before changing the sign-up link. That’s a minute of reading, and it catches a wrong assumption before the agent spends four minutes acting on it.

Ready-made context engineering skills

Search for “agent skills for context engineering” and you’ll find open collections such as Murat Koylan’s on GitHub, which describes itself as skills “focused on context engineering and harness engineering principles for building production-grade AI agent systems.” They’re worth reading if you build agents, since they cover topics like agent loops and evaluation. For a business team working in ChatGPT Work or Claude Cowork, though, a small skill fitted to your own projects and tools will do more than a general library written for developers.

If you meant context engineering as a skill for you to learn, the short answer is yes, it’s worth it, and it’s less technical than it sounds. Most of it comes down to the habits the template above encodes: Clear goals, the right few files, current information and a clean conversation. The context engineering vs prompt engineering guide shows where it fits next to the prompting you already do.

Mistakes to avoid

  • A vague description. “Helps with tasks” either never fires or fires on everything. Say exactly when to use it and what it does first.

  • Loading the whole project. A setup skill that reads every file defeats the point. Cap the number of files and make it explain each choice.

  • Hardcoding things that change. Prices, dates and team names go stale. Have the skill fetch them through a connector, or ask you, instead of baking them in.

  • No stop point. Without a pause for your go-ahead, a wrong assumption in the brief becomes a wrong finished job. The checkpoint is the cheapest fix there is.

  • Never updating it. Each time a brief misses something, add it to the skill. That’s how a good first version becomes the one your whole team relies on.

The skills, prompts and project setups we use at 9x are free in the 9x community, along with the live workshops where we build them. Join, take the template above, and run your next task through it this week.

Common questions

What is a context engineering skill? It’s a skill whose job is to decide what an AI agent sees for a task. It can carry the context for one specific job, or run at the start of any new task to gather the goal, files, tools and boundaries into a short brief before the work begins.

Do I need to write the SKILL.md file myself? No. ChatGPT Work and Claude Cowork both have a skill creator that writes the file for you. Your job is to describe the workflow clearly, test it on real tasks and check what it saved.

Does the same skill work in ChatGPT Work and Claude Cowork? Yes. Both build on the open Agent Skills standard, so a skill is a folder with a SKILL.md file that either tool can read. You may need to adjust the connector names if your tools are set up differently in each.

How is a context setup skill different from project instructions? Project instructions are loaded into every session in that project. A skill only loads its full instructions when a task matches its description, so it costs nothing until you need it, and you can share it across projects and with your team.

Is context engineering a skill worth learning? Yes, and it’s mostly habits: Clear goals, a few relevant files, current information and a clean conversation. Building a context setup skill is a practical way to learn it, because it makes you decide what good context looks like for your own work.

What to do next

1

Start learning free

Take our AI starter course and apply the latest technologies to your first use case. Completely free. Get started today.

2

Learn it live

Join a free weekly 9x Live session, watch work get automated in real time, and get your questions answered by leading educators. Sign up for the next session.

3

Watch our videos on YouTube

With one of the fastest growing channels in the industry, hundreds of thousands of people watch our tutorials every week. Subscribe here so you never miss a video.

Written by Jan Meinecke

Co-founder, 9x

Jan is a co-founder of 9x, where the team has trained 20,000+ professionals to use AI in their actual work. He teaches Claude and ChatGPT on the 9x YouTube channel and in the weekly 9x Live sessions.

ChatGPT

When our workshop invitation email came back from ChatGPT Work finished, on brand and with every link correct, the prompt was one sentence long. The work had already been done in the setup: A project with the right files, plugins connected to our tools, and a skill that knew how we write invitations. Of those three, the skill is the part you can copy, share and improve, and that makes it the best place to put your context engineering. This guide shows you how to build a context engineering skill, a skill whose job is to decide what the agent sees before it starts, with a template you can hand straight to the skill creator in ChatGPT Work or Claude Cowork.

What a context engineering skill is

Context engineering is the work of giving an AI everything it needs for a task and keeping out everything it doesn’t. A context engineering skill puts that work into a reusable file, so it happens the same way every time instead of depending on how carefully you briefed the agent that morning.

There are two kinds worth knowing about. The first is a task skill that carries the context for one job. Our workshop invitation skill is one of these: It knows the structure we use, where the workshop details live and how the email should look, which is why a one-line request was enough. The second kind, and the one this guide builds, is a context setup skill. It runs at the start of any new piece of work, gathers the goal, the files, the tools and the boundaries, writes them into a short brief, and only then lets the real work begin.

You’ll also see the phrase used in two other ways. Some people mean context engineering as a skill to learn, the ability itself, and developers often mean ready-made skill collections for building agents. I’ll come back to both further down.

Why skills are context engineering by design

Skills were built to solve a context problem. Before them, the usual approach was one enormous set of instructions holding everything the agent might ever need, all loaded at once, including the parts that had nothing to do with today’s job. That bloats the context and drags the quality down.

A skill loads in layers instead. Anthropic, which created the format, calls this progressive disclosure: The agent starts with only each skill’s name and description, reads the full instructions when a task matches, and opens any extra files the skill bundles only when it needs them. OpenAI’s skills documentation describes ChatGPT working the same way, and because both build on the open Agent Skills standard, the same skill runs in ChatGPT Work and Claude. Our guide to how Claude skills work goes through the three layers in more detail.

That design does the “select” part of context engineering for you. A context engineering skill simply makes the rest of it deliberate too.

What a context setup skill does

A context setup skill turns the four parts of a good brief, the goal, the context, the output and the boundaries, into steps the agent follows before it touches the task. OpenAI recommends those four parts for briefing an agent in its prompting guide, and the skill makes sure none of them gets skipped.

  1. It checks the brief. If your request is missing the goal, the output you want or the boundaries, it asks for them in one message, with a sensible default for each.

  2. It selects the files. It looks through the project, lists the handful of files it will use and says which ones it’s deliberately leaving out.

  3. It fetches what’s current. If the task needs live information, it pulls only the records it needs through your connectors, such as the right email thread or CRM entry.

  4. It writes the brief down. It saves a short brief to a file in the project, so the context survives the session and anyone on the team can reuse it.

  5. It starts clean. If the conversation is already long, it suggests a fresh session that begins from the brief alone, and it waits for your go-ahead before doing any of the work.

A context setup skill in five steps: check the brief, select the files, fetch what’s current, write the brief down and start clean, before the agent does the task

How to build a context engineering skill, step by step

You won’t be writing the skill file by hand. Both ChatGPT Work and Claude Cowork have a built-in skill creator that writes it for you, so your job is to describe the workflow clearly and check what it saves.

  1. Do the setup once by hand. Pick a real task and walk the agent through it: Ask me for anything missing from the brief, find the files, write the brief, then wait. Correct it wherever it goes wrong. It’s the same rule we follow for every skill, which is to prove the workflow works before you save it.

  2. Save it with the skill creator. Once a run comes out right, ask the skill creator to save that workflow as a skill, using the template in the next section as your instructions.

  3. Get the description right. The name and description are the only parts the agent always sees, so they decide when the skill fires. OpenAI’s advice is to write concise descriptions “with clear scope and boundaries” and to put the main use case and trigger words first.

  4. Move reference material into separate files. A short map of which project folders hold what, or your brand guidelines, can sit alongside the skill and load only when a task needs it, which keeps the core instructions lean.

  5. Test it in a fresh session. Run it on two or three real tasks. When a brief misses something, fix it in the conversation first, then update the skill so the fix sticks.

  6. Share it with your team. In ChatGPT, plugins bundle skills and connectors together so the whole team gets the same setup, and Claude Cowork works the same way.

If you want the general method for building any skill, our guides to ChatGPT skills and to creating a Claude skill cover it from start to finish.

A context engineering skill template

Paste this into the skill creator in ChatGPT Work or Claude Cowork, then change the folder name and the word limits to suit how your team works.

Create a skill called context-setup. Use it whenever I start a new multi-step task in this project, or when I say “set up this task”.

  1. Restate the task in one sentence. If the goal, the output I want or the boundaries are missing, ask me for them in a single message and suggest a default for each.

  2. Look through the project and list the files you’ll use, with one line on why for each. Use no more than five unless I say otherwise, and name any you’re deliberately leaving out.

  3. If the task needs current information from a connected tool, such as email, Google Drive, Notion or our CRM, fetch only the records this task needs.

  4. Write a brief to briefs/[task-name].md under five headings: Goal, Context, Output, Boundaries and Open questions. Keep it under 300 words.

  5. Show me the brief and wait for my go-ahead before doing any of the work.

  6. If this conversation is already long, suggest I start a fresh session and give it only the brief.

For the workshop invitation, the brief it produces would read something like this. Goal: Invite our email list to this week’s live workshop on ChatGPT Work for beginners. Context: The workshop page, the invitation skill and the email tool through its plugin. Output: A draft in the email tool, with a preview link. Boundaries: Don’t send anything, and ask before changing the sign-up link. That’s a minute of reading, and it catches a wrong assumption before the agent spends four minutes acting on it.

Ready-made context engineering skills

Search for “agent skills for context engineering” and you’ll find open collections such as Murat Koylan’s on GitHub, which describes itself as skills “focused on context engineering and harness engineering principles for building production-grade AI agent systems.” They’re worth reading if you build agents, since they cover topics like agent loops and evaluation. For a business team working in ChatGPT Work or Claude Cowork, though, a small skill fitted to your own projects and tools will do more than a general library written for developers.

If you meant context engineering as a skill for you to learn, the short answer is yes, it’s worth it, and it’s less technical than it sounds. Most of it comes down to the habits the template above encodes: Clear goals, the right few files, current information and a clean conversation. The context engineering vs prompt engineering guide shows where it fits next to the prompting you already do.

Mistakes to avoid

  • A vague description. “Helps with tasks” either never fires or fires on everything. Say exactly when to use it and what it does first.

  • Loading the whole project. A setup skill that reads every file defeats the point. Cap the number of files and make it explain each choice.

  • Hardcoding things that change. Prices, dates and team names go stale. Have the skill fetch them through a connector, or ask you, instead of baking them in.

  • No stop point. Without a pause for your go-ahead, a wrong assumption in the brief becomes a wrong finished job. The checkpoint is the cheapest fix there is.

  • Never updating it. Each time a brief misses something, add it to the skill. That’s how a good first version becomes the one your whole team relies on.

The skills, prompts and project setups we use at 9x are free in the 9x community, along with the live workshops where we build them. Join, take the template above, and run your next task through it this week.

Common questions

What is a context engineering skill? It’s a skill whose job is to decide what an AI agent sees for a task. It can carry the context for one specific job, or run at the start of any new task to gather the goal, files, tools and boundaries into a short brief before the work begins.

Do I need to write the SKILL.md file myself? No. ChatGPT Work and Claude Cowork both have a skill creator that writes the file for you. Your job is to describe the workflow clearly, test it on real tasks and check what it saved.

Does the same skill work in ChatGPT Work and Claude Cowork? Yes. Both build on the open Agent Skills standard, so a skill is a folder with a SKILL.md file that either tool can read. You may need to adjust the connector names if your tools are set up differently in each.

How is a context setup skill different from project instructions? Project instructions are loaded into every session in that project. A skill only loads its full instructions when a task matches its description, so it costs nothing until you need it, and you can share it across projects and with your team.

Is context engineering a skill worth learning? Yes, and it’s mostly habits: Clear goals, a few relevant files, current information and a clean conversation. Building a context setup skill is a practical way to learn it, because it makes you decide what good context looks like for your own work.

What to do next

1

Start learning free

Take our AI starter course and apply the latest technologies to your first use case. Completely free. Get started today.

2

Learn it live

Join a free weekly 9x Live session, watch work get automated in real time, and get your questions answered by leading educators. Sign up for the next session.

3

Watch our videos on YouTube

With one of the fastest growing channels in the industry, hundreds of thousands of people watch our tutorials every week. Subscribe here so you never miss a video.

Written by Jan Meinecke

Co-founder, 9x

Jan is a co-founder of 9x, where the team has trained 20,000+ professionals to use AI in their actual work. He teaches Claude and ChatGPT on the 9x YouTube channel and in the weekly 9x Live sessions.

ChatGPT

read next


A video player with a seven-part progress bar, three parts filled, and an arrow to a stack of three ticked lesson cards

ChatGPT Work Course: Free 3-Hour Training for Beginners

A free 3-hour ChatGPT Work course for beginners: Setup, plugins, skills, context engineering and four real builds. Full curriculum, timestamps and free files.

A clipboard with four icon rows for a target, a folder, a document and a shield, with an arrow into a window holding a finished, ticked document

How to Brief ChatGPT Work (With a Prompt Template)

How to brief ChatGPT Work so it gets the job right first time: The goal, context, output and boundaries, a copy-and-paste template, and three worked examples.

read next


A video player with a seven-part progress bar, three parts filled, and an arrow to a stack of three ticked lesson cards

ChatGPT Work Course: Free 3-Hour Training for Beginners

A free 3-hour ChatGPT Work course for beginners: Setup, plugins, skills, context engineering and four real builds. Full curriculum, timestamps and free files.

A clipboard with four icon rows for a target, a folder, a document and a shield, with an arrow into a window holding a finished, ticked document

How to Brief ChatGPT Work (With a Prompt Template)

How to brief ChatGPT Work so it gets the job right first time: The goal, context, output and boundaries, a copy-and-paste template, and three worked examples.

Your new home for learning AI.

Weekly live workshops, on-demand courses, and plug-and-play downloadables. Get started for free today.

Your new home for learning AI.

Weekly live workshops, on-demand courses, and plug-and-play downloadables. Get started for free today.

Your new home for learning AI.

Weekly live workshops, on-demand courses, and plug-and-play downloadables. Get started for free today.