private-repo

Automates initialization and remote sync of local directories to private GitHub repositories.

2|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/zachmayer/skills --skill private-repo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: private-repo
Source: https://github.com/zachmayer/skills/tree/main/.claude/skills/private-repo
Command: npx skills add https://github.com/zachmayer/skills --skill private-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of data loss and lack of version control for sensitive local directories by automating the creation and configuration of private GitHub repositories.

Core Features & Use Cases

  • Automated Repository Setup: Quickly initializes local directories as git repositories and connects them to private GitHub remotes.
  • Sensitive Data Protection: Ensures all backups are created as private repositories to prevent exposure of personal notes, configuration files, or API keys.
  • Use Case: When you have a local Obsidian vault or a collection of private configuration files that you want to sync across machines without exposing them to the public internet.

Quick Start

Use the private-repo skill to initialize a new private GitHub repository for the current directory and push the contents to a remote.

Frequently Asked Questions about private-repo

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

FAQPage Schema
How do I securely back up local directories to a private GitHub repository?

To securely back up local directories to a private GitHub repository, you can automate the initialization of git and remote synchronization using the GitHub CLI. This ensures sensitive personal data remains protected.

Can I sync an Obsidian vault to GitHub without exposing sensitive notes?

Yes, you can sync an Obsidian vault to GitHub without exposing sensitive notes by automating the creation of private repositories. This workflow secures configuration files and personal knowledge management vaults from public access.

Do I need the GitHub CLI to automate local data backup to private remotes?

Yes, you need the GitHub CLI (gh) and git installed and authenticated to automate local data backup to private remotes. These tools handle repository management and version control synchronization.

What is the best way to apply version control to local configuration files?

The best way to apply version control to local configuration files is automating their initialization as git repositories connected to private GitHub remotes. This prevents exposure of API keys while syncing across machines.

Does this automated backup approach work for syncing files across multiple machines?

Yes, this automated backup approach works for syncing files across multiple machines by pushing local directory contents to a private GitHub remote. It securely handles sensitive data without exposing it to the public internet.