Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

cli-forge-takeoverCLI forge takeover 搜索

Agent Skill

cli-forge-takeover 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

233

周安装

10

GitHub Stars

公开资料未说明

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

cli-forge-takeover 用于将已有 Rust CLI 项目接入 cli-forge 流水线,重建缺失的合同文件。

  • 适合接管非脚手架项目并通过实现反推 pipeline 工件。
  • 需从文档、测试和帮助文本中提取信息,记录采用收据供下游信任。
  • 安装前应评估项目兼容性,避免因结构差异导致重建失败。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

cli-forge Takeover

Use this stage when a pre-existing Rust CLI Skill project needs to join the cli-forge pipeline but does not yet carry the required .cli-forge/ contracts.

Purpose

Adopt an existing project into cli-forge without pretending it was scaffolded by cli-forge.

This stage reconstructs the missing pipeline artifacts from the observed implementation, documentation, tests, and help surface, then records the adoption with a dedicated receipt that downstream stages can trust. The exit path depends on the user's recorded post-adoption objective, on whether Takeover preserved or rewrote the approved contracts, and on whether the adopted project already satisfies downstream layout assumptions.

Canonical References

Entry Gate

#CheckSource
1project_path is known and existsRouter/User
2Cargo.toml is present in the target directoryFilesystem
3The project lacks an approved cli-forge contract baseline, or the user requested refreshFilesystem/User
4The user accepts that ambiguities must be resolved before adoption can proceedUser

Required Inputs

  • project_path
  • The user's current objective after adoption (validate, extend, publish, or general pipeline adoption)
  • The takeover mode (first_adoption, baseline_establishment, or contract_refresh)
  • Permission to inspect the implementation, docs, tests, and help output as evidence

Workflow

  1. Read ./planning-brief.md and ./instructions/takeover.md.
  2. Inspect the existing project to inventory:

- Cargo.toml - SKILL.md - README.md - src/ - tests/ - observable help and runtime behavior when available - optional release/publish assets when present

  1. Run the Discovery Gate:

- confirm the purpose, invocation contract, command tree, flag set, output formats, help behavior, runtime directories, Active Context surface, and optional capabilities are either supported by evidence or reduced to a short list of targeted user questions - if evidence is missing or contradictory, stop and ask the user before generating contracts

  1. Ensure .cli-forge/ exists before any recovered contract is written.
  2. Backfill .cli-forge/design-contract.yml from the observed project surfaces when takeover mode requires missing-contract recovery or explicit refresh. If an approved design contract already exists and the current takeover mode is baseline establishment only, preserve that approved wording instead of regenerating it.
  3. Run the Design Gate:

- if purpose, positioning, or shared wording drift across code, docs, and help output, present the drift and ask the user which wording is authoritative - write the contract only after the user approves the reconstructed wording

  1. Backfill .cli-forge/cli-plan.yml from the observed CLI behavior. If an approved plan already exists and the current takeover mode is baseline establishment only, preserve the approved plan instead of regenerating it.
  2. Run the Plan Gate:

- if commands, flags, defaults, capability scope, daemon behavior, or runtime conventions are unclear, ask the user before locking the plan - preserve actual observed behavior in the reconstructed plan rather than silently upgrading the project to a more compliant shape - write the plan only after the user approves the reconstructed contract

  1. Run the Baseline Gate:

- confirm .cli-forge/ still exists - ensure .gitignore ignores .cli-forge/ - generate .cli-forge/takeover-receipt.yml - do not synthesize scaffold-receipt.yml or extend-receipt.yml - record whether .gitignore or any other validation-covered baseline surface changed during takeover

  1. Resolve the next stage from the recorded post-adoption objective:
  • validate or general adoption -> hand off to ../cli-forge-validate/SKILL.md
  • publish -> hand off to Validate unless all of the following are true: takeover ran as baseline_establishment, it preserved the approved design-contract.yml and cli-plan.yml without rewriting them, it preserved validation-covered baseline surfaces such as .gitignore without changing them, and a fresh validation-report.yml already exists with aggregate result compliant or warning; only then continue to ../cli-forge-publish/SKILL.md
  • extend -> hand off to ../cli-forge-extend/SKILL.md only if the adopted project already has the scaffold-compatible files that Extend patches directly; otherwise stop and tell the user normalization to that layout, or manual feature implementation, is required before template expansion can proceed

Outputs

  • .cli-forge/design-contract.yml
  • .cli-forge/cli-plan.yml
  • .cli-forge/takeover-receipt.yml

Exit Gate

#Check
1Evidence inventory completed
2design-contract.yml reconstructed and approved
3cli-plan.yml reconstructed and approved
4takeover-receipt.yml written
5Next stage resolved from the recorded objective

Guardrails

  • Never invent behavior that cannot be traced to the implementation or to an explicit user decision.
  • Reconstructed contracts must record observed current behavior, including per-command output formats, error shape, help semantics, runtime overrides, and Active Context support. Do not silently substitute cli-forge defaults.
  • When code, docs, tests, and help output disagree, stop and ask the user instead of choosing silently.
  • Use takeover-receipt.yml to mark the adopted baseline. Do not fake a scaffold origin for a pre-existing project.
  • Do not reject a repository solely because design-contract.yml and cli-plan.yml already exist. When the user explicitly requested contract refresh, or when a downstream stage needs takeover baseline establishment, takeover remains valid and must preserve or refresh the contracts according to the recorded takeover mode.
  • Do not claim takeover alone makes a project Extend-compatible. Template-based feature expansion is allowed only when the adopted repository already matches Extend's scaffold-compatible file layout.
  • Limit edits to pipeline artifacts plus the minimal repository hygiene needed to host them, such as adding .cli-forge/ to .gitignore, unless the user explicitly asks for behavioral fixes.
  • If takeover rewrites design-contract.yml, cli-plan.yml, .gitignore, or any other validation-covered baseline surface, treat any pre-existing validation-report.yml as stale for direct Publish gating until Validate runs again against the updated baseline.
  • If daemon behavior is present, compare it against the app-server planning contract and call out mismatches explicitly instead of silently normalizing the project.
  • Do not publish automatically. Takeover only reconstructs contracts and the adoption baseline.

Next Step

Continue based on the recorded post-adoption objective:

  • Validate or general adoption -> ../cli-forge-validate/SKILL.md
  • Publish -> ../cli-forge-validate/SKILL.md first, unless takeover was baseline_establishment, the approved contracts were preserved without rewriting, validation-covered baseline surfaces were preserved without changes, and a fresh compliant/warning validation report already exists; only then ../cli-forge-publish/SKILL.md
  • Extend -> ../cli-forge-extend/SKILL.md only when the adopted repository already matches Extend's scaffold-compatible layout; otherwise stop and tell the user normalization or manual implementation is required

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

32.98%
按下载量换算27

Codex

32.21%
按下载量换算26

Cursor

17.02%
按下载量换算14

Gemini CLI

8.6%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills