Skills / anthropics/claude-plugins-official
hosted
列出并查看某个仓库在托管版 Claude Security 中的发现和项目。
- 钉定的 commit
- 0fbfda5a91f4提交时间 2026-11-25
- 文件数
- 19.1 KB
- 许可证
- Apache-2.0
- 快照时间
- 2026-11-28
Skill 自带的描述
Hosted Claude Security: list what it has open for this repository, show one of its findings from a link or an ID (also to fix it), check on a project, or say how to add this repository. Load it before reading from a Claude Security connector or MCP tool: when the user asks about hosted Claude Security projects or findings, or pastes a claude.ai/security link, a find_... ID, or a prompt copied from Claude Security. Not for resolving or reopening a finding, nor for a project's documents.Agent 就是根据这段文字决定何时使用这个 skill。
安装
先选你的 agent。标有“已钉定”的命令,装到的就是本页描述的这个 commit。
Skill 目录 .claude/skills/Claude Code · 官方文档
不读取通用的 .agents/skills 目录。skill 必须放进 .claude/skills,或者随 plugin 一起安装。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent claude-code --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a claude-code --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
Claude Code plugin未钉定在 agent 内运行
> /plugin marketplace add anthropics/claude-plugins-official
> /plugin install claude-security@claude-plugins-official未钉定:安装的是 marketplace 当前提供的版本。这个 plugin 还会一并装上另外 5 个 skill。它还会装上本页没有覆盖的内容:hooks(自动执行的钩子)、子 agent。plugin 的安装范围在 /plugin 对话框里选择。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .claude/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .claude/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .claude/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.claude/skills/Claude Code · 官方文档
不读取通用的 .agents/skills 目录。skill 必须放进 .claude/skills,或者随 plugin 一起安装。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent claude-code --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a claude-code --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
Claude Code plugin未钉定在 agent 内运行
> /plugin marketplace add anthropics/claude-plugins-official
> /plugin install claude-security@claude-plugins-official未钉定:安装的是 marketplace 当前提供的版本。这个 plugin 还会一并装上另外 5 个 skill。它还会装上本页没有覆盖的内容:hooks(自动执行的钩子)、子 agent。plugin 的安装范围在 /plugin 对话框里选择。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.claude/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.claude/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.claude/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.claude/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Codex · 官方文档
以 .agents/skills 为主目录,从当前目录向上查找到仓库根目录。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent codex --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a codex --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.agents/skills/Codex · 官方文档
以 .agents/skills 为主目录,从当前目录向上查找到仓库根目录。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent codex --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a codex --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Cursor · 官方文档
没有单个 skill 的安装命令。会读取多个目录,并兼容 .claude/skills。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent cursor --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a cursor --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.cursor/skills/Cursor · 官方文档
没有单个 skill 的安装命令。会读取多个目录,并兼容 .claude/skills。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent cursor --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a cursor --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.cursor/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.cursor/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.cursor/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.cursor/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/GitHub Copilot · 官方文档
VS Code、CLI 和云端 coding agent 读取的目录不完全相同,请以你实际使用的入口为准。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent github-copilot --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a github-copilot --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.copilot/skills/GitHub Copilot · 官方文档
VS Code、CLI 和云端 coding agent 读取的目录不完全相同,请以你实际使用的入口为准。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent github-copilot --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a github-copilot --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.copilot/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.copilot/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.copilot/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.copilot/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Gemini CLI · 官方文档
有自己的安装命令,但不能钉定 commit。免费用户和 Google One 用户已在 2026-06-18 迁移到 Antigravity CLI。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent gemini-cli --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a gemini-cli --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
Gemini CLI未钉定
$ gemini skills install https://github.com/anthropics/claude-plugins-official.git --path plugins/claude-security/skills/hosted --scope workspace未钉定:安装的是运行命令时默认分支上的内容。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.gemini/skills/Gemini CLI · 官方文档
有自己的安装命令,但不能钉定 commit。免费用户和 Google One 用户已在 2026-06-18 迁移到 Antigravity CLI。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent gemini-cli --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a gemini-cli --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
Gemini CLI未钉定
$ gemini skills install https://github.com/anthropics/claude-plugins-official.git --path plugins/claude-security/skills/hosted --scope user未钉定:安装的是运行命令时默认分支上的内容。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.gemini/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.gemini/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.gemini/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.gemini/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Antigravity · 官方文档
项目级 skill 放在 .agents/skills。CLI 和 IDE 另有各自的用户级路径。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent antigravity --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a antigravity --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.gemini/config/skills/Antigravity · 官方文档
项目级 skill 放在 .agents/skills。CLI 和 IDE 另有各自的用户级路径。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent antigravity --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a antigravity --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.gemini/config/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.gemini/config/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.gemini/config/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.gemini/config/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .devin/skills/Devin Local (formerly Windsurf) · 官方文档
官方文档已把 .devin/skills 作为主目录,.windsurf/skills 仅作旧版兼容。安装器 CLI 可能仍写入旧路径。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent windsurf --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a windsurf --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .devin/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .devin/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .devin/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .devin/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.config/devin/skills/Devin Local (formerly Windsurf) · 官方文档
官方文档已把 .devin/skills 作为主目录,.windsurf/skills 仅作旧版兼容。安装器 CLI 可能仍写入旧路径。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent windsurf --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a windsurf --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.config/devin/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.config/devin/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.config/devin/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.config/devin/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .cline/skills/Cline · 官方文档
Cline 官方文档没有列出 .agents/skills,但 gh 和 skills 两个 CLI 都把 Cline 的 skill 装到那里。手动复制到 .cline/skills 与官方文档一致。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent cline --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a cline --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .cline/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .cline/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .cline/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .cline/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.cline/skills/Cline · 官方文档
Cline 官方文档没有列出 .agents/skills,但 gh 和 skills 两个 CLI 都把 Cline 的 skill 装到那里。手动复制到 .cline/skills 与官方文档一致。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent cline --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a cline --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.cline/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.cline/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.cline/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.cline/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .kiro/skills/Kiro · 官方文档
不读取 .agents/skills。IDE 里另有 Import a skill 入口。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent kiro-cli --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a kiro-cli --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .kiro/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .kiro/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .kiro/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .kiro/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.kiro/skills/Kiro · 官方文档
不读取 .agents/skills。IDE 里另有 Import a skill 入口。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent kiro-cli --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a kiro-cli --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.kiro/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.kiro/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.kiro/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.kiro/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/OpenCode · 官方文档
没有官方 registry,也没有安装命令。同时读取 .claude/skills。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent opencode --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a opencode --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.config/opencode/skills/OpenCode · 官方文档
没有官方 registry,也没有安装命令。同时读取 .claude/skills。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent opencode --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a opencode --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.config/opencode/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.config/opencode/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.config/opencode/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.config/opencode/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Goose · 官方文档
官方文档列出 .agents/skills,而 skills CLI 写入 .goose/skills。这里两者都列出,使用前请对照官方文档确认。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent goose --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a goose --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.config/goose/skills/Goose · 官方文档
官方文档列出 .agents/skills,而 skills CLI 写入 .goose/skills。这里两者都列出,使用前请对照官方文档确认。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent goose --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a goose --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.config/goose/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.config/goose/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.config/goose/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.config/goose/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 .agents/skills/Amp · 官方文档
另有自带的 amp skill add 命令,来源格式见 Amp 官方文档。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent amp --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6egh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a amp --copy会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" .agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 .agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd .agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
Skill 目录 ~/.config/agents/skills/Amp · 官方文档
另有自带的 amp skill add 命令,来源格式见 Amp 官方文档。
GitHub CLI已钉定
$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/hosted --agent amp --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e --scope usergh 会按 agent 自行决定安装目录,文件夹沿用源目录名(hosted),并在 SKILL.md 的 frontmatter 里写入来源信息,所以下方的内容哈希对不上。请改为核对它写入的 github-tree-sha,应当是 7131cb1ae0d8e40c8423ef0870662eab878679ea。
skills CLI已钉定
$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill hosted -a amp --copy -g会从 npm 下载并运行 skills 包。--copy 表示写入真实文件而不是符号链接。该 CLI 默认发送匿名遥测,设置 DISABLE_TELEMETRY=1 可关闭,但同时也会关闭它的安全审计查询。
纯 git已钉定
$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p ~/.config/agents/skills
$ cp -R "$tmp/plugins/claude-security/skills/hosted" ~/.config/agents/skills/hosted不依赖额外工具。文件与上游逐字节一致,安装到 ~/.config/agents/skills/hosted,可以直接用下方的内容哈希核对。
核对装到的内容
装完后运行这条命令,它会为整个目录输出一个 SHA-256。如果安装器报告的目录与这里不同,请 cd 到那个目录。
$ cd ~/.config/agents/skills/hosted && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256预期结果55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
只有文件与上游逐字节一致时才会相同。不一致说明有东西变了:可能是安装器改的、你自己改的,或者上游改的。
里面有什么
在文件里匹配到的模式,每条都链接到所在的行。匹配到只表示这里值得读一读,不是结论;没匹配到也不代表不存在。
执行命令未匹配
会启动其他进程的代码,或说明文档里的 shell 代码块。
访问网络未匹配
从远程主机获取数据或向其发送数据的调用。
安装依赖包未匹配
在使用时拉取并运行第三方包的命令。
读取环境变量或凭证未匹配
引用了环境变量、token、密钥或凭证文件。
提权或破坏性操作未匹配
sudo、递归删除、修改权限等命令。
动态或编码后的代码未匹配
eval、exec、base64 解码、管道执行远程脚本等,会掩盖实际运行的内容。
提到的外部域名
文本文件中所有 URL 的域名。
- claude.ai×3
- claude.com×1
值得多看一眼的条目
没有符号链接、子模块、隐藏文件、压缩包、已编译文件,也没有未扫描的文件。
文件清单
钉定 commit 上该 skill 目录里的全部文件。
- 内容哈希
- 55332ec6f039805e94666d5373350381ad85cc871d6351a6e50aeb4612dade54
- Git tree SHA
- 7131cb1ae0d8e40c8423ef0870662eab878679ea
| 路径 | 类型 | 大小 | SHA-256 |
|---|---|---|---|
| SKILL.md | SKILL.md | 9.1 KB | f0da8fabbcec5e25… |
规范与可移植性
对照 Agent Skills 规范检查。
- Frontmatter
- 可解析为 YAML
- 名称与目录名一致
- 是
- 名称只含小写字母、数字和连字符
- 是
- 描述长度
- 490上限 1,024 个字符
- SKILL.md 正文
- 49 行规范建议不超过 500 行
- 规范之外的字段
- disallowed-tools不认识这些字段的 agent 会忽略它们;上传到 claude.ai 或 Skills API 时可能因此报错。
- 许可证字段
- 未声明
- 许可证文件
- 未声明
- 仓库许可证
- LICENSE (Apache-2.0)
- Claude Code plugin
claude-security@claude-plugins-official
变更记录
自首次快照以来没有记录到变更,首次快照时间 2026-11-28。