Pstack Omp 标志

Pstack Omp

社区
dsebban
pstack-omp

适用于 poteto-mode 的 OMP 适配器。将标准 pstack 角色和生命周期协议映射到当前 OMP 任务智能体、批处理、隔离、agent:// 后续任务和持久化结果资源。

Add to TypingMind

概览

发布者dsebban
代码仓库skills
技能名称pstack-omp
星标数
72
复刻数
6
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dsebban/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/pstack-omp .claude/skills/pstack-omp
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

pstack on OMP

poteto-mode is the sole router. It selects the playbook, canonical role, step order, and lifecycle protocol. This adapter translates those choices to OMP only. It never selects a playbook, repeats the playbook index, or changes a playbook gate.

While this skill is active, its role map is the specific pstack execution contract. Generic OMP instructions remain valid outside pstack work.

Canonical role map

Use these exact OMP agent names.

Canonical roleOMP agent
explorerscout
watcherscout
plannertask
designertask
reviewerreviewer
researcherlibrarian
synthesizerreviewer
implementerpoteto-agent
ownerpoteto-agent
mechanicalsonic

Role responsibilities live in skill://poteto-mode. This table only names the agent.

The canonical OMP roster is closed:

text
scout
reviewer
security-reviewer
librarian
task
sonic
poteto-agent
comment-sicko
seance

A canonically routed task item's agent value must be one of those bundled names. Canonical role labels and model aliases are not agent names. task is the default worker, so omit agent for it.

poteto-agent runs implementer and owner work in poteto's style. comment-sicko audits comments for imported skills that name it directly.

Planning and design

The imported warning about a built-in planning subagent describes a source-host mechanism that bypassed the skill contract. This OMP version has no bundled plan agent and no designer agent. Canonical planner and designer work uses task. The brief carries the specialization, such as technical planning or visual and interaction design, and no source-host subagent fields.

Security review

Use security-reviewer for an independent security lane. Keep it read-only and separate from ordinary code review when both are required. A later reviewer session may synthesize frozen reports; it does not replace the primary security review.

Task contract

The root performs every task call. A child never calls task, starts another child, or asks the user directly. Put Do not call task or start subagents under FORBIDDEN in every child brief. task.maxRecursionDepth permits nesting, so the brief is what keeps the tree flat, not the host.

Children start without the parent conversation. Every prompt must stand alone. They receive the configured workspace, context files, skills, and approved plan resources supplied by OMP.

Call shape

One task call is a batch. context is shared immutable background rendered into every child's system prompt; tasks[] carries the participants. A single dispatch is a one-item batch, not a different schema.

json
{
  "context": "Repository root, base SHA, frozen artifacts, constraints, and verification context shared by every item.",
  "tasks": [
    {
      "name": "ParserOverflowFix",
      "solutionSpace": "one fix: bounds check in parse_header, call site given",
      "task": "GOAL\n...\n\nROLE\n...\n\nSCOPE\n...\n\nCONTEXT\n...\n\nACCEPTANCE\n...\n\nVERIFY\n...\n\nTIMEBOX\n...\n\nFORBIDDEN\n...\n\nREPORT\n...\n\nSTANDING\n..."
    }
  ]
}

Required per item: task and solutionSpace. solutionSpace states how open-ended the child's problem is, not how much work it is: whether the fix is given, or which causes and designs remain open. It never mentions sibling items or coordination.

name is CamelCase, at most 32 characters, unique within the call. It becomes the child's agent:// identifier, so choose a name the root can still recognize an hour later.

Optional fields exist only when their setting is on. Check before writing one:

  • isolated requires task.isolation.enabled and no plan mode. Use it for a writer that needs a dedicated worktree, then verify the patch, branch, or applied change OMP reports. A long-lived owner that must accept follow-ups in the same workspace stays non-isolated.
  • effort (lo, med, hi) requires task.enableEffort. When it is off, reasoning depth comes from the agent's configured model role, not from the call.
  • outputSchema and schemaMode require task.structured.
  • tools exposes eval-defined tools to the child.

