Say "Hey Lamp, give me a pep talk": the lamp nods, warms its light and cheers you on.
A Physical Skill is a folder of two files. `SKILL.md` says what it is and when to use it.
`skill.toml` says how it starts and what it does.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Your first Physical Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/autonomous-ai-your-first-physical-skill)
# Your first Physical Skill
## Background
Say "Hey Lamp, give me a pep talk": the lamp nods, warms its light and cheers you on.
A Physical Skill is a folder of two files. `SKILL.md` says what it is and when to use it.
`skill.toml` says how it starts and what it does.
**A real lamp:** Part 2 needs one; the simulated lamp, `lm sim`, doesn't run skills yet.
Make a folder named `pep-talk` with these two files.
`pep-talk/SKILL.md`:
```markdown
---
name: pep-talk
description: Call when the person asks for a pep talk, some encouragement or a boost before something hard ("give me a pep talk", "cheer me on", "I need a boost"). The lamp nods and warms its light, and you give the pep talk yourself, in your own words, in this same turn. Only when asked.
when: When the person asks for a pep talk, encouragement or a boost. Only when asked, never on your own.
---
# Pep talk
```
`pep-talk/skill.toml`:
```toml
version = "1.0.0"
tool = "pep_talk" # how it starts: the voice calls this function when you ask for one
needs = ["voice", "body", "light"]
[permissions] # what it may use, and nothing more
speak = true
body = true
light = true
[[do]] # its steps, all at once
body = { gesture = "nod" }
[[do]]
light = { colour = "warm", level = 4, for = "30s" }
[[do]] # a note the voice speaks from, in its own words
say = "Give the person a short pep talk in your own words: two or three warm sentences about what they just told you, specific and sure of them. Then stop, with no question at the end."
```
From the folder that holds `pep-talk`, check and push it:
```sh
lm skill check pep-talk
```
It prints:
```text
pep-talk 1.0.0: ready to push. It may use: speak, light, body. The voice's model may call it in a conversation, as its function pep_talk.
```
```sh
lm skill push pep-talk
```
It prints:
```text
pushed pep-talk 1.0.0 (on)
it moves the lamp's body; changes the light; speaks and plays sounds
```
Say **"Hey Lamp, give me a pep talk."** To change it, edit a file and push again.
A step can do one of these:
| Step | In `skill.toml` | Permission |
|---|---|---|
| gesture | `body = { gesture = "nod" }` | `body` |
| move | `body = { move = "wave" }`, from `moves/wave.json` | `body` |
| look | `body = { look_at = "face" }` | `body`, and `humans/faces/tracked` in `topics` |
| light | `light = { colour = "warm", level = 3, for = "20s" }` | `light` |
| say | `say = "a note the voice speaks from"` | `speak` |
| sound | `sound = "chime"`, from `sounds/chime.wav` | `speak` |
| remind | `remind = { in = "25m", words = "Time to stretch." }` | `actions = ["set_timer"]` |
| rest | `rest = { op = "rest", during = { from = "23:00", to = "06:30" } }` | `body` |
| a script | `run = "scripts/main.py"`, run on the lamp | top-level `grants` |
| a task for the agent | `task = { task = "…", run = "scripts/main.py" }` | top-level `grants` |
Every rule: [the skill format](../../../docs/skill-format.md).
Next → [Proactive Skills](03-proactive-skills.md)