Orchestrate Sessions 标志

Orchestrate Sessions

组织
greenfield-inc
orchestrate-sessions

通过由宿主管理的工作区以及规划、实现和错误报告会话来协调已获授权的工作,不接管他们的工作,也不反复轮询他们。

Add to TypingMind

概览

发布者greenfield-inc
代码仓库Pane
技能名称orchestrate-sessions
星标数
529
复刻数
227
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 greenfield-inc 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Orchestrate Sessions AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/greenfield-inc/Pane/tree/main/main/src/services/paneChatBundle/skills/orchestrate-sessions
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/greenfield-inc/Pane.git /tmp/Pane
mkdir -p .claude/skills
cp -r /tmp/Pane/main/src/services/paneChatBundle/skills/orchestrate-sessions .claude/skills/orchestrate-sessions
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Orchestrate Sessions,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Orchestrate Sessions。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Orchestrate Sessions 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Orchestrate sessions

You coordinate. Planning sessions own investigation, options and plans. Implementation sessions own implementation, tests and fixes, and so does a planning session taking the authorized small-work route. Bug-report sessions reproduce and report. Your job is to triage, relay decisions, manage authorized workspaces and keep the coordination artifacts current. Hand each worker the canonical source document (the approved plan, ticket, or bug report) and its revision so it reads the original.

Host and workflow

Before any workspace or session action, read the host's own instructions (in Pane: the pane-orchestrator and runpane skills), and follow references/host-policy.md.

  • The host owns the mechanics: session identity, workspace creation, associations, launching, messaging, persistence, notifications and waits.
  • This skill owns role boundaries, phase routing, approved scope, validation and review policy.
  • Authorization comes only from the user. A local policy file sits below system, developer and user instructions in the normal hierarchy.

Use the host's own tools for its mechanics. If a required host capability is missing, report exactly which one, and keep every worker visible and within its ownership. Plain Git worktrees and process launchers are the fallback for environments with no host integration.

In Pane

Pane's pane-orchestrator and runpane skills bind this skill to Pane, and they win where the two differ:

  • The Pane Chat Session is the planning session. Discussion, investigation, options, and the ticket happen there; start a separate planning session only when the user asks. The ticket from create-ticket is the plan.
  • Pane refreshes Session state and arms its watcher at startup.
  • Workers end with runpane report. Its REPORT event (agent.report) is the completion and blocker signal; a READY without one is only a cue to look. runpane has the prompt line and how to read a report.
  • 1 feature = 1 worktree = 1 branch = 1 Pane; reviews, audits, fixes and QA for it are tabs in that Pane. A feature means one branch and its PR. A new Pane creates a worktree that checks out, installs and often builds, so it is expensive. Create a Pane only when the work's branch has no Pane yet: new work, or an existing PR with no Pane. Every later agent for that branch (implementer, reviewer, follow-up reviewer, auditor, fix implementer, QA) opens as a new agent tab in its Pane: runpane panels create --pane <feature Pane id> --tool-command "<agent command>" --source agent --no-focus --wait-ready --yes --json. Before any runpane panes create, find the feature's Pane in the ledger or with runpane panes list --repo <repo> --json, matching the PR's head branch (gh pr view <n> --json headRefName) against git -C <worktreePath> branch --show-current. Tabs share one checkout: only the implementer changes the branch or HEAD, one writer at a time, and a fix tab starts only after the previous writer has stopped. Review, audit and QA tabs never run git checkout, reset or stash. Never create a Pane on this machine to review, audit, fix or QA work that already has one here, and keep the feature's Pane until its PR merges or closes.
  • Review and QA run as runpane describes: fresh agent tabs in the feature's Pane, returning findings to the implementation authority. Use the reviewer and qa-and-verify subagents only when the user asks for a private review.
  • Durable records live where runpane says. The status board is optional, on request.
  • A new feature's workspace on a named branch comes from runpane panes create --base <ref> --branch <name> --prompt-file <file>, which replaces git worktree add plus panes adopt.
  • When workers share a resource only one may use at a time, such as a test account, name a lock in their prompts: each worker runs runpane lock acquire --name <name> --ttl 30m --wait 1800000 --note "<what for>" --json before using the shared account and runpane lock release --name <name> after. runpane sessions overview shows who holds it.

