kane-cli, how to read the result, and how to save tests that replay.
It is one self-contained file, so it works in any agent that reads an instruction file: Codex CLI, Cursor, GitHub Copilot, Windsurf, Amp, Jules, Claude Code, Gemini CLI, and others. Nothing else needs to be installed besides Kane CLI itself.
Open the raw file as AGENTS.md, CLAUDE.md, or GEMINI.md from testmuai.com/kane-cli-agent, or go straight to testmuai.com/kane-cli-agent/AGENTS.md.
Add the File
You need Kane CLI installed and signed in first. See Installation and Authentication. Each agent looks for a different file name. The contents are the same in every case.- AGENTS.md
- CLAUDE.md
- GEMINI.md
Read by Codex CLI, Cursor, GitHub Copilot, Windsurf, Amp, Jules, and most other coding agents.
>> operator appends. If the file already exists, your current instructions stay and the Kane CLI section is added at the end. If it does not exist, the command creates it.
Commit the file. Teammates, CI agents, and cloud agents that check out the repository then get the same instructions.
Try It
Open your agent in the repository and ask for something that needs a browser or a mobile app:kane-cli run ... --agent, reads the final run_end event and the exit code, and reports a pass or fail with what happened, the duration, credits used, and a link to the test case in Test Manager.
What the File Covers
AGENTS.md or the Kane CLI Skill
Both teach the agent the same commands. Choose by the agent you use and how much guidance you want.
You can use both. See Skills for the skill.
Keep It Up to Date
The file mirrors the Kane CLI skill in the LambdaTest/kane-cli repository, and the version it tracks is written at the top. When you update Kane CLI, fetch the file again. If you appended it to an existing file, replace the old Kane CLI section rather than appending a second copy.Next Steps
- AI Coding Agents: walkthroughs for Claude Code, Cursor, Gemini CLI, and Kiro.
- Skills: install the full skill for Claude Code, Codex CLI, or Gemini CLI.
- Agent Mode: the
--agentflag and the NDJSON event schema. - Test.md: saved tests that replay from a recording.