mika_open_file — Claude Code prompt: view workspace files
The mika_open_file Claude Code prompt opens workspace files in Mika’s built-in viewer. Show a report, screenshot, or downloaded document.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/mika_open_file.mdWhat mika_open_file does
The prompt opens a file in Mika’s built-in viewer. It handles HTML, Markdown, PDF, images, and text. Use it to display a report, screenshot, or downloaded document.
The file path must be inside /workspace. The viewer is read-only and leaves the file unchanged. In the background, Mika sends a notification instead of opening the document.
What it helps with
- show a generated report to the user
- display a screenshot from the workspace
- view a downloaded PDF or HTML file
Example prompts for the agent
- Show
/workspace/report.pdfin Mika’s built-in viewer. - Open the screenshot at
/workspace/screenshot.png. - Display the document at
/workspace/notes.md.
How to install mika_open_file
Manually: put the files in place
.claude/commands/mika_open_file.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about mika_open_file
How do I install mika_open_file in Claude Code?
Place the prompt file at .claude/commands/mika_open_file.md.
What does mika_open_file do?
It displays a workspace file in Mika’s built-in viewer, which supports HTML, Markdown, PDF, images, and text.
Which files can mika_open_file open?
It supports HTML, Markdown, PDF, images, and text. The path must be inside /workspace, and the viewer does not edit the file.
Source text
mika_open_file.md · Apache-2.0
Open a file from this task's workspace in Mika's built-in viewer (HTML, Markdown, PDF, images, text). Use it to show the user a report, screenshot, or downloaded document you produced. The path must be under /workspace. The viewer is read-only and does not change the file. In the background Mika posts a notification instead of opening it.
© wangzan101 · Apache-2.0 · wangzan101/Mika