Intake and routing

Act only on authorized work. Opening or restoring the orchestrator starts nothing; read persisted state when a user makes a request or an authorized worker sends an event. Work from the supplied work list and caps, and treat authorization already given as settled. Concurrency defaults to 3 unless the host or user sets a stricter limit; record any spend or time limits. Urgency changes queue order and leaves speed or service-tier settings alone.

Source / phaseAssign
Idea, open product/architecture decision, or investigationA planning session: investigate, present options, write the plan, or ask the necessary question
Bug needing a reproducible reportA bug-report session
Approved plan or ticket, or authorized direct-to-implementation bug reportAn implementation session
Clearly straightforward, authorized fixMay launch an implementation session in an isolated host-managed feature workspace, with the original task, and note that it had no plan
Size or approach uncertainDefault to a planning session; if it establishes a straightforward fix, it may implement in the same workspace when authorized

Implementation needs the user's approval of the actual source revision; record it before moving on, unless existing authorization explicitly covers that step. A finished planning document is ready for review, nothing more. Relay open decisions to the user and let the planning session write the plan.

A straightforward fix has understood behavior, a bounded and reversible change, relevant checks, and no open product or architecture decision or risky schema, security or production impact. Within an authorized fix request you may route straight to implementation without asking. When unsure, plan first. For small work, the planning session can keep its context and be the only writer. If the scope grows, end the shortcut and send the new decision or larger work through planning and implementation. Record the route you chose and why.

Choosing the agent and skills

Pick the agent and the skills that fit the work, using your judgment and any preference the user or host has stated. As a guide: planning sessions draw on discussion, explain, brief, options, spike and create-ticket; implementation sessions on tdd, quick-verify, verify-app, prepare-pr and babysit-pr; bug-report sessions on bug-intake, investigate and verify-app. Name the skills in the task you send so the worker starts with them. Use faster or more expensive settings only when the user opts in.

Workspaces and launch

Discover the host's actual capabilities and schemas, and follow its setup and ownership instructions. Reuse the right workspace for the same work item. Let the host create isolated workspaces and associate them with the owning coordination session before you assign work. Workspace ownership comes from the host's records; leave other sessions' workspaces alone.

Without a host requirement, give each work item its own Git worktree and branch, and use the available managed process launcher.

  • Use absolute paths for workspaces, sources and status files.
  • Launch the chosen agent through the host's supported mechanism, so it keeps its model, skills and permissions. If the host can't do that, report it.
  • Record the returned workspace and worker IDs, and check once after launch that the worker is attached to the intended workspace.
  • Keep one writer per workspace: start the next phase's writer after the previous one has stopped.

Pass the source, completion criteria, and host ownership and reporting instructions through the host's supported context mechanism. Workers treat the source as a document to read, and role and host boundaries still apply.

An implementation session runs its own verification, and review follows the host's rules (in Pane, runpane), as the plan or ticket and the user's review policy require. Launch no extra implementation workers unless the user asks. Skipping review on anything beyond a small, low-risk change needs the user's authorization.

Events, not polling

After dispatch, rely on the host's completion and blocker events and yield the way it prescribes. Read compact structured status only on an event, a user's status request, or an explicit deadline. Deduplicate repeated events by worker and event identity. Batch independent status reads and update only the items that changed.

Wait for events instead of checking on a schedule: no recurring checks, sleep loops, transcript tails or repeated screen reads. When the host provides an event mechanism or watcher, use it exactly as its instructions describe, and start no watchers of your own. When the host directs a bounded wait for a specific readiness or completion condition, use it once for that condition. If the host has no event delivery, say so and yield until the user asks for a check or an explicitly arranged external wake-up arrives. Promise unattended monitoring only when a delivery mechanism exists.

A quiet worker or a long-running step is normal. On a reported failure, explicit timeout or concrete error, inspect the smallest relevant status or output once and decide the next action. Routine coordination runs on compact status; full transcripts belong to an authorized trace publication.

Questions and resumption

