Skip to content
Back to search

huangshu

黄叔开源的Skill集合

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/backtthefuture--huangshu/badge.svg)](/listings/backtthefuture--huangshu)

HTML

<a href="/listings/backtthefuture--huangshu"><img src="/api/listings/backtthefuture--huangshu/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 78 lines · 1 finding marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # 黄叔开源 Skill 集合
  2. > 为 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 打造的实用 Skill,开箱即用。
  3. ## Skill 目录
  4. | Skill | 它能干什么 | 适合什么时候用 |
  5. |-------|------------|----------------|
  6. | [私董会(advisory-board)](skills/advisory-board/) | 请 12 位顶级思想家从不同角度帮你拆问题 | 面临重大商业决策,需要多视角碰撞 |
  7. | [Social-SBTI(social-sbti)](skills/social-sbti/) | 根据公开社交动态生成娱乐向人格画像卡 | 给自己或公开公众人物做娱乐向人格画像 |
  8. | [视频逐字稿(video-transcript)](skills/video-transcript/) | 把 B 站/抖音/小红书/YouTube 视频转成可搜索、可引用的逐字稿 | 做笔记、做素材、做总结 |
  9. | [BOSS 求职助手(boss-zhipin-scraper)](skills/boss-zhipin-scraper/) | 校准真实 JD,按确认的数量和档位持续筛选并触达岗位 | 在 BOSS 直聘搜索、分析和联系适合自己的岗位 |
  10. 点击 Skill 名称可以看完整说明。新手只需要看下面这段安装命令。
  11. ## 小白安装
  12. 先打开 macOS 的「终端」,复制对应的一行命令,粘贴进去回车。安装完后,完全退出 Claude Code 再重新打开。
  13. ### 私董会
  14. ```bash
  15. npx skills add Backtthefuture/huangshu --skill advisory-board -a claude-code -g -y
  16. ```
  17. ### Social-SBTI
  18. ```bash
  19. npx skills add Backtthefuture/huangshu --skill social-sbti -a claude-code -g -y
  20. ```
  21. ### 视频逐字稿
  22. ```bash
  23. bash <(curl -fsSL https://raw.githubusercontent.com/Backtthefuture/huangshu/main/skills/video-transcript/bootstrap.sh)
    • Note: Runs a downloaded script through process substitution (bash <(curl …))
    • Line 35 on GitHub
  24. ```
  25. ### BOSS 求职助手
  26. 在 Codex 中直接粘贴下面这句话:
  27. ```text
  28. 请使用 skill-installer 安装这个 Skill:https://github.com/Backtthefuture/huangshu/tree/main/skills/boss-zhipin-scraper
  29. ```
  30. 也可以在终端执行:
  31. ```bash
  32. python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py --url https://github.com/Backtthefuture/huangshu/tree/main/skills/boss-zhipin-scraper
  33. ```
  34. ## 这些命令是什么意思
  35. 普通 Skill 用 `npx skills add ...` 安装:它的作用就是把指定 Skill 下载到 Claude Code 能看见的位置。
  36. 需要额外配置的 Skill 用 `bootstrap.sh` 安装:它像一个安装向导,会先下载 Skill,再检查依赖、补配置。比如 `video-transcript` 需要视频处理工具、浏览器引擎和豆包 API Key。
  37. 命令里的 `-a claude-code` 不能省。省掉后可能会装到别的目录,Claude Code 看不见。
  38. ## 🛠️ 工具(Tools)
  39. 除了 Skill 本体,这里还收录黄叔自用的 Skill 周边工具。
  40. | 工具 | 说明 | 首次安装 | 再次启动 |
  41. |-----|------|---------|---------|
  42. | [Skill Hub](tools/skill-hub/) | 本地 Web UI,扫描全机器所有 Claude Skills,可视化编辑、去重、相似检测、版本快照、7 天回收站 | `npm install -g https://github.com/Backtthefuture/huangshu/raw/main/tools/skill-hub/release/claude-skill-hub.tgz && skill-hub` | `skill-hub` |
  43. > 装的是 `tools/skill-hub/release/claude-skill-hub.tgz` 这个预构建 tarball(绕开 `npm install -g github:...` 在 npm 11 + node 24 上的悬空软链 bug)。每次 skill-hub 源码变更后 tarball 会同步重打。
  44. >
  45. > 首次装完会自动启动并打开浏览器;之后任何时候只要在终端敲 `skill-hub` 就能重新启动,或者直接访问 `http://localhost:3456`(如果服务还在跑)。更新到最新版本:再跑一次首次安装的那条命令即可。
  46. ## 贡献
  47. 欢迎提交 Issue 和 PR。如果你基于这些 Skill 做了有趣的改造,也欢迎分享。
  48. ## 许可
  49. MIT License
