skill-adopter — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited skill-adopter (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
本技能是所有 Skill 生命周期动作的默认前门。无论用户要新建、改造、迁移、替换、采用、overlay、修复还是更新 Skill,都先从真实需求出发调研官方或成熟上游;能直接用就走 official-adopt,基本可用但需要 Kun 约束时交给后续 official-overlay,没有合适上游时才交给 skill-creator 或 skill-modify。
核心目标不是重写官方 Skill,也不是把当前本地缓存当作来源,而是先找到并分析可维护的前置源,再把上游 Skill 可复现地拉下来、锁住、验证,并留下 GitHub 可审计证据。
这个公开版可以在没有 Kun 私有 registry、DOKO 或本机缓存的环境里使用。缺少 dokobot、npx skills 或 gh 时,不要阻断整件事;把缺失工具写进 source card 的 evidence gap,再用可用的 GitHub、网页、手动阅读和本地文件验证继续推进。安装目标默认仍是 .agents/skills 或 .claude/skills,skills-lock.json 是本地可复现证据,不依赖私有组织仓库。
/skill-adopter(request, source?, skill_path?, target_root?, mode?)只要任务涉及 Skill 生命周期,就先研究,不直接创建或改造:
kun-create。“官方源”不是指本机已经安装的 Skill 名单。官方源或成熟源必须经过调研和阅读确认,至少记录 repo、skill path、license/来源边界、维护信号、覆盖度和是否需要 overlay。DOKO local 是找官方源的优先入口:用 dokobot read --local '<url>' 读取搜索结果页、X/Twitter、Reddit 和高质量 AI skill 社区页;不要把远端 dokobot search 的 API-key 限制误判为 DOKO 不可用。
DOKO local 的来源优先级:
skills.sh、claudskills.com、claudemarketplaces.com、awesomeskill.ai、mcpmarket.com/tools/skills、lobehub.com/skills,用于补候选池和热度信号。X、Reddit、社区市场只能作为 discovery lead;不能直接证明 official-adopt。任何候选必须回到 repo、SKILL.md、license、维护信号、commit/tag/tree hash 和本地 validator 后再定路线。
近期调研门:
SKILL.md、license、commit)和近期社区信号(近 30 天 web、X/Twitter、Reddit、Hacker News、YouTube、GitHub issues/discussions/PR)。GitHub 健康门:
stars / marketplace installs 只表示采用热度,不等于可复用。pushedAt 是维护信号主证据;updatedAt 可能由 star、issue、metadata 触发,只作为辅助。stars、forks、openIssues、license、archived/disabled、defaultBranch、pushedAt、updatedAt 和 canonical repo redirect。tier1-mature;否则保持 tier2-community 或 needs-review。NOASSERTION、Other license、archived/disabled、长期无 push 的仓库不能直接 official-adopt,即使 skills.sh installs 或 stars 较高。只要请求中的能力属于一个多步骤 workflow,source card 必须记录它在链条里的位置,而不是只记录“这个 Skill 能做什么”。
最小字段:
repo_type: standalone_skill | composite_skill_repo | runtime_repo
workflow_id: <repo workflow id or standalone>
state_machine_required: true | false
chain_id: <workflow id or standalone>
position: <this step>
consumes: <up游 artifact>
produces: <down游 artifact>
handoff_status: <ready/needs/block 状态>
next_skill: <下游 skill or none>
proof_surface: <命令、文件、锁或运行证明>如果上游官方 Skill 没有链条合同,但 Kun 的使用场景需要它,路线应标为 official-overlay 或 kun-create;不要用聊天记录、个人记忆或旧 plugin 路由代替合同。
当候选是 suite、旧插件、multi-skill repo 或同领域一组技能时,默认 repo_type=composite_skill_repo 且 state_machine_required=true。采用前必须确认 repo-level WORKFLOW.md 已存在或作为 overlay/creation 待办;registry 只能索引 workflow,不复制长流程。
当 GitHub 候选、旧插件或上游仓库包含多个技能、目录或 workflow step 时,先整理 capability map,再决定每个 atomic Skill 的路线;不要把 repo/suite 名称直接注册成可调用 facade。
最小 capability map:
capability: <real ability>
upstream_path: <repo path or local old skill path>
source_strategy: <official-adopt | official-overlay | kun-modify | kun-create | archive | defer>
installability: <single-skill | group-install-only | runtime-preflight-sensitive | blocked>
invocation_policy: <on-demand | install-only | runtime-exception | user-requested-facade>
proof_surface: <validator/smoke/lock/manual-review>整理规则:
group 只能代表批量安装便利,必须保持 callable: false。orchestra、router、facade 默认 archive 或 defer;只有 runtime bundle 或用户明确要求中央路由时才进入候选。description 按需触发。runtime-preflight-sensitive、later-batch、archive 或 reference-only。official-adopt:官方或可信上游已经满足用例。SKILL.md、references/、scripts/、assets/、templates、fixtures、schemas 和 license。.agents/skills 或指定目标;如果上游脚本/资产是能力的一部分,确认它们作为本地 scripts/ / assets/ 可用并被 validator 覆盖。skills-lock.json,记录 source、skill path、ref/commit、tree hash、关键文件 hash、payload roles 和验证命令。official-overlay:上游基本满足,但缺 Kun 边界或宿主兼容层。official-adopt 拉取和锁定。blocked_until_projected。skill-overlay 处理。kun-modify:目标是修复或改造 Kun-owned / fork / vendor_copy Skill。skill-modify 执行最小修复。kun-create:没有可用上游。skill-creator 从零创建。SKILL.md,并通过 GitHub 健康门记录 repo 可维护性。scripts/research_skill.py,生成 research/source-cards/<query>.md。对非平凡的新建、改造、迁移任务,必须优先补一轮多源 DOKO local:dokobot read --local '<url>' 读取 general web、recent 30-day web、X/Twitter、Reddit、Hacker News、YouTube、GitHub issues/discussions/PR 和 AI skill community 来源;只有 CLI 不存在、本地浏览器不可用、目标站点登录/反爬导致不可读,或用户明确不走 DOKO 时,才记录为 scoped evidence gap。scripts/source_card_to_registry.py 把候选转成 registry draft;状态保持 candidate_needs_skill_md_review,不要冒充已采用。SKILL.md 后,输出采用判断:official-adopt | official-overlay | kun-modify | kun-create | blocked。repo_type、workflow_id、state_machine_required、chain_id、输入 artifact、输出 artifact、交接状态、下游技能和 proof surface;缺失时先补卡再推进。composite_skill_repo 必须有 repo-level WORKFLOW.md 或明确待补,不能只给单个 Skill 写 chain position。runtime_repo 可以用 runtime_lifecycle,但必须记录 install/check/distribution/rollback 的 proof surface。standalone_skill 可保持 chain_id: standalone。official-adopt,运行 scripts/adopt_skill.py。quick_validate.py 和 audit_skill.py;若目标仓库没有 validator,使用当前 kun-skill-toolkit/skills/skill-modify/scripts/ 下的 validator。skill-overlay。skill-creator 或 skill-modify。调研候选:
python3 scripts/research_skill.py "<skill need or query>" \
--research-dir research/source-cards调研脚本会调用可用工具:
npx skills find <query>:发现 skills.sh / Skills CLI 候选。gh search repos "<query> agent skills SKILL.md":补充 GitHub 仓库候选,并采集 stars、forks、open issues、license、archived/disabled、default branch、latest push、latest update 等健康信号;对 skills.sh 候选还会反查 GitHub repo health。dokobot read --local <url>:用本机浏览器做多源 DOKO local 阅读,使用 --use-doko 时启用;脚本会覆盖 general web、recent 30-day web、X/Twitter、Reddit、Hacker News、YouTube、GitHub issues/discussions/PR 和 AI skill community focused query,这是 official source discovery 的优先入口。对旧 Skill/Plugin 改造,调研不应只用一个宽泛查询。推荐按下面方式拆查询:
<旧技能名> agent skill SKILL.md
<真实能力英文名> agent skill official
<真实能力英文名> Claude Code skill
<真实能力英文名> Codex skill
<真实能力英文名> GitHub agent skill调研脚本只输出 source card,不直接安装;采用前必须读取候选 SKILL.md。DOKO 发现的 URL 也必须进入 source card,而不是停留在聊天记录里。
生成 registry 草案:
python3 scripts/source_card_to_registry.py \
research/source-cards/<query>.md \
--rank 1 \
--draft-dir registry-drafts如果已经确认上游 skill path 和 ref:
python3 scripts/source_card_to_registry.py \
research/source-cards/<query>.md \
--rank 1 \
--skill-path <path/to/skill> \
--ref <tag-or-commit-sha>registry draft 是 handoff,不等于采用完成;只有读过 SKILL.md 并安装验证后,才把状态升级为 adopted。
采用已确认上游:
python3 scripts/adopt_skill.py \
--source <git-url-or-local-repo> \
--skill-path <path/to/skill> \
--target-root .agents/skills \
--lock-file skills-lock.json脚本做四件事:
SKILL.md 存在。skills-lock.json。锁文件格式见 references/adoption-lock-format.md。
需求:<新建/改造/迁移/修复/更新,以及旧资产路径或用户请求>
调研:<source card path;DOKO/GitHub/skills registry 覆盖情况>
候选:<repo/url/path/ref,覆盖度和来源等级>
路线:official-adopt | official-overlay | kun-modify | kun-create | blocked
上游:<repo/url/path/ref>
安装路径:<target skill dir>
锁定:<commit/ref/tree_sha256/skills-lock.json>
payload:<rule_text/executable_script/runtime_asset/fixture/evidence_only/blocked_until_projected>
验证:<quick_validate/audit 结果>
链条合同:<standalone 或 chain_id/position/consumes/produces/handoff_status/next_skill/proof_surface>
状态机:<repo_type/workflow_id/state_machine_required/WORKFLOW.md 或 runtime_lifecycle>
调用策略:<on-demand atomic skill / install-only group / runtime exception / user-requested facade>
下一步:完成 | 交给 skill-overlay | 交给 skill-modify | 交给 skill-creator | needs-userscripts/research_skill.py:调研官方/可信上游候选并生成 source card。scripts/source_card_to_registry.py:把 source card 候选转成 registry draft。scripts/adopt_skill.py:从 Git 或本地 repo 采用并锁定指定 Skill。references/source-card-template.md:source card 字段和人工判断清单。references/adoption-lock-format.md:skills-lock.json 的字段说明和质量边界。npx skills、GitHub skill tooling 或官方 Codex/Claude 工具已经能稳定完成“调研候选、拉取、锁定、安装、验证、跨宿主 registry 记录”全链路时,本技能可删除或降级为 thin wrapper。skills/skill-adopter/,并同步 skill-registry.yaml 中的 skill-adopter 条目和 install_order。SKILL.md、scripts/adopt_skill.py、references/adoption-lock-format.md、agents/openai.yaml、skill-registry.yaml 中的默认前门配置。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.