Token导航 LogoToken导航

Agent Skill · 开发

cli-forge-publish(CLI forge publish 命令行)

cli-forge-publish 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

cli-forge-publish 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 13,944。

总安装 784周安装 33GitHub Stars 公开资料未说明下载 275核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:cli-forge-publish(CLI forge publish 命令行)
来源仓库:https://github.com/bytelandtechnology/cli-forge
仓库路径:skills/cli-forge-publish
安装命令:
npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-publish
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-publish

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

cli-forge-publish 管理合规 CLI 技能的发布流水线,包括本地预发布与 GitHub Release + npm 发布。适合执行版本化发布流程,生成 git tag 与平台分包 npm 发布。需运行本地 prepublish 步骤并处理多包发布逻辑,依赖语义化 release 事件。

安装前应确认 CI/CD 环境配置正确,避免发布中断或权限错误。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/cli-forge-publish

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cli-forge-publish 怎么安装?

在终端执行 npx skills add https://github.com/bytelandtechnology/cli-forge --skill cli-forge-publish。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cli-forge-publish 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cli-forge-publish 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

cli-forge-publish 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cli-forge-publish 用的人多吗?

公开数据是累计安装 784 次,近一周安装 33 次,下载 275 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cli-forge-publish 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
cli-forge-publish

CLI forge publish 命令行 · 本页

784—操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

cli-forge Publish

Use this stage when a compliant generated CLI skill needs to adopt standard release automation, prepare a new version, or execute the paired GitHub Release + multi-package npm publication flow.

Purpose

Manage the release pipeline for a generated cli-forge skill.

This stage owns the bootstrap + production publication flow:

  • a required local prepublish step for the main package plus all platform packages
  • the paired repo-native GitHub Release plus platform-split npm publication from the later semantic-release event

One production release produces:

  • git tag v<version> + GitHub Release (archive + sha256 per target)
  • 6 per-platform npm packages (<pkg>-darwin-arm64 / -darwin-x64 / -linux-arm64 / -linux-x64 / -win32-arm64 / -win32-x64) carrying the native binaries
  • 1 main npm package (JS shim, optionalDependencies pinned to the same version)
  • CHANGELOG.md entry + chore(release): <version> [skip ci] commit

All npm packages publish in one semantic-release run and share the version with the git tag + GitHub Release. The total count is 1 + config.targets.length (default: 7).

Canonical References

Entry Gate

#CheckSource
1validation-report.yml exists, is fresh, and result == compliant or warningValidate
2Target repository path is explicitly knownRouter / User
3Requested publish mode is explicitRouter / User
4npm package naming contract, CLI name, and scope decisions are explicitUser

Scope decisions are required inputs at this stage. Collect the main package name plus the scope policy for both the main package and the platform packages. The main package and platform packages may use different scopes, but platform names must still derive from the main package body plus -<target-suffix>.

Required Inputs

  • Validation outcome plus provenance snapshot (refusal to publish if non_compliant, stale, or provenance-mismatched)
  • Publish mode: report_only, dry_run, prepublish, or live_release
  • Source project path
  • cliName — the CLI binary name
  • mainPackageName — the main npm package name (with scope prefix if scoped)
  • mainNpmScope — null for unscoped, or the scope string for the main package
  • platformNpmScope — null for unscoped platform packages, or a separate scope string
  • sourceRepository — owner/repo on GitHub

Workflow

  1. Read ./planning-brief.md for publish-specific planning constraints.
  2. Accept the inbound validation-report.yml. Refuse to proceed if validation failed; do not re-run validation here.
  3. Verify validation freshness before any publish-mode action:

