thread-bootstrap
Original:🇺🇸 English
Translated
2 scripts
Bootstrap a new thread from a goal, allocate a stable slug-tNN thread id, initialize thread files from templates, and honor env-driven defaults for thread creation.
2installs
Added on
NPX Install
npx skill4agent add texiwustion/thread-skills thread-bootstrapTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Thread Bootstrap
Use this skill to create a new thread when a goal should not be attached to an existing thread.
Core Rule
Allocate a stable once, initialize from , and stop before doing any goal work.
thread-idthreads/_template/Workflow
- Confirm already exists.
threads/_template/ - If the template root is missing, stop and hand off to .
thread-repo-bootstrap - Decide whether the goal belongs in an existing thread.
- If new thread is required, generate .
<topic-slug>-tNN - Create or checkout .
thread/<thread-id> - Copy and
threads/_template/memory.md.threads/_template/interrupt.md - Fill only the minimum bootstrap fields.
- Write the first stop point into .
interrupt.md
Rules
- Use by default.
THREAD_BOOTSTRAP_ID_STYLE=slug-tNN - Use to decide whether to switch branches automatically.
THREAD_BOOTSTRAP_AUTO_CHECKOUT=true - Use when set; otherwise use the repo default.
THREAD_BOOTSTRAP_TEMPLATE_ROOT=threads/_template - Repo bootstrap is a hard prerequisite; do not invent template files ad hoc during thread bootstrap.
- Never rename a thread after creation.
- Never add proposal or execution content beyond bootstrap state.
When To Load Reference
Load thread-bootstrap-rules.md when you need exact ID allocation, template, or branch rules.
Scripts
scripts/allocate_thread_id.pyscripts/bootstrap_thread.py