skill-install by cexll/myclaude
npx skills add https://github.com/cexll/myclaude --skill skill-install从 GitHub 仓库安装 Claude 技能,内置安全扫描功能,以防范恶意代码、后门和漏洞。
当用户出现以下情况时触发此技能:
接受用户提供的 GitHub 仓库 URL。该 URL 应指向包含 skills/ 目录的仓库。
支持的 URL 格式:
https://github.com/user/repohttps://github.com/user/repo/tree/main/skillshttps://github.com/user/repo/tree/branch-name/skills提取信息:
main)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
使用 WebFetch 工具从 GitHub 获取技能目录列表。
GitHub API 端点模式:
https://api.github.com/repos/{owner}/{repo}/contents/skills?ref={branch}
解析响应以提取:
使用 AskUserQuestion 工具让用户选择要安装哪些技能。
设置 multiSelect: true 以允许多选。
展示每个技能时包含:
对于每个选定的技能,获取技能目录中的所有文件:
使用 WebFetch 调用 GitHub API:
https://api.github.com/repos/{owner}/{repo}/contents/skills/{skill_name}?ref={branch}
对于每个文件,获取原始内容:
https://raw.githubusercontent.com/{owner}/{repo}/{branch}/skills/{skill_name}/{file_path}
关键步骤: 在安装之前,对每个技能进行彻底的安全分析。
从 references/security_scan_prompt.md 读取安全扫描提示模板,并将其应用于分析技能内容。
检查以下内容:
输出安全分析结果,包括:
根据安全扫描结果:
如果安全(批准):
如果警告(带警告批准):
如果危险(拒绝):
对于已批准的技能,安装到 ~/.claude/skills/:
~/.claude/skills/{skill_name}/使用 Write 工具创建文件。
安装完成后,提供摘要:
~/.claude/skills/用户: “从 https://github.com/example/claude-skills 安装技能”
助手:
包含详细的安全分析提示模板,内容有:
执行安全扫描时加载此文件,以确保进行全面分析。
每周安装次数
107
仓库
GitHub 星标数
2.4K
首次出现
2026 年 1 月 20 日
安全审计
安装于
claude-code89
opencode43
codex36
cursor34
gemini-cli32
github-copilot30
Install Claude skills from GitHub repositories with built-in security scanning to protect against malicious code, backdoors, and vulnerabilities.
Trigger this skill when the user:
Accept a GitHub repository URL from the user. The URL should point to a repository containing a skills/ directory.
Supported URL formats:
https://github.com/user/repohttps://github.com/user/repo/tree/main/skillshttps://github.com/user/repo/tree/branch-name/skillsExtract:
main if not specified)Use the WebFetch tool to retrieve the skills directory listing from GitHub.
GitHub API endpoint pattern:
https://api.github.com/repos/{owner}/{repo}/contents/skills?ref={branch}
Parse the response to extract:
Use the AskUserQuestion tool to let the user select which skills to install.
Set multiSelect: true to allow multiple selections.
Present each skill with:
For each selected skill, fetch all files in the skill directory:
Use WebFetch with GitHub API:
https://api.github.com/repos/{owner}/{repo}/contents/skills/{skill_name}?ref={branch}
For each file, fetch the raw content:
https://raw.githubusercontent.com/{owner}/{repo}/{branch}/skills/{skill_name}/{file_path}
CRITICAL: Before installation, perform a thorough security analysis of each skill.
Read the security scan prompt template from references/security_scan_prompt.md and apply it to analyze the skill content.
Examine for:
Output the security analysis with:
Based on the security scan results:
If SAFE (APPROVE):
If WARNING (APPROVE_WITH_WARNINGS):
If DANGEROUS (REJECT):
For approved skills, install to ~/.claude/skills/:
~/.claude/skills/{skill_name}/Use the Write tool to create files.
After installation, provide a summary:
~/.claude/skills/User: "Install skills from https://github.com/example/claude-skills"
Assistant:
Contains the detailed security analysis prompt template with:
Load this file when performing security scans to ensure comprehensive analysis.
Weekly Installs
107
Repository
GitHub Stars
2.4K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykFail
Installed on
claude-code89
opencode43
codex36
cursor34
gemini-cli32
github-copilot30
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
155,300 周安装
MongoDB与PostgreSQL数据库指南:选择、查询、优化与部署实战
234 周安装
Elasticsearch授权管理技能:RBAC角色访问控制、用户与角色配置、文档级安全
234 周安装
React/Next.js 高级质量保证工具:自动化测试、覆盖率分析与E2E测试脚手架
231 周安装
Hugging Face Jobs:云端运行AI工作负载,无需本地GPU,支持数据处理、批量推理和模型训练
232 周安装
AI代理技能:write-plan编写执行计划工具 - 自动化项目规划与代码实施指南
234 周安装
Telegram Bot 开发指南:Node.js/Python 构建机器人教程(含Webhook、支付、部署)
235 周安装