skills add --skill <name> bypasses the metadata.internal gate (--all honors it)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli, documentation, tooling
Hướng nghiên cứu
Start by tracing the npx skills add explicit --skill path and compare its metadata handling with the --all path described in the reproduction. Verify the behavior with the listed commands and ensure an internal skill is refused unless INSTALL_INTERNAL_SKILLS=1 is set. Also update CLAUDE.md:12 so its installation guidance matches the documented behavior in .claude/skills/README.md and the other catalog surfaces.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
#3856 marked the six repo-native skills metadata.internal: true so they stay out of public installs. The gate works on --all. It does not work when a skill is named explicitly with --skill, so all six are still publicly installable today with no flag and no env var.
Reproduction
Run each in an empty directory. Observed today on main at 14b9e2039, installer npx skills add.
| Command | INSTALL_INTERNAL_SKILLS |
Internal six | Total installed |
|---|---|---|---|
npx skills add heygen-com/hyperframes --all |
unset | excluded ✅ | 20 |
npx skills add heygen-com/hyperframes --all |
=1 |
pulled ✅ | 26 |
npx skills add heygen-com/hyperframes --skill changelog-video |
unset | pulled ❌ | 1 |
$ mkdir /tmp/t && cd /tmp/t
$ npx skills add heygen-com/hyperframes --skill changelog-video
● Selected 1 skill: changelog-video
◇ Installed 1 skill
✓ ./.agents/skills/changelog-video
universal: Antigravity, Codex, Cursor, Droid, Gemini CLI +15 more
symlinked: Claude Code
The installed SKILL.md is byte-identical to .claude/skills/changelog-video/SKILL.md on current main, marker included:
metadata:
internal: true
So the registry is serving current content and the flag is present in the payload. The explicit-install path just never checks it.
Expected
.claude/skills/README.md, added in #3856, states the contract:
Each repo-native skill declares
metadata.internal: true, sonpx skills addskips it during normal installs (including--all). This does not change local agent discovery. To explicitly install these skills elsewhere, setINSTALL_INTERNAL_SKILLS=1when running the installer.
An explicit --skill <internal-name> without INSTALL_INTERNAL_SKILLS=1 should refuse, the way --all does. Right now the env var is the documented escape hatch for a door that has no lock.
Why it matters
The explicit path ships the full skill directory, 712K, not just the prompt:
assets/fonts/TT_Norms_Pro_{Medium,Bold,Normal}.woff2
assets/fonts/tt_norms_pro_mono_regular-webfont.woff2
assets/fonts/ABCSolarDisplay-Bold.woff2
assets/bgm.mp3
assets/bg-pattern.mp4
references/{build-spec,script-voice,visualization-registry}.md
references/lexicon.json
examples/master-skeleton.html
scripts/align-captions.mjs
Those are commercial foundry webfonts and house brand assets going out through a public install command. That is the exposure #3856 was closing, and it is still open on this path. Worth a licensing check independent of the fix.
Second, smaller finding
CLAUDE.md:12 still documents the pre-#3856 behavior:
npx skills add heygen-com/hyperframes # interactive picker (terminal only; --all also pulls the 6 repo-internal skills under .claude/skills)
The --all run above disproves that, 20 skills and none of the six. #3856 updated AGENTS.md, README.md, and docs/guides/skills.mdx but not CLAUDE.md. The repo's own "Skill catalog maintenance" section requires these surfaces move in lockstep.
Environment
macOS 15.6, Node via npx, repo at 14b9e2039.
- Ngôn ngữ chính
- TypeScript
- Star
- 54.1k
- Fork
- 4.9k
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 711
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của heygen-com/hyperframes
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
heygen-com/hyperframes#6203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
heygen-com/hyperframes#6157 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
format.md:66 host-id rule is ambiguous for multi-mount sub-compositions; scoped selector silently yields static framesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
heygen-com/hyperframes#6139 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
heygen-com/hyperframes#6138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs: clip window is inclusive in data-attributes.md but [start, start+duration) in router Contract 1Có thể đã có người làm @Mittalnew đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
heygen-com/hyperframes#6136 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của heygen-com/hyperframes
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
farion1231/cc-switch#8829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverĐang mởdoc-audit enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100