Logo Mission Orchestrator

Mission Orchestrator

Cộng đồng
athola
mission-orchestrator

Orchestrates full project lifecycle by auto-detecting state and routing to the correct phase. Use when starting or resuming a project mid-workflow.

Tổng quan

Nhà phát hànhathola
Kho mãclaude-night-market
Tên kỹ năngmission-orchestrator
Sao
343
Bản fork
37
Tệp đi kèm
14
Giấy phépMIT
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ộ.

  • 14 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được athola 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 Mission 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/athola/claude-night-market/tree/master/plugins/attune/skills/mission-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/athola/claude-night-market.git /tmp/claude-night-market
mkdir -p .claude/skills
cp -r /tmp/claude-night-market/plugins/attune/skills/mission-orchestrator .claude/skills/mission-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 Mission 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 Mission 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 Mission 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.

Mission Orchestrator

Overview

Wraps the entire attune development lifecycle (brainstorm → specify → plan → execute) into a single mission with automatic state detection, type selection, and phase routing. Follows the "persistent presence lens" pattern from spec-kit:speckit-orchestrator: delegates entirely to existing skills via Skill() calls, never re-implements phase logic.

When To Use

  • Starting a new project from scratch (full lifecycle)
  • Resuming an interrupted project workflow
  • Running a focused tactical implementation from existing specs
  • Quick-fixing from an existing implementation plan

When NOT To Use

  • Running a single phase directly (use /attune:brainstorm, /attune:specify, etc.)
  • Non-project work (code review, debugging, research)
  • When you need fine-grained control over phase transitions

Mission Lifecycle

1. State Detection
   Scan for existing artifacts (project-brief.md, specification.md, etc.)
       |
2. Mission Type Selection
   Auto-detect type based on artifacts, or accept user override
       |
3. Phase Routing Loop
   For each phase in the mission type:
       a. Pre-phase validation (check prerequisites)
       b. Invoke Skill(attune:{phase-skill})
       c. Post-phase artifact check (verify output exists)
       d. Post-phase backlog triage (create GitHub issues
          for out-of-scope items after brainstorm/specify)
       e. Update mission state
       f. User checkpoint (skippable with --auto)
       g. Error handling via leyline:damage-control
       |
4. Completion
   All phases complete, final state saved

Mission Types

TypePhasesAuto-detected When
fullbrainstorm → specify → plan → executeNo artifacts exist
standardspecify → plan → executedocs/project-brief.md exists
tacticalplan → executedocs/specification.md exists
quickfixexecutedocs/implementation-plan.md exists
reviewscope → investigate → verify → reportthe request names existing software to audit, dogfood, or review

review is the one type selected from request intent rather than from artifacts, because a tree of build artifacts looks the same whether the ask is "ship this" or "audit this". Its check runs first. It produces reports/<topic>-<YYYY-MM-DD>.md and never enters the war-room gate, which guards a plan-to-execute transition a review mission does not have.

See modules/mission-types.md for full type definitions and custom type support.

Phase-to-Skill Mapping

PhaseSkill InvokedArtifact Produced
brainstormSkill(attune:project-brainstorming)docs/project-brief.md
specifySkill(attune:project-specification)docs/specification.md
planSkill(attune:project-planning)docs/implementation-plan.md
executeSkill(attune:project-execution)Implemented code and tests

Review missions route to the existing review skills rather than to attune phase skills:

PhaseSkill InvokedArtifact Produced
scopeSkill(pensive:tiered-audit)Tier selection and bounded scope
investigateSkill(imbue:feature-review) plus the pensive:* domain lensesRaw findings
verifySkill(imbue:proof-of-work)Evidence references per finding
reportSkill(imbue:structured-output)reports/<topic>-<YYYY-MM-DD>.md

The orchestrator never re-implements phase logic. Each phase is a complete Skill() invocation that handles its own workflow.

Delegation During a Mission

Missions delegate execution by default. Skill(conjure:delegation-core) governs the decision, and its default posture is on: a phase that reaches execution work hands it to an external CLI without waiting to be asked.

PhaseDelegatesWhy
brainstormNoReasoning; the Keep Local clause holds
specifyNoReasoning
planNoReasoning
executeYes, per taskTask execution is the eligible half
scope, investigate, verify, reportReport and verify onlyFindings are judgment; bulk extraction is not

The split follows conjure's own line: delegate execution, retain reasoning. A mission phase that is entirely judgment stays local and does not consult the delegator at all.

Two outcomes need handling rather than reporting:

  • fallback_reason is providers_exhausted: no CLI answered. Say which were tried, then do the task in the mission itself. This is the ordinary path on a machine with no CLI installed and it does not fail the phase.
  • fallback_reason is delegation_disabled: the operator declined. Do the task locally and do not offer to re-enable it.

To run a whole mission without external models, set CONJURE_DELEGATION=off before invoking it.

Session Recovery

Missions persist state to .attune/mission-state.json. On resume:

  1. Load mission state file
  2. Validate referenced artifacts still exist on disk
  3. Identify last completed phase
  4. Continue from next phase in sequence

See modules/mission-state.md for the state schema and recovery protocol.

Interactive Plan Review

The plan-to-execute transition uses an interactive review loop instead of a simple checkpoint. Plans are reviewed section by section, revised based on feedback, and must pass a mandatory war-room gate before execution.

Key capabilities:

  • Section-by-section terminal review (architecture first, then phases)
  • Approve/revise/reject verdicts with rationale
  • Plan version tracking with diff summaries
  • Context improvement from structured feedback
  • Additive bias scanning before user review
  • Maximum 3 revision rounds before forced decision
  • Mandatory war-room approval with Prosecution Counsel

