How to Write a Step-by-Step Guide with an AI Agent
Click through a task once while an AI agent records each step, then let it write the step titles and descriptions and export a finished PDF guide.

Writing a step-by-step guide usually means doing the task twice: once to take the screenshots and once to describe every step. An AI agent can take most of the second half off your hands. In this tutorial you will connect an agent to Shotomatic, click through the task once while the agent records it, and then have the agent write the step text and export a finished guide. The whole run takes about 15 minutes the first time.
What the Agent Does and What You Do
You perform the clicks, because Shotomatic does not click for the agent. The agent handles the rest:
| Part of the job | Who does it |
|---|---|
| Start and stop the recording | Agent |
| Click through the task | You |
| Capture a screenshot at every click | Shotomatic |
| Write a title and description per step | Agent |
| Crop, reorder, and blur private details | Agent |
| Export the guide as PDF or images | Agent |
If your agent has its own computer use, it can do the clicking too, but most people get a better guide by clicking themselves. You know where the reader is likely to get lost.
What You Need
- Shotomatic on macOS or Windows 10 or 11. On a Mac, grant Screen Recording and Accessibility when Shotomatic asks.
- An AI agent that supports MCP, such as Claude Code, the Claude app, Codex, Cursor, or VS Code with GitHub Copilot.
- The app or web page you want to document, open at the first screen of the task.
Step 1: Connect Your Agent
Open Shotomatic, go to Settings > AI agents, and select Connect next to your agent. Shotomatic writes the agent's configuration for you. Start a new session in the agent so it loads the Shotomatic tools. If your agent is not in the list, the connection guide has the manual command.
Step 2: Prepare the Starting Screen
Get the app to the screen where the reader will begin. Use test data instead of real customer records, close chat apps and notifications, and keep Shotomatic's main window open in the background; the recording needs it.
Step 3: Ask the Agent to Record
Tell the agent what you are documenting and when to stop:
"Record a guide for exporting a monthly report from this app. I'll click through it myself. Stop when I say done, then write a short title and a one-sentence description for every step."
The agent finds the window and starts an Action Capture. Wait until it confirms the recording has started.
Step 4: Click Through the Task
Do the task once at a normal pace. Every click inside the chosen window saves a screenshot of the screen just before the click, with a marker showing where you clicked. If a screen changes without a click, for example after a file finishes uploading, tell the agent "save a step now."
When you reach the end, say "done."
Step 5: Let the Agent Write the Steps
The agent stops the recording, and Shotomatic turns the steps into a Document. The agent then looks at each step and writes its Page title and description. A typical result reads like this:
Step 3: Open the Export menu
Select File > Export in the top menu bar. The Export dialog opens with your last-used settings.
Read the draft as your reader would. Ask for changes in plain language: "Step 4 should mention that the date range defaults to last month," or "Merge steps 6 and 7."
Step 6: Clean Up and Export
Ask the agent to finish the guide:
"Blur the email address on step 2, trim the window edges on every step, and export the guide as a PDF."
The agent edits the Document and exports it to your export folder as PDF, PNG, JPG, WebP, or ZIP. Blur is a Pro feature in Shotomatic, for an agent as for you. You can also open the Document in Shotomatic's editor and adjust anything by hand; if the agent edits a Document while you have it open, the editor reloads.
Write Steps from Screenshots You Already Have
If you took the screenshots earlier, skip the recording. Ask the agent:
"Create a guide from the screenshots in ~/Desktop/onboarding, in file name order, and write a title and description for each one."
The agent creates a Document with one Page per image and writes the step text the same way. For a manual route without an agent, see how to create a guide from existing screenshots.
Tips for a Better Guide
- Document one task per guide. "Export a monthly report" is one guide; "Set up reporting" is several.
- Tell the agent who the reader is. "Write for a new support agent on their first day" changes the wording more than any formatting rule.
- Keep clicks deliberate. Every click becomes a step, so avoid clicking around while you think. You can ask the agent to delete extra steps afterward.
- Remember what the model sees. Shotomatic keeps the captures on your computer, but each step the agent reads to write its description becomes part of the agent's conversation.
For the click-capture side in more depth, including how to plan the steps and edit them by hand, see how to create a step-by-step guide from clicks. The Action Capture recipe for agents lists the exact prompts and what Shotomatic asks you along the way.
Frequently Asked Questions
Can an AI agent create a step-by-step guide by itself?
It can do most of the writing and assembly. With Shotomatic, the agent starts the recording, stops it when you are done, writes a title and description for each step, and exports the guide. You still perform the clicks, because Shotomatic does not click for the agent.
Which AI agents can do this?
Any MCP client that can connect to Shotomatic, including Claude Code, the Claude app, Codex, Cursor, VS Code with GitHub Copilot, and Gemini CLI. Setup is one click in Shotomatic's settings for the most common clients.
Can the agent write steps from screenshots I already have?
Yes. Ask it to create a Document from your image files. It adds one Page per image, looks at each one, and writes the step text the same way.
Is my screen sent to the AI model?
Only the images the agent looks at. Shotomatic captures and stores the steps on your computer, but when the agent reads a step to write its description, that image becomes part of the agent's conversation. Use test data and close private windows before you record.
Next Step
Connect your agent and record your first guide: see how Shotomatic works with AI agents.
Turn repeatable screenshots into finished work
Shotomatic captures, organizes, and exports screenshot sessions on Mac and Windows.
Related posts
See more postsHow to Create a Step-by-Step Guide from Clicks on Mac
Create a step-by-step guide on Mac by capturing meaningful clicks, marking each action, editing the steps, and exporting images or a PDF.

How to Create an SOP with Screenshots
Create a visual SOP with a defined scope, owner, prerequisites, step-by-step screenshots, exceptions, checks, and a review date.

Can Claude Code Take Screenshots of Your Screen?
Claude Code reads screenshots you paste, and with the right setup it can capture your screen itself. Here are the four ways and when to use each.

How to Use Flameshot on Windows: Install, Print Screen, and Shortcuts
Install Flameshot on Windows, make the Print Screen key open it instead of Snipping Tool, and use its capture shortcuts and delayed screenshots.
