Repository navigation
Conversation
- 简介上限改成 1024 字,超长截断;整包限制 200MB,不再限制文件数和单文件大小 - 读取 ~/.agents/skills,标记「其他工具安装」,可以用开关关掉 - 带脚本的技能标「含脚本」 - 启动时不再重建插件和本机技能的包,重启不再丢文件 - 同步不再打开用户停用的技能 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为什么
技能规则比 Agent Skills 标准和 Codex、Claude Code 这些工具严得多:简介最多 200 字、单文件 8MB、整包 20MB、最多 512 个文件。别的工具里能用的技能,放进 BeefTV 常常被拒。这个 PR 把本机这一侧放开,并让其他工具装的技能直接出现在 BeefTV 里。
改了什么
规则放开
其他工具装的技能自动进来
~/.agents/skills,标记为「其他工具安装」。目录里删掉的技能,技能库里也跟着删。GET/PUT /api/skills/local-source、POST /api/skills/local-source/sync。带脚本的技能标出来
顺手修的 bug:重启会丢掉插件技能的文件
这个 bug 在 main 上就有,浏览器验证时才发现。
EnsureSkillPackages每次启动都用SKILL.md重建所有非用户技能的包。它手上只有SKILL.md,所以插件技能只要带别的文件,重启后就缩成单文件,来源还被改成builtin。现在跳过插件和本机技能,它们的文件由各自的同步负责。同一处还修了:同步会把用户停用的技能重新打开。这对插件技能也生效。
这个 PR 没动的地方
下面这些在线上市场一侧,要等确认后再改,这里保持原样:
scripts/的包(market_publishing.go)。skillhub/archive.go和skillhubcli/bundle.go的大小限制不变。验证
go test ./...全部通过。新增的两个测试撤掉修复后都会失败:重启后文件和来源不变、停用不被同步打开。tsc、lint、build通过。bun run test3341 通过,2 个失败都是public release boundary,原因是测试环境没装rsync(退出码 127),和这次改动无关。SKILL.md的目录和隐藏目录:local;没验证:Windows 上的路径;技能目录特别大时打开「我的技能」的速度;
docs/这里没有可跑的文档检查脚本。🤖 Generated with Claude Code