See modules/plan-review.md for the full protocol.

Review Modules

  • plan-review.md: Main orchestrator for the review loop
  • plan-versioner.md: Version tracking and diff generation
  • feedback-collector.md: Verdict capture and JSON output
  • context-injector.md: Revision prompt construction
  • iteration-governor.md: Round tracking and escalation

User Directive Overrides

The orchestrator parses the user's command-args and free-text at mission start for natural-language trust signals. Phrases like "ignore scope guard", "ultrathink", "don't keep asking", and "be autonomous" are recognized as directive overrides that adjust the constraint profile without requiring an explicit --constraints= flag.

Directive overrides win over mission-type defaults but never bypass the Safety Floor (pre-commit hooks, proof-of-work evidence, destructive-operation confirmation, external-facing actions). When a directive is detected, the orchestrator acknowledges it once at mission start and stops asking for the corresponding checkpoints. Repeated approval-seeking after a directive override is itself a workflow bug.

See modules/adaptive-constraints.md "User Directive Override" section for the parsing table.

Mission Charter

Define mission boundaries using the structured template from references/mission-charter.md. A Mission Charter specifies:

  • Outcome: What success looks like
  • Success metric: Measurable completion criteria
  • Deadline: Time boundary (session, date, or duration)
  • Constraints: Token/time budgets, forbidden actions
  • Scope: In-scope and out-of-scope areas
  • Stop criteria: Conditions that halt the mission

See references/mission-charter.md for the full template and examples.

Progress Reports

Track progress with structured checkpoints using references/progress-report.md. Generate reports at:

  • Phase boundaries (between brainstorm→specify→plan→execute)
  • Blocker identification
  • Risk escalation
  • Budget thresholds (50%, 75%, 90%)

See references/progress-report.md for the template and checkpoint rhythm guidance.

Module Reference

Core modules (always loaded)

  • mission-types.md: Type definitions, auto-detection logic, custom types
  • state-detection.md: Artifact existence checks, quality validation, staleness
  • phase-routing.md: Phase execution protocol, transition hooks, error handling
  • mission-state.md: State schema, persistence, recovery protocol

Plan-review modules (load when plan phase runs)

  • plan-review.md: Interactive section-by-section review with bias scanning
  • plan-versioner.md: Version tracking and diff summaries
  • feedback-collector.md: Verdict capture and feedback files
  • context-injector.md: Revision prompt construction from feedback
  • iteration-governor.md: Round tracking, cap enforcement, escalation

Conditional modules (load only when triggered)

  • reflexion-buffer.md: Cross-session learning buffer; load when iteration count > 1 or after a failed revision round.
  • trust-tier.md: Constraint-profile classifier; load when a user directive override is detected at mission start.
  • adaptive-constraints.md: Constraint adaptation rules; load alongside trust-tier.md when directive overrides are active.

Module Loading by Mission Type

This skill declares progressive_loading: true. To keep the orchestrator's resident token cost minimal, load only the subset of modules each mission type actually needs. The orchestrator itself loads only the four core modules at mission start; the rest are loaded on-demand when their phase runs.

Mission typeCorePlan-reviewReflexionTrust and adaptive
quickfix (execute only)yes----if directive
tactical (plan -> execute)yesyesif revisingif directive
standard (specify -> plan -> execute)yesyesif revisingif directive
full (brainstorm -> specify -> plan -> execute)yesyesyesif directive
review (scope -> investigate -> verify -> report)yes--if revisingif directive

Token cost (approximate, computed from wc -w on hub + loaded modules and converted at ~1.3 tokens per word):

Mission typeLoaded modulesApprox tokens
quickfixhub and core (4)~4,100
tacticalhub, core, and plan-review (9)~6,900
standardsame as tactical (9)~6,900
fullhub, core, plan-review, and reflexion (10)~7,900

The previous load-all pattern brought in roughly 10,100 tokens for every mission, including quickfix runs that only need the execute phase. With per-type loading, quickfix is ~60% lighter and the standard / tactical / full paths save 22-32%.

When a directive override fires, the trust-tier + adaptive-constraints pair adds ~2,200 tokens on top of the mission-type baseline.

Reference Modules

  • mission-charter.md: Structured mission definition template (load only when defining a charter)
  • progress-report.md: Checkpoint status report template (load only when emitting a progress report)

Related Skills

  • Skill(attune:project-brainstorming) - Brainstorm phase
  • Skill(attune:project-specification) - Specify phase
  • Skill(attune:project-planning) - Plan phase
  • Skill(attune:project-execution) - Execute phase
  • Skill(attune:war-room-checkpoint) - Risk assessment for RED/CRITICAL tasks
  • Skill(leyline:risk-classification) - Task risk classification
  • Skill(leyline:damage-control) - Error recovery during phases
  • Skill(conjure:delegation-core) - Default-on delegation of execution work

Related Commands

  • /attune:mission - Invoke this skill
  • /attune:mission --resume - Resume from saved state
  • /attune:mission --type tactical - Override mission type

Exit Criteria

  • All phases in mission type completed successfully
  • Artifacts exist for each completed phase
  • Mission state saved to .attune/mission-state.json
  • Risk summary generated (tier counts across all tasks)
  • Execute-phase work either delegated or held back by a named Keep Local clause, never skipped for want of a delegation decision
  • Any providers_exhausted result completed locally and reported with the providers it tried
  • No unresolved errors or blockers

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Orchestrates full project lifecycle by auto-detecting state and routing to the correct phase. Use when starting or resuming a project mid-workflow.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/athola/claude-night-market/tree/master/plugins/attune/skills/mission-orchestrator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Mission 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 Mission 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 Mission 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 Mission Orchestrator có miễn phí không?

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