Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Github Sync Skill

v2.0.0

将本地创建或修改的 Claude Code 技能自动同步到 GitHub 仓库。支持增量同步、单技能同步、自动生成 README.md。

0· 77·0 current·0 all-time
byKuiil@kuiilabs

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for kuiilabs/github-sync-skill.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Github Sync Skill" (kuiilabs/github-sync-skill) from ClawHub.
Skill page: https://clawhub.ai/kuiilabs/github-sync-skill
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install github-sync-skill

ClawHub CLI

Package manager switcher

npx clawhub@latest install github-sync-skill
Security Scan
Capability signals
Requires OAuth token
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The declared purpose (sync local Claude Code skills to GitHub, incremental sync, README generation, token verification) matches most of the included scripts (sync_to_github.sh, verify_token.sh, check_changes.sh). However, there is an additional cleanup_remote_repo.sh script that is not described in SKILL.md and provides recursive deletion of repo contents except a small whitelist. That destructive capability is not communicated in the description/instructions and appears tailored to a specific repository/owner; this mismatch is concerning.
!
Instruction Scope
The SKILL.md documents sync, single-skill upload, README update, and token checks and shows how to run sync and verify scripts. It does not mention the cleanup_remote_repo.sh script, which can delete many files in the remote repo. The scripts operate on ~/.claude/skills and GitHub API only (no unknown external endpoints), but the omission of the cleanup behavior in the runtime instructions is scope creep and dangerous if run unintentionally.
Install Mechanism
This is an instruction-only skill (no install spec). That minimizes install-time risk; the runtime behavior is implemented in shell scripts included in the package. No external arbitrary downloads or archive extraction are performed by an installer.
!
Credentials
Registry metadata lists no required env vars, but the scripts and SKILL.md clearly expect a GitHub personal access token (GITHUB_TOKEN) and use it for create/update/delete operations. The token is sensitive and must have repo-level permissions for many operations. The absence of GITHUB_TOKEN in the declared requirements is an inconsistency. Also, cleanup_remote_repo.sh uses token with delete permissions and default OWNER/REPO constants—this combination can result in broad destructive effects if misused.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges, and it does not modify other skills' configurations. However, it includes a script that, when executed with a sufficiently privileged token, can permanently delete remote repository content. That is a high-impact action but is performed via the user's GitHub token rather than platform-level persistence.
What to consider before installing
Review the scripts before installing or running anything. Key points: - Inspect cleanup_remote_repo.sh carefully: it defaults to owner/repo = kuiilabs/claude-skills and includes a whitelist; when run with a token that has write/admin rights it will recursively delete remote repo contents (it asks for confirmation interactively, but this can be automated). Do NOT run this script unless you understand and have adjusted OWNER/REPO and the whitelist. - The package does not declare GITHUB_TOKEN as a required env var, but the scripts need a GitHub PAT with repo permissions. Use a least-privilege token scoped only to the repository you intend, and prefer a throwaway/rotated token for testing. - Test with --dry-run (or read-only API calls) first. Use verify_token.sh and check_changes.sh to validate environment and token behavior before syncing. - Run sync operations against a new/empty test repository you control to confirm behavior. Do not grant a wide-scoped token or run cleanup_remote_repo.sh against production repos until you fully understand and adapt its hard-coded defaults. - If you are unsure, ask the publisher for clarification (why cleanup script exists and why it's not documented) or consider forking/removing the cleanup script from the skill before use.

Like a lobster shell, security has layers — review code before you run it.

latestvk9731y6tm2f17795kz1napst4d848045
77downloads
0stars
1versions
Updated 3w ago
v2.0.0
MIT-0

GitHub Sync Skill - 技能同步工具

将本地技能自动同步到 GitHub 仓库的辅助工具。

触发场景

当用户要求:

  • 把技能同步到 GitHub
  • 发布技能到 GitHub
  • 备份我的技能
  • 更新 GitHub 上的技能仓库
  • "sync my skills to GitHub"
  • "把新创建的 skill 上传到 GitHub"

核心功能

1. 增量同步(默认)

  • 自动检测远程仓库已有的技能
  • 只同步本地有但远程没有的新技能
  • 避免重复上传已存在的技能

2. 单技能同步

  • 使用 --skill <skill-name> 指定同步单个技能
  • 适合新创建技能后快速发布

3. 自动生成 README.md

  • 每次同步后自动更新仓库的 README.md
  • 包含所有技能的名称、描述、标签
  • 提供安装和使用说明

4. Token 权限验证

  • 检查 Token 有效性
  • 验证 repo 权限
  • 提供修复建议

使用方法

增量同步所有新技能(推荐)

# 自动检测并同步新技能
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh \
  --owner kuiilabs \
  --repo claude-skills \
  --token $GITHUB_TOKEN

同步单个技能

# 当你创建了 new-skill 后
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh \
  --skill new-skill \
  --owner kuiilabs \
  --repo claude-skills \
  --token $GITHUB_TOKEN

检查环境

# 检查 Git
git --version

# 检查 Token 环境变量
echo $GITHUB_TOKEN

验证 Token 权限

# 验证 Token 所有者
curl -s -H "Authorization: token $GITHUB_TOKEN" \
  https://api.github.com/user | jq -r '.login'

# 验证仓库权限
curl -s -H "Authorization: token $GITHUB_TOKEN" \
  https://api.github.com/repos/<owner>/<repo> | jq '.permissions'

输出格式

同步报告

============================================================
  GitHub Sync Report
============================================================

仓库:kuiilabs/claude-skills
时间:2026-04-04 19:32:09
同步模式:增量同步
状态:✅ 成功

仓库链接:https://github.com/kuiilabs/claude-skills

============================================================

README.md 自动更新

每次同步新技能后,README.md 会自动追加该技能的信息:

### <技能名称>

<技能描述>

**标签**: tag1, tag2, tag3

工作流程

增量同步流程

  1. 获取远程仓库已有的技能列表
  2. 对比本地用户创建的技能
  3. 识别新技能(本地有,远程没有)
  4. 上传新技能的所有文件
  5. 更新 README.md 添加新技能介绍
  6. 生成同步报告

单技能同步流程

  1. 验证指定的技能目录存在
  2. 上传该技能的所有文件
  3. 更新 README.md 添加该技能介绍
  4. 生成同步报告

注意事项

  1. Token 安全: 不要将 Token 提交到代码仓库
  2. 权限要求: Token 需要 repo scope
  3. 网络环境: 需要能访问 GitHub API
  4. 冲突处理: 如有冲突需手动解决
  5. README 更新: 每次同步会自动更新 README.md

相关命令

# 增量同步所有新技能
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh

# 同步单个技能
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh --skill <skill-name>

# 仅检查变更
~/.claude/skills/github-sync-skill/scripts/check_changes.sh

# 验证 Token
~/.claude/skills/github-sync-skill/scripts/verify_token.sh

安全最佳实践

  1. Token 存储: 使用环境变量或密钥管理工具
  2. Token 过期: 设置提醒定期更新(建议 30-90 天)
  3. 权限最小化: 仅授予必要权限
  4. 审计日志: 定期检查 GitHub 登录活动

故障排查

问题错误信息解决方案
Token 过期401 Bad credentials重新生成 Token
权限不足403 Resource not accessible添加 repo scope
仓库不存在404 Not Found先创建仓库
网络超时Connection timeout检查网络/代理设置
README 更新失败422 Unprocessable Entity检查文件编码和格式

示例场景

场景 1:创建了新技能后

# 你创建了 new-skill 目录
mkdir -p ~/.claude/skills/new-skill
# ... 编辑 SKILL.md 和脚本 ...

# 同步到 GitHub
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh \
  --skill new-skill

场景 2:定期同步所有新技能

# 自动检测并同步所有新创建的技能
~/.claude/skills/github-sync-skill/scripts/sync_to_github.sh

Comments

Loading comments...