# Troubleshooting

What you see when something doesn't go as expected, why it happens, and what to do.

Each entry below starts from what you see, the message or mark Rundesk shows, so you can search this page for it. Then it says why it happens and how to fix it.

## Agents

### An agent isn't offered under +

The Agents **+** offers only agents that are shown, installed and, for Grok, Antigravity and Kimi Code, connected. With none to offer it says `No agents to start. Install, connect or show one in Settings › Agents`.

Open Settings › Agents. Use **Install** for a CLI that is not found, **Connect** for one that needs it, or the eye on a hidden agent's row to show it again. See [Coding agents](/docs/agents.md).

### An agent you installed shows Not found

Rundesk looks for each CLI on the `PATH` of your login environment, the one your own terminal has, then in the folders the CLIs' installers and package managers use. Click **Refresh** in Settings › Agents: it reads your login environment again, so a folder an installer just added counts.

On Windows, a program installed while Rundesk runs is found after a restart; agent CLIs in their installers' own folders are found at once. See [Coding agents](/docs/agents.md).

### An agent shows no state, or only Running

An agent's state comes from its hooks, the reports its CLI sends Rundesk as it works, never from reading its output, so an agent without hooks shows less:

- **A custom agent** has no hooks. It shows `Working` while its screen moves and `Running` when it is still, and is never shown as needing you.
- **Grok, Antigravity and Kimi Code** send their hooks only once connected. Click **Connect** in Settings › Agents.
- **A row showing Reconnect** is connected to another copy of Rundesk, such as a development build, and launches as not connected. Click **Reconnect**.

See [Coding agents](/docs/agents.md).

### Resume starts a new conversation

