Subchapter 11.1
references/discovery-ranking.mdMarkdown5 KBView on GitHub
Use high-recall search first, semantic matching second, and full-file verification third.
For each capability, generate:
SKILL.md when supported.Do not reuse queries from a different domain. Humanizer-style helpers are found through queries about natural writing, tone, rewriting, or style quality rather than the main domain name.
Search snippets discover candidates; they do not verify them. Verify from the canonical repository.
Run browser-backed OpenCLI searches sequentially. Retry one rejected navigation with an explicit profile and trace, then fall back to another read-only source.
Compare each candidate against:
Do not rank on title similarity alone.
Keep this record internally. In plain-language mode, translate it to 安全检查通过, 安全试跑通过, and 最近确认可用.
identity: canonical owner/repository:path@revision
source_url: canonical URL
license: value or unknown
capability: input -> operation -> output
covered_steps: []
evidence: []
dependencies: []
permissions: []
external_actions: []
community:
installs: value or unknown
stars: value or unknown
feedback: value or unknown
independent_usage: value or unknown
last_confirmed_working: YYYY-MM-DD or unknown
installation_safety_check: pass|fail|incomplete
safe_trial: pass|fail|not-run
local_status: absent|installed|duplicate|conflict
file_fingerprint: internal value
uncertainties: []Do not recommend installation while any of these remains unresolved:
Score only after the hard gates.
| Dimension | Weight | High score means |
|---|---|---|
| Workflow fit | 30 | Matches the exact required input, operation, output, and boundaries |
| Community adoption | 25 | Credible installs, stars, feedback, and independent real-world use |
| Safety and control | 15 | Least privilege, clear approvals, no unexplained high-risk behavior |
| Evidence and safe trial | 15 | Full-file evidence and a reproducible non-destructive trial |
| Ease of use | 10 | Dependencies available, clear setup, stable output, useful errors |
| Maintenance and provenance | 5 | Canonical source, identifiable owner, recently maintained or intentionally stable |
Break the 25 community points down as guidance:
Avoid double-counting a monorepo’s stars for every small Skill. Normalize numbers by source, age, and niche where possible. A recently released niche Skill may be labeled promising rather than treated as bad, but it should not outrank a similarly fitting and well-proven alternative without evidence.
Use confidence labels:
Choose the fewest non-overlapping Skills that cover all required success conditions.
Prefer:
Do not recommend two primary Skills for the same step unless the user wants alternatives.