Never put a model field in a task item. OMP has none.

Keep briefs short and route bulk through local://<name>.md, which parent and children share. Do not paste a large payload inline.

Batched panel

Use one batch call for independent participants:

json
{
  "context": "Shared immutable repository, base SHA, artifacts, constraints, and verification context.",
  "tasks": [
    {
      "name": "CandidateA",
      "solutionSpace": "architecture open; candidate A explores the event-sourced shape",
      "task": "Standalone brief for architecture candidate A."
    },
    {
      "name": "CandidateB",
      "solutionSpace": "architecture open; candidate B explores the state-machine shape",
      "task": "Standalone brief for architecture candidate B."
    }
  ]
}

Each name is unique. context contains common immutable material. Each item still names its exact role, slice, acceptance criteria, verification, forbidden work, and report contract.

Start every participant in one batch before consuming any verdict. Separate writers with isolated workspaces or disjoint output paths. Freeze candidate artifacts before starting reviewers. Freeze reviewer reports before starting a separate synthesizer session.

task.maxConcurrency caps simultaneous children at 32 by default; a larger batch queues rather than failing.

Background completion and follow-ups

Spawns run as background jobs and their results auto-deliver. Record the returned job and agent identifiers. The delivered preview may be truncated.

  • Read the full result from agent://<id>. Nested children are agent://<parent>.<child>.
  • Read the session transcript from history://<id> when the report is incomplete, ambiguous, or suspicious.
  • read proc:// lists live jobs and read proc://<id> inspects one without consuming its delivery.
  • write agent://<id> sends one in-scope correction, answer, authorization, or next coupled phase. It revives a parked session. agent://all broadcasts and is write-only.
  • write proc://<id>/kill cancels stale, superseded, or scope-breaching work.
  • Call wait only when the root is blocked with nothing else to do. Never poll.
  • Never steer a reviewer toward a preferred conclusion.
  • Ignore duplicate terminal deliveries and reject stale artifact generations.

A task result is evidence, not completion. The root inspects the artifact and runs verification.

Brief shape

A dispatch is forbidden until its brief contains:

GOAL
One-sentence outcome executable by a stranger.

ROLE
The canonical role, mapped OMP agent, authority, and expected stance.

SCOPE
Writable and non-writable paths, exact slice or race arm, worktree and branch where applicable, and every output path. State the one-writer assignment.

CONTEXT
Repository root, relevant source paths, base SHA, frozen artifacts, active skill and playbook paths, settled assumptions, and known gotchas.

ACCEPTANCE
Checkable observable outcomes, one per line.

VERIFY
Exact commands, fixtures, runtime probes, comparison baselines, environment requirements, and known false-positive or false-negative risks.

TIMEBOX
A rough cap. At the cap, return partial evidence and stop instead of broadening scope.

FORBIDDEN
At minimum: no child task calls; no subagent spawning; no out-of-scope fixes; no unrequested migrations; no shared-path edits outside ownership; no merge; no direct user questions; no completion claim without executed verification.

REPORT
Require PASS | ISSUES | BLOCKED, semantic session name, branch and exact SHAs where applicable, verdict and evidence, changed files or artifacts, actual verification commands and results, deviations, unresolved risks, and parent actions.

STANDING
Copy the active playbook's standing policy text verbatim when it supplies one.

Canonical protocols

Bounded session

  1. Author one standalone brief.
  2. Start one task with the mapped agent.
  3. Record its semantic name, agent ID, job ID, role, scope, isolation mode, base SHA, and expected artifact.
  4. Consume the async result when delivered.
  5. Read agent://<id>; inspect history://<id> when needed.
  6. Send one write agent://<id> correction only within the same unit.
  7. Inspect the artifact and independently run the promised verification.
  8. Accept the unit only after the parent verifies the reported output.

A role or unit change requires a fresh task.