skills/video-transcript/bootstrap.sh · Bundled script · 140 lines · 1 finding marked
  1. #!/usr/bin/env bash
  2. # video-transcript skill 一行命令安装入口
  3. #
  4. # 用法:
  5. # bash <(curl -fsSL https://raw.githubusercontent.com/Backtthefuture/huangshu/main/skills/video-transcript/bootstrap.sh)
    • Note: Runs a downloaded script through process substitution (bash <(curl …))
    • Line 5 on GitHub
  6. #
  7. # 流程: 拉 skill 文件 → 跑 install.sh(装系统依赖 + 配 API Key)
  8. #
  9. # 兜底顺序: npx skills add → git sparse-checkout → tarball
  10. set -e
  11. REPO="Backtthefuture/huangshu"
  12. SKILL="video-transcript"
  13. TARGET="$HOME/.claude/skills/$SKILL"
  14. C_BOLD='\033[1m'; C_GREEN='\033[32m'; C_YELLOW='\033[33m'; C_RED='\033[31m'; C_BLUE='\033[34m'; C_GRAY='\033[90m'; C_RESET='\033[0m'
  15. say() { printf "${C_BLUE}▸${C_RESET} %s\n" "$1"; }
  16. ok() { printf " ${C_GREEN}✓${C_RESET} %s\n" "$1"; }
  17. warn() { printf " ${C_YELLOW}⚠${C_RESET} %s\n" "$1"; }
  18. err() { printf " ${C_RED}✗${C_RESET} %s\n" "$1"; }
  19. bar() { printf "${C_GRAY}═══════════════════════════════════════════════════════${C_RESET}\n"; }
  20. # ── Codex 集成:检测到 ~/.codex/ 就注册 /video-transcript ──
  21. register_codex() {
  22. local codex_home="${CODEX_HOME:-$HOME/.codex}"
  23. if [ ! -d "$codex_home" ]; then
  24. printf " ${C_GRAY}ℹ${C_RESET} 未检测到 ~/.codex/,跳过 Codex 集成(只 Claude Code 可用)\n"
  25. return 0
  26. fi
  27. mkdir -p "$codex_home/prompts"
  28. cat > "$codex_home/prompts/video-transcript.md" <<'PROMPT_EOF'
  29. You are a video transcript extractor. The user provides a video URL
  30. (B站 / 抖音 / 小红书 / YouTube) or a local file path as $ARGUMENTS.
  31. Run this command, streaming both stderr and stdout:
  32. python3 ~/.claude/skills/video-transcript/scripts/transcript.py "$ARGUMENTS"
  33. Behavior contract:
  34. 1. The script prints a 📊 评估表 to stderr early on. As soon as you see it,
  35. tell the user the title, duration, segment count, and 预估耗时 — so they
  36. know how long to wait.
  37. 2. When the script finishes, the FULL markdown transcript is on stdout,
  38. starting with a `# <title>` heading. You MUST display the entire transcript
  39. verbatim — every section with its `[MM:SS - MM:SS]` header. Do NOT summarize.
  40. Do NOT only say "saved to xxx.md".
  41. 3. End your reply with one short line noting the saved .md path.
  42. If the script fails with missing dependencies, suggest the user run:
  43. bash ~/.claude/skills/video-transcript/install.sh
  44. PROMPT_EOF
  45. ok "已注册 Codex 命令 → $codex_home/prompts/video-transcript.md"
  46. printf " ${C_GRAY} 在 Codex 里可用 /video-transcript <URL> 触发${C_RESET}\n"
  47. }
  48. bar
  49. printf "${C_BOLD} 🎬 video-transcript skill 安装引导${C_RESET}\n"
  50. bar
  51. echo ""
  52. # ── 已安装则提示 ─────────────────────────────────────────
  53. if [ -d "$TARGET" ]; then
  54. warn "已检测到 $TARGET 存在"
  55. printf " 覆盖重装? [y/N]: "
  56. read -r yn < /dev/tty || yn=""
  57. case "$yn" in
  58. [Yy]*) say "覆盖中,删除旧目录..."; rm -rf "$TARGET" ;;
  59. *) say "保留现有 skill,只跑 install.sh 重新配置"
  60. bash "$TARGET/install.sh"
  61. echo ""
  62. register_codex
  63. exit 0 ;;
  64. esac
  65. fi
  66. mkdir -p "$HOME/.claude/skills"
  67. # ── 三档兜底拉 skill 文件 ────────────────────────────────
  68. fetched=""
  69. # 档 1: npx skills add(huangshu 推荐方式,需要 node/npx)
  70. if [ -z "$fetched" ] && command -v npx >/dev/null 2>&1; then
  71. say "用 npx skills add 拉 skill..."
  72. if npx -y skills add "$REPO" --skill "$SKILL" -a claude-code -g -y 2>&1; then
  73. if [ -d "$TARGET" ] && [ -f "$TARGET/SKILL.md" ]; then
  74. fetched="npx"
  75. ok "通过 npx skills 拉到 $TARGET"
  76. fi
  77. fi
  78. [ -z "$fetched" ] && warn "npx skills 失败,尝试下一档..."
  79. fi
  80. # 档 2: git sparse-checkout(只拉这个 skill 子目录,省流量)
  81. if [ -z "$fetched" ] && command -v git >/dev/null 2>&1; then
  82. say "用 git sparse-checkout 拉 skill..."
  83. TMP=$(mktemp -d)
  84. if git clone --depth=1 --filter=blob:none --sparse "https://github.com/$REPO.git" "$TMP/repo" 2>&1; then
  85. (cd "$TMP/repo" && git sparse-checkout set "skills/$SKILL")
  86. if [ -d "$TMP/repo/skills/$SKILL" ]; then
  87. mv "$TMP/repo/skills/$SKILL" "$TARGET"
  88. rm -rf "$TMP"
  89. fetched="git"
  90. ok "通过 git sparse-checkout 拉到 $TARGET"
  91. fi
  92. fi
  93. [ -z "$fetched" ] && { rm -rf "$TMP"; warn "git 失败,尝试下一档..."; }
  94. fi
  95. # 档 3: tarball(终极兜底,无需 git/node)
  96. if [ -z "$fetched" ]; then
  97. say "用 tarball 下载..."
  98. TMP=$(mktemp -d)
  99. if curl -fsSL "https://github.com/$REPO/archive/refs/heads/main.tar.gz" | tar xz -C "$TMP" 2>&1; then
  100. SUBDIR=$(find "$TMP" -maxdepth 2 -type d -name "$SKILL" | head -1)
  101. if [ -n "$SUBDIR" ] && [ -d "$SUBDIR" ]; then
  102. mv "$SUBDIR" "$TARGET"
  103. rm -rf "$TMP"
  104. fetched="tarball"
  105. ok "通过 tarball 拉到 $TARGET"
  106. fi
  107. fi
  108. fi
  109. if [ -z "$fetched" ]; then
  110. err "三种方式都失败了!"
  111. err "请手动 git clone 后跑: bash <skill-dir>/install.sh"
  112. err " git clone https://github.com/$REPO ~/Downloads/huangshu"
  113. err " cp -r ~/Downloads/huangshu/skills/$SKILL $TARGET"
  114. err " bash $TARGET/install.sh"
  115. exit 1
  116. fi
  117. echo ""
  118. say "进入安装向导(装系统依赖 + 配豆包 API Key)..."
  119. echo ""
  120. bash "$TARGET/install.sh"
  121. echo ""
  122. register_codex

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.