← Back to Skills Marketplace
ahmed-eladl

Harmonia

by Ahmed Eladl · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install harmonia
Description
Check PyTorch, Transformers, and CUDA compatibility. Detect GPU, driver mismatches, and version conflicts in ML environments. Use when the user sets up ML/AI...
README (SKILL.md)

Harmonia — ML Dependency Harmony

Harmonia detects GPU, CUDA, driver, OS, Python, and installed ML packages — then reports exactly what's compatible with what. Zero dependencies, works offline.

When To Use This Skill

  • User asks to set up a PyTorch or ML environment
  • User hits a dependency error with torch, transformers, torchaudio, torchvision, accelerate, or CUDA
  • User asks "what version of X works with Y" for ML packages
  • User asks to check their GPU, CUDA, or driver setup
  • User says something like "my torch is broken", "CUDA error", "version mismatch", "which torch for my Python"
  • User is installing local models via Ollama or setting up training

Instructions

Step 1: Install harmonia (if not already installed)

pip install harmonia-ml

Step 2: Choose the right command based on the user's need

Full environment scan — use when diagnosing issues:

harmonia check

This scans OS, Python, GPU, CUDA driver chain, torch, transformers, and known conflicts all at once.

Deep system diagnostics — use when the user asks specifically about GPU, CUDA, or driver:

harmonia doctor

Shows GPU model, VRAM, driver version, CUDA (nvidia-smi vs nvcc vs torch), glibc, virtualenv status.

Suggest compatible versions — use when the user wants to know what works together:

# What works with a specific torch version?
harmonia suggest torch==2.5.1

# What works with a specific transformers version?
harmonia suggest transformers==4.44.2

# Best stack for specific Python + CUDA?
harmonia suggest transformers --python 3.11 --cuda 12.1

Show compatibility matrix — use when the user wants to see all options:

harmonia matrix pytorch
harmonia matrix transformers

List known conflicts — use when the user hit a specific error:

harmonia conflicts

Shows known bug patterns with exact error messages and fixes.

JSON output — use for programmatic processing:

harmonia check --json

Step 3: Interpret the output for the user

  • Lines starting with are errors that must be fixed
  • Lines starting with ⚠️ are warnings worth noting
  • Lines starting with mean everything is fine
  • The 📦 Recommended compatible set section gives the exact versions to install
  • The Install command at the bottom can be copied and run directly

Step 4: Help the user fix issues

When harmonia reports errors, help the user fix them by running the suggested commands. Common fixes:

  • Wrong companion version: pip install torchaudio==2.5.1 (use the version harmonia suggests)
  • CUDA mismatch: Install torch with the correct CUDA index URL from the recommendation
  • torch too old for transformers: pip install torch>=2.4.0
  • No virtualenv: python -m venv .venv && source .venv/bin/activate

Rules

  • Always run harmonia check FIRST when a user reports any ML dependency issue — do not guess
  • Always show the full output to the user — do not summarize away important details
  • If harmonia is not installed, install it with pip install harmonia-ml before running commands
  • Do NOT try to manually diagnose version compatibility — let harmonia do it
  • When harmonia suggests a fix, offer to run the fix command for the user
  • If the user asks about versions not in harmonia's database, say so and suggest checking the official docs

Constraints

  • This skill only checks compatibility — it does not install or modify packages unless the user asks
  • harmonia works offline with a local database — it does not make API calls
  • The database covers PyTorch 2.0–2.5 and Transformers 4.24–5.x — very old versions may not be covered
Usage Guidance
This skill appears to do what it claims (diagnose PyTorch/CUDA/transformers compatibility) but you should verify a few things before installing or letting the agent run fixes automatically: - Verify system tooling: The documentation mentions checking nvidia-smi and nvcc (GPU and CUDA tools) but the skill metadata only requires pip and python3. Confirm that your environment has nvidia-smi/nvcc if you expect full GPU diagnostics. - Review the PyPI package: 'pip install harmonia-ml' will download code from PyPI — inspect the package (or its GitHub repo) for unexpected network calls or installation scripts before installing. - Be cautious about automatic fixes: The skill encourages running pip install commands it recommends. Those modify your Python environment. Always preview and approve any install command the agent proposes, and prefer running them manually in a controlled virtualenv. - Offline claim: The SKILL.md says it 'works offline' with a local DB. That can be fine, but confirm by checking the package source (some tools still fetch metadata online during runtime). If you want higher assurance, ask the skill author or inspect the harmonia-ml package source on GitHub/PyPI to confirm it only runs local checks and to see whether it invokes nvidia-smi/nvcc and how it handles suggested fix commands.
Capability Analysis
Type: OpenClaw Skill Name: harmonia Version: 1.0.0 The harmonia skill is a diagnostic utility designed to manage ML dependencies like PyTorch and CUDA. It provides instructions for the agent to install the 'harmonia-ml' package and execute specific diagnostic commands (e.g., 'harmonia check', 'harmonia doctor'). The skill's behavior is transparent, lacks obfuscation, and contains no indicators of data exfiltration or malicious intent in its SKILL.md or README.md files.
Capability Assessment
Purpose & Capability
The skill's name, description, and commands (harmonia check/doctor/suggest/matrix) align with the stated goal of diagnosing ML environment compatibility. However, the runtime instructions reference system GPU utilities (nvidia-smi, nvcc) and other system state checks that are not declared in the skill's listed required binaries; that omission is an inconsistency that should be clarified.
Instruction Scope
SKILL.md explicitly instructs the agent to install the package (pip install harmonia-ml), run system diagnostics (nvidia-smi, nvcc, glibc, virtualenv status), and offers to run suggested fix commands (pip installs). The instructions do not declare reliance on nvidia-smi/nvcc, and they allow the agent to execute environment-modifying commands if the user asks — which can change the user's system. The skill also claims 'works offline' and 'does not make API calls'; those claims are plausible for a local database but should be verified in the package source before trusting them.
Install Mechanism
Install spec points to 'pip install harmonia-ml' (package on PyPI) which is a typical install path for this functionality and acceptable. The registry metadata uses kind 'uv' (ambiguous in this context) but the SKILL.md explicitly uses pip. No remote arbitrary archive downloads are present. Verify the PyPI package and its source code before installing.
Credentials
The skill requests no environment variables or credentials and does not declare access to any config paths. That is proportionate for a diagnostic tool.
Persistence & Privilege
The skill does not request always:true and does not ask for persistent system-wide configuration changes. It can be invoked by the agent autonomously (platform default), which is normal; combine this with the instruction-scope concerns (ability to run pip install) when deciding whether to allow autonomous runs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install harmonia
  3. After installation, invoke the skill by name or use /harmonia
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of harmonia. - Detects GPU, CUDA, driver, OS, Python, and main ML package versions for compatibility checks. - Diagnoses version conflicts and mismatches in PyTorch, Transformers, and related environments. - Provides specific commands for full environment diagnostics, system details, and compatibility suggestions. - Offers a compatibility matrix and lists known bug patterns and fixes. - Outputs actionable recommendations, including errors, warnings, and install commands. - Works offline with no dependencies beyond Python and pip.
Metadata
Slug harmonia
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Harmonia?

Check PyTorch, Transformers, and CUDA compatibility. Detect GPU, driver mismatches, and version conflicts in ML environments. Use when the user sets up ML/AI... It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.

How do I install Harmonia?

Run "/install harmonia" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Harmonia free?

Yes, Harmonia is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Harmonia support?

Harmonia is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Harmonia?

It is built and maintained by Ahmed Eladl (@ahmed-eladl); the current version is v1.0.0.

💬 Comments