Skip to content
Skills Library
Programming · Planning

home-private-git

/home-private-git

Default network home: private git repo. Use when: bootstrapping the owner's repo, first session in a fresh clone, promoting single-copy to git, capture-boundary questions, or before the first push to a shared remote.

Licence
MIT
Last repository change
04.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: references/test.sh

What it does and when to use it

Default network home: private git repo. Use when: bootstrapping the owner's repo, first session in a fresh clone, promoting single-copy to git, capture-boundary questions, or before the first push to a shared remote.

Original author description

Default network home: private git repo. Use when: bootstrapping the owner's repo, first session in a fresh clone, promoting single-copy to git, capture-boundary questions, or before the first push to a shared remote.

How it works

  1. Part 1 — The checklist (setup → session loop)
  2. Part 2 — Skill doc
  3. Part 3 — Assumptions (decided during template design; this skill assumes)
Original SKILL.md headings · 188 lines, 1,292 words
SKILL.md preview
---
name: home-private-git
description: "Default network home: private git repo. Use when: bootstrapping the owner's repo, first session in a fresh clone, promoting single-copy to git, capture-boundary questions, or before the first push to a shared remote."
topics: [git, github, workspace, sync]
requires: [git]
tested: self-test
---

# `home-private-git` skill (default home) [template v1 draft]

Vendored from the build notes for review with template v1.
Recipe contract: trigger/prereqs/access/envs/outputs/verification/
recovery/limits. Device names are roles (site-location-role), never
serials or addresses. No secrets below.

## Part 1 — The checklist (setup → session loop)

### 0. Decide this is the home

Use private git when the owner has (or accepts) a GitHub account and the
agent machine reaches the network. Otherwise fall back: router disk
(`home-router-disk-sync`, `home-router-container`) or single copy
(`home-single-copy`) — sibling skills. Drive is never
the live home (`anti-drive-live`).

### 1. Bootstrap the repo (once per network)

1. Create ONE private repo per network (split per site only when a
   second site forces it). Confirm: issues on; wikis/Projects off or
   ignored; no paid gates of any kind.
2. Lay out the starter skeleton, instantiating only what is
   useful (N=1 starts with one `router.toml` plus one
   `observations/` folder):
   `START-HERE`, `workspace.toml`, `inventory/ observations/ operations/
   checks/ .agents/skills/ reports/ inbox/` plus `whiteboard/`.
3. `workspace.toml` declares the canonical home (`home = "private-git"`,
   plus repo URL) and pins the trilogy versions the repo was built
   against. This answers the workspace-shape open question.
4. Write `.gitignore` with the capture boundary (decided
   2026-10-28 — raw pulls local-only, redacted summaries committable):
   - IGNORE: `observations/<device>/raw/` (export text, volatile-stripped
     JSON, full manifest with serial — mirrors prototype `out/<device>/`;
     standing rule bans committing serials).
   - COMMIT: `observations/<device>/summary.md` (device, times, file list +
     sizes + statuses, checker verdict — no serials, no secrets). The
     summary is the pointer to where more detail lives.
   - Documented OVERRIDE: an owner may ask for raw observations in git
     (e.g. multi-agent sharing across systems) — allowed only with the
     content redacted/changed to the summary standard first. The agent
     states the caveat when asked; it never volunteers the override.
5. Write the conventions file: per-directory ownership (agent-owned
   canonical here; router-owned pulls carry age manifests, never edited
   in place), the no-edit-pulled-copies guard, the drift-list rule.
6. Create the five labels: `buying`, `setup`, `config`, `incident`,
   `report` (the git workflow §3).
7. Point START-HERE at the entry skill + capability probe so a
   fresh session orients before touching anything.
8. First commit is plan/skills/schemes/docs only — no pulls, no
   secrets, no site identifiers past the sensitivity line. Scrub before the
   first push to anything shared (see pre-publish-scrub).

### 2. Branching rule (N=1 zero ceremony; decided 2026-10-28)

- Commit to `main`. No PRs against yourself — that is ceremony
  without a reviewer — and the agent does NOT suggest PRs even when a
  second human or agent appears: PRs offer single-or-few-user systems
  nothing, and starting complex is the wrong call.
- PR mechanics are used ONLY if the owner explicitly asks. An owner
  asking a question may evolve their own scheme afterward; the
  template does not start them there.
- No protected branches or required reviewers ever (Free-tier ban).

### 3. Session open

1. `git pull` (or confirm single-copy canonical — one home only).
2. Pull router-owned dirs fresh where they exist (sibling skill flow);
   land raw captures under `observations/<device>/raw/` (ignored).
3. Verify captures using state-pull §2; manual verification is the scaffold baseline.
4. Read manifest ages with the freshness split: content-changed
   vs last-observed vs last-attempted — healthy data never looks stale.

### 4. Session close

1. Write or update shaped records (owner + DoD): proposals,
   decisions, incident entries, report views citing data + time.
2. Refresh `observations/<device>/summary.md` from the verified pull;
   never hand-edit `raw/`.
3. Commit shaped work and push to `main` (§2). PRs only on explicit
   owner request, never suggested.
4. Leave the tree clean except ignored `raw/` — `git status` shows the
   next session exactly what is uncommitted thought vs unshaped draft.

## Part 2 — Skill doc

### Trigger

Load when: bootstrapping the owner's repo; first session in a fresh
clone; promoting a single-copy home to git; any question about what
commits vs what stays local; before the first push to a shared remote.

