返回顶部
m

mission-claw任务爪日志

Log agent activities to Mission Claw dashboard with token usage tracking. Use when completing significant tasks, subagent work, or any action worth recording in the activity feed. Triggers on task completion, activity logging, or tracking agent work.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.2
安全检测
已通过
1,250
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

mission-claw

Mission Claw 活动日志记录

将重要任务记录到 Mission Claw 活动源中,以追踪代理工作、令牌使用情况和项目进度。

前提条件

  • - Mission Claw CLI:主机系统上必须安装 mclaw 二进制文件。
  • OpenClaw 内置工具:依赖 session_status 工具来获取当前令牌使用情况。

CLI 使用方式

bash
mclaw log 任务描述 \
--agent 代理名称 \
--project 项目名称 \
--status completed \
--duration X分 Y秒 \
--input-tokens N \
--output-tokens N \
--total-tokens N

必填字段

  • - action - 简短的任务描述(位置参数)
  • --agent - 代理名称(例如:J、mission-claw、type-alchemy)
  • --total-tokens - 使用的总令牌数(始终包含

可选字段

  • - --details - 已完成工作的详细描述
  • --project - 项目名称
  • --status - completed(默认)、in_progress 或 failed
  • --duration - 耗时(例如:5m、1h 30m)
  • --input-tokens / --output-tokens - 令牌分解

何时记录

在完成以下任务后进行记录:

  • - 重要的开发任务
  • 错误修复或功能实现
  • 研究或调查工作
  • 配置更改
  • 任何值得追踪的任务

获取令牌使用情况

在记录前,检查当前会话的令牌使用情况:

  • - 使用内置的 session_status 工具查看当前令牌数
  • 对于子代理,令牌信息包含在完成通知中

示例

bash

功能实现


mclaw log 为仪表板添加日期时间过滤器 \
--agent mission-claw \
--project Mission Claw \
--status completed \
--duration 10m \
--total-tokens 15000

快速修复

mclaw log 修复时区错误 \ --agent J \ --project ContentMorph \ --duration 2m \ --total-tokens 3500

进行中的工作

mclaw log 实现支付流程 \ --agent J \ --project TypeAlchemy \ --status in_progress

其他命令

bash
mclaw list # 最近活动
mclaw list --agent J # 按代理筛选
mclaw status # 快速统计和服务状态
mclaw dashboard start # 启动网页仪表板(默认 localhost:3101)

API 替代方案

CLI 会记录到本地守护进程(默认地址为 http://localhost:3100)。您也可以直接通过 POST 请求调用 API:

POST http://localhost:3100/api/activity
json
{
action: 任务名称,
agent: J,
project: 项目,
status: completed,
totalTokens: 5000,
inputTokens: 4000,
outputTokens: 1000
}

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mission-claw-1776420084 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mission-claw-1776420084 技能

通过命令行安装

skillhub install mission-claw-1776420084

下载

⬇ 下载 mission-claw v0.1.2(免费)

文件大小: 1.86 KB | 发布时间: 2026-4-17 18:57

v0.1.2 最新 2026-4-17 18:57
- Added binary information, install instructions, homepage, and repository links to metadata.
- Clarified prerequisites, including required CLI and dependence on OpenClaw built-in tools.
- Updated agent name and web dashboard port in usage examples and documentation.
- Added more detail to other commands, including where the dashboard runs and service status information.
- Clarified that CLI communicates with a local daemon, and specified the default API URL.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部