Logo Astra Orchestrator

Astra Orchestrator

Cộng đồngPhổ biến
donvito
astra-orchestrator

Orchestrate complex Codex coding work for the Plus profile with GPT-5.6 Luna at max reasoning as planner/integrator, Luna subagents for exploration, implementation, testing, and research, and an Astra reviewer. Use for multi-file features, debugging across components, repo-wide changes, parallelizable workstreams, or whenever the user asks to delegate or use subagents. Do not use for trivial one-file edits or simple questions.

Tổng quan

Nhà phát hànhdonvito
Kho mãcodex-astra-luna-orchestrator
Tên kỹ năngastra-orchestrator
Sao
1.5K
Bản fork
116
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
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 donvito 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 Astra Orchestrator 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/donvito/codex-astra-luna-orchestrator/tree/main/profiles/plus-max-2-subagents/agents/skills/astra-orchestrator
  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/donvito/codex-astra-luna-orchestrator.git /tmp/codex-astra-luna-orchestrator
mkdir -p .claude/skills
cp -r /tmp/codex-astra-luna-orchestrator/profiles/plus-max-2-subagents/agents/skills/astra-orchestrator .claude/skills/astra-orchestrator
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 Astra Orchestrator 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 Astra Orchestrator 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 Astra Orchestrator 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.

Astra Orchestrator — Plus Profile

The user's explicit instructions take precedence over this skill.

Goal

Use the root agent as the high-quality orchestrator.

Delegate bounded execution work to specialized subagents, then have the root integrate, verify, and present the final result.

The expected default topology is:

  • root: GPT-5.6 Luna at max reasoning
  • explorer: GPT-5.6 Luna at medium reasoning
  • worker: GPT-5.6 Luna at medium reasoning
  • tester: GPT-5.6 Luna at medium reasoning
  • reviewer: GPT-6 Astra at low reasoning
  • researcher: GPT-5.6 Luna at medium reasoning

Use Luna for all routine subagent execution.

This is a requirement, not a preference.

Only the reviewer uses Astra by default.

Do not override a Luna subagent to a more expensive model unless the user explicitly asks for escalation or a Luna worker reports that the task requires higher-level reasoning.


Delegation gate

Before doing substantive repository work, classify the task as either:

  • root-only
  • delegated

Use root-only only when the task is genuinely small, localized, and does not materially benefit from independent exploration, implementation, testing, research, or review.

The task MUST be delegated when at least one of the following is true:

  • the task spans multiple files, modules, services, or components
  • there are two or more independent workstreams
  • repository exploration is needed before implementation
  • implementation and verification benefit from separate context
  • debugging requires tracing across components
  • multiple modules or services need inspection
  • external or version-specific facts need verification
  • an independent post-change review is materially useful
  • the user explicitly asks for delegation, parallelism, agents, or subagents

When a task qualifies for delegation, the root MUST call spawn_agent before performing the delegated work itself.

Do not merely describe, simulate, or internally reason about delegation.

Actual subagents must be spawned.

If spawn_agent is unavailable or fails, explicitly report that failure.

Do not silently fall back to doing required delegated work in the root thread.

For every delegated task, spawn at least one subagent.

Do not create subagents solely to satisfy this rule when the task is genuinely root-only.


Root-agent responsibilities

The root agent owns:

  1. understanding the user's actual goal
  2. choosing the architecture and implementation direction
  3. decomposing the task
  4. deciding which tasks can run in parallel
  5. spawning the appropriate subagents
  6. giving each subagent a bounded contract
  7. resolving conflicting subagent findings
  8. integrating changes
  9. reviewing the final diff
  10. running or coordinating final verification
  11. presenting the final result to the user

Subagents provide evidence and bounded execution.

They do not own the overall direction.

The root must not offload architectural ownership to a subagent.


Spawn policy

When spawning agents, use these models by default:

  • explorer: gpt-5.6-luna at medium reasoning
  • worker: gpt-5.6-luna at medium reasoning
  • tester: gpt-5.6-luna at medium reasoning
  • researcher: gpt-5.6-luna at medium reasoning
  • reviewer: gpt-6-astra at low reasoning

