Carrel Fix — Development skill for Claude Code
Detect and resolve environment.json drift in your vault.
How to install Carrel Fix
Installs to ~/.claude/skills/linxule-carrel-carrel-fix/SKILL.md
mkdir -p ~/.claude/skills/linxule-carrel-carrel-fix && curl -fsSL https://raw.githubusercontent.com/linxule/carrel/HEAD/commands/carrel-fix.md -o ~/.claude/skills/linxule-carrel-carrel-fix/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Carrel Fix does
description: Detect and resolve environment.json drift in your vault
/carrel-fix — Environment Recovery
Checks `.carrel/environment.json` for drift, previews safe repairs, and escalates ambiguous cases into an interactive recovery flow.
What Happens
- Run
carrel env validate --vault . --format json - If the file is already valid, report that and stop
- Run
carrel env fix --safe --dry-run --vault . --format json - Summarize safe fixes in plain language and ask the researc
Alternatives in Development
- Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
- Resolve Drizzle Migrations — Resolve Drizzle migration conflicts by accepting upstream and regenerating local migrations 2.5k ★
- Dotenv Vault — Sync environment variables across machines for consistent Claude Code behavior 1.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Carrel Migrate
Check for plugin updates, review current environment, and suggest improvements
Carrel Status
Check what tools are installed and working in your research environment
Drift Research
Resolve the "queued" tail — go into the wild, read each detected-but-uncatalogued vendor's own API-deprecation
Reconcile Repo
Find and safely resolve repository drift — duplicate implementations, dead flags, stale docs and tests
Gc Golden Rules
Periodic golden rules GC — detect Rule 7 violations and docs drift, then create tq actions for fixes
Init Project Doctor
Detect and repair baseline drift — missing or invalid .claude/workflows.jsonl, schema violations, four-way Art
Related Agents
Build Doctor
Diagnoses build, CI, container, packaging and dependency-resolution failures — a red pipeline, a failing Docke
Vault Librarian
Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag sta
Detect Environment
Detects package managers and environment managers in a project, including nested monorepo setups