公开记录
软件健康报告模式 0.26.0 · 指标 2.10.0 · 2026-07-22 09:43 UTC

magic / cli

@magic cli wrapper. declarative command line interfaces for any nodejs script.

JavaScriptAGPL-3.0★ 2 星标⑂ 1 复刻始于 2019年4月在 GitHub 上查看 ↗
类型命令行工具如何判定

magic/cli 的健康指数为 100 分中的 48 分,处于「薄弱」区间。 其得分最高的类别是Vitality(64/100),最低的是Community & Adoption(31/100)。 最近一次更新在 23 天前。 近期的大部分工作由 1 位贡献者完成。

48
总分 / 100
薄弱

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

48
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 49 经校准后在公布的指数量表上为 48(记录校准 2026-08-02)。

所有权

@magic组织
10 关注者27 个公开仓库始于 2015年8月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npm@magic/cli0.0.551,8495523 天前magicclicommand-line-interfacedeclarative

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

64中等 · 占总体的 21%
评分方式
28.8/36推送新近度最近一次推送于 23 天前
4.2/36提交节奏52 周中有 6 周有提交
15.2/18提交量最近一年 48 次提交
10/10OpenSSF Scorecard:Maintained12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year48
human_commit_share1
days_since_last_push23
active_weeks_last_year6

发布纪律

72良好
评分方式
16.2/27有发布版本36 个版本标签(无 GitHub 发布版本)
36/36发布时效最近一次发布版本于 23 天前
12.6/27发布节奏约每 131.2 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count36
latest_release_tagv0.0.55
releases_from_tags
days_since_latest_release23
mean_days_between_releases131.2
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

31存在风险 · 占总体的 17%
评分方式
0/60星标2 个星标
0/25复刻1 个复刻
0/15关注者2 位关注者
所用输入
forks1
stars2
watchers2
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(AGPL-3.0)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
43.6/80月度下载量npm 合计每月 1,849 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packages@magic/cli
dependents
ecosystemsnpm
total_downloads
monthly_downloads1,849
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

50中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
0/22.5提交分布头号贡献者编写了 100% 的提交
1.4/13.5贡献者广度1 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 18 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled1
top_contributor_share1
评分方式
14/42议题解决33% 的议题已关闭
2.2/30PR 接受已裁定的 PR 中 4/55 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs4
open_issues2
closed_issues1
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.333
closed_unmerged_prs51
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名未读取该组织的域名验证状态
7.5/25所有者影响力magic 有 10 位关注者
22.5/25既往记录27 个公开仓库,账户约 10 年
所用输入
followers10
owner_typeOrganization
is_verified
owner_loginmagic
public_repos27
account_age_days3,981
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析npm 上有 1 个软件包
35/35发布时效最近一次发布于 23 天前
20/20版本历史55 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packages@magic/cli
ecosystemsnpm
any_deprecated
min_days_since_publish23

工程质量

基础的工程与文档实践是否到位?

44薄弱 · 占总体的 19%

工程实践

30存在风险
评分方式
0/24CI 工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests无数据
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config
已排除计分(无数据或不适用):OpenSSF Scorecard:CI-Tests。 其余权重已重新归一化。

文档

65良好
评分方式
30/30README
25/25文档目录
0/15文档 / 主页站点
10/10仓库描述
0/10主题标签
0/10Wiki
所用输入
topics
has_wiki
homepage
docs_site
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

52中等 · 占总体的 16%

安全态势

40薄弱
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Tests无数据
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 18 contributing companies or organizations
0/10Dangerous-Workflow无数据
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging无数据
0/5Pinned-Dependencies无数据
0/5SASTno SAST tool detected
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissions无数据
6.8/7.5Vulnerabilities1 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated12
scorecard_versionv5.5.0
checks_inconclusive6
scorecard_aggregate4
已排除计分(无数据或不适用):CI-Tests, Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
25/25间接依赖不含已知公告没有间接依赖携带已知公告
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages7
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):没有长期未处理的公告。 其余权重已重新归一化。 比对的是 npm:@magic/cli@0.0.55 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 7 个软件包。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

