Logo vun Delegate

Delegate

Communautéit
peterpme
delegate

Use whenever work goes to another agent or model ("spin up sonnet", "get codex to review", "hand this off"): picks the model, writes the brief, watches for stalls. For a whole feature, use orchestrate.

Iwwersiicht

Editeurpeterpme
Repositoryskills
Skill-Nummdelegate
Stären
28
Forks
0
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum peterpme op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Delegate an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/peterpme/skills/tree/main/delegate
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterpme/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/delegate .claude/skills/delegate
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Delegate an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Delegate automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Delegate net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Delegate

On a program of several tickets, plan and write tickets; let subagents investigate, implement and verify. Keep your own context for decisions and review. Delegation does not expand the user's authorization to change files, push, merge, deploy, or answer approvals.

Pick the model and effort

Every model and effort comes from ~/skills/global/models.tsv: one row per role (build, investigate, review-claude-code, review-gpt-code, hardest, orchestrator, scheduled-worker, llp-*, fallback), with the provider, model, effort and how to pick between rows. Use nothing else, and that includes a built-in subagent (Claude Agent, Codex spawn_agent): name its model, or it silently runs on yours. Before 3 or more runs at once, or any run at xhigh, tell Peter the count, model and effort and wait for a yes, even when he asked for them. The catalog does not report usage or quota; model availability alone does not mean an account has capacity.

Before launch, call orchestrator_capabilities and confirm the provider instance can run child tasks and supports the chosen model and option values. Every Claude entry uses the same cliproxy hub accounts and the hub picks the account, so there is no account to alternate. If a requested target is unavailable, report the mismatch; do not silently substitute a provider, model, or effort.

For these routes, use T3 delegate_task with target.providerInstanceId, target.model, and explicit target.options. An effort word in the brief does not configure the model. For example:

json
{"providerInstanceId":"claudeAgent","model":"<model>","options":{"effort":"<effort>"}}
{"providerInstanceId":"codex","model":"<model>","options":{"reasoningEffort":"<effort>"}}

Set effort explicitly on every child; a model other than the session's does not take the session's effort. Options inherit only for the same provider instance and model; explicit entries override individual inherited values. Do not copy options to models that do not support them. Check the returned provider, model, and options against the requested target before trusting the task's work.

Retain the returned taskId and childThreadId; manage the task by taskId. Use a distinct clientRequestId for each ticket or independent review round and reuse it only for retries of that launch. For another review round call delegate_task again with the original brief, prior findings, responses, and unresolved objections; do not start the round by messaging the old child thread. Never use t3_thread_launch or create_threads as substitutes for subagents.

Write the ticket

A subagent starts with no parent conversation and no global instructions, so the brief itself carries the skill it must follow and the proof rule. Every ticket states:

  1. Goal: one or two sentences, and the hard rules (e.g. "UI must not change", "never edit node_modules").
  2. Read first: the "Finish every change" section of ~/skills/global/AGENTS.md, named by path, for any ticket that changes files; then exact paths, repository/worktree location, starting branch and revision, and relevant prior decisions or findings.
  3. Do exactly these: numbered changes with file paths; what is out of scope. For research or review, name the questions and permitted read-only actions instead of prescribing edits.
  4. Proof: copy this sentence into the brief word for word: "Proof means running the real UI, API or CLI with representative data and showing expected next to actual. A pass count or a finished job is not proof." Require each test to name the user-visible rule or bug it protects in its title, and forbid citing test or path counts in the report. Then two blocks, with expected results taken from outside the change: Verification, numbered checks of input → expected value, and Validation, one real-flow scenario with real data. Exercise the actual affected flow and include cases that expose plausible wrong implementations. If planted-bug checks are appropriate and authorized, use an isolated local copy, restore every temporary change, and never touch live data. Do not require code mutation for read-only work. Save inspectable evidence in a git-ignored path or outside the repo; report what could not be verified.
  5. Checks: the repo's type-check, lint, format, tests, with exact commands and known traps (e.g. formatter with no file args rewrites unrelated files). Scale checks to the task; do not run paid or unrelated flows just to validate prose.
  6. Git: signed commits only when committing; never --no-verify, never edit git config. State whether to commit or leave changes uncommitted, and whether pushing is authorized. If signing is unavailable, preserve the work and report the blocker rather than creating an unsigned commit. Follow explicit user and repository instructions.
  7. Report: the PR body carries a line Built by: <model> <effort> (Peter is comparing Sol and Sonnet as builders). Short enough to read in a minute, written for a reader who saw none of the work, and exactly what to include (SHAs, changed paths, expected versus actual proof, check results, anything skipped or blocked).
  8. Obstacles and scratch files: errors, timeouts and failing tools are ordinary: diagnose and work through them. Retrying a read-only command needs no approval. Report as blocked only when access was withheld on purpose, the ticket's hard rules forbid the next step, or the same step failed twice for the same cause. Scratch files go in .verification/<task>/, never in a folder the task shares; delete only files you created, by name.
  9. Stop condition: the observable acceptance result and exact command when applicable (e.g. yarn exchange-core:verify → the independently established expected result). A blocker also requires a final report, not endless retries. Say: "end the turn immediately after the final report; do not call Get task output, continue polling, or start follow-up work".

