delegate-setup
Skill này làm gì
Công cụ này giúp bạn thiết lập cách các chương trình khác nhau (gọi là “implementer”) xử lý các tác vụ cụ thể. Nó phát hiện những chương trình nào đã được cài đặt và đề xuất kế hoạch để chúng làm việc cùng nhau, đồng thời hỏi ý kiến bạn trước khi lưu cài đặt.
Khi nào nên dùng
- ✓Khi bạn muốn xác định chương trình nào sẽ làm loại công việc nào.
- ✓Khi phát hiện các chương trình đã cài và thiết lập cách chúng giao tiếp.
- ✓Khi tạo kế hoạch làm việc cho các chương trình trước khi bắt đầu dùng.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/delegate-setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập cách các chương trình xử lý các tác vụ lập trình.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trước tiên, công cụ phát hiện các chương trình có sẵn. Sau đó, nó đề xuất kế hoạch để chúng phối hợp (gọi là “lane”). Cuối cùng, nó chỉ lưu kế hoạch này sau khi bạn đồng ý.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Delegate Setup
When to Use
- You want to configure which implementer CLI handles which kind of work (fleet lanes).
- You need to discover installed implementers and write lane config after user approval.
You are the orchestrator in setup mode. Discover installed implementer CLIs, propose a fleet of lanes, and write configuration only after the user approves.
This skill does not dispatch coding work. It only authors the lane map.
One concept: lanes. Never say “routes.”
Example lane: feature → implementer opencode, model opencode/grok, variant high
(OpenCode uses variant for reasoning intensity, not effort).
When NOT to use this
- The user wants a task implemented — use the matching
*-delegateskill instead. - A one-off model change on a single dispatch — pass
--model/--effort/--varianton that relay.
Hard rules
- Every lane must include
implementer. - Put dials on the same object (
model,effortorvariant, …) only if that implementer supports them — see references/schema.md. - Show a human-readable lane table and the full JSON before every write; re-show after every tweak.
- Write only after an explicit approval (“yes”, “approve”, “write it”).
- Ask scope unless already clear: global (all projects) vs this repo only. Never create a project file just because cwd is a git repo. If there is no git repo, default to global and say so.
- Do not invent model identifiers.
- In interview or usage-scan mode, never write any dial the user did not give you and the schema does not require — omit it, so the CLI’s or relay’s own default applies.
- Prefer 3–5 useful lanes over a kitchen-sink map.
- Never edit
AGENTS.md,CLAUDE.md, or other user agent-instruction files. - Never run a
*-delegaterelay from this skill.
(<skill-dir> is this skill’s install directory — the folder that contains this SKILL.md.)
Flow
discover → load → grounding menu → propose (with Basis) → scope → approve → write
1. Discover
node "<skill-dir>/scripts/discover.mjs"
Summarize installed vs missing, auth (true / false / null = unknown), and whether models were
reported, aliases (curated aliases in the registry, not live discovery — full model names also
work), unsupported, or failed.
2. Load existing (effective map)
node "<skill-dir>/scripts/config.mjs" load --cwd "$PWD"
- Neither present → “No lanes configured yet.”
- Otherwise → table of effective lanes with a Source column (
global/project). Do not paste both raw files unless asked. - If
projectPresentis true andprojectTrustedis false, label the project lanes untrusted. They cannot dispatch until the user reviews and approves a project write.
3. Propose
Discovery reports capability, never task fit. So ask one grounding question before proposing anything — one question, three options, not a wizard:
How should I pick the lanes? (1) Quick defaults — I decide, no questions. (2) Interview — about four questions on how you want work allocated. (3) Usage scan — I re-read your CLIs’ local session folders (counts and dates only, never the conversations) and let the numbers place your lanes — if one CLI dominates, expect one question about its role. Happy to do 2 and 3 together.
- Quick defaults → propose immediately.
- Interview → the four questions (allocation policy, never model rankings) and how to ask them (one medium per round) live in references/setup-dialogue.md — read it before you ask.
- Usage scan →
node "<skill-dir>/scripts/discover.mjs" --usage. Tell the user it is metadata only before running it. Each discovered CLI gainsusage: { sessions, lastUsed };nullmeans no probe is wired — unknown, not unused. - Both → run the scan first, then ask only what the numbers cannot answer.
- Inside a git repo, repo signals (languages, test weight, frontend share) are a fourth source of
evidence. They do not change the menu; they feed the proposal and the
repobasis.
That menu is also the consent surface — the option chosen sets how much of the map is yours to decide:
- Quick defaults — the user hired your opinion. A full map is legitimate, dials included; label
every lane
my opinion, say plainly that the map is your opinion, and keep it cheap to revise.
…
Câu hỏi thường gặp
“Lanes” là gì?
“Lane” giống như các đường hoặc quy tắc xác định chương trình nào (implementer) nên được dùng cho một loại tác vụ cụ thể, và với cài đặt nào.
Công cụ này có viết mã cho tôi không?
Không, công cụ này chỉ cấu hình cách các chương trình khác hoạt động. Nó không thực hiện các tác vụ lập trình thực tế.
Tôi có thể chọn cách các chương trình hoạt động không?
Có, bạn có thể chọn giữa các tùy chọn nhanh hoặc một quy trình chi tiết hơn, trong đó công cụ đặt câu hỏi để hiểu sở thích của bạn trước khi đề xuất kế hoạch.
Chi tiết
Mô tả gốc của tác giả
Configure approved delegation lanes across installed implementer CLIs, including optional model and effort choices, then write global or project config only after explicit user approval.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4366
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.