47薄弱 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
27.7/40可读的提交历史100 次人类提交中有 52 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share0.52
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查tsconfig.json
10/10可复现环境lockfile
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
0/8自动化维护未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies无数据
所用输入
has_nix
has_tests
lockfilespackage-lock.json
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configstsconfig.json
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):OpenSSF Scorecard:Pinned-Dependencies。 其余权重已重新归一化。
评分方式
27/45可类型检查的代码JavaScript,已配置类型检查(tsconfig.json)
55/55可控的文件大小采样的 45 个源文件中有 0 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes25,246
source_files_sampled45
oversized_source_files0

关键数据

2GitHub 星标
1贡献者
48最近 12 个月提交数
23距最近推送天数
36发布版本数
1巴士系数(bus factor)
2开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

OpenSSF Scorecard 4.0 / 10
4.0综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-22 09:43 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
不适用CI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 18 contributing companies or organizations
不适用Dangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
不适用Pinned-Dependenciesno dependencies found
0SASTno SAST tool detected
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
不适用Token-PermissionsNo tokens found
9Vulnerabilities1 existing vulnerabilities detected
直接依赖 5
注册表软件包版本约束清单文件
npm@magic/cases0.0.14package.json
npm@magic/deep0.1.22package.json
npm@magic/error0.0.24package.json
npm@magic/log0.1.23package.json
npm@magic/types0.1.38package.json
全部依赖 240

