Skip to content
Back to skills

Talyn Thread

ASecurity

Use when you run in a Talyn thread, a conversation with no repository. Explains how to plan work across repositories, how to brief and start a session on each repository with talyn_create_session, why to end your turn instead of polling (Talyn wakes you when a session finishes, opens a pull request, has its pull request merged or needs an answer), how to review and report the results, and how to save decisions to thread memory.

  • 30 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentsgogitapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add Gilbert09/talyn --skill talyn-thread --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Talyn Thread?

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

Security grade badge for Talyn Thread
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gilbert09-talyn-thread/badge)](https://www.skillsdirectory.com/skills/gilbert09-talyn-thread)

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: talyn-thread
description: Use when you run in a Talyn thread, a conversation with no repository. Explains how to plan work across repositories, how to brief and start a session on each repository with talyn_create_session, why to end your turn instead of polling (Talyn wakes you when a session finishes, opens a pull request, has its pull request merged or needs an answer), how to review and report the results, and how to save decisions to thread memory.
---

# Run a thread

A thread is a Talyn conversation that is not tied to one repository. Its
sandbox has no clone. You can read every repository of the workspace, but you
do not change code here. Sessions do that.
Talyn does not post in Slack channels. Report in your reply. When the person asked for a Slack DM, also send it with `talyn_slack_dm`.

A session is a separate agent with its own sandbox, repository and branch.
It cannot see this thread. It sees only the brief you give it.

## 1. Plan

Before you start sessions, write the plan in your reply:

- the goal, in one or two sentences,
- one line per repository: what changes there and why,
- the order, when one change depends on another (for example, an API before its client),
- what you will check before you report that the work is done.

Find repository ids with `talyn_list_repositories`. When the plan needs
facts, read the code. Do not guess. `git clone --depth 1 https://github.com/OWNER/REPO /tmp/REPO`
works: the box's proxy signs you in. There is no `gh` login and no token in
this box. For search, use the GitHub REST API as the `talyn-multi-repo`
skill shows.

If the request is not clear, ask the person before you start sessions.

## 2. Brief each session

A session knows only its brief. Give it everything:

```
Goal: <one sentence for this repository>
Context: <the larger goal, and why this repository changes>
Scope: <the files and directories it may change>
Details: <names, interfaces, versions and URLs that must match the other repositories>
Acceptance: <the commands to run and what must pass>
Finish: open a pull request. Put <the related pull request URLs, if any> in its description.
```

## 3. Start the sessions

For each repository:

```
talyn_create_session
  repository_id: <id>
  agent: <the same agent as this thread, unless the person asked for another>
  prompt: <the brief>
  auto_create_pr: true
```

Talyn links each session to this thread. Write down each session id: it is
the first token of the output.

Limits:
- Sessions nest at most 2 levels below the one a person started.
- When `talyn_create_session` refuses for depth, tell the person.

Start only the sessions that can run now. When a change must wait for
another, start it after the first one finishes.

When this thread continues a session, some steps can wait for that
session's pull request to merge. Do not start them now. Say which steps
wait, and end your turn. Talyn wakes you when the pull request merges.
For a step that a person must do, such as a manual release, tell the
person when it is time.

## 4. End your turn

After you start the sessions, say what you started and end your turn.

Do not poll. Do not run `sleep`. Talyn writes a message to this thread when a
session finishes a turn, opens a pull request, has its pull request merged or
needs an answer, and that message starts your next turn.

## 5. When Talyn wakes you

The message names one session. Other sessions may also have changed.

1. List all sessions of this thread with `talyn_list_thread_sessions`.
2. For each session that changed, read its new events with `talyn_get_session_transcript`.
3. Read its pull request diff with `talyn_get_pull_request_diff`, or its changes with `talyn_get_session_diff`.
4. Check the work against the brief and the acceptance commands.
5. If a session went wrong, tell it what to change with `talyn_send_session_message`.
6. Start the sessions that were waiting for this one, or for its pull request to merge.

### When a session asks a question

A session asks with `talyn_ask_user`, and then waits. Talyn wakes you with
its questions and their options. The person sees the same questions in the
session and can also answer them.

1. Find the answer in the plan, in the brief, in what the person told you, or
   in the code. Do not invent a requirement that the person did not give.
2. If you know the answer, send it with `talyn_send_session_message`. Repeat
   each question and give its answer, for example `Which database?\n→ Postgres`.
   Talyn shows the message in the session as sent by this thread.
3. If you do not know the answer, ask the person with `talyn_ask_user`. Name
   the session, and copy its questions and options. When the person answers,
   send the answer to the session.
4. If the session already started a new turn, the person answered it. Do not
   send a second answer.

When a session stopped on a rate limit or a "usage limit" error, the code is not at fault:

1. Call `talyn_list_accounts`. It shows each account's usage, any hold, and the account each session runs on.
2. If the session's account is limited and another account of the same agent has usage, call `talyn_set_session_account` with that account.
3. Send the session a message with `talyn_send_session_message` to continue. Talyn also moves a turn to an account with usage when it starts.

Do not wait and retry on the same account.

## 6. Report

When every session is done, report to the person:

- one line per session: the repository, the session id, the pull request URL and its state,
- what is left, and who must act,
- the order to merge in, when it matters.

Add pull requests to the merge queue only when the person asked.

## 7. Save decisions

Save a decision that later turns of this thread must know with
`talyn_memory_write`. From a thread, an entry has the scope `thread` unless
you pass `scope: workspace`. Use the `talyn-memory` skill for what to save.

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.