ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/craftslab/diffmanifests
Or

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

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:

SectionParameterTypeDescription
gerriturlstringGerrit instance URL
userstringAuth username
passstringPassword or API token
query.optionarraye.g. ["CURRENT_REVISION"]
gitilesurlstringGitiles instance URL
userstringAuth username
passstringPassword or API token
retryintegerRetry attempts (default: 1)
timeoutintegerTimeout in seconds (-1 = no timeout)

Example config.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)

ArgumentRequiredDescription
--config-filePath to configuration JSON file
--manifest1-filePath to first (older) manifest XML
--manifest2-filePath to second (newer) manifest XML
--output-fileOutput path; format by extension: .json, .txt, .xlsx

Basic usage

Use the bundled config.json in this skill directory (or pass your own):

diffmanifests \
  --config-file config.json \
  --manifest1-file path/to/older.xml \
  --manifest2-file path/to/newer.xml \
  --output-file path/to/output.json

From inside the skill directory: --config-file config.json.

Output format is chosen by --output-file extension: .json (structured), .txt (plain text), .xlsx (Excel).

Output (JSON)

Each change entry can include: author, branch, change, commit, committer, date, diff (e.g. ADD COMMIT / REMOVE COMMIT), hashtags, message, repo, topic, url.

When to use

  • User asks to compare two manifest files or manifest versions.
  • User mentions diffmanifests, Gerrit manifest diff, or Gitiles manifest comparison.
  • Task involves Android/repo manifest version analysis or change reports.

Metadata

Author@craftslab
Stars3409
Views0
Updated2026-03-25
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-craftslab-diffmanifests": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.