Panel

  1. Partition independent slices or race arms with one task item per participant.
  2. Start every participant in one batch before consuming any result.
  3. Track participants by semantic name and identifiers, never arrival order.
  4. Let results auto-deliver; wait only when nothing else can proceed, and cancel an abandoned arm explicitly with write proc://<id>/kill.
  5. Ignore duplicate terminal delivery.
  6. Freeze implementation artifacts, branches, head SHAs, reports, and hashes.
  7. Start every independent reviewer in a new batch only after the candidates are frozen.
  8. Freeze verdicts before starting a separate reviewer when synthesis is needed.
  9. Treat synthesis as advice. The root selects and verifies.

Do not mix implementers, reviewers, or synthesizers in one session. Do not let reviewers race a moving head.

Long-lived owner

  1. Start one non-isolated poteto-agent session with the complete owner brief.
  2. Record its agent ID and reuse it. Do not start a sibling owner for the same unit.
  3. The owner works only in its assigned branch and paths and never starts children.
  4. Send a write agent://<id> follow-up only for the next coupled phase, an in-scope correction, an answer resolved from evidence, or explicit authorization.
  5. Require a terminal report at each verification boundary.
  6. Independently verify the boundary before authorizing the next phase.
  7. Stand down on ownership violation, stale generation, or terminal scope breach.

One-shot watcher

  1. Start one background scout task.
  2. Put the exact branch, head SHA, generation, watched predicate, stop predicate, and timebox in the brief.
  3. Require one meaningful event and a terminal report.
  4. Discard a report whose generation no longer matches.
  5. Start a fresh watcher for each new generation.
  6. Stand down when the stop predicate is met or the work is superseded.

A watcher observes. It does not fix, merge, authorize, or silently follow a changed head.

Interactions and decisions

Children resolve uncertainty from source, standing policy, frozen evidence, or the brief. Otherwise they use the safest reversible interpretation and report the assumption, or return BLOCKED with the exact missing decision and evidence gathered.

The root resolves a child question and sends the answer with write agent://<id> to the existing agent. Ask the user only for genuine product preference, unavailable authority, or an irreversible action not covered by standing orders.

Ownership and verification

  • One writer per branch, worktree, mutable state, and output path.
  • Separate sessions own implementation, review, judgment, and synthesis.
  • A task stays inside its assigned unit and role.
  • Isolate concurrent writers unless their outputs are structurally disjoint.
  • A worker's report never verifies its own work.
  • Record branch, base SHA, and exact head SHA or artifact generation.
  • Prefer behavioral proof over type-check-only evidence.
  • A new commit, restack, conflict resolution, or applied patch creates a new generation that voids the prior verdict.
  • Judges and synthesizers advise. The root owns selection, user interaction, external writes, merges, deletion, and final truth.
  • Claim model independence only from returned resolved-model and fallback metadata.

Model routing

OMP resolves a task agent through its current settings, including modelRoles, task.agentModelOverrides, the agent definition, and normal fallback. Agent selection and model selection are separate decisions.

Do not put a model field in a task item. Do not use a model alias as the agent value. Configure routing with /skill:setup-pstack, which writes both records into the active profile's config.yml after validating every selector against the detected catalog.

/skill:setup-pstack --show prints the live agent-to-role mapping. These are settings, not task payload fields. When a playbook requires model independence, read the resolved model each child reports; if two panel agents resolve to the same model, say so rather than claiming a second opinion.

Writing

Apply unslop (skill://unslop) to every reply, brief, report, review, task dispatch, commit message, and agent-facing edit.

常见问题

Pstack Omp AI 技能有什么作用?

适用于 poteto-mode 的 OMP 适配器。将标准 pstack 角色和生命周期协议映射到当前 OMP 任务智能体、批处理、隔离、agent:// 后续任务和持久化结果资源。

为什么在 TypingMind 中使用 Pstack Omp?

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

如何在 TypingMind 中安装 Pstack Omp?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/dsebban/skills/tree/main/skills/pstack-omp。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pstack Omp?

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

Pstack Omp 可以搭配多少个 AI 模型使用?

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

Pstack Omp AI 技能免费吗?

是的。dsebban 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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