> For the complete documentation index, see [llms.txt](https://docs.observal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.observal.io/cli-reference/recommend.md).

# observal registry recommend

List Registry components ranked for the signed-in user and record recommendation feedback.

## List

The direct and explicit list forms are equivalent:

```bash
observal registry recommend --output json
observal registry recommend list --limit 12 --type mcp --refresh --output json
```

| Option           | Description                                           |
| ---------------- | ----------------------------------------------------- |
| `--limit`, `-n`  | Number of recommendations, from 1 through 24          |
| `--type`, `-t`   | Restrict to MCP, Skill, Hook, Prompt, or Sandbox      |
| `--refresh`      | Recompute the work profile instead of using its cache |
| `--output`, `-o` | Table or JSON output                                  |

JSON returns the direct server object. Important fields include:

| Field                | Meaning                                  |
| -------------------- | ---------------------------------------- |
| `personalized`       | Whether ranking used the user's sessions |
| `profile_sessions`   | Session count behind the profile         |
| `topics`             | Dominant detected work topics            |
| `items`              | Recommended visible components           |
| `items[].reason`     | Server-provided explanation              |
| `items[].matched_on` | Terms from the user's own work profile   |

An empty `items` array is a successful result. It means either no visible components remain or everything applicable has already been installed or dismissed.

When `personalized` is false, results are popularity-based and must not be described as tailored.

## Dismiss

```bash
observal registry recommend dismiss skill acme/reviewer --output json
observal registry recommend dismiss mcp acme/postgres --action not_relevant --output json
observal registry recommend dismiss hook acme/guard --action installed --output json
```

Valid actions are `dismissed`, `not_relevant`, and `installed`.

JSON returns:

```json
{
  "component_type": "mcp",
  "component_id": "498c17ac-1234-4567-89ab-cdef01234567",
  "action": "installed"
}
```

Dismissals are scoped to the signed-in user. The CLI cannot inspect another user's recommendation profile.

## Exit codes

Invalid component types and actions use validation exit code 7. Authentication, permission, rate-limit, unavailable-service, and version-mismatch failures preserve the shared CLI exit contract. JSON failures leave stdout empty and write one error object to stderr.

## Related

* [`observal registry`](/cli-reference/registry.md): browse components directly
* [`observal outdated`](/cli-reference/outdated.md): check installed versions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.observal.io/cli-reference/recommend.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