### Prereqs

- git on PATH; owner GitHub account exists; agent git identity set
  (name/email per deployment — identity provisioning assumed
  solved by the owner step below, Part 3.1).
- Agent machine has the trilogy (quickchr/centrs/rosetta) and the
  pull/checker recipe for captures. No router-side software required.
- Scrub posture known for this repo: what scrub level the first push
  needs (default: site content minus credentials
  stays unpushed to anything shared).

### Access

- Reads-first everywhere: pull + checker before any write, same as
  every home.
- The production rule generalizes: writes to a production router need an
  explicit go-ahead per item, whatever home holds the plan.
- Git writes: local commits are cheap and free; push to a shared
  remote and merge of someone else's PR need the owner's ack once a
  second human exists (branching rule §2).
- Operator Unknown → ask before any write.

### Envs

| Name | Use |
|---|---|
| `GIT_AUTHOR_NAME` / `GIT_AUTHOR_EMAIL` | commit identity for agent-authored commits |
| `GIT_SSH_COMMAND` | key selection where the deployment needs it (path only, never material) |

No tokens, passwords, or CDB material in env for git purposes. The
agent's repo credential is provisioned by the owner at bootstrap
(Part 3.1) and lives in the deployment's own store, never in the repo.

### Outputs

- Bootstrap: repo URL + initial commit SHA recorded in `workspace.toml`
  provenance (or the handoff note that announces the home).
- Per session: shaped commits (proposals/decisions/incidents/reports),
  refreshed `summary.md` files, checker verdicts cited by device + time.
- Promotion events: issue↔record links where the GitHub adapter is in
  use (the git workflow §3); the record is always findable without GitHub.

### Verification

- `git status --short` shows only intended changes; `raw/` never
  appears (ignore rule holds).
- Checker exit 0 over every device worked this session; any nonzero is a
  finding, never rendered green.
- Every `summary.md` cites its pull time and checker verdict; every
  report view cites data + time.
- No serials, creds, tokens, or addresses in `git log -p` for the
  session's commits (standing rule; grep before push).
- Claim discipline: every claim carries command + output.

### Recovery

- Dirty/conflicted sync: the canonical home wins; second copies
  carry age manifests. Re-pull router-owned dirs; never push agent
  edits into router-owned paths.
- Bad commit: revert with a new commit (history is the audit trail);
  never rewrite pushed history on a shared repo.
- Checker nonzero: treat as drift/incident input (git workflow §2),
  not as a reason to hand-edit `raw/` — captures are evidence, fixed by
  re-pull or by fixing the router.
- Credential loss: stop, escalate to the owner for re-provisioning
  (Part 3.1); never improvise a credential or embed one to unblock.

### Limits

- Free-tier ceiling: no branch protection, required reviewers,
  code owners, private Pages, wikis-as-record. Advisory
  checker-on-push inside 2,000 Actions min/mo is the only allowed
  future step, never merge-gating.
- Offline owners cannot use this home — that is what `home-single-copy`
  is for, with git promotion when connectivity exists.
- This skill covers the git side only. Router-disk homes, container
  deploy-and-read-back, and the Drive anti-pattern are sibling skills.
- `centrs check` reach/health battery is designed, not implemented —
  the session-open probe above is the manual version until it lands.

## Part 3 — Assumptions (decided during template design; this skill assumes)

1. Owner provisions the agent's repo credential at bootstrap and owns
   rotation; the skill never designs credential storage.
2. `workspace.toml` gains `home`, repo URL, and trilogy pins;
   the workspace schema owns the field list.
3. Capture boundary as §1.4; the privacy tiers may tighten
   it (e.g. summaries also local-only for some deployments).
4. Second-machine/second-agent appearance is the promotion trigger
   from main-only to branch+PR.
5. Cross-session handoff is workspace-native: a note under `inbox/`
   or `operations/*-handoff.md`, pointing at state, never pasting
   copies. Owner cross-session continuity is the repo
   itself (plus file-provider homes once listed).
Files in this package (3)
  • SKILL.md 9 KB
  • references/README.md 1 KB
  • references/test.sh 1 KB

Versions

The database has no other skills named home-private-git.

Database snapshot: 13.11.2026 · package version 6f424bda1e1b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 96git-remote-publishing
    Use when preparing a repo's first public push or release.
  • 90home-single-copy
    No-server local home: one laptop/desktop copy. Use when: bootstrapping or working locally, backup/restore questions, copy-this-tree or two-machine questions, or evaluating promotion to git.
  • 100setup
    One-time machine setup to work in a team GitHub repo - install git and gh, log in to GitHub, set git name/email, get access to and clone the repo. Use when someone says "set me up", "first time", "how do I get the repo", or git/gh isn't installed or authenticated.
  • 100repo
    Convention + tooling for where agent-cloned repos live and how their worktrees are arranged. Default bare repo at `~/.x-repo/.bare/<provider>/<owner>/<name>.git` with linked working trees under `~/.x-repo/<provider>/<owner>/<name>[/@<wtname>]`. Discovered via `x repo ls`.…
  • 100git-repo-detection
    Detect GitHub repo owner/name from git remotes. Use when needing the owner/repo identifier for GitHub CLI or API calls, especially across multiple repos.
  • 95git-repo-creator
    Put a project on git and GitHub the right way, or audit and fix an existing repository. Covers the repository name, one-line description, public or private, license, .gitignore, README, CI workflow, and, for public repos, the lockdown against outside contributors. Use whenever…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.