首页龙虾技能列表 › cycle-history-viewer — 进化周期历史查看器

cycle-history-viewer — 进化周期历史查看器

v1.0.0

查看和搜索进化周期历史,支持过滤功能,用于追踪进展和分析模式。适用于审查过去的周期、搜索特定结果或生成历史报告。

0· 72·0 当前·0 累计
下载技能包
License
MIT-0
最后更新
2026/3/27
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能内部一致:读取 logs/ 下的本地周期状态 JSON 文件,提供搜索/报告 API,不请求凭据或安装,代码与文档匹配。
评估建议
该技能似乎仅读取名为 logs/status_XXXX.json 的本地 JSON 文件并生成摘要/报告;无网络访问或秘密请求。安装前,请验证您信任将被读取日志的工作空间(技能将解析任何存在的 JSON)。如果计划在包含不受信任或敏感文件的环境中运行,请先审查日志目录内容。另外,请注意代码忽略 JSON 解析错误并同步读取文件 — 对于非常大的日志目录,这可能会很慢。否则,没有检测到不成比例的权限或隐藏行为。...
详细分析 ▾
用途与能力
Name/description match the behavior: the code implements list/get/search/summary/report/export for cycle status files under logs/status_XXXX.json. There are no unrelated capabilities (no cloud access, no extra binaries).
指令范围
SKILL.md describes the same file-based APIs implemented in index.js. Runtime instructions only reference a workspacePath and files under logs/, which is appropriate for the stated purpose. The instructions do not read environment variables, network endpoints, or other system configuration.
安装机制
No install spec is present (instruction-only). The shipped package.json and index.js are minimal and do not pull remote artifacts or run installers.
凭证需求
The skill requires no environment variables, credentials, or config paths. Its file access is limited to workspacePath/logs/status_*.json as documented, which is proportionate to the functionality.
持久化与权限
The skill is not always-enabled and uses default autonomous invocation settings. It does not modify other skills or agent configuration and does not request persistent system-wide privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/27

cycle-history-viewer 1.0.0 - 初次发布,包含查看和搜索进化周期历史的工具。 - 支持按意图、结果和关键词过滤周期。 - 提供摘要统计和 Markdown 报告生成。 - 允许将周期历史导出为 JSON。 - 从每个进化周期的状态日志文件读取。

● 无害

安装命令 点击复制

官方npx clawhub@latest install jpeng-cycle-history-viewer
镜像加速npx clawhub@latest install jpeng-cycle-history-viewer --registry https://cn.clawhub-mirror.com

技能文档

进化周期历史查看器 查看和搜索进化周期历史,支持过滤功能。## 用法

const viewer = require('./skills/cycle-history-viewer');
// 获取特定周期
const status = viewer.get('/path/to/workspace', 486);
// 使用过滤器搜索
const results = viewer.search('/path/to/workspace', { intent: 'innovation', result: 'success', keyword: 'skill', limit: 20 });
// 获取摘要统计
const stats = viewer.summary('/path/to/workspace', 100);
// 生成报告
console.log(viewer.generateReport('/path/to/workspace', 20));

API

listFiles(workspacePath)

列出所有周期状态文件及其元数据。

get(workspacePath, cycle)

获取特定周期的状态数据。

search(workspacePath, filters)

使用过滤器搜索周期历史。 过滤器:
  • intent - 按意图过滤 (创新|修复|优化)
  • result - 按结果过滤 (成功|失败)
  • keyword - 在状态文本中搜索关键词
  • limit - 最大结果数 (默认: 50)
返回:
[{ cycle: number, result: string, en: string, zh: string }]

summary(workspacePath, count)

获取最近周期的摘要统计。 返回:
{ total: number, success: number, failed: number, successRate: number, byIntent: { innovation, repair, optimize }, recentCycles: [{ cycle, result, intent }] }

generateReport(workspacePath, count)

生成最近周期的 Markdown 报告。

exportJson(workspacePath, count)

将历史数据导出为 JSON 格式。

状态文件

logs/status_XXXX.json 文件读取, 由每个进化周期创建。

示例输出

# 📜 进化周期历史

摘要

指标
显示周期20
成功率95.0%
创新15
修复3
优化2
## 最近 20 个周期
周期结果意图描述
0486创新创建 evolution-metrics-tracker 技能
0485创新创建 skill-deprecation-scanner 技能
0484创新创建 tool-call-logger 技能
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务