Skip to content

Still confused about Task / Sub-Agents and how to properly clean Skills & Workflows from unavailable tools #15

@HaroldFinchIFT

Description

@HaroldFinchIFT

Hi again 👋

I’m still a bit confused about the overall tools / agents / workflows setup, and I think there’s some hidden coupling with tools or services that aren’t available in my environment.

I’m running PAI-OpenCode locally with:

  • Local models only
  • No Claude / Perplexity / external subscriptions / APIs

After a fresh install things mostly work, but the LLM still sometimes tries to use tools or agents that don’t exist in my setup.


Task tool confusion

I see Task mentioned in several skills/workflows, and sometimes the LLM tries to call it, but it fails.

Image

My questions are:

  • Is Task supposed to be a built-in tool?
  • Does it need permissions like websearch?
  • Or is it a leftover reference from other environments (Claude, etc)?

Sub-agent not found

Sometimes the model tries to spawn a sub-agent that doesn’t exist and fails.

Image

Am I missing some registration step for agents, or is this just a dangling reference inside workflows?


Cleaning skills/workflows from unavailable services

This is probably the main point 🙂

Some skills/workflows still reference:

  • Claude
  • ClaudeResearch
  • Perplexity
  • other online services

Since I’m fully local, I tried to clean them manually with the help of the model, but I’m not satisfied and I’m pretty sure I broke parts of the intended flow.

So I’d really appreciate some guidance on:

  • Best practices to remove unused tools/workflow/depending third-party paid service skills safely
  • How to audit workflows/skills for invalid references
  • What is safe to delete vs what is core
  • Whether there’s a “minimal local-only” configuration pattern

Right now it feels easy to accidentally create invisible breakpoints in PAI’s logic.

My goal is a minimal setup, keeping the core features of PAI, without add-ons that I currently can’t use (maybe in the future).


Let me know if you can point me in the right direction.
Thanks again for the work on PAI-OpenCode!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions