env-sync-check

Compare local environment versions against the Prime Intellect Environments Hub.

113|35|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/PrimeIntellect-ai/research-environments --skill env-sync-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-sync-check
Source: https://github.com/PrimeIntellect-ai/research-environments/tree/main/skills/env-sync-check
Command: npx skills add https://github.com/PrimeIntellect-ai/research-environments --skill env-sync-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prime, python3.

What problem does it solve?

This Skill helps you detect which local research environments are out of sync with the Prime Intellect Environments Hub, preventing stale or mismatched environment deployments.

Core Features & Use Cases

  • Compares versions across all environments: Reads every environments/*/pyproject.toml and compares the [project] version to the latest hub version for the matching environment ID.
  • Unified reporting for auditing: Produces clear sections for out-of-sync, not-on-hub, and in-sync environments, using a “—” hub version marker when no hub entry exists.
  • Version-safe matching by name and exact string: Matches hub environments by the hub key format primeintellect/<name> where <name> is taken from pyproject.toml’s [project] name, and compares versions via exact string equality.

Quick Start

Run the environment sync audit by executing: bash skills/env-sync-check/check.sh

Frequently Asked Questions about env-sync-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if local research environment versions are out of sync with the hub?

To check environment sync status, compare local pyproject.toml versions against the Prime Intellect Environments Hub. The audit reads every environments/* directory, matches project names to hub IDs, and reports mismatches using exact version string equality to clearly identify sync drift.

What is environment sync drift in CI release management?

Environment sync drift occurs when local research environment versions differ from the latest published hub versions. Detecting drift requires fetching the hub environment list via the Prime CLI and comparing the local pyproject.toml version strings against the remote hub entries.

How do I audit pyproject.toml versions against the Prime Intellect Environments Hub?

You can audit pyproject.toml versions by running the environment sync check script. It reads each environments/* pyproject.toml, maps the project name to the primeintellect/<name> hub key, fetches hub data via Prime CLI, and separates results into in-sync, out-of-sync, and missing-hub cases.

Do I need the Prime CLI to detect environment version mismatches?

Yes, you need the Prime CLI installed to detect environment version mismatches. The CLI is required to fetch the latest environment lists from the Prime Intellect Environments Hub, which are then compared against your local pyproject.toml version strings to identify sync drift.

How does the version auditing handle environments missing from the GitHub hub?

For environments missing from the hub, the version auditing process clearly separates them into a distinct not-on-hub reporting section. It uses a dash marker for the hub version when no matching hub entry exists for the local pyproject.toml project name.