Skip to content
Back to skills

Thread List

ASecurity

Inspect or change the sidebar thread list's layout preferences: organization mode, sort, section order, hidden groups, collapsed groups, and thread row actions.

  • 6,450 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agentsgit

Works with

  • cli

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add get-bb/bb --skill thread-list --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thread List?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Thread List
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/get-bb-thread-list/badge)](https://www.skillsdirectory.com/skills/get-bb-thread-list)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: thread-list
description: "Inspect or change the sidebar thread list's layout preferences: organization mode, sort, section order, hidden groups, collapsed groups, and thread row actions."
---

# Thread list preferences

The Thread list plugin owns the sidebar's layout state. Read it with
`bb thread-list prefs list --json`; keys are `showProviderIcons`, `showRowMetadata`, `showEmptyProjects`, `threadLifecycles`, `organizationMode`,
`environmentGrouping`, `groupByReadStatus`, `chronologicalSort`, `sortDirection`, `sectionOrder`,
`manualSectionOrder`, `machineSectionOrder`, `hiddenGroups` (including the
built-in `threads` group), `rowActions`,
`collapsedSections`, `collapsedProjects`, `collapsedThreads`,
`collapsedEnvironments`, `collapsedThreadSections`, and `collapsedMachines`.

```sh
bb thread-list prefs list [--json]
bb thread-list prefs get <key> [--json]
bb thread-list prefs set <key> <value> [--json]
bb thread-list prefs reset <key> [--json]
```

`set` takes JSON; a bare word is read as a string, so
`bb thread-list prefs set organizationMode machine` and
`bb thread-list prefs set manualSectionOrder '["pinned","sections","threads"]'`
both work. A value the key's schema rejects fails with
`invalid_preference_value` and leaves the stored value alone. Every open
window applies a change immediately. Sections themselves and a thread's
section are bb core state: use `bb thread section` and `bb thread update`.

On first load the plugin copies any non-default `sidebar.*` values from
`bb settings ui` once; after that the two are independent.

Collapsed groups stay collapsed when background threads appear or become
unread. Their headers retain activity indicators. Opening a thread reveals
its containing groups in that window only; neither opening a thread nor
background activity changes collapse preferences.

`environmentGrouping` decides whether sibling threads sharing one worktree
collapse into a single row: `"auto"` (default) groups them in every
organization except chronological, `false` never groups, and `true` always
groups. Children sharing their parent’s worktree stay directly beneath the
parent without another worktree header. `sortDirection` is `default` (each field's natural order: newest first
for dates, A–Z for titles), `ascending`, or `descending`.

With the default direction in Updated at order, active threads come first
(newest-created first). Inactive
roots use their latest attention time; inactive children use the later of their
attention time and last status change, so successful completion moves a child
above older activity without making it unread. This applies at every nesting
level and beneath pinned roots. Reading or renaming does not move a child.

`hiddenGroups` (default `[]`) moves groups into More, the same as a group
menu's Hide from list. Keys are `threads`, `project:<projectId>`,
`section:<sectionId>`, and `machine:<hostId>` (`machine:no-machine` for the
unassigned group); `threads` applies in every organization. Pinned cannot be
hidden, hiding keeps a group's threads, order, and collapse state, and IDs that
no longer exist stay saved without producing rows. `set` replaces the whole
list across organizations, so include existing keys to keep them hidden;
`reset` shows every group:

```sh
bb thread-list prefs set hiddenGroups '["threads","project:proj_example"]'
```

The header's Filter menu selects Active, Archived, or both; at least one must
remain selected. `bb thread-list prefs set threadLifecycles '["archived"]'`
shows archived threads, and `'["active","archived"]'` shows both. The default
is `'["active"]'`. Archived results load in pages; use Show more at the end
of the list. The same preference is available through `setPreference` RPC.

Organized by project, the Filter menu's Empty projects item toggles
`showEmptyProjects` (default `true`). With
`bb thread-list prefs set showEmptyProjects false`, project groups with no
visible threads are left out; hidden threads and threads shown under Pinned
do not count. A project reappears once it has a visible thread.

Every write is broadcast on the plugin's `preferences` realtime channel as
`{ key, value, origin }`. `setPreference` takes an optional `origin` string
that the broadcast repeats, so an open window can ignore the echo of its own
write; CLI writes and resets broadcast `origin: null`.

`rowActions` picks up to three quick-action buttons a thread row shows on
hover, left to right before its actions menu, as thread action keys: bb's
`bb--core/split`, `bb--core/copyLink`, `bb--core/read`, `bb--core/pin`,
`bb--core/rename`, `bb--core/archive`, `bb--core/delete`, the list's
`thread-list/move` (opens a section menu), or another plugin's
`<pluginId>/<actionId>`. Bare legacy ids such as `archive` and `core/<id>`
keys still work. The default is `'["bb--core/archive"]'` and `'[]'` leaves
only the menu. For example,
`bb thread-list prefs set rowActions '["bb--core/pin","bb--core/archive"]'`.
In the app, a thread
row's actions menu has Customize actions, which turns that row's quick
actions into three editable slots in place; each slot picks an action, a filled
slot can Hide, and filled slots drag to reorder. Done, Escape, or a click
elsewhere finishes.

Organize → Rows → Provider icons toggles the icon before each thread title.
`showProviderIcons` defaults to `true`; use
`bb thread-list prefs set showProviderIcons false` to hide them. Unknown
provider ids have no icon.

Organize → Rows → Metadata adds a line under each thread's title where plugins
draw metadata, such as GitHub PR Status's pull request number. Rows grow to
two lines only when a plugin shows something for them. `showRowMetadata` defaults to `false`; use
`bb thread-list prefs set showRowMetadata true` to turn it on.

Organize → Groups → By read status lists threads that show the unread dot above
the rest, keeping the selected sort within each group. `groupByReadStatus`
defaults to `false`; use `bb thread-list prefs set groupByReadStatus true` to
turn it on. Parents start collapsed while it is on, without changing
`collapsedThreads`, and `environmentGrouping` is ignored. The open thread keeps
its place until another thread is opened.

New threads inherit the sidebar group where creation was invoked. Pinned
creates pinned threads; custom sections supply their section; project, machine,
and general thread groups start unsectioned and unpinned. Environment rows
reuse their environment and the containing group's placement. In Pinned,
they retain the group's common underlying section for unpinning; mixed-section
groups use no underlying section.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.