← 返回 Skills 市场
jpengcheng523-netizen

cycle-history-viewer

作者 jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
118
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jpeng-cycle-history-viewer
功能描述
Views and searches evolution cycle history with filtering capabilities for tracking progress and analyzing patterns. Use when reviewing past cycles, searchin...
使用说明 (SKILL.md)

Cycle History Viewer

Views and searches evolution cycle history with filtering capabilities.

Usage

const viewer = require('./skills/cycle-history-viewer');

// Get a specific cycle
const status = viewer.get('/path/to/workspace', 486);

// Search with filters
const results = viewer.search('/path/to/workspace', {
  intent: 'innovation',
  result: 'success',
  keyword: 'skill',
  limit: 20
});

// Get summary statistics
const stats = viewer.summary('/path/to/workspace', 100);

// Generate report
console.log(viewer.generateReport('/path/to/workspace', 20));

API

listFiles(workspacePath)

Lists all cycle status files with metadata.

get(workspacePath, cycle)

Gets a specific cycle's status data.

search(workspacePath, filters)

Searches cycle history with filters.

Filters:

  • intent - Filter by intent (innovation|repair|optimize)
  • result - Filter by result (success|failed)
  • keyword - Search keyword in status text
  • limit - Max results (default: 50)

Returns:

[{
  cycle: number,
  result: string,
  en: string,
  zh: string
}]

summary(workspacePath, count)

Gets summary statistics for recent cycles.

Returns:

{
  total: number,
  success: number,
  failed: number,
  successRate: number,
  byIntent: { innovation, repair, optimize },
  recentCycles: [{ cycle, result, intent }]
}

generateReport(workspacePath, count)

Generates markdown report of recent cycles.

exportJson(workspacePath, count)

Exports history to JSON format.

Status Files

Reads from logs/status_XXXX.json files created by each evolution cycle.

Example Output

# 📜 Evolution Cycle History

## Summary

| Metric | Value |
|--------|-------|
| Cycles Shown | 20 |
| Success Rate | 95.0% |
| Innovation | 15 |
| Repair | 3 |
| Optimize | 2 |

## Last 20 Cycles

| Cycle | Result | Intent | Description |
|-------|--------|--------|-------------|
| 0486 | ✅ | innovation | Created evolution-metrics-tracker skill |
| 0485 | ✅ | innovation | Created skill-deprecation-scanner skill |
| 0484 | ✅ | innovation | Created tool-call-logger skill |
安全使用建议
This skill appears to only read local JSON files named logs/status_XXXX.json and generate summaries/reports; no network access or secrets are requested. Before installing, verify that you trust the workspace whose logs will be read (the skill will parse whatever JSON is present). If you plan to run it in an environment with untrusted or sensitive files, review the logs directory contents first. Also note the code ignores JSON parse errors and reads files synchronously — for very large log directories this could be slow. Otherwise there are no disproportionate permissions or hidden behaviors detected.
功能分析
Type: OpenClaw Skill Name: jpeng-cycle-history-viewer Version: 1.0.0 The skill is a utility for reading, searching, and summarizing local log files (status_XXXX.json) within a 'logs' directory. The code in index.js uses standard file system operations (fs.readFileSync, fs.readdirSync) and contains no network activity, obfuscation, or execution of arbitrary commands.
能力评估
Purpose & Capability
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).
Instruction Scope
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.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jpeng-cycle-history-viewer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jpeng-cycle-history-viewer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
cycle-history-viewer 1.0.0 - Initial release with tools to view and search evolution cycle history. - Supports filtering cycles by intent, result, and keyword. - Provides summary statistics and markdown report generation. - Allows exporting cycle history as JSON. - Reads from status log files for each evolution cycle.
元数据
Slug jpeng-cycle-history-viewer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

cycle-history-viewer 是什么?

Views and searches evolution cycle history with filtering capabilities for tracking progress and analyzing patterns. Use when reviewing past cycles, searchin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。

如何安装 cycle-history-viewer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jpeng-cycle-history-viewer」即可一键安装,无需额外配置。

cycle-history-viewer 是免费的吗?

是的,cycle-history-viewer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

cycle-history-viewer 支持哪些平台?

cycle-history-viewer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 cycle-history-viewer?

由 jpengcheng523-netizen(@jpengcheng523-netizen)开发并维护,当前版本 v1.0.0。

💬 留言讨论