Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

monitormonitor 搜索

Agent Skill

monitor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,042

周安装

43

GitHub Stars

3

下载量

341
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:monitor(monitor 搜索)
来源仓库:https://github.com/permaweb/skills
仓库路径:skills/monitor
安装命令:
npx skills add https://github.com/permaweb/skills --skill monitor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/permaweb/skills --skill monitor

简介

monitor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor 或 Gemini CLI 中监控系统指标时使用。

  • 适用于获取任务概览、详细指标和警报信息,支持多种时间窗口和格式。
  • 包括日志查看和错误过滤功能,便于故障排查。
  • 安装命令为 npx skills add https://github.com/permaweb/skills --skill monitor,需确认权限范围和维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写,避免安全风险。

SKILL.md

AO Monitor CLI

A Node.js command-line interface for the AO Task Monitor service. Query system health, view alerts, analyze logs, and monitor AO process performance.

Overview

  • Location: skills/monitor/index.mjs
  • Runtime: Node.js 18+
  • Dependencies: None (uses built-in fetch)
  • Default API: https://ao-task-monitor.onrender.com

When to Use

Use this CLI when you need to:

  • Monitor AO process health and performance
  • Check for system alerts or failing tasks
  • View and filter execution logs
  • Analyze task metrics and success rates
  • Troubleshoot AO process issues
  • Get quick status updates on AO processes

Authentication Setup

The CLI requires an API key set via environment variable.

Get Your API Key

Contact the AO Task Monitor service administrator to obtain your API key.

Configure Environment

For zsh (~/.zshrc):

# Add to ~/.zshrc
export AO_MONITOR_KEY="YOUR_KEY_HERE"

# Reload
source ~/.zshrc

For bash (~/.bashrc):

# Add to ~/.bashrc
export AO_MONITOR_KEY="YOUR_KEY_HERE"

# Reload
source ~/.bashrc

Temporary (current session only):

export AO_MONITOR_KEY="YOUR_KEY_HERE"

Per-command override:

node skills/monitor/index.mjs summary --token "YOUR_KEY_HERE"

Commands

summary

Get a system-wide overview of all monitored tasks.

node skills/monitor/index.mjs summary

Options:

  • --period <1h|4h|8h|24h|48h> - Time window for metrics
  • --include <csv> - Fields to include (e.g., counts,kpis,latency)
  • --format <json|text> - Response format (default: json)

Examples:

# Default summary
node skills/monitor/index.mjs summary

# Last 24 hours, text format
node skills/monitor/index.mjs summary --period 24h --format text

# Only counts and KPIs
node skills/monitor/index.mjs summary --include counts,kpis

task

Get detailed metrics for a specific task.

node skills/monitor/index.mjs task <taskId>

Options:

  • --period <1h|4h|8h|24h|48h> - Time window for metrics
  • --include <csv> - Fields to include
  • --format <json|text> - Response format

Examples:

# Get ao-token-info task details
node skills/monitor/index.mjs task ao-token-info

# With 48-hour window and text output
node skills/monitor/index.mjs task ao-token-info --period 48h --format text

alerts

View current system alerts and issues.

node skills/monitor/index.mjs alerts

Options:

  • --period <1h|4h|8h|24h|48h> - Time window for alerts
  • --format <json|text> - Response format

Examples:

# Current alerts
node skills/monitor/index.mjs alerts

# Last 4 hours, text format
node skills/monitor/index.mjs alerts --period 4h --format text

logs

View execution logs, optionally filtered by task.

# All logs
node skills/monitor/index.mjs logs

# Task-specific logs
node skills/monitor/index.mjs logs <taskId>

Options:

  • --limit <n> - Maximum results (default: 100, max: 1000)
  • --offset <n> - Pagination offset
  • --status <success|failure|timeout> - Filter by execution status
  • --error-type <string> - Filter by error message substring
  • --since <isoTimestamp> - Logs after this time
  • --until <isoTimestamp> - Logs before this time
  • --task-id <taskId> - Filter by task ID (alternative to positional arg)

Examples:

# Recent logs
node skills/monitor/index.mjs logs

# Task-specific logs
node skills/monitor/index.mjs logs ao-token-info

# Failed executions only
node skills/monitor/index.mjs logs --status failure

# Logs with 503 errors
node skills/monitor/index.mjs logs --error-type 503

# Last 50 logs since yesterday
node skills/monitor/index.mjs logs --limit 50 --since 2024-01-01T00:00:00Z

# Paginated results
node skills/monitor/index.mjs logs --limit 100 --offset 100

docs

Retrieve API documentation from the server.

node skills/monitor/index.mjs docs

request

Make a generic API request for endpoints not covered by other commands.

node skills/monitor/index.mjs request <endpoint> <method> [body]