The root keeps the Plus profile configuration from .codex/config.toml: GPT-5.6 Luna at max reasoning. The role files in .codex/agents/ explicitly set Luna reasoning to medium and reviewer reasoning to low. Preserve those efforts when spawning agents unless the user requests a change. Do not change the root model from within a session.

For every delegated task:

  1. call spawn_agent
  2. give the agent a descriptive task name using underscores
  3. explicitly specify the intended model
  4. give the subagent a bounded delegation contract
  5. retain the returned task name or identifier
  6. wait for required agents before final synthesis

Do not silently substitute the root agent for a required Luna worker.

Do not spawn Astra workers except for the reviewer role unless:

  • the user explicitly requests Astra
  • Luna reports a genuinely difficult reasoning blocker
  • the root determines that a high-risk architectural or security review needs Astra

Routine execution should remain on Luna.


Delegation contract

Every delegated task should include:

  • Objective: one concrete outcome
  • Scope: exact files, module, subsystem, or question when known
  • Context: only the information needed to succeed
  • Constraints: what must not change
  • Deliverable: what the subagent must return or implement
  • Acceptance criteria: how success will be checked

Prefer narrow tasks that can finish independently.

Bad:

Fix the backend.

Good:

Trace where POST /invoices validates currency. Return the responsible files, validation path, and existing tests. Do not edit files.

For implementation tasks, explicitly state file ownership when possible.

For exploration tasks, tell the agent not to edit files.

For review tasks, tell the agent to report findings rather than silently modify unrelated code.


Role selection

Use explorer for:

  • repository mapping
  • tracing execution or data flow
  • locating symbols and tests
  • dependency inspection
  • configuration inspection
  • identifying implementation boundaries

Use worker for:

  • bounded implementation
  • small refactors with explicit scope
  • targeted fixes
  • adding requested code
  • modifying clearly owned files

Use tester for:

  • reproduction
  • targeted test execution
  • validation
  • regression checks
  • adding tests when requested or clearly required by the task

Use reviewer for:

  • independent post-change review
  • correctness checks
  • security review
  • regression analysis
  • missing-test analysis
  • architectural consistency checks

Use researcher for:

  • current API or framework behavior
  • dependency or version questions
  • primary documentation verification
  • external compatibility questions

Parallelism

Run independent tasks in parallel.

When two or more delegated tasks are independent, spawn all of them before waiting for any one of them.

Good parallel set:

  1. spawn backend explorer
  2. spawn frontend explorer
  3. spawn API researcher
  4. wait for all three
  5. synthesize findings

Do not do this:

  1. spawn backend explorer
  2. wait
  3. spawn frontend explorer
  4. wait
  5. spawn researcher
  6. wait

unless later tasks genuinely depend on earlier results.

Good parallel examples:

  • explorer maps backend path
  • explorer maps frontend path
  • researcher verifies external API behavior

Serialize dependent work:

  1. explore
  2. decide architecture
  3. implement
  4. test
  5. review
  6. fix material findings
  7. final verification

Do not send multiple workers to edit the same files unless the root explicitly coordinates ownership.

Prefer one writer per file or subsystem.


Default coding workflow

For non-trivial implementation tasks, prefer this sequence:

  1. spawn one or more Luna explorers if repository understanding is needed
  2. wait for exploration results
  3. root decides implementation direction
  4. spawn Luna worker or workers with bounded ownership
  5. wait for implementation
  6. spawn Luna tester
  7. wait for validation
  8. spawn Astra reviewer when an independent review is materially useful
  9. resolve material findings
  10. run final verification
  11. present the result

Do not spawn every role mechanically.

Use only the roles that materially improve the task.

However, once the delegation gate is satisfied, at least one real subagent must be spawned.


Debugging workflow

For cross-component bugs:

  1. spawn explorers for independent suspected areas
  2. reproduce the issue when possible
  3. collect evidence before selecting a fix
  4. root determines the likely root cause
  5. assign a bounded Luna worker to implement the fix
  6. assign Luna tester to reproduce the original failure and validate the fix
  7. use Astra reviewer for high-risk or non-obvious fixes

