Repository navigation
Files and the editor
Generated from docs/files-and-editor.md: edit it there, changes made in the wiki are replaced. Em português: Arquivos e editor.
- Drop files on the window and they are copied into Inbox — up to 40 files, 200 MB each (folders are skipped).
- Drop a file on a folder of the tree to copy it there; drag a file or folder of the tree onto another folder to move it, or onto the empty part of the tree to move it to the project root. Ctrl+click picks several files and folders: dragging one of them moves them all, and the right-click menu offers to delete them all (Esc or a plain click ends the selection). A file in Deliveries can be dragged to another folder once its activity has finished: the activity's record follows it, so it still knows where its deliverable is (nothing can be dropped into Deliveries). Moki's own folders (Context, Inbox, Deliveries, Notes, Temporary) stay where they are; a thin line in the tree separates them from the folders you made, and the files you leave in the project root are listed at the root.
- Right-click (or the ⋯ menu) for: new file or folder, rename (F2), show in the folder, copy the path or a link, export a copy (files only: saved where you choose, unchanged), use in the terminal (Context and Notes files: the AI reads it as context for what you ask next), and delete — to the trash.
-
Take a commented Markdown file to another Moki: export a copy and send it; the other person drops it on their window or a folder. The comments, with their authors and dates, travel inside the
.md. HTML and diagram comments are kept with the project, so they do not go with the copy. - A folder with more than 20 files shows only its subfolders in the tree, with its number of files: clicking it opens it in the middle as a folder view — a list with name, date modified, type and size (click a column to sort), or a grid with thumbnails for pictures (the view starts in grid when most files are pictures, and remembers your choice per folder). The path above it goes back up, the search box filters by name, a double click opens a file or goes into a subfolder, and one button opens the folder in the file explorer. Folders of tens of thousands of files open at once.
- The fixed folders (Context, Inbox, Notes, Temporary, Deliveries) are emptied, never removed. Files the AI saves show up in the tree as they land.
A .md file opens in a formatted editor (TipTap): headings, lists, checklists, tables, images, links, code and diagrams. It saves on its own as you type.
-
Any
.mdcan be edited, even one an AI wrote with HTML, a properties block at the top (---), footnotes or callouts. What the editor cannot draw is kept exactly as written — a block becomes a card you edit as text, an inline piece becomes a small tag — and saving rewrites only the paragraph you changed. -
Type
/for the commands menu: titles, lists, table, quote, divider, link, code block, a Mermaid diagram or an Excalidraw drawing. - Tables: with the caret in a table, a bar adds or removes rows and columns.
- The source: Ctrl+E shows the Markdown source, also editable; Ctrl+E again goes back.
- The reading view: the eye button shows the file as a reader sees it.
- A large file (over 1 MB) opens as editable text, so it stays fast; a note says so.
- Changed outside Moki: if the AI changes a file while you edit it, nothing is overwritten — a notice offers See the new version or Keep mine.
Select text — in one paragraph or across several — and a Comment button floats next to it. Comments sit beside the text, joined to their words, with a color, replies, edit and delete. They live inside the file itself, invisible to other Markdown viewers, so they travel with it.
Markers. Right-click on selected text to mark it — ⭐ Important, 🔍 To review, ➕ To complete or one of your own (Settings › Markers) — with no comment box. Its icon sits in the left margin, beside the marked text (click it to change the marker, add a comment or remove it); it is written at the start of the comment's text, [🔍 To review] …, so it travels with the comment in every format that takes comments (Markdown, Word, Excel, PDF, HTML and diagrams), Word shows it as written, and the AIs read it: ask "review what I marked 🔍" and they find it. Editing the text keeps the marker. A marked passage becomes an area in the marker's color, with a rounded border and the icon in its corner; a comment can be added to it later. A marker over several paragraphs becomes one area around them. A marker without a comment has no card in the comment column. In a PDF or an HTML page, Mark an area lets you drag a rectangle; letting go shows the markers and Comment…. In an HTML page the area holds on to the element under it, so it follows the page when the window is resized.
A ```mermaid block is drawn as a diagram, and a ```excalidraw block as an editable drawing — click its pencil to edit it in Excalidraw. A .excalidraw file opens as that same drawing, filling the page, and edits are saved back into the file. Hold Ctrl and scroll to zoom. The AIs are told to draw diagrams this way, inside the document, instead of making images or PDFs.
A link to another file of the project — a heading, a comment, a PDF page — opens that place in Moki. Ctrl+click opens a web link. See Project links.
PDFs open with selectable text. You can:
- highlight and comment a selection, reply to comments, and change their color;
- edit pages — rotate, move, insert, delete — and the title and author;
- select text and Create a note from here: a note in the project with the quote and where it came from.
A file from the inbox, and any page edit, is saved as an -edited.pdf copy, so the original stays as it was.
-
Word (
.docx) lets you edit paragraph text. Bold, italic, underline and Enter apply to that paragraph, and the file keeps its native formatting. Excel (.xlsx) lets you edit cell values and formulas while retaining styles and merged cells. Changes save automatically; the status is beside the tag icon. - Comments use the same selection button, composer, colors and cards as Markdown. In Word, select text inside one paragraph; in Excel, select a cell. Click Comment beside the selection, write and save. Cards sit at the height of their passage or cell, joined to it, and follow scrolling and zoom. Reply, edit, recolor or delete on the card. Closing the column leaves markers that reopen it. Word keeps the exact selected range and formatting; comment text is a native Word comment or Excel note, with colors and replies kept inside the file.
- Hold Ctrl and scroll to zoom; click the percentage in the file bar to reset it. Spreadsheet rows load as you scroll, up to the preview limit of 2,000 rows and 200 columns.
- Spreadsheet programs recalculate formulas when they open the saved file; Moki does not calculate them. Protected sheets, signed files, templates and macro-enabled formats remain read only. Complex fields and shared/array formulas need the original program.
-
Older files (
.doc,.xls): opening one converts it with installed Microsoft Word/Excel or LibreOffice into a new.docx/.xlsxand says so. The original stays untouched. If that copy already exists, Moki opens it instead of making another.
PowerPoint (.pptx, .ppsx, .pptm, .potx) opens as slides, read by Moki itself: nothing is converted and no Office installation is needed. Only your speaker notes and comments are written, into the presentation itself, in PowerPoint's own format.
- Thumbnails on the left, the current slide large in the middle and its speaker notes below (the notes icon hides or shows them). Move with the arrow keys, Page Up/Down, Home/End or the arrows under the slide.
- Speaker notes are written right there: click the box under the slide ("Click to add speaker notes") and type. They are saved after a pause, also on a slide that had none, and PowerPoint shows them. They are plain text: bold and lists in a note are removed when you edit it here (Moki says so before).
- Comments, as in PDFs and Word documents: the area icon under the slide lets you drag a rectangle over the part you mean, then choose Comment… or a marker; a right-click on the slide comments on the whole slide. The comments sit beside the slide with reply, edit, color and delete, the marked areas are drawn on it, and the thumbnails show which slides have comments. In PowerPoint they appear as comments at the corner of the area. Comments made in a recent PowerPoint (threaded) are shown, and replied to there.
- If the presentation is open in PowerPoint, close it there for Moki to save. A signed presentation is only read.
- Present (the screen icon, or F5) shows the slides full screen; the arrows, space or a click move on, and Esc ends.
- Text, shapes, pictures, tables and common charts (columns, bars, lines, areas, pies) keep their place and sizes. Fonts the computer lacks are replaced by similar ones; animations, transitions, video and audio are not played, and SmartArt or special effects can look simpler. For those, Open with the default program.
- Old
.pptfiles and password-protected presentations open in your presentation program.
HTML runs local JavaScript, modules and relative web assets in an isolated preview (pages up to 30 MB, so exported prototypes with everything inside open too), without access to Moki or external network resources. The single file bar includes the width selector (fit, tablet or phone), comments, reload and open in browser.
To comment, select a passage in the preview and click the floating Comment button. The composer and cards are the same as in Markdown: choose a color, write, reply, edit or delete. Cards follow visible passages as you scroll the preview; clicking one brings its passage into view. The speech-bubble icon shows the total count and toggles the column; with it closed, markers reopen the comments. Comments are stored with the project, separately from the HTML source; copy the project to take them with you. If the page changes and a passage no longer matches, its comment stays with a notice.
Mermaid (.mmd, .mermaid), PlantUML (.puml, .plantuml), D2 (.d2) and Graphviz DOT (.dot, .gv) open in a diagram viewer. Mermaid can render offline using the renderer included in Moki. The viewer's provider settings can instead use a configured Kroki server for these four languages. Opening a file does not send it to a public service: a server outside this computer requires an explicit authorization for that project's configured address. No public endpoint is enabled by default.
Use Ctrl + scroll to zoom around the pointer, normal scroll to move vertically, Shift + scroll horizontally, or the hand tool to drag. The toolbar also fits the diagram to the view or its width, restores the view, shows the source, enters full screen, and exports SVG or PNG. Copying an image uses the system clipboard.
The comment tool marks a point or a dragged region. Its composer, colors, replies and comment cards are shared with the other document viewers. Comments can be resolved and reopened; the comments panel filters open and resolved discussions. Their coordinates, the view's zoom and its scroll position are kept with the project in the existing external document comment storage. Reviewing a diagram never changes its source. Renaming or moving a file in Moki carries that metadata with it.
When the source changes, the viewer updates through the existing file watcher. Comments are retained; positions that cannot be confirmed against the new drawing are marked for review. Positional comments do not imply that every renderer provides stable semantic node identifiers. Freehand drawing tools and semantic version comparison are not added by this viewer.
Kroki is a separate service, not a JavaScript dependency embedded in Moki. Its official deployment guide covers Docker on Windows and Docker or Podman on Linux; some engines use companion containers. Moki does not install or start those services automatically. If a configured server is unavailable, the file's source and the rest of Moki remain accessible.
Code files (.ts, .js, .py, .java, .cs, .go, .css, .sql, .sh and many more) open read-only with the colors of an IDE and line numbers. Click a line number to select it, then Open in the IDE opens VS Code or Cursor on the project at that line, where the code is changed. Shift+click another number to select a block of lines; the selection can be commented on or marked, like a passage of a document: a marked block becomes an area in its marker's color with the icon in its corner. Comments and markers on code are kept in the project, apart from the file, so the code never changes; when lines move, they follow their first line. Create a note from here makes a note of the project with the selected lines (fenced in their language, with a link back to the file and lines) and ties it to them: a 📝 pin beside the lines opens it, and untying it keeps the note in Notes. Configuration files (.yaml, .xml, .txt) stay editable text.
Images open in a viewer. The ↗ button opens a file in its own program; ⋯ › Open with… lets you choose which one for Excel, Word and PDF, and remembers it.
- When the tabs do not fit, discreet ‹ › arrows show at the ends of the row, only on the side with hidden tabs, to scroll to them (the mouse wheel scrolls the row too).
- Tabs reopen in their order when you come back to a project, with the active file, the view mode and the scroll position.
- Every AI terminal starts its own group, with a name and a color; the files it delivers open in its group with a dot until you look at them. Right-click a group to rename it, change its color or close its files; right-click a tab to move it to another group.
- The split button (top right) divides the screen into up to four views, each with its own groups and tabs — the terminal on one side and the file you review on the other. Drag tabs between views and the dividers to resize.
| Shortcut | What it does |
|---|---|
| Ctrl+S | Save (most files save on their own) |
| Ctrl+W | Close the tab |
| Ctrl+E | Markdown source ↔ formatted |
| Ctrl+Shift+K | Call… |
| Ctrl+Shift+F | Search the workspace |
Generated from docs/ of Orsi88/moki at main (416a793). Edit the files there; changes made in the wiki are replaced.
🇺🇸 English
Start here
Everyday use
- Projects and workspaces
- Files and the editor
- Notes and quick assistants
- AI terminals
- Calling activities, agents and skills
- Runs and deliverables
- Settings
- Routines and notifications
- Mycroft
- Project links
Capabilities and workflows
Integrations
Help
About
Contributing
🇧🇷 Português
Comece por aqui
Dia a dia
- Projetos e workspaces
- Arquivos e editor
- Notas e assistentes rápidos
- Terminais de IA
- Chamar atividades, agentes e skills
- Execuções e entregas
- Configurações
- Rotinas e notificações
- Ensinar o Moki com o Mycroft
- Links do projeto
Capacidades e fluxos
- Skills de QA e agentes
- Atividades
- Agents and operations
- Receitas de operação
- Especialistas de engenharia
Integrações
Ajuda
Sobre
Para quem contribui