Chuyển đến nội dung
Skillpedia
Agent5.9k · #14526

maka-cli

Skill này làm gì

Skill này giúp AI của bạn điều phối công việc qua công cụ dòng lệnh Maka, gửi tác vụ và kiểm tra tiến độ. Skill dành cho người chạy Maka như một worker và muốn AI quản lý công việc đó.

Khi nào nên dùng

  • ✓Khi bạn muốn gửi một tác vụ cho Maka và kiểm tra tiến độ của nó.
  • ✓Khi Maka hỏi một câu hỏi hoặc cần phê duyệt trong một phiên làm việc.
  • ✓Khi bạn muốn cập nhật mô hình đã lưu cho một phiên Maka.

Liên kết skill

https://github.com/apache/maka/blob/main/skills/maka-cli/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/apache/maka/blob/main/skills/maka-cli/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Gửi tác vụ review code này cho Maka qua dòng lệnh và kiểm tra tiến độ giúp tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent gửi tác vụ mà không chờ, lưu ID phiên, kiểm tra trợ giúp lệnh của phiên bản đã cài, rồi quay lại sau để kiểm tra tiến độ.

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.

<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->

Maka CLI

Delegate work to Maka; the parent owns the assignment and final judgment.

Submit, then wait

Check maka run --help for the installed interface. This skill does not upgrade Maka. Preserve the user's Host, model, cwd, and permissions; otherwise use existing defaults. Repeat the same --host <profile-id> on subsequent calls. Model, connection, and thinking options can also persistently update an existing Session.

Prefer this flow when coordinating work across calls:

maka run "Inspect the project and report findings" --no-wait
# Save the returned sessionId with its Host and assignment as $session.
maka run --session "$session" --wait --json

--no-wait already returns JSON. It is the recommended parent-agent workflow, not the CLI's global default: ordinary maka run "…" --json still waits and suits a single call. Detached work requires a persistent installation and cannot own CLI MCP servers or use Graph Mode.

Wait when ready for the next interaction or result; avoid repeated status polling. A Session-only wait selects its current Turn, or the latest result if idle. It does not drain the whole queue.

status Parent action
running Keep the Session ID; execution is incomplete.
needs_input Answer questions using the task context or the user's decision.
needs_approval Assess approvalRequests and approve or deny.
completed Read and assess finalOutput from wait/result.
failed Read the wait/result error before retrying.
idle No result is selected; do not infer success.

Inspect progress or add work

maka run --session "$session" --status
maka run --session "$session" --recap --json
maka run --session "$session" "Inspect the tests next" --json
maka run --session "$session" "Focus on the parser" --steer --no-wait

Status returns lifecycle and pending interactions; --status --recap returns both state/boundary and progress as JSON. If installed help advertises --recap, use it to summarize recorded progress during execution. Each recap calls the model independently and can lag execution; it is neither final output nor a direct worker reply. Portable session-export is not a progress query.

For an idle Session, send the next prompt and wait as above; --no-wait is only needed when intentionally detaching. A busy Session has status running, needs_input, or needs_approval. Submit its follow-up with --no-wait, then use Session-only waits to handle the current Turn's questions/approvals before queued work can execute:

maka run --session "$session" "Inspect the tests next" --no-wait
maka run --session "$session" --wait --json

Waiting on the new prompt does not return an earlier Turn's interactions.

An added prompt queues by default; --queue is optional. submission confirms admission, while status describes the observed Session, possibly an earlier Turn. Status and admission receipts already return JSON; use --json on waits/results/recaps to keep their output structured.

Handle decisions and interruption

Read Session control details when answering a question, deciding a sandbox request, changing models or resuming, selecting one queued result, or handling submission: "inbox". It covers request selection and uncertain outcomes.

--session controls inherit saved access, including bypass, without repeated --yolo. That flag explicitly grants full access; a read-only prompt does not restrict it. Ctrl+C on a Session observer leaves Host execution running; maka run --session "$session" --stop explicitly requests stop.

Exit 0 can mean admission or a pending interact

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

Skill có nâng cấp Maka không?

Không. Skill làm việc với phiên bản Maka đã được cài sẵn.

Skill có chờ tác vụ hoàn thành không?

Không nhất thiết. Skill có thể gửi mà không chờ, lưu ID phiên và kiểm tra lại sau.

Skill có đổi được mô hình không?

Có. Các tùy chọn mô hình và kết nối có thể cập nhật cho một phiên hiện có.

Chi tiết

Mô tả gốc của tác giả

Coordinate Maka CLI as a worker to submit tasks, inspect progress, update saved models, and handle Session questions or approvals.

repo: apache/maka

Độ phổ biến

Sao GitHub
5.9k
Vị trí xếp hạng
#14526
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự