Agent skills are instructions coding agents load when a task matches them. Laneshot's skills teach an agent what to do when it sees a Laneshot link: read the capture in the right order, follow failed requests into the backend, find the root cause, and write up bugs the way your team expects.
They work with any agent that supports the open skills format, including Claude Code, Cursor, and Codex.
Install
npx skills add laneshot/laneshot
The skills CLI asks which agents to install for and copies the skills into each agent's skills folder. To install a single skill, or for a single agent:
npx skills add laneshot/laneshot --skill laneshot-debug
npx skills add laneshot/laneshot --skill laneshot-debug -a claude-code
laneshot skill in the CLI prints the same commands.
The skills
| Skill | The agent uses it when | What it does |
|---|---|---|
laneshot-debug |
A message contains a Laneshot link, or mentions a capture, trace, or card such as SHOP-3. |
Reads the capture, follows failed requests into backend telemetry, finds the root cause in the code, fixes it, and references the card in the pull request. |
laneshot-file-bug |
You ask it to file, triage, or write up a bug from a capture. | Writes a reproducible title and description from the capture, chooses a type and priority, and creates the card, or files it in GitHub, Linear, Jira, and other trackers through an automation. |
Connect the agent to Laneshot
The skills read captures through Laneshot's MCP server when the agent has it, and fall back to the CLI otherwise. Connecting MCP gives the best results, since the agent can call each tool separately instead of reading the whole report.
npx @laneshot/cli login
npx @laneshot/cli mcp --client claude
The second command prints the setup for your client. For Claude Code, run the claude mcp add command it prints. See MCP server for Cursor, VS Code, and Codex.

Without MCP or a token, the agent can still read captures that have a public link, through npx @laneshot/cli trace <public link> --markdown.
How laneshot-debug works
The skill tells the agent to read evidence before code, in this order:
- The report.
read_trace(MCP) orlaneshot trace <link> --markdown(CLI) returns the reporter's description, environment, app metadata, console errors, failed requests, user actions, and transcript. Often this is enough. - Stack traces.
get_console_logswitherrorsOnly. - Failing calls.
get_network_requestswithfailedOnly, for status codes, headers, and bodies. - The transcript.
get_transcript, when the person narrated the recording. It usually says what they expected, which logs can't. - The backend.
get_backendreturns server spans, exceptions, and logs for the backend trace IDs of failed requests, from the project's backend telemetry connection.
It also teaches the agent how to read a capture:
- Times are seconds from the start of the recording, and negative times are the pre-roll before recording started, often where the cause is.
- Lines tagged
[iframe <origin>]come from embedded frames, such as payment forms. - App metadata, such as the release or feature flags, often explains why only some users hit a bug.
[redacted]values were removed on purpose and must never be pasted back.
When it's done, the agent cites the evidence (error message, endpoint, and timestamp) and puts the card reference, such as SHOP-3, in the pull request. It doesn't move or close the card: Laneshot moves it to the last column once its linked issues close. See GitHub and Linear, Jira, and more.
How laneshot-file-bug works
- Reads the capture with
read_traceor the CLI. - Writes a title that says what's broken, where, and for whom, such as "Checkout: card payment fails with 3-D Secure on Safari 18".
- Writes the description in a fixed order: steps from the user actions, the expected behavior from the description or transcript, the first error and failed request quoted exactly, the environment, and the capture link.
- Picks the type
bugand a priority from the impact:urgentfor a broken checkout, sign-in, or data loss,highfor a broken main flow,mediumotherwise. - Checks whether the capture is already attached to a card, to avoid duplicates.
- Creates the card with
laneshot card createor the REST API, or runs an automation that files issues, withlaneshot run <automation> --card SHOP-14or the MCP toolslist_automationsandrun_automation.
Example session
Léo Martin pastes Maya Chen's capture into Claude Code with the laneshot-debug skill and the MCP server installed:
> https://laneshot.acme.test/traces/7c1e4f2a-93b8-4d55-a0e1-2f6b9d3c8a17 can you fix this?
● laneshot - read_trace (trace: "https://laneshot.acme.test/traces/7c1e4f2a-…")
● laneshot - get_network_requests (failedOnly: true)
● laneshot - get_backend
● Search(pattern: "confirmPayment|payments/confirm")
● Read(src/server/payments/confirm.ts)
The capture (SHOP-3) shows POST /api/payments/confirm returning 502 at +38.6s, right
after Safari returns from the bank's 3-D Secure page. The backend span for trace
4bf92f35… shows the handler timing out after 1.8 s while waiting for the acquirer,
because Safari drops the `pi_` client secret from the return URL and the handler
retries the lookup without it.
I changed confirm.ts to read the payment intent from the session instead of the return
URL, and added a test for the Safari redirect. PR title: "Fix 3-D Secure confirmation on
Safari (SHOP-3)".
Write your own skills
A skill is a folder with a SKILL.md file: frontmatter with a name (lowercase, with hyphens) and a description that says when to use it, then instructions in Markdown. Put team-specific ones next to your code in skills/<name>/SKILL.md, for example a skill that tells agents which Grafana dashboard to open for backendTraceId values, or how your team labels cards. npx skills add <owner>/<repo> installs every skill in that folder.
Troubleshooting
The agent doesn't use the skill. Skills load when the request matches their description. Mention the capture link or the card reference in your message, or name the skill: "Use laneshot-debug on this link".
The agent says it can't open the link. It has neither MCP nor a token. Run npx @laneshot/cli login, connect MCP, or make the link public from the viewer's Copy link menu.
get_backend returns no sources. The project has no backend connection. Set one up in the project's settings, under Backend. See Backend telemetry.
The agent filed a duplicate card. The capture was already attached to a card. Captures uploaded with A new card create one each time: attach later captures of the same bug to the existing card instead.