Resume needs the agent's session ID. With no ID yet, which its footer shows as `No session ID yet, so you can't resume this agent`, or when a Claude conversation is gone, Resume starts a new conversation in the same row. A custom agent has no resume. See [Coding agents](/docs/agents.md).

## Commands and terminals

### A command won't start

`folder not found:` and a path means the command's `working_dir` does not exist. Rundesk refuses rather than run the command somewhere else. Fix `working_dir` in [desk.yml](/docs/desk-yml.md), or create the folder.

If the whole project's folder is gone, see [A project is dimmed with an amber folder mark](#a-project-is-dimmed-with-an-amber-folder-mark).

### A command stopped on its own

A command that ends by itself shows `Exited` with its code and raises an alert: `exited 1` and `Failed with exit code 1` for a command that failed with code 1. Its last output stays on screen, read-only, so you can read what went wrong, then **Start** or **Restart** it. A command you stopped shows `Stopped`, which is never a failure. See [Terminals and commands](/docs/terminals.md).

### A command is marked removed

A command's entry was removed or renamed in `desk.yml` while it was running. It offers only **Stop**, and leaves the list once stopped.

### desk.yml shows an error

When Rundesk cannot read the file, the project shows the error in place of its commands, starting with the file's name, such as `desk.yml: skills_git is track or ignore`. Fix the line it names: the file is read again every 2 seconds, so the commands come back without a reload. Every message is listed on [desk.yml](/docs/desk-yml.md#deskyml-error-messages).

### A command can't find a program your terminal finds

Commands and agents start with your login environment, read once as Rundesk starts. A change to your shell's startup files, such as `.zshrc`, reaches them at the next launch, or when you click **Refresh** in Settings › Agents. On Windows, Rundesk uses its own environment, as no login shell is read. See [Terminals and commands](/docs/terminals.md).

## Projects

### A project is dimmed with an amber folder mark

A project's folder is gone: moved, renamed or deleted, or the project came from a backup made on another computer. It shows `Project folder not found` with the path, and nothing opens in it, since a terminal, agent or command would otherwise start in your home folder. Whatever is still running or stored there stays listed, so you can stop it.

Click **Select project folder** and pick where the folder is now. See [Workspaces and projects](/docs/projects.md).

### Open in editor is missing from a menu

The project's ⋯ menu offers **Open in** and your editor's name, and every file's menu offers **Open in editor**, only while you have chosen an editor that is installed. Choose it under **Code editor** in Settings' General tab: Rundesk lists the editors it finds, in Applications on macOS or where their installers put them on Windows, and **Choose an app** picks any other. The menus offer it at once, with no restart.

If the editor was removed since Rundesk last looked, opening says `<name> is not installed`; choose another. See [Workspaces and projects](/docs/projects.md).

## Files, Docs and Pages

### Docs doesn't show for a project

The **Docs** tab shows only while the project's docs folder holds a markdown page git tracks or would add. The docs folder is `docs/`, or the folder `desk.yml` names under `docs:`. When the tab is missing, check these causes:

- **Git ignores the docs folder.** Its pages show gray in the Files tab, but there is no Docs tab.
- **The `docs:` path is skipped.** A path that is absolute, climbs out with `..`, or holds a backslash or a colon is skipped, and Rundesk looks in `docs/` instead. [desk.yml](/docs/desk-yml.md) gives the rules.
- **`desk.yml` says `docs: false`**, which turns the docs off for the project. Remove the line to turn them on.
- **The project's folder is missing.** The project then shows no Files button at all.

See [Files & Docs](/docs/docs-view.md).

### Pages doesn't show for a project

The **Pages** tab shows while the project's pages folder is there, even empty: `pages/` at the top of the project, or the folder `desk.yml` names under `pages:`. The tab appears within a couple of seconds of the folder. When it doesn't, check these causes:

- **The folder isn't there.** Make it, or fix the name under `pages:`.
- **The `pages:` path is skipped.** A path that is absolute, climbs out with `..`, or holds a backslash or a colon is skipped, and Rundesk looks for `pages/` instead. [desk.yml](/docs/desk-yml.md) gives the rules.
- **`pages/` holds files but no sheet**, such as a website's templates or a wiki's pages. Name it under `pages:` if it really is your writing.
- **`desk.yml` says `pages: false`**, which turns Pages off for the project. Remove the line to turn it on.
- **The docs use the folder.** A folder `docs:` names too, or one that holds the docs folder, stays with the docs.

See [Writing pages](/docs/pages.md).

### Export as PDF is missing

PDF export is on macOS only. On Windows, export a file or docs page as a JPG, and a sheet or a manuscript as markdown.

### A page shows gray and has no findings

Git ignores a gray page, so the docs check never reads it. Move it out of the ignored path, or stop ignoring it.

### A link doesn't open

In a file or a docs page, a link to something the project does not have says `Nothing in the project at <path>`, and one that climbs out of the project says `<link> leads outside the project`. Fix the link's path, relative to the page or, with a leading `/`, to the project's root.

In a terminal, a link opens on ⌘-click (Ctrl-click on Windows); a plain click selects text. A path is a link only if it exists. One gone since shows `not found:` and the path in the error bar, and any other link that can't be opened says why there too. A file in the project opens as a tab in the terminal's own bar; outside it, a file that would run when opened, such as an app or a script, is shown in Finder, or File Explorer on Windows, instead of opened. See [Terminals and commands](/docs/terminals.md).

### A citation number shows in red

The file the footnote cites is not in the project: hover it to see `Cited file not found`. Fix the footnote's path. The count above the page's title opens the docs check's full list of findings. See [Writing docs](/docs/writing-docs.md).

## Skills

### Skills don't appear in a project

- **Skills is off** in Settings › Skills: no project gets skills, and the Skills sections are hidden.
- **The Skills section is hidden** under **Project sidebar** in Settings' General tab. Click its eye to show it.
- **A name in `desk.yml`'s `skills:` list isn't in your library**: Rundesk skips it for you. A bare name two packages share is skipped too; write `<package>:<name>`.
- **The project already has a skill of that name** of its own, which Rundesk leaves as it is.
- **`desk.yml` can't be read**, such as in the middle of a merge: its list adds nothing until it reads again.

See [Skills](/docs/skills.md).

## MCP and your agents

### An agent says Rundesk refused it, naming a switch

You switched that permission off in Settings › MCP, under **What agents may do**. The message names it, such as `the person does not let agents do this (Saved terminals: Type commands, in Rundesk's MCP settings)`. Switch it on if you want agents to do that; agents already running follow the change from their next call. See [MCP tools and permissions](/docs/mcp.md).

### An agent has no Rundesk tools

- **The server is off.** An agent gets `rundesk-app` only while the switch in Settings › MCP and the agent's own **Use Rundesk MCP server** switch are both on. A change applies to sessions started or resumed after it, so stop and resume the agent. The blocks icon in its footer says whether that run was launched with the server.
- **Grok, Antigravity or Kimi Code isn't connected.** Click **Connect** in Settings › Agents.
- **It is a custom agent.** Add the command its Edit dialog shows to that CLI's own MCP servers; Rundesk cannot add it for you. Its tools then work in sessions started from Rundesk.
- **It runs outside Rundesk.** It is answered only while **Agents outside Rundesk** is on in Settings › MCP; otherwise it hears `Rundesk does not let agents outside it use its tools`.
- **It says `Rundesk is not reachable`.** The app may have quit. Open Rundesk and resume the agent.

See [MCP tools and permissions](/docs/mcp.md).

## Schedules

### A schedule didn't run

Read the run's row under the schedule:

- **`skipped: app closed`**: runs happen only while Rundesk is open and your computer is awake. A missed time is skipped once, never run late.
- **`skipped: still running`**: an earlier run was still going. A run whose agent never reports, such as one waiting at a sign-in prompt, stays `running` and holds back every later time until you stop it.
- **`couldn't start`**: the run could not be opened, such as when its agent was deleted. Edit the schedule and pick another agent.
- **No row at all**: the schedule is paused, set to `Manually`, or schedules are switched off in Settings › Schedules.

See [Schedules](/docs/schedules.md).

## Updates

### An update failed

A failed update at launch opens the version you have and says `Could not update to Rundesk <version>:` with the reason. One that fails while the app is open returns to the app and shows the error. Rundesk checks again at its next launch, or you can download the newest version by hand from **View releases** in Settings › About.

On Windows, a release arrives only once its Windows build is added, so for a while there may be no update to find. See [Updates and platforms](/docs/updates.md).

## Related pages

- [Settings](/docs/settings.md): every tab the fixes above point to.
- [Coding agents](/docs/agents.md): install, connect and run your agent CLIs.
- [desk.yml](/docs/desk-yml.md): every key and error message of the command file.
