用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SocketDev/action --skill measuring-ecosystem-impact命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Propagate a wheelhouse template change across fleet repos: worktrees, push/PR fallback, cleanup.
Run this repo's GitHub Actions locally with Agent-CI before pushing CI-sensitive changes.
Audit package exports for dead, internal-only, or weakly-consumed subpaths before pruning.
基于 SOC 职业分类
正在显示 SKILL.md
| name | measuring-ecosystem-impact |
| description | Rank npm packages by ecosystem reach; model what overriding them removes from the install tree. |
| user-invocable | true |
| allowed-tools | Bash(node:*), Bash(pnpm run:*), Read, Grep, Glob |
| model | claude-sonnet-4-6 |
| context | fork |
| metadata | {"internal":true} |
Decide which npm packages deserve a hardened drop-in, and how much an override actually buys. All the work is in scripts/fleet/measure-ecosystem-impact.mts — this skill exists to run it and to stop the two misreadings that make its output dangerous.
@socketregistry/* ports..cache/fleet/ecosystem-impact-deps.json). Run once online first.node scripts/fleet/measure-ecosystem-impact.mts --help
# Rank + cut for a candidate set, given what is already overridden.
node scripts/fleet/measure-ecosystem-impact.mts \
--targets get-intrinsic,call-bound,get-proto,dunder-proto,math-intrinsics \
--overridden is-data-view,own-keys,es-to-primitive \
--root-count 250
# Machine-readable, for a report or a diff between waves.
node scripts/fleet/measure-ecosystem-impact.mts --targets <list> --json
🚨 A cut percentage is not a verdict. Read SURVIVING GATEWAYS first. When a target's own siblings are the live routes into it, the group is a clique: consumer-side overriding can never empty it, and only porting its members will. The script flags those groups; do not report a percentage without them.
🚨 Root sets must match to compare. Every result prints the root set it was measured from. Two runs over different root sets produce incomparable numbers — re-walking a wider set once turned a stable 18→12 into 31→25 and read as a regression that never happened. Record the root set with the number, and refuse the comparison when they differ.
Both traps, and the measured es-abstract case that produced them, are written up in docs/agents.md/fleet/ecosystem-impact-measurement.md.
State, in this order: the root set, the rank, the before→after with the percentage, the surviving gateways, and the clique verdict. A finding missing the gateways or the root set is not reportable.