Logo de Delegate Claude

Delegate Claude

OrganizaçãoPopular
EpicenterHQ
delegate-claude

Delegate a bounded implementation, prototype, benchmark, or file artifact to Claude Code, then verify and integrate its completed work. Use when the user explicitly authorizes Claude to own execution. Read-only advice belongs to consult-claude.

Visão geral

Publicado porEpicenterHQ
Repositórioepicenter
Nome da habilidadedelegate-claude
Estrelas
4.8K
Forks
386
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por EpicenterHQ no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Delegate Claude no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/delegate-claude
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EpicenterHQ/epicenter.git /tmp/epicenter
mkdir -p .claude/skills
cp -r /tmp/epicenter/.agents/skills/delegate-claude .claude/skills/delegate-claude
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Delegate Claude em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Delegate Claude automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Delegate Claude não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Delegate Claude

Claude owns a completed assignment in a dedicated clone. Codex owns continuity, acceptance, and integration. Propose delegation when the work is separable, substantial enough to repay briefing and checking, and has observable acceptance criteria. Useful overlap with Codex's other work strengthens the case. Count clone preparation, dependencies, briefing, acceptance, and integration in that cost. Keep a short sequential fix in the main session when coordination would cost more than the work.

The user's explicit authorization for Claude execution bounds the assignment. Authorization for the parent task alone does not supply it. Delegation does not authorize publishing, deploying, sending messages, changing credentials, or expanding the product outcome. Use consult-claude when the accepted outcome or a consequential contract needs deciding, or for an answer that needs no execution. Otherwise let the worker resolve implementation questions within the brief. Stop with concrete evidence when a missing requirement would change the product outcome or assignment scope. Passing tests cannot establish an unstated requirement. Reserve independent adversarial review for consequential decisions, rather than every worker result.

Work backward from acceptance

Specify the result, affected consumers and requirements, source baseline, allowed changes, verification, and stop condition. Let Claude choose the implementation within those guarantees rather than prescribing each edit. For example:

Own the folder-scanning benchmark. Build and run a reproducible benchmark for small and large folders, including missing-directory failure behavior. Return runnable files, measured timings, failure behavior, and limits of the evidence. Modify only the benchmark directory. Stop after the measurements establish whether scanning belongs on the API's critical path. Do not decide the public API or require a remote service.

For a fix, define observable behavior and affected callers before dispatch. For an experiment, name the decision its evidence will settle. Claude returns changed paths or artifacts, commands and actual results, and unresolved issues. It should report a blocker with concrete partial work rather than inventing a contract or requesting broader access.

Keep the destination and the reasons it is worth pursuing in the brief. Let Claude choose implementation details within the accepted outcome. For greenfield experiments, acceptance is evidence that distinguishes designs, not proof that the preferred design is right. Claude surfaces discoveries that suggest a better destination; Codex owns the resulting decision through rethink. A convenient implementation must not silently replace the vision or the assignment.

Prepare the workspace

Run the shared launcher from the coordinating repository. Give Claude a fresh disposable clone outside that checkout. The launcher rejects the coordinating checkout, nested clones, linked worktrees, and targets whose local origin is not the coordinating checkout. These checks establish source provenance, not whether an existing clone is disposable: Codex must create a fresh one so valuable unfinished work is never made writable by the worker. A clone keeps Git metadata separate; the Claude Bash sandbox bounds execution.

Use git clone --no-local /absolute/source/checkout /absolute/worker/clone, and explicitly select the intended source commit. A clone contains committed source only. Copy the relevant uncommitted and untracked task files, including intended deletions, when they form part of the assignment. Include enough context to preserve callers and requirements; exclude unrelated changes and secrets. Record the baseline and transferred paths so the return diff separates input changes from Claude's work. Do not use the shared stash or stage files in the coordinating checkout to manufacture a snapshot.

Materialize applicable borrowed skills inside the worker clone. Vault's absolute skill links point into the live Epicenter checkout; restricted file tools cannot read those targets. Copy the needed guidance into the clone after replacing its links, without changing the source links or granting outside access. Do not copy machine state, credentials, or unrelated skills.

Prepare required dependencies before launch. This route provides no task-network allowlist or local server binding. Keep source stable for the worker's run; Codex can continue in the live checkout. A dedicated clone has one writer. Before dispatch, identify checks the worker can run under those restrictions and checks Codex must run during acceptance, especially browser or local-server checks. A blocked check remains unverified until Codex performs it.

Dispatch and continue

