Logo Delegate Claude

Delegate Claude

Tổ chứcPhổ biến
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.

Tổng quan

Nhà phát hànhEpicenterHQ
Kho mãepicenter
Tên kỹ năngdelegate-claude
Sao
4.8K
Bản fork
386
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được EpicenterHQ công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Delegate Claude trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/delegate-claude
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Delegate Claude trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Delegate Claude ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Delegate Claude với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Delegate Claude làm được gì?

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.

Vì sao nên dùng Delegate Claude trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Delegate Claude là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Delegate Claude trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/delegate-claude. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Delegate Claude?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Delegate Claude với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Delegate Claude với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Delegate Claude có miễn phí không?

Kỹ năng này được EpicenterHQ phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