A guest asks for a 16:00 checkout. The front desk confirms luggage storage for 12:00. If the next shift reads “late checkout confirmed,” it may promise a room that housekeeping needs. We built a small Claude Code skill to turn a shift log into three sections a colleague can check: confirmed, pending, and next action.

You’ll create the skill once, run it on two fictional bookings, and open both finished handovers. We tested these commands on a Mac with Claude Code 2.1.312. The screenshots are from our recorded terminal sessions. Click any image to read it at full size.

1. Open Terminal and make a practice folder

On a Mac, press Command–Space, type Terminal and press Return. These blocks run at the ordinary shell prompt. Paste one whole block at a time, then press Return. Start with the following command.

claude --version

If a version number appears, continue. If you see “command not found,” follow Anthropic’s installation and sign-in steps, open a fresh Terminal window and try again. You need an account with Claude Code access. If this is your first session, run claude, complete sign-in and type /exit to get back to the shell.

mkdir -p ~/desk-demo
cd ~/desk-demo
mkdir -p .claude/skills/shift-brief

This creates a folder under your home directory and puts you inside it. Use a fresh folder for the exercise: pasting a block that writes a file again replaces that file. The .claude directory is hidden in Finder, but the terminal commands can open it by name.

Starting in the practice folder: Claude Code prints its version and the shell creates the project skill directory.
Starting in the practice folder: Claude Code prints its version and the shell creates the project skill directory.

2. Put the repeatable instructions in SKILL.md

Paste the whole block, including the last line, into Terminal. It creates a plain-text file in the skill’s own folder. Keep the quotes around the first EOF: they preserve the literal $ARGUMENTS in the file.

cat > .claude/skills/shift-brief/SKILL.md <<'EOF'
---
name: shift-brief
description: Turn one front-desk shift log into a handover.
disable-model-invocation: true
---
Read the shift log in this file: $ARGUMENTS
Write in the language of the log. Use three headings:
Confirmed, Pending, Next action (translate headings for Thai).
Keep times and booking references exact. Separate a guest request
from a confirmed arrangement. Under Next action, list the named
owner and deadline. If either is absent, mark it unspecified.
Return the handover only.
EOF

The folder name gives you the command /shift-brief. When you supply a filename, Claude Code substitutes it for $ARGUMENTS. The line disable-model-invocation: true leaves the choice of when to run this skill to you. The instructions ask for the language of the log, so the same file works with Thai or English notes.

cat .claude/skills/shift-brief/SKILL.md
The saved SKILL.md. Check the first three dashes and the literal $ARGUMENTS in the instructions.
The saved SKILL.md. Check the first three dashes and the literal $ARGUMENTS in the instructions.

3. Write the first shift log

Paste this block to create the input. The last command opens the file’s contents in Terminal. Check the booking reference, times and the words “approval pending” before you continue.

cat > shift-a.txt <<'EOF'
14:10 | BK-17 | Guest requested a 16:00 checkout. Approval pending.
14:25 | BK-17 | Luggage storage confirmed for 12:00.
Task: ask the manager about checkout. Owner: Mali. Deadline: 15:00.
EOF
cat shift-a.txt
The first source log. Only luggage storage is confirmed.
The first source log. Only luggage storage is confirmed.

4. Run the skill and open the finished handover

claude -p '/shift-brief shift-a.txt' --allowedTools Read --strict-mcp-config > handover-a.md
cat handover-a.md

The first line sends the filename to the skill. -p runs it once, --allowedTools Read lets it read the log, and --strict-mcp-config keeps the run independent of external MCP servers configured elsewhere. The shell’s > saves the response to the named file. A quiet terminal while the first line runs is normal. When it finishes, cat displays what was saved.

The saved handover for BK-17 keeps the 16:00 checkout pending and names Mali as the owner.
The saved handover for BK-17 keeps the 16:00 checkout pending and names Mali as the owner.

Read it as the incoming receptionist. BK-17 has luggage storage at 12:00. The 16:00 checkout is still a request. Mali must ask the manager by 15:00. Those are three different times with three different meanings. If your wording differs, check the facts against shift-a.txt before handing it over.

5. Reuse the skill with a different booking

Leave SKILL.md alone. Create a second log and run the same command with the new filenames. This time nobody has been assigned to call the driver.

cat > shift-b.txt <<'EOF'
17:10 | BK-24 | Guest requested an airport car for 06:30 tomorrow. Driver unconfirmed.
17:20 | BK-24 | A wake-up call for 05:45 tomorrow is confirmed.
Next shift: contact the driver. No owner or deadline recorded.
EOF
cat shift-b.txt
claude -p '/shift-brief shift-b.txt' --allowedTools Read --strict-mcp-config > handover-b.md
cat handover-b.md
The second input and its finished file. The driver is unconfirmed and the follow-up has no named owner or deadline.
The second input and its finished file. The driver is unconfirmed and the follow-up has no named owner or deadline.

For BK-24, the 05:45 wake-up call is confirmed. The 06:30 car is pending. Our output said the owner and deadline were unspecified. The driver must still be contacted. Inspect your own output for those four facts. You can reopen either handover later by running cat handover-a.md or cat handover-b.md inside the practice folder.

If the command or result looks wrong

If the skill is missing, run pwd and ls -l .claude/skills/shift-brief/SKILL.md. Your path should end in /desk-demo, and the second command should list the file. If Terminal shows only a continuation prompt after you paste a block, finish it with EOF on a line by itself. If a handover invents a confirmation, correct the rule in SKILL.md, run the same input again and compare the result with the original log.

Anthropic documents project skills and filename arguments, one-off runs with -p, and the command-line flags used here.