Where we start
Tuesday ended before the second half of the material. Today picks up there: the model as a service, typed by hand into a terminal, and what a harness does with the reply. Then the rest of the portfolio sites, and a new idea: skills.
The Parley demo
Five requests to a frontier model with curl and jq, in parley-demo/ in this session’s folder. Each command is in walkthrough.md, one block per step. You need curl, jq, and PARLEY_API_KEY in your shell.
- One call: a list of messages in, one message out. The
usageblock is the bill. - It has no memory. Ask a fresh call your name and it has no idea. Send the earlier turns again and it knows, and you pay for them again.
- Offer it a tool: a name, a description, a JSON schema. It replies with a request to run the tool. Nothing ran.
- Run the tool yourself, append the result to the transcript, send it back. Now it answers. Whoever does that step is the harness.
Skills
A skill is a folder with a SKILL.md in it. The harness puts two lines per skill into the system prompt, a name and a description. When a task matches the description, the model asks to read the file and the instructions land in the context. The standard is agentskills.io; the same folder works in pi, Claude Code and Codex.
Where pi looks: ~/.pi/agent/skills/ for skills you always want, .pi/skills/ in a project (loaded once you trust the project), and --skill <folder> on the command line. /skill:name loads one by hand.
In class we ran three demonstrations from skills-demo/:
- grill-me on a project one-pager. A process skill with no scripts: it maps the open decisions, then asks batched questions with a recommended answer for each.
- research-figures on a small drag-polar dataset, with and without the skill, same prompt and model. The difference in the output is judgment someone wrote down once: journal column widths, a colorblind-safe palette, panel labels, a PDF and a PNG.
- Writing one, for a behaviour somebody in the room wanted from their agent. A fix made by hand on a portfolio site is one example. Thirty seconds, and it is in the list for every future session in that folder.
Three things to keep in mind. A loaded skill is context, resent on every call after; keep them short. The description is the trigger; say when, not just what. And a skill can instruct the model to do anything, including run the scripts in its folder. Read one before you install it. Tuesday is about the wall around that.