Keep implementation briefs tight: exact files to touch, nothing open-ended.

Use delegate_task with isolation: "worktree" when tasks edit files in parallel or the main checkout is in use. It starts from the parent local commit and runs project setup; uncommitted edits are not copied. Commit required inputs before launch, or pass necessary context explicitly. Do not ask the child to create its own worktree. Read-only tasks may share the checkout; avoid concurrent commands that change it.

Watch it

  • Async completion wakes the parent: end the turn when waiting solely for that result, and never keep a polling loop open. When you do look at a live task, use task_status for workState, pending requests, and nested child runs. If a periodic wake is needed, use an existing watchdog or a user-authorized schedule; do not create recurring work implicitly.
  • Read t3_thread_read activity tails, item timestamps, and itemCount growth; updatedAt alone can reflect housekeeping. Inspect the awaited process, logs, or CI result when needed. A progressing build, live nested child, or idle dev server waiting for requests is not a stall.
  • At 10 minutes without real progress, diagnose before acting. Check pending questions/approvals; surface anything that needs Peter and leave those tasks waiting. If genuinely stalled rather than waiting on live work or Peter, cancel the owned task with task_cancel, confirm it has stopped, inspect and preserve its worktree changes, then take over or re-delegate a smaller ticket. Do not run a replacement writer against files the original task can still edit.
  • Steer a running task with t3_thread_send (threadId: childThreadId, mode: "steer") when requirements change mid-task; this is an in-flight update, not a new independent review round. Include a stable clientRequestId for retries.
  • A "completed" turn can still have live nested work. Check workState, hasPendingChildRuns, and the final result before treating the task as finished. If the final message is missing, inspect its worktree (git log, git status, the proof file) before trusting or re-running it.
  • A final report with its run still open is a distinct stall: ask the child to end the turn and explain anything keeping it open. Do not call Get task output after your own final report.
  • Retry by cause, at most twice per ticket, then report it as blocked: out of context or memory → a smaller ticket; dropped connection or provider error → the same ticket again; the same tool or command failing twice → a different model or a ticket that avoids that step.

Review replies

Ask every reviewer for exactly this format, and treat a timeout, an error or no reply as not approved:

VERDICT: APPROVE | CHANGES
R1 blocker|should|nit path:line — what goes wrong, with the input or state — the command and output that show it — suggested fix
  • blocker: the case the task is for is wrong. should: a real bug callers will hit. nit: everything else, including rare paths, whatever label the reviewer chose.
  • A review of tests asks one question: does each of our functions that uses the library still give the same output (the bytes it signs, the request it sends)? Never ask whether a change inside the library would be caught; that has no end.
  • One review, then one re-check of the same findings, then stop. Keep the ids (R1, R2, …) so the re-check answers the same list. A new finding goes to a ticket, unless money is at risk now. "Production changes" blocks a merge; "the tests could cover more" never does.
  • A finding without a command, output or exact input that shows the failure is a question, not a finding. Rerun the command yourself before passing a finding to the worker; drop what you can't reproduce.

Verify the result

Do not review the code yourself when orchestrating; the reviewer does that (see orchestrate step 5). Read the proof and gate evidence yourself. Compare the claimed result with the independent expected result and re-run the affected flow and required checks on the final combined artifact. Passing checks or a subagent's report alone do not prove the behavior. Mark blocked claims implemented, unverified with the missing prerequisite.

Integrate the child's commits locally only within the authorized task. If local integration changes the target branch or its dependencies, repeat the affected verification there before handoff. Never report a subagent's claim as verified until you have inspected the evidence.

Heefeg gestallte Froen

Wat mécht de KI-Skill Delegate?

Use whenever work goes to another agent or model ("spin up sonnet", "get codex to review", "hand this off"): picks the model, writes the brief, watches for stalls. For a whole feature, use orchestrate.

Firwat Delegate op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Delegate besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Delegate an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/peterpme/skills/tree/main/delegate an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Delegate benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Delegate benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Delegate domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Delegate gratis?

De Skill gëtt vum peterpme op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