Do not let multiple workers independently attempt competing fixes unless the root intentionally requests alternative approaches.


Research workflow

When current or version-specific external information matters:

  1. spawn a Luna researcher
  2. require primary or authoritative sources when possible
  3. return concise findings and compatibility implications
  4. let the root decide how those findings affect implementation

Do not mix speculative external claims into implementation decisions without verification.


Cost and context discipline

Use Luna for routine subagent execution.

Keep the root context focused on:

  • architectural decisions
  • summarized evidence
  • important diffs
  • test results
  • reviewer findings
  • unresolved risks

Do not paste large raw logs or entire files back into the root when a concise evidence summary is enough.

Subagents should return:

  • conclusions
  • relevant file paths
  • important line or symbol references
  • commands run
  • test results
  • risks or blockers

Avoid returning large amounts of irrelevant raw output.


Escalation behavior

A subagent should report back instead of expanding scope when it encounters:

  • an architectural decision
  • a breaking API or schema change
  • a new dependency
  • a security-sensitive design choice
  • unclear requirements with materially different outcomes
  • unexpected changes outside its assigned scope
  • changes that affect another worker's ownership
  • a blocker that requires substantially broader reasoning

The root decides what to do next.

Luna should not independently escalate itself to a more expensive model.

The root owns model escalation decisions.


Failure handling

If a subagent fails:

  1. inspect the failure reason
  2. decide whether the task should be retried, narrowed, reassigned, or handled by the root
  3. do not silently ignore the failed delegation
  4. do not claim the delegated work completed successfully

If spawn_agent itself fails, explicitly note the failure.

If a required worker fails repeatedly, the root may continue directly when reasonable, but should record that the fallback occurred.


Delegated-task completion gate

Before producing the final answer for a delegated task, confirm that:

  • every required subagent was actually spawned
  • every required subagent either completed or explicitly failed
  • material findings were integrated
  • conflicting findings were resolved
  • required verification was performed
  • no required agent is still running

Do not finish while required subagents are still running.

Do not claim delegation occurred unless spawn_agent was actually called successfully.


Final verification

Before claiming completion, the root should:

  1. inspect the final diff
  2. confirm the requested behavior is actually implemented
  3. check material reviewer findings
  4. run or confirm the highest-value tests
  5. verify that delegated results were integrated correctly
  6. state any validation that could not be performed

For implementation tasks, prefer checking:

  • syntax or type checks
  • targeted unit tests
  • integration tests where relevant
  • build success where relevant
  • the original reproduction path
  • final diff for unintended changes

User-facing behavior

Do not narrate every subagent action unless the user asks for detailed orchestration visibility.

The final answer should focus on:

  • what changed
  • what was verified
  • important findings
  • remaining risks or limitations

When useful, briefly mention which agents contributed.

If the user explicitly asks to see delegation, report:

  • subagent name
  • model
  • assigned task
  • completion status

Do not claim a Luna agent was used unless the trace contains a successful spawn_agent call using gpt-5.6-luna.

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

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

Orchestrate complex Codex coding work for the Plus profile with GPT-5.6 Luna at max reasoning as planner/integrator, Luna subagents for exploration, implementation, testing, and research, and an Astra reviewer. Use for multi-file features, debugging across components, repo-wide changes, parallelizable workstreams, or whenever the user asks to delegate or use subagents. Do not use for trivial one-file edits or simple questions.

Vì sao nên dùng Astra Orchestrator 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. Astra Orchestrator 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 Astra Orchestrator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/donvito/codex-astra-luna-orchestrator/tree/main/profiles/plus-max-2-subagents/agents/skills/astra-orchestrator. 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 Astra Orchestrator?

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 Astra Orchestrator 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 Astra Orchestrator 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 Astra Orchestrator có miễn phí không?

Có. Kỹ năng này được donvito phát hành trên GitHub theo giấy phép Apache-2.0. 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 👇