---
slug: primeiros-passos
title: First steps
summary: The missions that take you from installation to your first issue. How to run the first-use diagnosis, read each state, and ask your org admin or company manager for whatever is missing.
locale: en
section: first_steps
applies_to:
  cli: ">=0.28.1"
  skill: ">=1.4.2"
executors: [claude-code, codex, gemini-antigravity]
os: [macos]
audience: [admin, member]
reason_codes:
  - workflow_not_linked
  - workflow_unlinked
  - connection_absent
  - mapping_empty
  - mapping_partial
  - board_not_required
  - provider_outside_cli_boundary
  - skipped_upstream_failure
  - provider_not_specified
  - workflow_policy_not_live
  - server_lacks_resolved_workflow
  - mapping_status_check_failed
  - workflow_membership_missing
  - user_session_expired
intents:
  - what's missing for me to start
  - how to check my environment
  - malha doctor first-use
  - how to create my onboarding issue
  - what to ask my admin
reviewed_at: "2026-10-31"
---

# First steps

From installation to your first issue there are five stages, which we call missions. Each one only counts as done once it's verified. Saying you did it isn't enough.

| Mission | What it checks | Who fixes it if missing |
|---|---|---|
| **M1 · Environment ready** | CLI connected, valid session, active installation, skill installed, and license cleared | You |
| **M2 · Board connected** | Your workflow has a connection to the company board | Org admin |
| **M3 · Board mapped** | Each workflow stage matches a status on the board | Org admin |
| **M3b · Board access** | You can read, create, and update issues in the right team or project | Company manager |
| **M4 · First issue** | You create your onboarding issue and the LLM works on it | You, with the LLM |

## Run the diagnosis

Ask the LLM: “run the first-use diagnosis and explain the result.” Or run it yourself, replacing `<provider>` with your board's key, for example `linear`:

```bash
malha doctor --first-use --provider <provider>
```

The result is JSON with one item per check. Each item has the mission, the state, the reason code when there's a problem, and who can fix it.

## The four states

| State | What it means | What to do |
|---|---|---|
| `verified` | Confirmed. | Nothing. Move on to the next item. |
| `pending` | Something is missing. | Read the `reason_code` and `who_resolves`. If it's on you, follow the `remediation`. If it's on someone else, send the request below. |
| `not_verifiable` | The CLI can't confirm it from here. | Check the reason. M3b is always like this: the LLM checks access through the board tools in its session. With `skipped_upstream_failure`, fix the item that failed earlier first. |
| `not_applicable` | Doesn't apply to your organization. | Nothing. For example, on the Individual plan the workflow doesn't use a board (`board_not_required`), so M2 and M3 don't apply. |

The `persona` field says whether the diagnosis treated you as `admin` or `member`. That changes who fixes each item, not what gets checked.

## When someone else needs to act

**To your org admin** (M2 or M3, with `connection_absent`, `workflow_unlinked`, `workflow_not_linked`, `mapping_empty`, `mapping_partial`, or `workflow_membership_missing`). The admin's step-by-step is in [Board and mapping](board-e-mapeamento).

> Hi! I'm setting up MalhaOS and the first-use diagnosis reported `<reason_code>` on mission `<mission>`. Could you check the board connection and mapping in our workflow, and whether I'm included as a member? Thanks!

**To your company manager** (M3b):

> Hi! I need access to read, create, and update issues in the `<name>` team or project on our board so I can work with MalhaOS. Could you grant it?

The LLM can write this request for you with the right details. While M2, M3, or M3b are pending, M4 stays blocked.

If you see `user_session_expired`, run `malha auth login` and approve in the browser.

## M4 · Create your onboarding issue

Once M1 through M3b are resolved, ask the LLM: “/malha-os-workflow create my onboarding issue.” In Codex CLI (terminal), use `$malha-os-workflow` instead of `/malha-os-workflow`; in the ChatGPT app (Codex), keep the slash. The LLM asks the workflow for authorization, creates the issue on the board, and starts working on it. That's your first real use of the flow.

Issue template:

> **Title:** MalhaOS onboarding · your name
>
> **Description:** First issue to validate my access to MalhaOS. The LLM should look up the workflow, comment on what it found, and point out the next stage.

It's a regular board issue. It follows your organization's workflow like any other.

## Picking up later

You can stop at any time. When you come back, send the [first message](mensagem-inicial) again or say “/malha-os-workflow let's pick up the first steps.” The diagnosis checks everything again and continues from the first pending mission. Nothing is saved between sessions.

## Status

- **Available:** the first-use diagnosis in the CLI and, from skill 1.7.0 on, the LLM guiding the missions on its own, one at a time, and checking again when you return from an external step.
- **Limitation:** the CLI doesn't access the board. M3b access is checked through the board tools in the LLM's session.