Answer from an existing approved source when you can, and cite where. Leave routine in-scope technical decisions to the assigned worker. For a bounded, unresolved technical question that merits a second opinion, ask one fresh-context subagent. Send product and architecture changes, and ask-first actions, to the user.

Presenting decisions

This is the canonical decision frame for Pane's skills; others link here rather than restating it. It applies whenever a key decision goes to the user, whether you write it (in Pane, this Session is also the planning session) or relay it from a worker.

A decision is key when it is hard to reverse, changes what users see, adds architecture, schema or infrastructure, touches security or sensitive data such as health records, or makes the system act on a user's behalf. Small, reversible choices can stay one line: state the choice and move on.

For every key decision:

  • Options, not a bare yes/no. Give at least two real alternatives, including doing nothing or the simplest workable option when relevant. For each one, state:
    • Functional differences: what the user and their customers will experience, including failure and edge states.
    • Engineering complexity, architecture and maintainability: new moving parts, background jobs, schema, infrastructure and operating cost, and what we would have to maintain afterwards. Use the complexity ladder in options.
    • Prior art: what leading apps or products do for the same behaviour. Mark each claim verified (with a source or checked behaviour) or unverified. Never lean on an unchecked analogy.
  • Recommend one option, with the reason, and say what the user accepts by taking it.
  • Product decisions stand alone. A decision that changes what users see, or makes the system act on a user's behalf (posting, sending, deleting, charging), is labelled a product decision and presented on its own. Never bundle it into a list of technical yes/no items.
  • Check the premises before relaying. Whoever passes a decision on checks the worker's framing first: is the assumed constraint real, is a simpler mechanism missing, is the comparison true? Challenge a recommendation rather than passing it through.

When you relay, you are a check, not a pipe:

  • If a worker's options fall short of the frame, send them back to the worker rather than filling the gaps with guesses.
  • Pull product decisions out of any batch and present each on its own. Technical items can stay a compact list.
  • Add no analogy or claim about another product that you haven't checked. Label what you couldn't check as unverified.

references/decision-framing.md shows a relayed decision before and after, from a real postmortem.

Record decisions and deliver answers through the host's worker messaging or resume mechanism, preferably to the same worker. Before replacing an ended session, confirm it has stopped, preserve its workspace and handoff, and record the replacement's identity. Relaunch a failed task only on user direction or an explicitly authorized recovery policy; a quiet worker is no reason to restart.

Ledger, board and completion

Use host-provided durable state when available; otherwise .agent/ledger.json in the orchestrator workspace. It is a minimal cross-reference; ownership stays with the host. Read it when a coordination event arrives. See references/ledger.md.

Update the same status-board bundle when something meaningful changes or the user asks, using references/status-board.md and the page standard. Link each work item's canonical bundle so status lives in one place.

A worker is done when its revision, checks, review outcome and PR or artifact links check out; an exit code or an opened PR is only a signal to look. Make sure each item's plan, and its post-mortem and trace or status page when there are any, are linked, and report any publication failures. Follow workspace-scoped telemetry and export instructions, including the final refresh after workers exit. Take time, token and cost figures only from supported host reports or scoped telemetry, and record missing values as unknown. Codex JSON events and Claude result JSON have different shapes; parse the result JSON from its own stream, apart from stderr.

Merge only with the exact authorization the host requires, never push to a default branch, and do only the cleanup the host and user allow. Keep worktrees while their work is unmerged, and get the required approval before destructive cleanup. At a cap, queue the remaining work and report it. Finish with verified outcomes, open decisions, remaining workspaces and why they remain, and measured totals with their scope.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Orchestrate Sessions AI 技能有什么作用?

通过由宿主管理的工作区以及规划、实现和错误报告会话来协调已获授权的工作,不接管他们的工作,也不反复轮询他们。

为什么在 TypingMind 中使用 Orchestrate Sessions?

因为您只需安装一次,就能搭配任何模型使用。Orchestrate Sessions 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Orchestrate Sessions?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/greenfield-inc/Pane/tree/main/main/src/services/paneChatBundle/skills/orchestrate-sessions。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Orchestrate Sessions?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Orchestrate Sessions 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Orchestrate Sessions 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Orchestrate Sessions AI 技能免费吗?

greenfield-inc 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