# Browse steps and presets

> Find a published step or preset, see what it does, takes and asks for, and get your own listed.
> **Available** on branchd.run to everyone signed in. Signed out, only global entries show, and there are none until a step repository is made public.

**[Steps & presets](https://branchd.run/-/steps)** on branchd lists every
published step and preset you can use. Each entry shows what it does, its
inputs and outputs with their types, the secrets and product credentials it
asks for, the capabilities its repository's grant allows, its versions with
release notes, a snippet to paste into a pipeline file, who publishes it,
and how many repositories ran it in the last 30 days.

## What you see

You see an entry when you can read its repository's code. For everyone
else it does not exist: it is not in search results, and its page is not
found.

Each entry carries a **scope**, taken from its repository's visibility:

| Scope        | The repository is                          | Shown to                                            |
| ------------ | ------------------------------------------ | --------------------------------------------------- |
| Global       | public, with code public                   | everyone, signed in or not                          |
| Organisation | organisation-visible, with code open to it | everyone signed in to branchd's organisation        |
| Company      | company-visible, with code open to it      | the teams of the publisher's company                |
| Team         | private, or code kept to members           | the publishing team, and people it has given access |

A Team entry you reach through an access grant, not as a team member, is
labelled **shared with you**. The page has a section per scope, and shows a
section only when it has entries for you.

A **verified publisher** mark means a branchd administrator has verified the
publishing team. It changes nothing else: it does not decide who sees an
entry or whether it runs.

## From the command line

```sh
branchd ci steps search deploy            # find steps and presets
branchd ci steps search --kind preset --scope global
branchd ci steps show branchd/steps/deploy/gitops-flux
branchd ci steps show branchd/presets/library@v1.0.3
```

`--json` prints the forge's answer for scripts and agents. An agent on the
Xeonr MCP gateway has the same reads as `forge_search_steps` and
`forge_get_step`.

## Getting yours listed

There is no submission. A version is listed once it is published:

- **A step** when its repository's release run publishes it from a version
  tag ([Writing a step](https://docs.branchd.run/branchd/pipelines/writing-a-step)).
- **A preset** when a version tag of a repository whose
  `.branchd/packages.yaml` lists it is pushed, within the hour
  ([Writing a preset](https://docs.branchd.run/branchd/pipelines/writing-a-preset)).

Only directories `.branchd/packages.yaml` lists are listed. A repository's own
`.branchd/steps/` are never listed. To list globally, make the repository
public with code public. Anyone may publish globally, and no verification is
needed.

### Listed well

The catalogue shows what your directory documents. These make a listing
useful, and entries that have them rank higher:

- a **human `name:`** that says what it does ("Build an image"), not an
  alias such as `ci/image-build` and not the directory's name;
- a **`description:`** of a sentence or two;
- a **`README.md`** beside `step.yaml` or `preset.yaml`, rendered on the
  entry's page;
- an **example** in the README: a `yaml` block that writes
  `uses: <your address>@v1`, shown above the generated snippet;
- a **description on every input, output and secret**;
- for a product credential, the **`scope`** it needs;
- for a preset, its **jobs** (`preset.Address`) and the **steps** it runs
  (`preset.Steps`).

To see what your listing lacks, run this in the step's or preset's directory.
It reads what you have pushed:

```sh
branchd ci step lint
```

The repository's maintainers also see the findings on the entry's page.
Findings never block a publish.

Source: https://docs.branchd.run/branchd/pipelines/steps-and-presets
