API监控

APIMon

by BytesAgain

Monitor API endpoints and track response times to catch outages. Use when checking uptime, validating schemas, or generating status reports.

4.5k平台与服务未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain1/apimon

文档

APIMon

Apimon v2.0.0 — a devtools command-line toolkit for checking, validating, generating, formatting, linting, explaining, converting, templating, diffing, previewing, fixing, and reporting on API-related tasks. All operations are timestamped and logged, with built-in search, statistics, and multi-format export.

Commands

CommandDescription
apimon check <input>Record a check entry (no args = show recent checks)
apimon validate <input>Record a validation entry (no args = show recent validations)
apimon generate <input>Record a generation entry (no args = show recent generations)
apimon format <input>Record a format entry (no args = show recent formats)
apimon lint <input>Record a lint entry (no args = show recent lints)
apimon explain <input>Record an explain entry (no args = show recent explains)
apimon convert <input>Record a conversion entry (no args = show recent conversions)
apimon template <input>Record a template entry (no args = show recent templates)
apimon diff <input>Record a diff entry (no args = show recent diffs)
apimon preview <input>Record a preview entry (no args = show recent previews)
apimon fix <input>Record a fix entry (no args = show recent fixes)
apimon report <input>Record a report entry (no args = show recent reports)
apimon statsShow summary statistics across all log files
apimon export <fmt>Export all data in json, csv, or txt format
apimon search <term>Search across all entries for a keyword
apimon recentShow the 20 most recent activity entries
apimon statusHealth check — version, data dir, entry count, disk usage
apimon helpShow usage info and all available commands
apimon versionShow version (v2.0.0)

How It Works

Each command (check, validate, generate, format, etc.) works as a timestamped log recorder:

  • With arguments: saves the input to ~/.local/share/apimon/<command>.log with a timestamp, then confirms the entry count.
  • Without arguments: displays the 20 most recent entries from that command's log file.

All activity is also recorded in a central history.log for cross-command traceability.

Data Storage

  • Location: ~/.local/share/apimon/
  • Log files: One .log file per command (e.g., check.log, validate.log, format.log)
  • History: history.log — central activity log across all commands
  • Export: export.json, export.csv, or export.txt generated on demand
  • Format: Each log line is YYYY-MM-DD HH:MM|<input>

Requirements

  • Bash (4.0+)
  • Standard Unix utilities (wc, du, grep, tail, head, date)
  • No external dependencies or API keys required

When to Use

  1. API health monitoring — use apimon check "GET /health returned 200 in 45ms" to log each endpoint check with response details
  2. Schema validation tracking — run apimon validate "OpenAPI spec v3.1 passed all rules" to record validation outcomes over time
  3. Generating mock data records — use apimon generate "Mock /users response with 50 entries" to log data generation tasks
  4. Linting API definitions — run apimon lint "spectral lint passed for orders.yaml" to track lint history
  5. Uptime reporting — use apimon report "Daily uptime: 99.97%" to log uptime metrics, then apimon export json to build dashboards

Examples

bash
# Check an API endpoint
apimon check "GET https://api.example.com/health — 200 OK, 32ms"

# Validate a response schema
apimon validate "POST /orders response matches OrderSchema v2"

# Generate mock data
apimon generate "10 sample user objects for /api/users"

# Format an API response
apimon format "pretty-print JSON response from /api/products"

# Lint an API spec
apimon lint "openapi-lint passed for petstore.yaml"

# Explain an HTTP status
apimon explain "502 Bad Gateway — upstream server not responding"

# Convert request format
apimon convert "curl command to Python requests"

# Create a request template
apimon template "GET with auth headers and pagination"

# Diff two API versions
apimon diff "v1 vs v2 breaking changes in /users endpoint"

# Preview a request
apimon preview "GET /api/search?q=test&limit=20"

# Record a fix
apimon fix "resolved timeout issue on /api/export endpoint"

# Generate a report entry
apimon report "Weekly API health summary: 99.9% uptime"

# View summary statistics
apimon stats

# Export all data as CSV
apimon export csv

# Search for keywords
apimon search "timeout"

# View recent activity
apimon recent

# Health check
apimon status

Output

Results go to stdout. Save with apimon export json > backup.json. All entries are persisted to the data directory for later retrieval and analysis.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

相关 Skills

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描139.0k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描139.0k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描15.8k

相关 MCP 服务

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
86.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.9k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
52.8k

评论