Get your API key

Lesson 2 of 5

Your first skill: the weekly client report

Write a SKILL.md with a description the agent can match, add a template file, and use it in Claude Code, Codex and OpenCode.

9 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will have a working skill, weekly-client-report, that the agent picks up by itself when you ask for "this week's update", in Claude Code, Codex or OpenCode.

You need: a coding agent, a project with a few git commits this week, and the command you made in lesson 1 · Time: 9 minutes

  1. A skill is a folder with one required file, SKILL.md, and any helper files you like: a template, a list of clients, a small script. It follows an open format called Agent Skills (agentskills.io), first made by Anthropic and now read by many tools, including Claude Code, Codex and OpenCode.

    The clever part is how the agent reads it:

    1. At the start, the agent sees only each skill's name and description: a line or two.
    2. When your request matches a description, it loads the full SKILL.md.
    3. Only if the instructions say so does it open the helper files.

    So you can keep many skills without filling the agent's memory. A command (lesson 1) waits for you to type it. A skill can also wait for you, but its real power is that the agent reaches for it by itself.

    A SKILL.md card with a purple frontmatter block holding name and description, a green block with four numbered steps, and a folder card listing SKILL.md, report-template.md and clients.md
    The frontmatter is always visible to the agent. The steps and files load only when the skill is used.
    Why?

    Skills cost almost nothing until they are used. That is why you can have one for every repeated job without slowing the agent down.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. The description decides everything
  2. Write the weekly-client-report skill
  3. Where skills live in each tool
  4. Test it two ways, and protect risky skills
  5. Recap