techdays.ai curriculum / stage 03 / agents & skills

Guide · stage 03 · agents & skills

An agent is a loop. Skills are what it's allowed to do.

In the next fifteen minutes you'll run a coding agent in this page, watch it hit the wall of its own capabilities, hand it a new skill, and watch the same task succeed. Then you'll fire a prompt you customized yourself. Nothing here is a screenshot — every block executes.

~15 min, hands-on runs in your browser grounded in A2A · MCP-UI · A2UI
run the agent hit the capability wall extend it with a skill fire your own prompt

01 · The idea

Plan, act, observe — repeat.

Strip away the vendor language and a coding agent is a small machine: a model plans the next step, acts by calling a tool, observes what came back, and loops until the task checks out. The model supplies judgement. Everything else — reading files, running tests, editing code — happens through skills: named, described capabilities the agent is explicitly given.

That's the whole trick, and it's also the safety model: an agent can only do what its skills allow. You'll feel that boundary first-hand in a moment.

not done? the loop continues with everything it just learned

02 · The lab

Run the agent. Then hit the wall.

Below is a live editor. The left pane defines the two things you own: the skills the agent may use, and the task. The demo repo behind it has a failing test — pricing.js adds a discount instead of subtracting it. Press ▸ Run agent and watch the loop work.

The planner in this sandbox is scripted so the demo stays predictable — but the skills are real code you can edit, and the agent genuinely calls them. Break one and watch the transcript change.

lab / fix-the-failing-test sandbox live
skills.js — editable
agent transcript
# press ▸ Run agent — the transcript appears here
the sandbox repo resets on every run
✓ tests green — you just extended an agent's capability by granting it a skill. That one move — capability as explicit, named grants — is the core of production agent design.

03 · Fire in place

Now write the prompt like you mean it.

Everything the agent did started from a task statement. A good one names the goal, the verification, and the boundaries — the same three things you just watched matter in the loop. This template is live: the dashed fields are yours to type in. Fire it here, or copy it into your own agent.

template / coding-agent-task yours to edit
# type in the dashed fields — the prompt is yours

You are a coding agent working in . Fix . Before changing anything, reproduce it with . Make the smallest change that passes, and do not touch . When done, show the diff and the passing run.
fires against the same loop you just ran

04 · Where this goes next

The loop scales through three open protocols.

The lesson you just ran is one agent, one repo, one screen. In production the same loop composes outward — and the pieces you'd reach for are open, documented protocols, not vendor magic. This lesson's design is grounded in all three:

This was one lesson. A techday is a room full of them.

Same format — your codebase, your tasks, live models — with a tutor woven into every step. Bring your team; leave with running agents.