Arguments:

  • endpoint - API path (e.g., /v1/summary)
  • method - HTTP method (GET, POST, PUT, DELETE)
  • body - JSON body for POST/PUT requests (optional)

Examples:

# GET request
node skills/monitor/index.mjs request /v1/summary GET

# GET with query params
node skills/monitor/index.mjs request "/v1/summary?format=text" GET

# POST with JSON body
node skills/monitor/index.mjs request /v1/api/agent POST '{"task_id":"123","status":"running"}'

# PUT request
node skills/monitor/index.mjs request /v1/api/agent/456 PUT '{"name":"Updated Agent"}'

Global Options

These options work with all commands:

OptionDescription
--base-url <url>Override API base URL
--token <token>Override auth token (instead of AO_MONITOR_KEY)
--timeout-ms <ms>Request timeout in milliseconds (default: 30000)
--help, -hShow help message

Examples:

# Use different API server
node skills/monitor/index.mjs summary --base-url https://my-monitor.example.com

# Override token for single request
node skills/monitor/index.mjs alerts --token "different_key"

# Longer timeout for slow connections
node skills/monitor/index.mjs logs --timeout-ms 60000

Query Parameters Reference

For summary, task, alerts

ParameterValuesDescription
--period1h, 4h, 8h, 24h, 48hTime window for metrics
--includeCSV of fieldsFields to include in response
--formatjson, textResponse format

Include field options:

  • counts - Execution counts
  • kpis - Key performance indicators
  • latency - Response time metrics

For logs

ParameterTypeDescription
--limitintegerMax results (1-1000, default: 100)
--offsetintegerPagination offset
--statusstringsuccess, failure, or timeout
--error-typestringFilter by error substring
--sinceISO timestampLogs after this time
--untilISO timestampLogs before this time
--task-idstringFilter by task ID

Common Use Cases

Check System Health

# Quick overview
node skills/monitor/index.mjs summary --format text

# Check for any alerts
node skills/monitor/index.mjs alerts

Investigate Task Failures

# See if task has issues
node skills/monitor/index.mjs task ao-token-info --period 24h

# Get recent failures
node skills/monitor/index.mjs logs ao-token-info --status failure --limit 20

# Search for specific error
node skills/monitor/index.mjs logs --error-type "503" --limit 50

View Recent Activity

# Last 100 logs
node skills/monitor/index.mjs logs

# Last hour of logs
node skills/monitor/index.mjs logs --since "$(date -u -v-1H +%Y-%m-%dT%H:%M:%SZ)"

# Successful runs only
node skills/monitor/index.mjs logs --status success --limit 50

Monitor Specific Task

# Task metrics
node skills/monitor/index.mjs task ao-token-info --include counts,kpis,latency

# Task logs
node skills/monitor/index.mjs logs ao-token-info --limit 50

Debug Timeouts

# Find timeout issues
node skills/monitor/index.mjs logs --status timeout

# Check latency metrics
node skills/monitor/index.mjs summary --include latency

Error Handling

Missing Authentication

If AO_MONITOR_KEY is not set and no --token provided:

Error: No authentication token provided.

Set the AO_MONITOR_KEY environment variable:
  export AO_MONITOR_KEY="your_key_here"

Or use the --token flag:
  node skills/monitor/index.mjs summary --token "your_key_here"

Authentication Failures

401 Unauthorized or 403 Forbidden:

  • Verify your AO_MONITOR_KEY is correct
  • Check if the key has expired
  • Ensure the key has access to the requested resource

API Errors

Non-2xx responses display:

  • HTTP status code
  • Error message from server
Error: Request failed with status 404
Not Found: Task 'invalid-task' does not exist

Network/Timeout Errors

  • Default timeout is 30 seconds
  • Increase with --timeout-ms for slow connections
  • Check network connectivity if requests fail

Examples Cheatsheet

# System overview
node skills/monitor/index.mjs summary

# Text format summary
node skills/monitor/index.mjs summary --format text

# Last 24h summary
node skills/monitor/index.mjs summary --period 24h

# Check alerts
node skills/monitor/index.mjs alerts

# Task details
node skills/monitor/index.mjs task ao-token-info

# Recent logs
node skills/monitor/index.mjs logs

# Task logs
node skills/monitor/index.mjs logs ao-token-info

# Failed runs
node skills/monitor/index.mjs logs --status failure

# Search errors
node skills/monitor/index.mjs logs --error-type "503"

# API docs
node skills/monitor/index.mjs docs

# Custom request
node skills/monitor/index.mjs request /v1/summary GET

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.92%
按下载量换算92

OpenCode

23.47%
按下载量换算80

windsurf

15.71%
按下载量换算54

Codex

11.47%
按下载量换算39

Antigravity

7.83%
按下载量换算27

Cursor

3.49%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills