跳到正文
Skillpedia
智能体5.9k · #14526

maka-cli

它能做什么

这项技能让你的 AI 通过 Maka 命令行工具协调工作,提交任务并查看进度。适合把 Maka 当作工作程序运行、并希望由 AI 管理这些工作的人。

适用场景

  • ✓当你想把任务提交给 Maka 并查看其进度时。
  • ✓当 Maka 在一次会话中提出问题或需要批准的时候。
  • ✓当你想更新 Maka 会话已保存的模型的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/apache/maka/blob/main/skills/maka-cli/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请通过命令行把这个代码审阅任务交给 Maka,并帮我查看进度。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会在不等待的情况下提交任务,保存会话 ID,并根据已安装版本查看命令帮助,之后再回来检查进度。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- 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

常见问题

它会升级 Maka 吗?

不会。它使用已经安装的 Maka 版本。

它会等待任务完成吗?

不一定。它可以提交后不等待,保存会话 ID,稍后再回来检查。

它可以更改模型吗?

可以。模型和连接选项可以更新已有的会话。

详情

作者的原始描述

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

repo: apache/maka

热度

GitHub 星标
5.9k
排名
#14526
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能