Runs interactive or TTY-requiring commands (sudo, Touch ID, password prompts) in Orca IDE's floating terminal via its CLI, returning real exit codes and output as JSON. Replaces external terminal windows.
Ships in orca-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Self-Evolving Skill: This skill improves through use. If Orca's CLI changed, a measured fact below no longer holds, or a workaround was needed: fix this file and the script immediately, don't defer. Only update for real, reproducible issues.
An agent's own Bash tool has no terminal a person can see or answer, and some tools refuse to run without one: biometric unlock, a password manager's app integration, sudo, passkeys, anything that prompts. Under the Orca IDE the answer is Orca's floating terminal, driven only through Orca's own CLI: one panel that exists on every Orca desktop, opened and read without any other app. scripts/orca-float does it in one call and hands back the result.
orca-float run for anything that needs a person, a TTY, or should stay visible. This is the default terminal for agents under Orca.orca-float doctor exits 3) or its floating terminal is disabled.Never open iTerm, Terminal.app, gnome-terminal, osascript … do script, or open -a Terminal for this: those windows are outside Orca, give no exit code back, and leave windows behind.
FLOAT="$(cc-plugin-root orca-tools)/skills/floating-terminal/scripts/orca-float"
"$FLOAT" doctor # is the floating terminal usable here? (creates and closes a probe)
"$FLOAT" run --title "Unlock" -- some-cli signin # runs, waits, returns JSON; the person answers any prompt in the panel
"$FLOAT" run --cwd ~/repo --timeout 600 -- ./script.sh --flag "two words"
"$FLOAT" open --title "Shell" # an interactive floating shell for the person; prints its handle
| Flag | Meaning |
|---|---|
--title T | The tab's title (default agent). Say what the person is being asked to do. |
--cwd DIR | Directory to run in (default: the current one). |
--timeout SEC | How long to wait for it to finish (default 1800). A person may take a while to touch a sensor. |
--tail N | Lines of output to return (default 40; 0 for none). |
--no-log | Do not record the output (for a command that prints a secret). The exit code still comes back. |
--keep | Keep the tab open even on success. A failed run always keeps its tab, so the person can read it. |
--no-focus | Create the tab without bringing the panel forward. |
--dry-run | Print the launcher it would run and create nothing. |
One argument after -- is run as a shell command line (-- 'a | b'); several are quoted word by word.
Output: stdout is one JSON object; progress goes to stderr.
{
"ok": true,
"state": "finished",
"exit_code": 0,
"handle": "term_…",
"tab_closed": true,
"seconds": 4,
"output": "…last lines…"
}
state is finished, timeout (still running; the tab stays) or gone (the person closed the tab). Exit status: 0 ok, 1 the command failed or did not finish, 2 usage, 3 no Orca CLI found.
Tell the person before you call it — "a floating terminal will open and ask for Touch ID" — because the run blocks until they answer or --timeout passes.
--no-log, and do not ask for its output. Better, have it write the secret to its destination (a vault, a keychain) itself.--tail lines come back.Measured on Orca 1.4.2xx on macOS:
orca terminal create --worktree id:global-floating-terminal --command … opens a tab in the floating terminal and runs the command in a login shell there. orca terminal show reports that tab's worktreeId as global-floating-terminal; doctor checks exactly that.orca terminal wait --for exit cannot be trusted for the exit code: it reported exitCode 0 (exitCause host_status_unavailable) for a command that exited 7. And orca terminal read returns nothing once the shell has exited. So the script never relies on either: the command runs under script (a real TTY, so prompts and biometric unlock work, and every byte shown is also logged), writes its own exit status to a file, and the script polls that file — at most --timeout one-second ticks, checking every 15 s that the tab still exists.script differs between BSD (macOS) and util-linux; the launcher picks the right form at run time.orca terminal call names its handle. Omitted, Orca uses the active terminal, which may be another session's. Only the tab this run created is ever closed, never with --all.Linux: the same Orca CLI and the same launcher (util-linux script). The CLI is found by the plugin's shared finder (scripts/lib/orca-cli.sh): $ORCA_CLI, $ORCA_CLI_BIN_DIR/orca, an orca on PATH that is really Orca's, orca-ide (the CLI's name on Linux: /opt/Orca/resources/bin/orca-ide, linked as ~/.local/bin/orca-ide), then Orca's own install locations. On Linux desktops /usr/bin/orca is often the GNOME screen reader, so a bare orca is never trusted.
The Orca CLI talks to the Orca app of the same user: over SSH as another account, doctor reports Orca's own runtime_unavailable reason. The floating terminal is a local panel: this skill drives the Orca on the machine it runs on, not a paired runtime.
The Orca IDE CLI with the floating terminal enabled in Orca's settings, bash ≥ 3.2, python3 ≥ 3.9, and script (present on macOS and in util-linux).
output? That run should have used --no-log; say so above if the case was not covered.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orca-ide, floating-terminal, tty, interactive-commands, sudo-prompt
/orca-tools:floating-terminalfrom orca-tools
npx claudepluginhub terrylica/cc-skills --plugin orca-tools4 skills in this plugin
/full-width-artifactPublish a Markdown or HTML file as an Orca artifact (share.onorca.dev link) that uses the FULL browser width, with no fixed-width column and no hard line breaks. Orca renders a Markdown artifact through its own template, which caps the page at a fixed pixel width, so a bare `orca artifacts share report.md` always gives a narrow page. The script renders Markdown to full-width HTML with pandoc, repairs uploaded HTML, publishes (keeping the same link when re-published), then fetches the served page to prove it is still full width. Use for any report, explainer or page shared through Orca artifacts. TRIGGERS - orca artifact, share an artifact, share.onorca.dev, publish a report to Orca, orca artifacts share, artifact full width, artifact narrow column, artifact too narrow, page width, no hard wrap./session-closeoutClose out a Claude Code session running in an Orca IDE terminal or chat so it can be found and resumed later - give it a recall name (the same records /rename writes, sized to what Claude Code and Orca's Agent Session History actually display), end on a compact handoff, and either keep the terminal or close only this session's own tab to free memory, never while subagents, teammates, background commands, monitors or scheduled wake-ups it started are still running (the close waits for them, and the tab and workspace are marked as running meanwhile). TRIGGERS - close out, wrap up, end the session, rename the session, name this session, close the terminal, free memory, handoff note, resume later, session title.Other plugins' skills for the same job