TopRank Skills

Home / Claw Skills / Git / GitHub / diffmanifests
Official OpenClaw rules 54%

diffmanifests

Compare manifest XML files via Gerrit and Gitiles APIs, producing JSON/txt/xlsx reports. Use when comparing Android or repo manifest versions, diffing manifest files, or when the user mentions diffmanifests, manifest comparison, or Gerrit/Gitiles manifest diffs.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 diffmanifests 技能。 若已安装,则直接安装 diffmanifests 技能。

Overview

Skill Key
craftslab/diffmanifests
Author
craftslab
Source Repo
openclaw/skills
Version
-
Source Path
skills/craftslab/diffmanifests
Latest Commit SHA
4aac439b4a29f5338a596a85ca66c33a1972715e

Extracted Content

SKILL.md excerpt

# diffmanifests Skill (OpenClaw)

Use the **diffmanifests** CLI to compare two manifest XML files and get detailed commit/change reports. Install with `pip install diffmanifests`. Configuration lives in a JSON file; all four CLI arguments are required.

## Installation

```bash
pip install diffmanifests
```

Upgrade: `pip install diffmanifests --upgrade`

## Configuration

Configuration is read from a JSON file. **Bundled config** (packed with this skill for OpenClaw hub): use `config.json` in this skill directory. Reference structure:

| Section   | Parameter   | Type    | Description |
|-----------|-------------|---------|-------------|
| **gerrit** | `url`       | string  | Gerrit instance URL |
|           | `user`      | string  | Auth username |
|           | `pass`      | string  | Password or API token |
|           | `query.option` | array | e.g. `["CURRENT_REVISION"]` |
| **gitiles** | `url`     | string  | Gitiles instance URL |
|           | `user`      | string  | Auth username |
|           | `pass`      | string  | Password or API token |
|           | `retry`     | integer | Retry attempts (default: 1) |
|           | `timeout`   | integer | Timeout in seconds (-1 = no timeout) |

Example `config.json`:

```json
{
  "gerrit": {
    "url": "https://android-review.googlesource.com",
    "user": "",
    "pass": "",
    "query": { "option": ["CURRENT_REVISION"] }
  },
  "gitiles": {
    "url": "https://android.googlesource.com",
    "user": "",
    "pass": "",
    "retry": 1,
    "timeout": -1
  }
}
```

## Parameters (CLI)

| Argument            | Required | Description |
|---------------------|----------|-------------|
| `--config-file`     | ✅       | Path to configuration JSON file |
| `--manifest1-file`  | ✅       | Path to first (older) manifest XML |
| `--manifest2-file`  | ✅       | Path to second (newer) manifest XML |
| `--output-file`     | ✅       | Output path; format by extension: `.json`, `.txt`, `.xlsx` |

## Basic usage

Use the bund...

Related Claw Skills