OpenParable
Skip to content
← Back to skills

Ops Claude

Agent Building
ops-claude

Ops Claude is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Claude Code maintenance and diagnostics. Check inotify limits, clean caches, diagnose startup failures, and manage skills directories across projects.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/ops-claude/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ops-claude, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ops-Claude Skill

Maintenance and diagnostics for Claude Code installations.

Supported IDEs/CLIs

IDESkills PathUser-level
Claude Code.claude/skills~/.claude/skills
Pi Agent.pi/skills~/.pi/skills
Codex.codex/skills~/.codex/skills
KiloCode.kilocode/skills~/.kilocode/skills
GitHub Copilot.github/skills-
Antigravity/Gemini.gemini/skills~/.gemini/skills
Agent (generic).agent/skills~/.agent/skills

Common Issues Addressed

ErrorCauseFix Command
ENOSPC: System limit for number of file watchersinotify exhaustion./run.sh fix-inotify
JavaScript heap out of memoryToo many files in skills./run.sh clean-skills
Allocation failedNode.js heap limit./run.sh fix-heap
Claude hangs on startupCorrupted cache./run.sh clean-cache

Commands

diagnose

Run full diagnostics and report issues.

./run.sh diagnose

fix-inotify

Increase inotify limits (requires sudo).

./run.sh fix-inotify

fix-heap

Set NODE_OPTIONS for larger heap.

./run.sh fix-heap

clean-skills

Remove .venv, pycache, .pytest_cache from all skills directories.

./run.sh clean-skills

clean-cache

Clear Claude Code's cache directories.

./run.sh clean-cache

status

Show current resource usage and limits.

./run.sh status

gitignore

Add/update .gitignore in all skills directories.

./run.sh gitignore

Quick Fixes

# Full diagnostic + automatic fixes
./run.sh diagnose --fix

# Just see status
./run.sh status

# Emergency cleanup (all caches)
./run.sh clean-all

Proactive Usage

Run ./run.sh diagnose when:

  • Claude Code fails to start
  • Claude Code crashes with memory errors
  • After syncing skills across projects
  • System feels sluggish with many projects open