一键导入
remove-project-skill
Remove a project-local `.agents/skills` skill with dry-run-first reference inventory and explicit approval for wrappers or historical cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Remove a project-local `.agents/skills` skill with dry-run-first reference inventory and explicit approval for wrappers or historical cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operate and test a local or SSH-reachable macOS desktop through nils-cli macos-agent, with AX-first actions, screenshots, scenarios, explicit postconditions, guarded replay, and privacy-preserving journals.
Review a code change through an internally selected quick, focused, specialist, follow-up, or pre-merge mode and return evidence-grounded findings.
Open or resume one shared dispatch plan issue, coordinate independently reviewed lane PRs, integrate approved work, and close through strict gates.
Open or resume one lightweight issue-backed plan tracker and carry it through implementation, review, PR delivery, strict closeout, and archive handoff.
Deliver GitHub pull requests or GitLab merge requests end to end through the released nils-cli `forge-cli pr deliver` macro.
Review a code change through an internally selected quick, focused, specialist, follow-up, or pre-merge mode and return evidence-grounded findings.
| name | remove-project-skill |
| description | Remove a project-local `.agents/skills` skill with dry-run-first reference inventory and explicit approval for wrappers or historical cleanup. |
Prereqs:
.agents/skills/<skill>, not a
repo-owned runtime-kit managed skill. Use remove-skill for managed
runtime-kit skills.Inputs:
.agents/scripts/<command>.sh.docs/plans/** records are retained by default.Outputs:
.agents/skills/<skill>/ source and approved
wrappers or bridge files.Failure modes:
Start with a dry-run inventory:
project_root="$(git rev-parse --show-toplevel)"
skill="<skill-name>"
skill_dir="$project_root/.agents/skills/$skill"
test -d "$skill_dir"
rg -n "$skill|.agents/skills/$skill" \
"$project_root/.agents" \
"$project_root/AGENTS.md" \
"$project_root/CLAUDE.md" \
"$project_root/README.md" \
"$project_root/docs" 2>/dev/null || true
Classify matches before editing:
.agents/skills/<skill>/.agents/skills/<skill>/scripts/.agents/scripts/<command>.sh.claude/skills or related .gitignore entriesdocs/plans/**docs/plans/**After apply approval:
rm -rf "$skill_dir"
# Remove approved wrappers only after the dry-run classified ownership.
git rev-parse --show-toplevel.remove-skill..agents/skills/<skill>/ exists exactly once.rg and classify every active reference.docs/plans/** from default mutation. Keep those records as
historical evidence unless the user explicitly asks for cleanup.This skill owns safe project-local skill removal sequencing and retention
judgment. It does not remove runtime-kit managed skills, edit
manifests/skills.yaml, edit manifests/plugins.yaml, regenerate product
build output, or clean live global runtime homes. If removal needs a stable
dry-run/apply planner or machine-readable reference graph, implement and
release that primitive in sympoies/nils-cli, then consume it from this
workflow.