{"data":{"slug":"discovered-ff81e6fa632e98da38ba6e7627899251b6c1ba13a036f11f","title":"Repo Status","summary":"Get cross-machine status of a single repo, showing pending commits, unadopted conventions, and work in progress on each machine.","url":"https:\/\/skillshunter.net\/skills\/discovered-ff81e6fa632e98da38ba6e7627899251b6c1ba13a036f11f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-ff81e6fa632e98da38ba6e7627899251b6c1ba13a036f11f","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-ff81e6fa632e98da38ba6e7627899251b6c1ba13a036f11f.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-ff81e6fa632e98da38ba6e7627899251b6c1ba13a036f11f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the shared config file is created by running the `\/github-status` skill's step 1 before proceeding. Do not hand-write the config file. If the repo is not a valid Git repository or has no origin, stop immediately and report the issue.","instructions":"---\nname: repo-status\ndescription: >-\n  Cross-machine status of ONE repo, this clone beside the peer's: pending and inbound commits, unadopted\n  conventions, issues, and what each machine is mid-way through.\n  TRIGGER when: \/repo-status, where a single repo stands, \"what am I doing in this repo\", \"is this repo\n  clean on the other machine\", \"does the desktop have unpushed work here\", or \"is this repo behind on\n  conventions\".\n  DO NOT TRIGGER when: about the fleet (`\/github-status`), or a plain `git status` answers it.\nallowed-tools: Bash(python ~\/.claude\/skills\/github-status\/scripts\/repos-status.py:*), Bash(python3 ~\/.claude\/skills\/github-status\/scripts\/repos-status.py:*), Bash(test -f ~\/.claude\/skills\/github-status\/config\/config.env:*), Bash(git -C:*), PowerShell, Read(~\/.claude\/skills\/github-status\/config\/config.env)\n---\n\n## Context\n- Config file: !`test -f ~\/.claude\/skills\/github-status\/config\/config.env && echo PRESENT || echo MISSING`\n- This repo: !`git rev-parse --show-toplevel 2>\/dev\/null || echo NOT-A-REPO`\n- Its origin: !`git remote get-url origin 2>\/dev\/null || echo NO-ORIGIN`\n\nThis skill runs the same scanner `\/github-status` runs, scoped to one repo with\n`--repo`. Everything about how a column is filled, what the cache stores, and how\nthe peer is reached is defined there \u2014 read `~\/.claude\/skills\/github-status\/SKILL.md`\nwhen something is not covered below, rather than guessing at it.\n\n## 1. Check the preconditions\n\n- **Config file `MISSING`** \u2014 the shared config is `\/github-status`'s to create. Say so and\n  run that skill's step 1 to write it, then come back. Do not hand-write the file.\n- **This repo `NOT-A-REPO` or `NO-ORIGIN`** \u2014 there is nothing to report on. Say which of the\n  two it is and stop; do not fall back to scanning the fleet.\n\n## 2. Run the scan\n\n```\npython ~\/.claude\/skills\/github-status\/scripts\/repos-status.py --repo .\n```\n\nUse `python3` on macOS and Linux. Width resolves exactly as in `\/github-status` step 2 \u2014\npass nothing here; on Windows get the console width from the **PowerShell tool** evaluating\n`$Host.UI.RawUI.WindowSize.Width`, subtract 2, and pass `--width <N>`.\n\nTo ask about a repo you are not standing in, pass its path or its `OWNER\/REPO` slug instead\nof `.`. A path is resolved to its slug here, so the peer finds its own clone whatever it\ncalls the folder.\n\nThe output is **not** the fleet table. One repo gets a short block per machine:\n\n```\nclaude \u2014 AnotherSava\/claude-code-common\n\n  air     6 uncommitted (+360\/-29) \u00b7 oldest 9h ago\n  chrome  clean\n```\n\nFour things follow from that shape:\n\n- **Every fact at its default is left out**, because someone asking about this repo wants\n  what is not ordinary. Unsaid means `main`, an upstream level in both directions, a current\n  convention record, and zero open issues. A machine with none of them reads `clean`, and that\n  word is the whole line \u2014 never an empty one.\n- **What is not ordinary is always said**: a branch as `on <branch>`, then the uncommitted\n  count with its line diff, `N unpushed`, `N inbound` (`(pulled)` when the auto-pull took\n  them), the age of the oldest pending work, and the convention gap. A machine that was not\n  reached says so with its error; one with no clone says `no clone here`.\n- **Unknown is distinguished from zero.** `gh` failing to answer prints `open issues unknown`\n  in the title rather than nothing, which would assert a zero nobody checked. A failed `git\n  fetch` is the same case and says `fetch failed (remote unmeasured)` in place of the inbound\n  count: the tracking ref was never updated, so the `0` it would have printed is the answer a\n  current clone gives and says nothing about the remote.\n- **Nothing is written but the terminal** \u2014 no HTML for one repo. The only file is a state\n  file under the repo's own name, which `--report` reads; `--html` is refused, not ignored.\n\nA repo found on no machine exits 2 naming the reason, so an empty block is impossible.\n\nThe detail sections below the block \u2014 porcelain and unpushed listings \u2014 are raw material for\nstep 3, not part of what you hand over.\n\n## 3. Write the descriptions and render\n\nIdentical to `\/github-status` step 3, and its rules apply verbatim \u2014 one line per machine\nmarked `<analyze below>`, \u2264 ~80 chars, describing the work and not the counts, the branch,\nthe issue total, the convention gap or the machine's own name. A cell that arrived filled\ncame from the cache; leave it alone.\n\n```\npython ~\/.claude\/skills\/github-status\/scripts\/repos-status.py --repo . --report <<'JSON'\n{\"<PROJECT cell>\": \"<one-line summary>\"}\nJSON\n```\n\nKey by the repo's name as the block's title shows it, before any ` \u2014 ` slug. Both machines\nworking means an object keyed by machine name, as in `\/github-status`. **Pass `--repo`\nagain** \u2014 it is what points `--report` at this repo's state file rather than the fleet's.\n\nA written description prints under its machine's line, wrapped and indented to it. When\nneither machine is owed one, step 2's block is already final \u2014 hand it over and skip\n`--report` entirely.\n\nThe description cache is shared with `\/github-status` and **merged, not replaced**, on both\nmachines: this run saw one repo, so it overwrites that repo's entry and carries every other\none through. Do not pass `--cache` to \"isolate\" the run \u2014 a separate cache would make the\nnext fleet run re-read work already described.\n\n## 4. Hand it over\n\nOne thing: the block, pasted verbatim inside a fenced code block, from `--report` if it ran\nand otherwise from step 2. It is already aligned and wrapped \u2014 do not hand-draw it, reorder\nit, or expand the facts it deliberately left out. Do not paste the detail sections.\n\nThe block is terse by design, so a sentence above it is usually worth writing \u2014 what the\nshape of it means, rather than a reading of each line back. When every machine says `clean`,\nthat sentence is the answer and the block is the evidence for it.\n\n## Out of scope\n- Do NOT push, commit, stash, merge, rebase, or check out anything, on either machine. As in\n  `\/github-status`, the only content mutations are `git fetch` and `git pull --ff-only` on a\n  clean clone.\n- Do NOT run `\/adopt` off the back of the CONV number, or any step's `apply`. The column\n  states a gap; closing one is a walk through that repo's own session.\n- Do NOT widen the run to other repos. A question about the fleet is `\/github-status`, which\n  reuses this scan unscoped \u2014 running this skill repeatedly over several repos pays the peer\n  SSH hop once per repo for a report that one fleet run already produces.\n","use_cases":["Check if a repo is clean on another machine","Identify uncommitted changes in a repo","Compare work in progress across machines"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/AnotherSava\/claude-code-common\/blob\/1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93\/claude\/skills\/repo-status\/SKILL.md","source_commit":"1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93","license":null,"version":null,"listing_approved_at":"2026-12-01","created_at":"2026-11-30T08:08:32.000000Z","updated_at":"2026-12-01T12:48:20.000000Z","seo_title":"Check Cross-Machine Repo Status","seo_description":"Get a concise overview of a single repo's status across machines, including uncommitted changes, conventions, and work in progress.","seo_keywords":["repo status","cross-machine status","git status","uncommitted changes","repo comparison"]}}