opencode-upkeep-and-maintenance
CommunityKeep OpenCode in-sync with your git state.
Authordzackgarza
Version1.0.0
Installs0
System Documentation
What problem does it solve?
OpenCodeās sidebar can drift from the actual git working tree, leaving stale snapshot references behind. This skill provides a safe, auditable workflow to restore alignment between the sidebar state and the repository, with built-in safeguards such as backups and explicit user approvals.
Core Features & Use Cases
- Safety-first maintenance workflow: backup the database, require explicit user consent, and validate the target session status before any actions.
- Reset Sidebar Baseline: realign the sidebar with the current repo state when drift is detected.
- Session Pruning and Playbooks: identify and prune ephemeral or obsolete sessions to reclaim space while preserving important history.
- Cache and Plugin Hygiene: provide guidance for clearing caches and avoiding stale artifacts that impact OpenCode behavior.
- Audit-ready workflows: maintain an action trail with confirmations for reproducible maintenance.
Quick Start
Backup the OpenCode database, obtain explicit user approval to disable native rollbacks, verify the target session is idle, and run oc-refresh-diff <session-id> to reset the baseline.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageš» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: opencode-upkeep-and-maintenance Download link: https://github.com/dzackgarza/ai/archive/main.zip#opencode-upkeep-and-maintenance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.