Skip to content
Back to skills

Gh Land

ASecurity

Commit and push ONLY the named files onto origin/main, from any dirty checkout, branch, or worktree. Use when asked to commit and push, land changes, push relevant files to main, gcp, or scoped commit. Thin front door over ops-worktrees land; never stages repo-wide, never stashes, never switches branches, never deletes worktrees (the ops-worktrees reaper owns reclamation).

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
toolsbashgcpgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add grahama1970/agent-skills --skill gh-land --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gh Land?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gh Land
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grahama1970-gh-land/badge)](https://www.skillsdirectory.com/skills/grahama1970-gh-land)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gh-land
description: >
  Commit and push ONLY the named files onto origin/main, from any dirty
  checkout, branch, or worktree. Use when asked to commit and push, land
  changes, push relevant files to main, gcp, or scoped commit. Thin front door
  over ops-worktrees land; never stages repo-wide, never stashes, never
  switches branches, never deletes worktrees (the ops-worktrees reaper owns
  reclamation).
triggers:
  - land
  - commit and push
  - commit and push only relevant files
  - push to main
  - land these files
  - scoped commit
  - git commit push
  - gcp
  - gh-land
  - git-land
allowed-tools: Bash
metadata:
  short-description: Scoped commit+push of named paths onto origin/main
provides:
  - scoped-landing
composes:
  - ops-worktrees
  - agentic-evals
complies:
  - best-practices-skills
disciplines:
  - developer-tooling
---

# gh-land

One command. Land exactly the named paths onto `origin/main`:

```bash
skills/gh-land/run.sh -m "message" <path>...
```

Delegates to `skills/ops-worktrees/run.sh land` (plumbing:
`read-tree origin/main` -> scoped `add` -> `write-tree` ->
`commit-tree -p origin/main` -> `push <sha>:main`). Properties:

- Works from any dirty checkout, diverged branch, or worktree; touches no
  other lane's state (no `add -A`, no stash, no checkout, no reset).
- Refuses repo-wide pathspecs (`.`, `-A`, `*`) — name the files.
- Retries push races, then verifies the commit is an ancestor of
  `origin/main` before reporting success.
- Exit 0 with "no change" when the named paths already match origin/main.

Not this skill's job: merging branches, deleting worktrees, repo cleanup.
Worktree reclamation is the `ops-worktrees` hourly reaper. A dirty tree is
not a finding — see `skills/ops-worktrees/SKILL.md`.

Files in this skill

  • SKILL.md1.7 KB
  • run.sh266 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.