Repository navigation
AI terminals
Generated from docs/ai-terminals.md: edit it there, changes made in the wiki are replaced. Em português: Terminais de IA.
Claude Code, Codex, Gemini CLI, Antigravity CLI and Cursor Agent run in terminal tabs inside Moki, in the project's folder. You talk to them as you always do; Moki gives them the project and keeps their work together.
- The + at the end of the tabs opens the New menu: Terminal (your shell), AI (each AI tool installed), File (a new empty file in the inbox) and ArtCraft apps (see ArtCraft apps).
- Or press Call… and choose New terminal — the request goes in ready. See Calling activities, agents and skills.
An AI opened from New › AI starts with the project's defaults (set in the project settings): the default agent's role, the default skills and your instructions. Its tab says so — Claude Code · failure-analyst. Without the project defaults opens a plain one.
A terminal keeps running when you go back to the start screen or to another project; opening the project again brings its tab back. Closing the tab stops it.
- 📋 Paste a screenshot (Ctrl+V): it is saved in the project's
temporary/pasted/and its path is typed in the prompt, so the AI reads the image. A text paste stays a text paste. - 🖱️ Drag files onto the terminal — from the computer or from the project tree: their full paths are typed in the prompt (quoted when they have spaces). Nothing is copied into the inbox.
- 📎 Call… with This terminal pastes a ready request at the cursor, without sending it — add what you want and press Enter.
- 📄 Use in the terminal — right-click a file of Context or Notes (or the button of an open note): the AI is asked to read it and use it as context for what you ask next. It goes to the AI terminal in focus, or opens a new one; a file that looks like it holds a credential is refused.
- 🧩 In the Skills and agents card of the project panel, ▶ asks the AI to use that skill or agent, the same way.
- A file path the AI prints becomes a link: Ctrl+click opens it in Moki.
- Each AI terminal is its own group of tabs: the files it delivers open in its group, with a dot until you look at them, without taking the screen.
- The status bar shows how much of your AI plans you have used.
| Tool | Opens as |
|---|---|
| Claude Code, Codex, Gemini CLI, Antigravity CLI, Cursor Agent | A terminal tab in Moki |
| Cursor, VS Code | The editor, on the project's folder, with the request copied — see Moki in the IDE |
| A web chat (ChatGPT, claude.ai, Gemini) | The request ready to copy, with the files listed |
Your default AI is set in Settings › My AIs, which also installs a missing terminal AI: a terminal tab shows the official command and runs it only after you type y. Codex and Gemini CLI install with npm: without Node.js, the tab offers to install it first (winget on Windows, Homebrew where it is installed), with its own y; elsewhere it shows nodejs.org. Moki never uses sudo; npm install -g with a system Node on Linux may need permissions.
An account is a profile folder of the AI in your user folder, each with its own sign-in: for Claude Code, ~/.claude (the default) or ~/.claude-<name>; for Codex (ChatGPT), ~/.codex or ~/.codex-<name>. Settings › My AIs › Accounts shows one block per installed AI with its accounts by e-mail, and sets the one Moki uses for each AI; with more than one account, the status bar's Usage switches them too. Everything Moki opens afterwards (terminal tabs, the external terminal, the project chat) uses that account, and the plan usage shows it; an AI already running keeps the account it started with. Add account creates an empty profile, makes it active and opens that AI in a terminal tab so you sign in. The eye hides an account from Moki (its folder stays; Show hidden brings it back). Gemini, Cursor Agent and Antigravity are not listed: Moki does not know a separate-account mechanism for them yet. Skills and agents you installed for all projects live in ~/.claude, so another Claude profile does not see them; Moki's and the project's own still work.
Use the Chat ribbon icon or Ctrl+L (Cmd+L on macOS). When a terminal has the keyboard focus, Ctrl+L stays with the terminal (clear screen). Each conversation has its own tab. The ribbon and shortcut focus an open chat; + › Chats opens a new tab, keeping the previous conversation and its draft. Tabs can move between split views like terminals.
The chat uses an installed Claude Code or Codex (shown as ChatGPT), with the project's instructions, skills, plugins and MCP tools: the same access as a terminal of that AI. A conversation stays with the AI it started with: the header names it, and there is no switch inside it. With both installed, + › Chats chooses the AI for a new conversation; Call… uses the AI chosen there. Claude's answer appears as it is written; Codex shows each message when it is complete. Responses appear as they arrive, tool calls can be expanded, and Stop interrupts the response. History (the clock icon) opens a searchable listing with each conversation’s title, AI and date. Selecting one focuses its open tab or opens another tab. Transcripts are stored in the project's hidden .chats/ folder and stay out of the file tree and document search. Closing a tab hides it; a running answer continues until it finishes, is stopped, or Moki exits. The next message can resume the tool session; if it is gone, the saved transcript supplies context for a new session.
The model selector in the chat header, beside history, applies from the next message and is saved with the conversation. AI default uses the installed tool's configuration. Claude offers Opus, Sonnet and Haiku; Codex lists the active account's locally cached models. Other model… accepts an identifier, including when no catalog is available yet. Availability depends on the account and tool. The selection is disabled during an answer; changing it keeps the session and transcript.
The files an answer names or writes show under it: a picture of the project with its preview, any other file as a card, each with Open in the project; a file that was moved or removed, or one of another project, says so instead. Paste pictures, drop files (from the computer or the project tree) use the clip, or type @ to find a file of the project, to attach them: they show as miniatures in the message box (× removes one), go with the message as files and never as paths in its text, and a message may be only attachments. Charts the AI writes as a chart block (bar, line or pie, with title, labels and values) are drawn in the answer, with **View data** showing the same numbers in a table; a block with invalid data stays readable and says why. The chat tells the AI how to organize an answer for reading (the answer first, numbered sections with a line between them for a long answer, short paragraphs, tables for fields and comparisons, a `> **Note:**` panel for what must not be missed, a diagram when structure matters) and the answer reads like a document: larger text, space around headings, tables with a line between rows that scroll when wide. Mermaid diagrams take the colors of the app theme, here and in the documents the app shows. Key numbers written as a kpi block (one per line: label | value | note | tone) show as indicator cards, and a ```steps block (one step per line) as a numbered flow in a card, in the chat, in the Markdown files the app opens and in their PDF. A picture the AI makes shows inside its answer and stays with the conversation, not in the project: over it, one icon opens it larger and another saves it to Deliveries (a notice confirms it), from where you can move it to any folder. Pictures Codex generates show too, even when its answer names no file. Several open decisions can come as one block, each question with its options and a single button that sends every answer together as one message. A closed question shows its options as buttons and a step that needs your approval shows exactly what it covers, with Approve and Decline: a click sends your pick as your next message (you may still answer in your own words), the buttons lock at once, and the pick stays marked, also when the conversation is reopened. While the AI works, the chat says what it is doing (consulting the project context, reading a file, generating an image) and names a connection that did not answer. The conversation follows the answer while you are at its end; scrolled up, it stays put and a down arrow brings you back. When an answer makes a Claude artifact (a presentation, spreadsheet or page on claude.ai), it opens by itself when the answer ends, and any artifact link opens in a viewer inside the chat tab, with Back to the conversation and Open in the browser. Sign in to your claude.ai account once in the viewer to see private artifacts; if the sign-in is blocked there, use Open in the browser. The viewer is an isolated browser surface with no access to Moki or the project's files, and other links open in the browser as before.
Generated images linked by Codex also appear as previews in the conversation. Moki keeps a copy of that conversation's images with its history, so reopening the chat still shows them after Codex removes its original files. Click the preview or its link to open the image larger. Images from other conversations or projects stay private.
Call… › In the chat is available with an installed Claude Code or Codex. It sends the validated project request at once, in a new chat tab (like a new terminal); a draft you were writing stays in its original tab. The request shows folded as Request from Moki: , open it to read the full text the AI got, and that name titles the conversation.
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