push

A workflow for sending the current Git branch to GitHub and creating or updating its pull request, a request for code review.

In plain words
What is it for?
Use it when you need to push changes, publish updates, or create or update a pull request for OpenASE.
Why use it?
It combines the required checks with publishing the changes, reducing the chance of opening a pull request that fails project validation.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/pacificstudio/openase/push
Any agent
npx skills add PacificStudio/openase --skill push
Clone the repo
git clone --depth 1 https://github.com/PacificStudio/openase

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,159 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.01159
Opus 5 $0.00017 $0.00580
Sonnet 5 $0.00007 $0.00232
Haiku 4.5 $0.00003 $0.00116

Measured 2d ago against content hash 68129d5f76ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

push scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/openase_ci_gate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/push/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Push

Prerequisites

  • gh CLI is installed and available in PATH.
  • gh auth status succeeds for GitHub operations in this repo.
  • corepack pnpm is available for frontend validation.

Goals

  • Push the current branch to origin safely.
  • Create a PR if none exists for the branch, otherwise update the existing PR.
  • Keep PR metadata aligned with the actual total scope of the branch.
  • Run the same local validation gates that current CI expects before publishing.
  • pull: use this when push is rejected or the branch must be merged with the latest origin/main.
  • commit: use this when there are local changes that are intended to ship but are not committed yet.

Validation Gate

Use the repo-local helper script:

  • .codex/skills/push/scripts/openase_ci_gate.sh

That script mirrors .github/workflows/ci.yml instead of asking the agent to guess which checks are needed:

  • Always runs make openapi-check because CI always runs API contract checks.
  • Detects go_changed and web_changed using the same path rules as CI.
  • Runs frontend CI with make web-install and corepack pnpm --dir web run ci when web_changed=true.
  • Runs backend and Go lint checks with make check, make build, LINT_BASE_REV=<base> make lint, make lint-depguard, and make lint-architecture when go_changed=true.

If the branch scope is ambiguous, use the script anyway; it already biases toward the stricter CI-compatible outcome.

Steps

  1. Identify the current branch and inspect working tree state.
  2. If there are intended but uncommitted changes, use the commit skill first.
  3. Ensure origin/main is available locally:
    • git fetch --no-tags origin main
  4. Run the local CI gate for the current branch diff:
    • .codex/skills/push/scripts/openase_ci_gate.sh
    • Use --plan first if you want to inspect which jobs it will run.
  5. Push the branch to origin, setting upstream tracking if needed.
  6. If the push is rejected because the remote moved:
    • Run the pull skill to merge origin/main and/or remote branch updates.
    • Rerun .codex/skills/push/scripts/openase_ci_gate.sh.
    • Push again.
    • Use --force-with-lease only when local history was intentionally rewritten.
  7. If the push fails due to auth, permissions, branch protection, or workflow restrictions, stop and surface the exact error. Do not rewrite remotes or switch protocols as a workaround.
  8. Ensure a PR exists for the branch:
    • If no PR exists, create one.
    • If a PR exists and is open, update it.
    • If the branch is tied to a closed or merged PR, create a new branch and a new PR instead of reusing stale history.
  9. Write a clear PR title that describes the shipped outcome, not just the last commit.
  10. Write or refresh the PR body explicitly. OpenASE does not currently require a repository PR template, so include concrete sections such as:
  • Summary
  • Validation
  • Risks / follow-up
  1. Reply with the PR URL from gh pr view.

Read the full file on GitHub · 140 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 140 lines · 35 tokens per session scan A 68129d5f76ea

Subscribe to this mod's changes

push is a skill published in the GitHub repository PacificStudio/openase (265 stars, last pushed 23d ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,159 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aisee:init

初始化、审计并优化 OpenSpec/Aisee 项目配置。仅适用于已使用或准备接入 OpenSpec 的项目;用于创建或修复 AGENTS.md、openspec/project.md、aisee/memory/、最小 Aisee docs 目录,并在当前支持的 Codex hook target 下安装项目级 hooks;检查 hook 机制兼容性、OpenSpec 状态机、baseline 迁移入口与项目技术架构边界。触发词包括 aisee:init、aisee-init、初始化项目配置、优化 AGENTS.md、配置 Codex hooks、OpenSpec 配置审计。.

AISEE-LAB/aisee-plugin · 134 tokens

aisee:srs

通过结构化对话充分澄清软件类业务需求,并生成规划级详细的需求规格说明书(SRS)。当用户想写需求文档、澄清产品范围、整理业务目标/用户角色/业务能力/业务流程/业务规则/权限/非目标,或为 aisee:change-plan 准备稳定输入时使用。适用于 App、小程序、Web、桌面软件、后端/API 服务、CLI 工具、定时任务/异步任务等软件项目。SRS 应写到足够支持后续拆 change 和编写 change 内容,但不要写成接口设计、数据库设计、技术方案、视觉设计、硬件架构、固件设计或开发任务。.

AISEE-LAB/aisee-plugin · 159 tokens

aisee:change-author

按当前 schema 的模板,为单个已确认 OpenSpec change 详细生成或补全文档。用于任何 schema 下的 schema-aware authoring:逐文档写清目标、范围、行为、约束、风险、验证和实施顺序,减少开发、评审和验证阶段的误解与漏项。不拆 change 边界、不重新选择 schema、不写代码;只处理 schema 声明的文档并保持跨文档一致。.

AISEE-LAB/aisee-plugin · 103 tokens

aisee:change-plan

将已确认需求、轻量修复、技术调研或项目事实映射为可独立交付的 OpenSpec changes,并为每个 change 选择合适 schema。用于规划 change 边界、依赖顺序、并行关系和 /opsx:new 命令;不重新做业务模块划分,不重新生成需求,不默认套用 app schema。.

AISEE-LAB/aisee-plugin · 87 tokens

aisee:image-object

对象级图片处理与素材提取工作流。用于从单张图片中分离对象、基于图片提取素材、去背景、生成或修正 mask、点选/框选分割、透明切图、导出带背景/圆角/padding 的素材变体、背景修补、生成图层包和维护单图 source.json workspace 时触发。不要用于参考图生成、StyleSpec、全局视觉规范、Figma 写入或前端实现。.

AISEE-LAB/aisee-plugin · 110 tokens

aisee:reflect

复盘当前会话并把可复用经验沉淀为项目内可审查资产。用于会话结束复盘、总结“这次学到了什么”、提炼团队约定、发现可转成新 skill 的重复流程、审查现有 skill 的缺口、记录 workflow fix,或用户明确说 reflect、aisee:reflect、aisee-reflect、复盘、沉淀、保存经验、转成技能、优化技能、总结本次协作时触发。长会话中如果出现多轮纠错、重复工具链、稳定偏好或可复用流程,也应主动建议使用本技能。.

AISEE-LAB/aisee-plugin · 144 tokens