- compare the current .cli-forge/design-contract.yml, .cli-forge/cli-plan.yml, baseline receipt (scaffold-receipt.yml or takeover-receipt.yml), and optional extend-receipt.yml against the provenance snapshot recorded in validation-report.yml - for takeover-adopted baselines, require the report provenance to match the current adopted contract + receipt set exactly; do not rely only on the aggregate validation result - if any required baseline artifact is missing, has a different receipt, or takeover recorded contract/baseline rewrites after validation, stop and route back to Validate

  1. Ask the user for the inputs listed above if not already collected. If the mode is report_only, skip to step 7.
  2. If the skill project lacks the release automation assets, adopt them by copying the contents of ./templates/ to the project root while restoring the install-safe dot-* resource aliases to their real dot-prefixed target paths (dot-releaserc.json ->.releaserc.json, dot-github/ ->.github/, npm/platforms/dot-gitkeep ->.gitkeep). The adopted asset pack does NOT contain Scaffold-stage source templates (*.tpl).
  3. Fill release/config.json and npm/main/package.json with the collected inputs. release/config.json must explicitly record mainPackageName, mainNpmScope, and platformNpmScope.
  4. Verify the target repository has:

- GitHub Actions enabled on a GitHub-hosted runner with id-token: write - npm trusted publishing configured on npmjs.com for the main package and for each of the 6 platform packages, every entry pointing at release.yml

  1. Follow the mode path defined in ./instructions/release/skill-release-runbook.md:

- report_only: audit readiness only. Read config and repository state, report blockers and next actions. Do NOT copy files, fill placeholders, or alter the repository in any way. - dry_run: run npm run release:rehearse locally. This builds every target, syncs platform packages, and runs npm publish --dry-run for each. No tag, no GitHub Release, no real npm publication. - prepublish: run npm run release:prepublish locally. This performs a real public npm bootstrap publish for every platform package and the main package using a dedicated bootstrap prerelease version. If local auth is missing, pause for interactive npm login, surface the verification URL, and continue only after the user completes browser verification. - live_release: push to main (or workflow_dispatch) so the target repository's .github/workflows/release.yml, restored from the installer-safe asset-pack resource dot-github/workflows/release.yml, drives the end-to-end run. Do not proceed to live_release until prepublish bootstrap has completed for the configured package set.

  1. Generate .cli-forge/release-receipt.yml from the template at ./contracts/release-receipt.yml.tpl.

Outputs

  • A verified prepublish bootstrap for 1 main + N platform npm packages (if prepublish)
  • A verified GitHub Release with archives + checksums (if live_release)
  • 1 main + N platform npm packages published at the same production version (if live_release)
  • Updated CHANGELOG.md and release commit on main
  • .cli-forge/release-receipt.yml

Exit Gate

#Check
1The requested mode was executed
2For report_only: no files were written to the target repository
3For dry_run / prepublish / live_release: asset pack adopted and filled
4For prepublish: the bootstrap npm prerelease completed without creating a tag or GitHub Release
5For live_release: version, tag, main package, platform packages agree
6release-receipt.yml generated

Guardrails

  • All npm packages (main + platforms) MUST share the version chosen by semantic-release. The two release scripts enforce this by consuming ${nextRelease.version} from semantic-release hooks.
  • The bootstrap prepublish step MUST use a dedicated prerelease version such as 0.0.0-prepublish.N. It is not a production release.
  • Main and platform packages may differ only by scope. Do not introduce arbitrary per-platform package base names.
  • Do not bypass stale validation. If the codebase changed since the last validation report, route back to Validate.
  • For takeover-adopted repositories, freshness checks MUST verify provenance against the current contract + receipt set, not just validation-report.yml aggregate status or timestamp.
  • Do not hand-bump npm/main/package.json#version, hand-edit CHANGELOG.md release entries, or create tags outside semantic-release.
  • Interactive npm login guidance belongs only to local prepublish. Production CI publication must continue to rely on trusted publishing.
  • Do not leave dot-* alias names in the target repository. Those names exist only inside this skill package so .agents installers preserve the assets.
  • The asset pack's npm/platforms/ directory is generated at release time. Do not check generated platform package directories into source control beyond the .gitkeep placeholder.

Next Step

This is a terminal stage.

平台分布

Codex

38.08%
按下载量换算105

Claude

27.48%
按下载量换算76

Cursor

17.79%
按下载量换算49

Gemini CLI

8.92%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills