Skip to content
Development
Skill

/thread

Persistent context threads for cross-session work that spans phases. Lighter than pause/resume.

From plugin
plan-build-run
1747 skills18 agents70 commands
Install
$ npx -y skills add SienkLogic/plan-build-run --skill thread --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/thread

Context preview

The summary Claude sees to decide when to auto-load this skill.

Persistent context threads for cross-session work that spans phases. Lighter than pause/resume.

SKILL.md

thread.SKILL.md
name: thread
description: "Persistent context threads for cross-session work that spans phases. Lighter than pause/resume."
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
argument-hint: "[name | list | resume <name>]"

**STOP — DO NOT READ THIS FILE. You are already reading it.**

/pbr:thread — Persistent Context Threads

Lightweight cross-session knowledge stores for work spanning multiple sessions that doesn't belong to any specific phase. Lighter than `/pbr:pause` (no phase state), richer than `/pbr:note` (structured sections).

Step 0 — Banner

╔══════════════════════════════════════════════════════════════╗
║  PLAN-BUILD-RUN ► THREAD                                     ║
╚══════════════════════════════════════════════════════════════╝

Subcommands

`/pbr:thread <name>` — Create thread

1. `mkdir -p .planning/threads` 2. Generate slug from name 3. Write `.planning/threads/{slug}.md`:

---
created: {ISO date}
updated: {ISO date}
status: active
---

# {Thread Name}

## Goal
{What this thread is tracking — ask user}

## Context
{Current state of the work — filled during creation}

## References
{Related files, phases, decisions — gathered from conversation}

## Next Steps
{What to do next — filled during creation}

4. Display: `Thread created: {name}`

`/pbr:thread list` — List threads

Scan `.planning/threads/*.md`, display name + status + last updated.

`/pbr:thread resume <name>` — Resume thread

1. Find `.planning/threads/{slug}.md` 2. Read and display Goal, Context, References, Next Steps 3. Thread context is now in the conversation — work can continue 4. Update the `updated` field in frontmatter

`/pbr:thread close <name>` — Close thread

Update status to `closed`. Optionally promote to phase or backlog.

Anti-Patterns

1. DO NOT use threads for phase-specific work — use pause/resume instead 2. DO NOT create threads for one-off notes — use /pbr:note instead 3. DO NOT auto-close threads — always ask user

Read more
Ships withplan-build-run

Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.

Get the whole plugin

Other skills on plan-build-run.