Requires Bun, Git, and authenticated Claude Code 2.1.285 or later with access to the selected model and a working native Bash sandbox. Use the same launcher as consultation. Its new-delegation default is Sonnet 5.5 at medium effort for bounded work with clear acceptance criteria. Use --effort high for difficult implementation within a settled design. Choose --model claude-opus-5-5 --effort high when the assignment itself requires sustained judgment within accepted requirements. Do not raise Sonnet to max effort as a routine substitute for choosing Opus.

bash
bun .agents/skills/consult-claude/scripts/consult-claude.ts \
  --mode delegate --workspace /absolute/path/to/dedicated-clone <<'ASSIGNMENT'
[Result, consumers, requirements, baseline, allowed changes, checks, stop.]
ASSIGNMENT

The launcher supplies Read, Glob, Grep, Edit, Write, and Bash. Restricted mode ignores user and project settings; hooks and MCP tools are disabled. File tools are confined to the worker, and only the required sandbox can approve Bash, with no unsandboxed retry. The sandbox removes inherited application variables from shell commands while leaving standard shell variables available; the Claude process retains its authentication environment. Prepare checks that do not require credentials or network access. Normal temporary-file writes remain available. The launcher does not create or remove the clone, commit changes, or integrate them. Claude's instructions prohibit child agents, commits, remote changes, publishing, and access changes. Those instruction boundaries are separate from filesystem enforcement.

Read native result, session_id, is_error, permission_denials, and actual model usage. A zero process exit alone does not establish completion. Monitor yielded processes and keep the user informed. Worker sessions are fresh on each launch: --resume is refused in delegate mode. For a correction, keep the idle clone and supply the full assignment, baseline, current diff, failed check, and focused correction in a new brief:

bash
bun .agents/skills/consult-claude/scripts/consult-claude.ts \
  --mode delegate --workspace /absolute/path/to/dedicated-clone \
  --effort medium <<'FOLLOWUP'
[Full assignment, baseline, current diff, failed check, and focused correction.]
FOLLOWUP

Repeat an explicit model and effort choice when continuing work that needs it. Missing dependencies and blocked permissions belong to Codex; changing models does not repair them. An unresolved product requirement still stops the worker.

Manage the assignment through evidence and acceptance. Send a new brief for new facts, corrected misunderstandings, or a focused change in direction as well as failed checks. State what remains accepted and what changed, and keep useful partial work in the clone. Choose natural assignment boundaries when evidence could change substantial work; straightforward tasks need no mandatory checkpoints. Keep one writer per clone: parallel workers need separate clones and independently reviewable results.

Use --dry-run to inspect arguments without calling Claude. Do not switch a read-only session into a worker to bypass its assignment scope.

Accept and integrate

Use consultation with a fresh session when independent judgment is needed on Claude's output. Run it from the idle worker clone or a snapshot containing the reviewed evidence; give it the desired behavior, baseline, callers, and cumulative diff before the worker's justification. From a worker clone, invoke the launcher by its absolute path in the coordinating checkout, with the clone as the working directory. Adversarial-review owns the pair for a consequential checkpoint.

Inspect the artifact or diff against the supplied baseline before executing worker code. Git metadata is also untrusted: inspect with git -c core.fsmonitor= -c core.hooksPath=/dev/null diff --no-ext-diff --no-textconv <recorded-baseline> to cover staged and unstaged tracked changes. Also list untracked artifacts with git -c core.fsmonitor= -c core.hooksPath=/dev/null ls-files --others --exclude-standard and inspect their contents before running checks with the coordinator's authority. Check the consumer contract and run relevant checks; identify which evidence came from Claude and which Codex reproduced. Fix or return a focused failure to the same worker rather than commissioning another full panel. Codex applies accepted changes to the live checkout and performs local post-implementation checks.

Keep integration review proportional to the consequence. Tests establish their covered behaviors; direct caller inspection and counterexamples can expose missing requirements. Two models agreeing does not prove correctness.

Return the user-facing result and material limitations. Preserve the worker's artifacts until integration is verified; clean up only task-owned temporary work after its useful contents are retained. Judge delegation by accepted work, coordinator time including rejected attempts, turnaround, and corrections. When recording an outcome in existing task notes, include the accepted result and observations that change future judgment. Do not create another tracking system or count a successful process exit as accepted work.

Perguntas frequentes

O que a habilidade de IA Delegate Claude faz?

Delegate a bounded implementation, prototype, benchmark, or file artifact to Claude Code, then verify and integrate its completed work. Use when the user explicitly authorizes Claude to own execution. Read-only advice belongs to consult-claude.

Por que usar Delegate Claude no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Delegate Claude é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Delegate Claude no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/delegate-claude. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Delegate Claude?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Delegate Claude?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Delegate Claude com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Delegate Claude é gratuita?

A habilidade é publicada no GitHub por EpicenterHQ. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