Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

oneshot-ship一次性船

Agent Skill

oneshot-ship 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,338

周安装

509

GitHub Stars

公开资料未说明

下载量

4,031
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:oneshot-ship(一次性船)
来源仓库:https://github.com/adwilkinson/oneshot-ship
安装命令:
openclaw skills install oneshot-ship
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install oneshot-ship

简介

使用 oneshot CLI 实现代码提交全流程自动化:计划、执行与 PR 打开。

  • 适用于 Git 工作流集成与远程仓库协作开发任务管理。
  • 支持 SSH 或本地两种运行模式适配不同部署环境。
  • 需预先配置好 Git 凭据与远程仓库访问权限。oneshot-ship 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 建议在沙箱环境中测试后再应用于生产分支操作流程。

SKILL.md

name
oneshot-ship
description
Ship code with oneshot CLI. One command that plans, executes, reviews, and opens a PR. Runs over SSH or locally. Use when the user wants to ship code changes, automate PRs, or run a coding pipeline with Claude and Codex.
license
MIT
metadata
author
ADWilkinson
version
0.2.0
repository
https://github.com/ADWilkinson/oneshot-cli
compatibility
Requires Bun, Claude Code CLI, Codex CLI, and GitHub CLI. SSH access to a server optional (can run locally with --local)

oneshot CLI

Ship code with a single command. oneshot runs a full pipeline: plan (Claude) → execute (Codex) → review (Codex) → PR (Claude). Works over SSH to a remote server or locally with --local.

When to use this skill

  • User wants to ship a code change to a repository without manual coding
  • User wants to automate the plan/implement/review/PR workflow
  • User mentions "oneshot" or wants to delegate a coding task
  • User wants to run a task on a remote server or locally

Installation

bun install -g oneshot-ship

Setup

Run oneshot init to configure SSH host, workspace path, API keys, and model preferences. Config is saved to ~/.oneshot/config.json.

Repos on the server should live as <org>/<repo> under the workspace path:

~/projects/
  my-org/my-app/
  my-org/my-api/

Server prerequisites

Usage

oneshot <repo> "<task>"                 # ship a task
oneshot <repo> <linear-url>            # ship from a Linear ticket
oneshot <repo> "<task>" --bg           # fire and forget
oneshot <repo> "<task>" --local        # run locally, no SSH
oneshot <repo> "<task>" --deep-review  # force exhaustive review
oneshot <repo> "<task>" --model sonnet # override Claude model
oneshot <repo> "<task>" --branch dev   # target a different branch
oneshot <repo> --dry-run               # validate only
oneshot init                           # configure
oneshot stats                          # recent runs + timing

Pipeline

  1. Validate: checks the repo exists, fetches latest from origin
  2. Worktree: creates a temp git worktree from the target base branch
  3. Classify: classifies the task as fast or deep via heuristics + LLM
  4. Plan: Claude reads the codebase and CLAUDE.md conventions, outputs an implementation plan
  5. Execute: Codex implements the plan. If it times out with partial changes, the pipeline continues
  6. Draft PR: Claude creates a branch, commits, pushes, and opens a draft PR
  7. Review: Codex reviews the diff. In deep mode it runs an exhaustive review across correctness, security, and code quality
  8. Finalize: pushes review fixes and marks the PR ready

Worktree is cleaned up after every run.

Configuration

~/.oneshot/config.json:

{
  "host": "user@100.x.x.x",
  "basePath": "~/projects",
  "anthropicApiKey": "sk-ant-...",
  "linearApiKey": "lin_api_...",
  "claude": { "model": "opus", "timeoutMinutes": 180 },
  "codex": {
    "model": "gpt-5.4-mini",
    "reasoningEffort": "xhigh",
    "reviewModel": "gpt-5.4-mini",
    "reviewReasoningEffort": "xhigh",
    "timeoutMinutes": 180
  },
  "stepTimeouts": {
    "planMinutes": 20,
    "executeMinutes": 60,
    "reviewMinutes": 20,
    "deepReviewMinutes": 20,
    "prMinutes": 20
  }
}

Only host is required for SSH runs. Local mode works without a config file.

Flags

FlagShortDescription
--model-mOverride Claude model
--branch-bBase branch (default: main)
--deep-reviewForce exhaustive review mode
--localRun locally instead of over SSH
--bgRun in background, return PID + log path
--dry-run-dValidate only
--events-fileMirror JSONL events to an additional file
--help-hHelp
--version-vVersion

Customization

  • Put a CLAUDE.md in any repo root. oneshot passes it to Claude and Codex at every step
  • Edit prompts/plan.txt, execute.txt, review.txt, pr.txt to change pipeline behavior

Tips

  • Use --bg to fire and forget long tasks
  • Linear integration moves tickets to "In Review" and comments the PR URL
  • Per-step timeouts prevent runaway processes (plan 20m, execute 60m, review 20m, PR 20m)
  • Worktree isolation means your main branch is never touched
  • Task classification picks fast or deep mode automatically. Use --deep-review to force deep
  • Duration estimates come from historical runs per repo (~/.oneshot/history.json)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.25%
按下载量换算3,154

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills