Agent skill

Safe Push

by kxn in kxn/codex-remote-feishu

A skill your agent uses when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced.

No licenceAuto-check passedDevelopment

Install Safe Push

skills CLI
$ npx skills add kxn/codex-remote-feishu --skill safe-push -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kxn/codex-remote-feishu safe-push --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kxn/codex-remote-feishu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/safe-push .claude/skills/safe-push && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
safe-push
GitHub stars
328
Token cost
~639 tokens
SKILL.md length
284 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced.

  • Works in 7 steps: require a clean worktree → trust the repo-local pre-commit… → git fetch the target branch → …
  • Pushing committed changes from this repository
  • SKILL.md covers Default behavior, Important limits and Useful variants
  • Calls git, bash and go

What it does

Safe Push is an agent skill from kxn/codex-remote-feishu. Use when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced. Prefer the repo helper script that fetches, rebases if needed, reruns tests after a successful rebase, and only then pushes.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git workflow. It works with Git. The repository describes itself as: Yet another codex remote in feishu.

When your agent uses it

  • Pushing committed changes from this repository
  • Especially when git push may fail because the remote branch advanced

Example prompts

  • “/safe-push”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. require a clean worktree
  2. trust the repo-local pre-commit guardrail record only when its tree hash exactly matches the current HEAD; otherwise rerun the lightweight…
  3. git fetch the target branch
  4. if the remote branch moved ahead, git rebase onto it
  5. rerun go test ./... only when a rebase actually happened
  6. if a rebase happened, require an explicit post-rebase review before push
  7. if no drift is found, continue push; if drift is found, fix it first and then continue push

What it can do on your machine

Read from SKILL.md and the folder at commit 4522572. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • bash
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Safe Push loads about 639 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 284 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~639

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 284 words (~639 tokens).

“Use this skill when the task is to push already-committed local changes from this repository.”

— opening of SKILL.md by kxn
name
safe-push

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .codex/skills/safe-push of kxn/codex-remote-feishu.

Open the folder on GitHubat commit 4522572

Compare with similar skills

Safe Push next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Safe Push compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Safe Push this skillkxn/codex-remote-feishu328—~639Automated safety check: PassNone
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Migrate Internal Package into GhostTryGhost/Ghost55k—~3.8kAutomated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    55k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Git Merge Conflict Resolver

    tailcallhq/forgecode

    Resolves Git merge conflicts with a plan-first workflow that keeps both sides' intent, regenerates lock files and backs up deleted-but-modified files.

    7.6k GitHub starsUsed in 1 repo~4.5k tokens
    DevelopmentAuto-check passed

More from kxn/codex-remote-feishu

All 9 skills in this repo
  • Issue Workflow Guardrail

    kxn/codex-remote-feishu

    A skill your agent uses when handling a GitHub issue in this repository: raw issue shaping, implementability reassessment, fast/full classification, parent/child orchestration, execution snapshots…

    328 GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Local Upgrade

    kxn/codex-remote-feishu

    A skill your agent uses when the user asks for this repository's local upgrade flow: 本地升级, 拉最新代码后升级本地 daemon, upgrade-local.sh, or triggering the built-in local upgrade transaction from a repo build.

    328 GitHub stars~951 tokensUpdated 7 days ago
    Auto-check passed
  • Issue Doc Sync

    kxn/codex-remote-feishu

    A skill your agent uses when syncing closed GitHub issues back into repo docs.

    328 GitHub stars~932 tokensUpdated 7 days ago
    Auto-check passed
  • Relay Stack Playbook

    kxn/codex-remote-feishu

    A skill your agent uses when working on this repository's relay stack: Codex app-server protocol translation, relayd, relay-wrapper, Feishu bot integration, VS Code remote integration, or real-stack…

    328 GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Build Page Mock

    kxn/codex-remote-feishu

    A skill your agent uses when creating or revising a page mock, browser-runnable prototype, or interactive demo for this repository's web, setup, onboarding, status, or admin pages, and also when…

    328 GitHub stars~1.7k tokensUpdated 7 days ago
    Auto-check passed
  • Feishu UI State Machine Guardrail

    kxn/codex-remote-feishu

    Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace…

    328 GitHub stars~1.2k tokensUpdated 7 days ago
    Auto-check passed

Works with

Categories

Questions about Safe Push

What does Safe Push do?

A skill your agent uses when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced. Safe Push is an agent skill from kxn/codex-remote-feishu. Use when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced.

When should I use Safe Push?

Safe Push fits situations like: pushing committed changes from this repository; especially when git push may fail because the remote branch advanced.

How do I install Safe Push in Claude Code?

Run `npx skills add kxn/codex-remote-feishu --skill safe-push -a claude-code`. Or copy the skill folder (.codex/skills/safe-push in kxn/codex-remote-feishu) into .claude/skills/safe-push in your project. Claude Code loads it when a task matches its description.

How do I install Safe Push in Codex?

Run `npx skills add kxn/codex-remote-feishu --skill safe-push -a codex`. Or copy the skill folder (.codex/skills/safe-push in kxn/codex-remote-feishu) into .agents/skills/safe-push in your project. Codex loads it when a task matches its description.

Can I use Safe Push in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kxn/codex-remote-feishu --skill safe-push -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/safe-push, .gemini/skills/safe-push, .github/skills/safe-push and .opencode/skills/safe-push in your project.

What does Safe Push need to run?

Going by SKILL.md and its folder, Safe Push needs the command-line tools its instructions call (git, bash and go).

Does Safe Push access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Safe Push safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Safe Push use?

No licence was found for Safe Push or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Safe Push use?

About 639 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Safe Push?

Skills that share tags, products or a category with Safe Push: Finishing a Development Branch (obra/superpowers, 296k stars), Code Design Rationale Investigator (cursor/plugins, 10k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Migrate Internal Package into Ghost (TryGhost/Ghost, 55k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Safe Push?

kxn (a GitHub user) maintains it in kxn/codex-remote-feishu, which has 328 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 1, 2026.

Source: kxn/codex-remote-feishu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.