Logo von Wb Exec

Wb Exec

Community
Luminousyyh
wb-exec

Delegate bounded coding, refactoring and test-writing tasks to a headless CLI executor (WorkBuddy by default, or codex/claude/aider/custom) and collect a structured result plus the real diff. Use when the task can be finished independently, the file set is enumerable, and the host agent only wants to plan and review instead of writing code itself.

Übersicht

HerausgeberLuminousyyh
Repositoryskill-wb-exec
Skill-Namewb-exec
Sterne
155
Forks
0
Mitgelieferte Dateien
11
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 11 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von Luminousyyh auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Wb Exec in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Luminousyyh/skill-wb-exec/tree/main/skills/wb-exec
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Luminousyyh/skill-wb-exec.git /tmp/skill-wb-exec
mkdir -p .claude/skills
cp -r /tmp/skill-wb-exec/skills/wb-exec .claude/skills/wb-exec
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Wb Exec in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Wb Exec automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Wb Exec nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

wb-exec

You are the host: you plan, supervise and review. The WorkBuddy subprocess does the implementation; you do not write business code yourself.

Always address the script through this skill's absolute directory, never through the terminal's current directory:

python <SKILL_DIR>/scripts/wb_exec.py <subcommand> ...

On Windows, if python is not on PATH, use py -3 or the absolute path of a local Python.

0. Self-check first (at most once per session)

python <SKILL_DIR>/scripts/wb_exec.py doctor

Returns JSON with ok / cli (the resolved entry point) / cli_version / git / is_git_repo / state_root. ok=false or a non-empty cli_error → stop, report the raw output to the user, and do not install or reconfigure anything yourself.

doctor proves the CLI is present and answers --version. It does not prove authentication, quota or model access — a run can still fail after a clean self-check, and that failure belongs in stderr.log, not in a guess.

1. Write the task package (this is your most important job)

The task package is JSON; field definitions are in references/protocol.md and an example is in assets/task.example.json. Three hard rules:

  1. goal says in one sentence what changed once the work is done. No implementation steps.
  2. owned_paths must be enumerable. For a directory write src/auth/; for a file write the full path. An empty list means the executor may only create new files.
  3. acceptance is executable commands (pytest -q tests/test_auth.py), never "make sure it works".

Write the package to a file first (for example .wb-exec/tasks/001.json), then dispatch. Never stuff the package into command-line arguments.

2. Dispatch

Long jobs — most of them — go to the background:

python <SKILL_DIR>/scripts/wb_exec.py dispatch --task .wb-exec/tasks/001.json --cwd <repo>

Short jobs can be waited on in the foreground:

python <SKILL_DIR>/scripts/wb_exec.py run --task .wb-exec/tasks/001.json --cwd <repo> --timeout 600

Common flags:

  • --dry-run: print the argv that would run, to confirm paths and flags; starts nothing.
  • --worktree off: disable isolation (only when the directory is not a Git repository, or when you explicitly accept in-place changes).
  • --timeout: seconds, default 1800.
  • --executor: which CLI runs the task. workbuddy (default), codex, claude, aider, or custom. WB_EXECUTOR sets the same default through the environment.

The workbuddy backend is pinned: WorkBuddy / DeepSeek V4.1 Flash at effort max, hard-coded, with no --model or --effort flag. When the account or plan refuses that model the run fails — do not retry with another model. Report stderr.log to the user. The other backends use whatever their own CLI is configured with; wb-exec injects no model or effort for them, so do not claim a specific model on those paths.

Do not switch backends to "make it work" after a failure. Pick the backend the user has installed, and only change it when the user asks.

3. Supervise

python <SKILL_DIR>/scripts/wb_exec.py status --job <JOB_ID>
  • running: normal. Look again in 30–60 seconds; never poll per second.
  • stalled: the heartbeat is older than 90 seconds. collect first to see where it stopped, then decide whether to cancel and re-dispatch a smaller package, or re-run at another effort tier.
  • cancel_requested: the cancellation flag is written; waiting for the process to exit.

Cancel:

python <SKILL_DIR>/scripts/wb_exec.py cancel --job <JOB_ID>

4. Collect and review

python <SKILL_DIR>/scripts/wb_exec.py collect --job <JOB_ID> --wait

Result shape (excerpt):

json
{
  "ok": true,
  "status": "done",
  "result": {
    "summary": "Added token validation middleware and 3 tests",
    "changed_files": ["src/auth/mw.py", "tests/test_mw.py"],
    "tests": [{"cmd": "pytest -q tests/test_mw.py", "status": "pass"}],
    "blockers": []
  },
  "result.artifacts": {"patch": ".../change.patch", "stdout": ".../stdout.jsonl"},
  "result.violations": ["src/billing/x.py"]
}

Review discipline:

  1. Read the patch yourself before judging. artifacts.patch is the real diff; summary is only the executor's own account. When they disagree, the diff wins.
  2. A non-empty violations means the executor wrote files outside its assignment. Do not quietly accept it and do not revert it yourself — report it to the user first.
  3. A pass inside tests is not independent verification. After integrating, run the acceptance commands yourself in the main working tree.
  4. Integration is yours: git apply --check → git apply → run acceptance → report. Do not run git commit or git push; that requires an explicit request from the user.

5. Boundaries (violating them causes incidents)

  • Never recurse: the executor is already forbidden to dispatch, and you must not dispatch a second task over the same files while a worker is running.
  • Git isolation starts from HEAD: it does not copy the user's uncommitted edits. If the task needs files that are not committed yet, commit or stage them first, because the worktree will not contain them and the run will fail on a missing input.
  • A failed isolation attempt stops the job: the script aborts instead of falling back to editing the source tree in place. Never work around that by re-running with --worktree off unless in-place execution is what the user actually authorised.
  • Never trigger dispatch from inside a WorkBuddy / CodeBuddy session: the child process collides with that session's daemon and hangs with zero output — measured at 45–300 seconds with no stdout or stderr at all. Call this script from the host agent or a normal terminal.
  • Never modify the same file in parallel: the owned_paths of concurrent jobs must not overlap; overlapping work is serialised.
  • Never return full logs to the user: give summary, the relevant tests and violations. The logs stay in the artifacts paths for on-demand reading.
  • Never re-run by hand with -y: the script already handles the permission flags; bypassing the script bypasses isolation and the out-of-scope check.
  • Never clean up the user's worktree: after collect the directory stays in place for review, and removal is the user's decision.

Failure handling

SymptomAction
exit_code != 0 with a non-empty blockersCarry the blocker back into planning unchanged, narrow or split the package, re-dispatch once
ok=false, blockers=["could not parse structured result"]Read the tail of artifacts.stdout; usually the executor did not follow the schema. Add "the last message must be JSON" to the package notes
status=timeoutThe package is too large. Split it into 2–3 packages whose owned_paths do not overlap
status=stalledcollect, then cancel; re-dispatch with --worktree auto
cli_errorStop and report to the user; do not install dependencies

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Wb Exec?

Delegate bounded coding, refactoring and test-writing tasks to a headless CLI executor (WorkBuddy by default, or codex/claude/aider/custom) and collect a structured result plus the real diff. Use when the task can be finished independently, the file set is enumerable, and the host agent only wants to plan and review instead of writing code itself.

Warum Wb Exec in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Wb Exec besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Wb Exec in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Luminousyyh/skill-wb-exec/tree/main/skills/wb-exec ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Wb Exec nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Wb Exec verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Wb Exec damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Wb Exec kostenlos?

Ja. Der Skill wird von Luminousyyh auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