来自 GitHub 依赖图的完整解析依赖集合:10 个直接依赖与 230 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
npm@magic/cases0.0.13直接
npm@magic/cases0.0.14直接
npm@magic/deep0.1.21直接
npm@magic/deep0.1.22直接
npm@magic/error0.0.23直接
npm@magic/error0.0.24直接
npm@magic/log0.1.22直接
npm@magic/log0.1.23直接
npm@magic/types0.1.37直接
npm@magic/types0.1.38直接
npm@bcoe/v8-coverage1.0.2间接
npm@eslint-community/eslint-utils4.9.1间接
npm@eslint-community/regexpp4.12.2间接
npm@eslint/config-array0.23.5间接
npm@eslint/config-helpers0.6.0间接
npm@eslint/core1.2.1间接
npm@eslint/object-schema3.0.5间接
npm@eslint/plugin-kit0.7.2间接
npm@humanfs/core0.19.2间接
npm@humanfs/node0.16.8间接
npm@humanfs/types0.15.0间接
npm@humanwhocodes/module-importer1.0.1间接
npm@humanwhocodes/retry0.4.3间接
npm@istanbuljs/schema0.1.6间接
npm@jridgewell/resolve-uri3.1.2间接
npm@jridgewell/sourcemap-codec1.5.5间接
npm@jridgewell/trace-mapping0.3.31间接
npm@magic-libraries/prevent-default0.0.6间接
npm@magic-modules/git-badges0.0.12间接
npm@magic-modules/light-switch0.0.12间接
npm@magic-modules/no-spy0.0.9间接
npm@magic-modules/pre0.0.12间接
npm@magic-themes/docs0.0.15间接
npm@magic/cli0.0.54间接
npm@magic/core0.0.159间接
npm@magic/css0.7.59间接
npm@magic/entities0.0.17间接
npm@magic/format0.0.74间接
npm@magic/fs0.0.38间接
npm@magic/fs0.0.39间接
npm@magic/hyperapp2.0.4-alpha.0.6间接
npm@magic/mime-types0.0.23间接
npm@magic/tags0.0.15间接
npm@magic/test0.3.21间接
npm@magic/transmute0.0.59间接
npm@swc/core1.15.43间接
npm@swc/core-darwin-arm641.15.43间接
npm@swc/core-darwin-x641.15.43间接
npm@swc/core-linux-arm-gnueabihf1.15.43间接
npm@swc/core-linux-arm64-gnu1.15.43间接
npm@swc/core-linux-arm64-musl1.15.43间接
npm@swc/core-linux-ppc64-gnu1.15.43间接
npm@swc/core-linux-s390x-gnu1.15.43间接
npm@swc/core-linux-x64-gnu1.15.43间接
npm@swc/core-linux-x64-musl1.15.43间接
npm@swc/core-win32-arm64-msvc1.15.43间接
npm@swc/core-win32-ia32-msvc1.15.43间接
npm@swc/core-win32-x64-msvc1.15.43间接
npm@swc/counter0.1.3间接
npm@swc/types0.1.27间接
npm@types/esrecurse4.3.1间接
npm@types/estree1.0.9间接
npm@types/istanbul-lib-coverage2.0.6间接
npm@types/json-schema7.0.15间接
npm@types/node25.9.2间接
npm@types/node26.0.1间接
npm@types/whatwg-mimetype3.0.2间接
npm@types/ws8.18.1间接
npm@typescript-eslint/eslint-plugin8.62.0间接
npm@typescript-eslint/parser8.62.0间接
npm@typescript-eslint/project-service8.62.0间接
npm@typescript-eslint/scope-manager8.62.0间接
npm@typescript-eslint/tsconfig-utils8.62.0间接
npm@typescript-eslint/type-utils8.62.0间接
npm@typescript-eslint/types8.62.0间接
npm@typescript-eslint/typescript-estree8.62.0间接
npm@typescript-eslint/utils8.62.0间接
npm@typescript-eslint/visitor-keys8.62.0间接
npmacorn8.17.0间接
npmacorn-jsx5.3.2间接
npmajv6.15.0间接
npmansi-regex5.0.1间接
npmansi-styles4.3.0间接
npmautoprefixer10.5.0间接
npmbalanced-match4.0.4间接
npmbase64-js1.5.1间接
npmbaseline-browser-mapping2.10.40间接
npmbl4.1.0间接
npmbrace-expansion5.0.6间接
npmbrowserslist4.28.4间接
npmbuffer5.7.1间接
npmbuffer-image-size0.6.4间接
npmc811.0.0间接
npmcaniuse-lite1.0.30001799间接
npmcanvas3.2.3间接
npmchownr1.1.4间接
npmcliui8.0.1间接
npmcolor-convert2.0.1间接
npmcolor-name1.1.4间接
npmconvert-source-map2.0.0间接
npmcross-spawn7.0.6间接
npmdebug4.4.3间接
npmdecompress-response6.0.0间接
npmdeep-extend0.6.0间接
npmdeep-is0.1.4间接
npmdetect-libc2.1.2间接
npmdom-serializer2.0.0间接
npmdomelementtype2.3.0间接
npmdomhandler5.0.3间接
npmdomutils3.2.2间接
npmelectron-to-chromium1.5.380间接
npmemoji-regex8.0.0间接
npmend-of-stream1.4.5间接
npmentities4.5.0间接
npmentities7.0.1间接
npmescalade3.2.0间接
npmescape-string-regexp4.0.0间接
npmeslint10.6.0间接
npmeslint-scope9.1.2间接
npmeslint-visitor-keys3.4.3间接
npmeslint-visitor-keys5.0.1间接
npmespree11.2.0间接
npmesquery1.7.0间接
npmesrecurse4.3.0间接
npmestraverse5.3.0间接
npmesutils2.0.3间接
npmexpand-template2.0.3间接
npmfast-deep-equal3.1.3间接
npmfast-json-stable-stringify2.1.0间接
npmfast-levenshtein2.0.6间接
npmfdir6.5.0间接
npmfile-entry-cache8.0.0间接
npmfind-up5.0.0间接
npmflat-cache4.0.1间接
npmflatted3.4.2间接
npmforeground-child3.3.1间接
npmfraction.js5.3.4间接
npmfs-constants1.0.0间接
npmget-caller-file2.0.5间接
npmgithub-from-package0.0.0间接
npmglob13.0.6间接
npmglob-parent6.0.2间接
npmhappy-dom20.10.6间接
npmhas-flag4.0.0间接
npmhtml-escaper2.0.2间接
npmhtmlparser29.1.0间接
npmieee7541.2.1间接
npmignore5.3.2间接
npmignore7.0.5间接
npmimurmurhash0.1.4间接
npminherits2.0.4间接
npmini1.3.8间接
npmis-extglob2.1.1间接
npmis-fullwidth-code-point3.0.0间接
npmis-glob4.0.3间接
npmisexe2.0.0间接
npmistanbul-lib-coverage3.2.2间接
npmistanbul-lib-report3.0.1间接
npmistanbul-reports3.2.0间接
npmjson-buffer3.0.1间接
npmjson-schema-traverse0.4.1间接
npmjson-stable-stringify-without-jsonify1.0.1间接
npmkeyv4.5.4间接
npmlevn0.4.1间接
npmlocate-path6.0.0间接
npmlru-cache11.5.1间接
npmmagic-string0.30.21间接
npmmake-dir4.0.0间接
npmmarked18.0.5间接
npmmimic-response3.1.0间接
npmminimatch10.2.5间接
npmminimist1.2.8间接
npmminipass7.1.3间接
npmmkdirp-classic0.5.3间接
npmms2.1.3间接
npmnanoid3.3.15间接
npmnapi-build-utils2.0.0间接
npmnatural-compare1.4.0间接
npmnode-abi3.92.0间接
npmnode-addon-api7.1.1间接
npmnode-releases2.0.50间接
npmonce1.4.0间接
npmoptionator0.9.4间接
npmp-limit3.1.0间接
npmp-locate5.0.0间接
npmpath-exists4.0.0间接
npmpath-key3.1.1间接
npmpath-scurry2.0.2间接
npmpicocolors1.1.1间接
npmpicomatch4.0.4间接
npmpostcss8.5.15间接
npmpostcss-value-parser4.2.0间接
npmposthtml-parser0.12.1间接
npmprebuild-install7.1.3间接
npmprelude-ls1.2.1间接
npmprettier3.8.3间接
npmprettier3.8.5间接
npmpump3.0.4间接
npmpunycode2.3.1间接
npmrc1.2.8间接
npmreadable-stream3.6.2间接
npmrequire-directory2.1.1间接
npmsafe-buffer5.2.1间接
npmsemver7.8.5间接
npmshebang-command2.0.0间接
npmshebang-regex3.0.0间接
npmsignal-exit4.1.0间接
npmsimple-concat1.0.1间接
npmsimple-get4.0.1间接
npmsource-map-js1.2.1间接
npmstring-width4.2.3间接
npmstring_decoder1.3.0间接
npmstrip-ansi6.0.1间接
npmstrip-json-comments2.0.1间接
npmsupports-color7.2.0间接
npmtar-fs2.1.5间接
npmtar-stream2.2.0间接
npmtest-exclude8.0.0间接
npmtinyglobby0.2.17间接
npmts-api-utils2.5.0间接
npmtunnel-agent0.6.0间接
npmtype-check0.4.0间接
npmtypescript6.0.3间接
npmtypescript-eslint8.62.0间接
npmundici-types7.24.6间接
npmundici-types8.3.0间接
npmupdate-browserslist-db1.2.3间接
npmuri-js4.4.1间接
npmutil-deprecate1.0.2间接
npmv8-to-istanbul9.3.0间接
npmwhatwg-mimetype3.0.0间接
npmwhich2.0.2间接
npmword-wrap1.2.5间接
npmwrap-ansi7.0.0间接
npmwrappy1.0.2间接
npmws8.21.0间接
npmy18n5.0.8间接
npmyargs17.7.3间接
npmyargs-parser21.1.1间接
npmyocto-queue0.1.0间接
依赖安全公告 0

安装 npm:@magic/cli@0.0.55 会引入 7 个包(直接与传递):其中 0 个存在已知公告,0 个为直接依赖。

没有已知公告影响已评估的依赖。

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.26.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计npm.