Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

chief-install主要安装

Agent Skill

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

总安装

480

周安装

20

GitHub Stars

41

下载量

160
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/thaitype/chief --skill chief-install

简介

chief-install 将 Chief 工具安装到当前项目,支持指定版本或最新版。

  • 自动解析远程标签并选择最高语义版本。
  • 需检查 .agents/agents/chief-agent.md 是否存在以判断安装状态。
  • 需确认是否允许修改项目结构和写入 agent 文件。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Install the Chief into the current project.

Arguments

The first argument is the target version (branch or tag). Optional.

  • No argument → install the latest stable release (highest semver tag). Find it by running git ls-remote --tags https://github.com/thaitype/chief.git, strip refs/tags/, ignore ^{} entries, and pick the highest semver version.
  • canary → latest canary branch (active development, unreleased)
  • v1.0.0, v2.0.0, etc. → specific tagged version

Steps

1. Check for existing installation

Check if the Chief is already installed by looking for these signals:

  1. .agents/agents/chief-agent.md exists
  2. .chief/ directory exists
  3. AGENTS.md or CLAUDE.md at root contains the keyword "Chief" (check file content, not just existence — these files may exist from other setups)

If any of these match → the framework is likely already installed. Warn the user and suggest upgrading instead. Show them:

npx skills@latest add thaitype/chief --skill chief-upgrade
/chief-upgrade

Do NOT proceed unless the user explicitly confirms they want a fresh install.

If none match → proceed.

2. Ask coding agent and install mode

Ask the user:

  1. Which coding agent? — Supported agents: claude-code, opencode, codex, cursor, copilot, gemini-cli, amp, windsurf, kiro, aider
  2. Install mode? (relevant for claude-code and copilot)

- link (recommended) — symlinks from agent-specific directory to .agents/ - copy — copies files instead of symlinking - On Windows, link mode requires Developer Mode enabled and git config --global core.symlinks true. If unavailable, suggest copy mode. - For all other agents, mode does not affect behavior since they read AGENTS.md and .agents/ directly

3. Clone and run setup script

git clone --depth 1 --branch <version> https://github.com/thaitype/chief.git .chief-agent-tmp
bash .chief-agent-tmp/scripts/setup.sh --agent <agent> --mode <mode>

If the setup script fails completely (non-zero exit code or crashes), skip to step 3b for full manual install. Do NOT run rm -rf.chief-agent-tmp yet — it's needed for manual steps.

If the setup script succeeds, proceed to step 4.

3b. Full manual install (fallback if setup script fails)

If the setup script failed, perform the entire install manually:

# Core files (source is under template/)
cp -r .chief-agent-tmp/template/.agents .agents
cp -r .chief-agent-tmp/template/.chief .chief
cp .chief-agent-tmp/template/AGENTS.md AGENTS.md

For claude-code only, set up Claude Code integration:

Link mode:

ln -s AGENTS.md CLAUDE.md
mkdir -p .claude/agents .claude/skills
for f in .agents/agents/*.md; do ln -s "../../$f" ".claude/agents/$(basename "$f")"; done
for d in .agents/skills/*/; do ln -s "../../$d" ".claude/skills/$(basename "$d")"; done

Copy mode:

cp AGENTS.md CLAUDE.md
mkdir -p .claude/agents .claude/skills
cp .agents/agents/*.md .claude/agents/
cp -r .agents/skills/* .claude/skills/

For copilot only, set up GitHub Copilot integration:

Link mode:

mkdir -p .github/agents
for f in .agents/agents/*.md; do ln -s "../../$f" ".github/agents/$(basename "$f")"; done

Copy mode:

mkdir -p .github/agents
cp .agents/agents/*.md .github/agents/

For all other agents — no extra steps needed.

For non-claude-code agents, ask the user for model names:

  1. Thinking Model (for chief-agent, e.g. o3, gemini-2.5-pro)
  2. Coding Model (for builder/tester/review-plan, e.g. gpt-4.1, gemini-2.5-flash)

Replace ${thinking_model} with the Thinking Model in chief-agent, and ${coding_model} with the Coding Model in all other agent files. For claude-code, auto-replace with opus and sonnet (no prompt needed). For copilot, update files in .github/agents/. For other agents, update files in .agents/agents/.

Skip any file or directory that already exists (warn the user).

4. Verify installation

After the setup script or manual install completes, verify that the installation is correct:

  1. Core files exist:

- .agents/agents/chief-agent.md - .agents/agents/builder-agent.md - .agents/agents/tester-agent.md - .agents/agents/review-plan-agent.md - .agents/skills/grill-me/SKILL.md - .chief/project.md - .chief/_rules/ - AGENTS.md

  1. Claude Code only (if agent is claude-code):

- CLAUDE.md exists (symlink or copy depending on mode) - .claude/agents/ contains entries for all 4 agents - .claude/skills/ contains entry for grill-me - If link mode: verify symlinks resolve correctly

  1. Copilot only (if agent is copilot):

- .github/agents/ contains entries for all 4 agents (symlinks or copies depending on mode) - If link mode: verify symlinks resolve correctly - Model values have been replaced if the user provided model names

5. Fix issues (fallback)

If any verification check fails, fix it manually:

  • Missing core file → copy from .chief-agent-tmp/template/ if it still exists, otherwise clone again and copy the specific file
  • Missing CLAUDE.md → create symlink (ln -s AGENTS.md CLAUDE.md) or copy depending on mode
  • Missing.claude/ symlinks → create them individually: mkdir -p.claude/agents.claude/skills ln -s../../.agents/agents/<file>.md.claude/agents/<file>.md ln -s../../.agents/skills/<skill>.claude/skills/<skill>
  • Broken symlink → remove and recreate
  • Wrong mode (e.g. user wanted link but got copy) → remove and recreate with correct mode

6. Clean up

Ensure .chief-agent-tmp is removed:

rm -rf .chief-agent-tmp

7. Next steps

Tell the user:

  1. Edit .chief/project.md with your project details (or run chief-agent: use grill-me to help me fill in project.md)
  2. Review AGENTS.md and customize if needed
  3. Start using: ask chief-agent to plan your first milestone

Important rules

  • NEVER overwrite existing files without explicit user approval
  • If the framework is already installed, suggest /chief-upgrade instead
  • Always clean up .chief-agent-tmp even if the install is cancelled or fails
  • If the setup script fails, attempt manual fixes before giving up
  • Report all verification results to the user — even successful ones

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.52%
按下载量换算58

Claude

30.81%
按下载量换算49

Cursor

17.81%
按下载量换算28

Gemini CLI

10.76%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills