Third-Party Component Skill Integration Methodology
Trigger (When to Use)
- When an official team or customer discovers an excellent open-source component (GitHub / npm / PyPI) and wants to include it in the skill marketplace.
- During review decisions such as "Should this component be made into a skill?"
- When the skill marketplace adds a new category of "execution skills" requiring admission review.
Steps
⓪ Business Qualification Review (Front Gate — No matter how secure the technology, if the business value is absent, it is not accepted)
Pass this gate first, then proceed to technical evaluation. All four items must pass to enter Step ①; if any item fails → register as an observation item or reject outright.
| Review Item | Pass Criteria | Reject Criteria |
|---|---|---|
| Scenario Value | Can clearly state "which industry/role, under what scenario, and with what frequency" it will be used; has genuine customer demand or a clearly foreseeable scenario. | Only says "this component is popular/cool" without specifying who will use it for what → Reject. |
| Ecosystem Deduplication | Does not overlap with existing skills (official skills/ + registry/), or if overlap exists, a differentiated scenario is justified (performance/compliance/scenario specificity — at least one). | Functionality overlaps with existing skills ≥70% with no differentiated scenario → Register as observation item, do not list; only one primary skill is retained per niche; new candidates must justify "why replace/cocreate." |
| Quality Evidence | Has external credible signals: GitHub stars/downloads/production use cases/authoritative recommendations — at least one; code is readable, documentation is usable. | No usage evidence: toy projects, sample projects, personal practice projects → Reject (unless it fills a blank niche and passes technical evaluation, then downgrade to "experimental" label and strengthen monitoring). |
| Junk Characteristics Exclusion | Has none of the characteristics on the right. | Any occurrence → Reject: ① README does not match code; ② Core capability depends on another undeclared paid service; ③ Bundled promotion (promotion links outnumber functional docs); ④ Copied project (fork with no substantial changes claiming originality); ⑤ Speculative project with frequent name changes/repo transfers. |
Deduplication check method (mandatory before admission):
pnpm skill:forge checkautomatically scans registry and official skill library, prompting ecosystem overlap by category/egress domain/tool aspect/description keywords.- When machine flags overlap, the reviewer must answer in writing: "Why is the existing skill insufficient?" — if no answer, it is a duplicate.
- Built-in capabilities (computer-use / publish-rpa / fences, etc.) are also included in comparison — components with ≥70% overlap with base capabilities are not made into skills; they are directly written into the base evolution roadmap.
① Five-Dimension Technical Evaluation (Judge whether to accept first, then how to package)
| Dimension | Pass Criteria | Veto Criteria |
|---|---|---|
| License | MIT / Apache-2.0 passes directly. | AGPL only accepted as "independent process invocation" form; SSPL/commercial restrictions not admitted. |
| Cloud Dependency | Pure local is optimal; cloud dependency must be separable (customer self-configures account, API Key stored locally). | Mandatory cloud relay of customer business data that cannot be turned off → Veto (data sovereignty red line). |
| Architecture Fit | Can be governed via "tool whitelist + guardrail parameters." | Requires bypassing fence/approval to use → Veto. |
| Supply Chain | No history of supply chain poisoning; no unpatched KEV; registered in oss-components.json for oss-watch periodic monitoring. | History of poisoning with no security remediation plan → Defer. |
| Activity | Commits within last 3 months; issues responded to. | Stalled for over 6 months with no fork plan → Observation item, not added to runtime. |
② Level Classification (Determine silent or approval)
- Pure knowledge/methodology → knowledge (L0/L1, can be silent).
- With dependencies, tools, egress domains, guardrail binding expansion → tool-execution (L2, never silent, requires approval).
- If uncertain, treat as L2 (err on the strict side).
③ Adaptation Four-Piece (No bare transcription of upstream documentation)
- Scenario Knowledge: When to use it, when to use built-in base capabilities (computer-use) — clearly delineate responsibilities.
- Invocation Contract: toolWhitelist (list of executable commands/endpoint prefixes); violations are intercepted by guardrails.
- Guardrail Parameters: Daily account limits, human-like pacing, risk control speed limits, anomaly suspension and escalation to human.
- Egress Domain List: egressDomains fully declared; outbound content passes through three-stage waterfall audit.
④ Registration and Packaging
- Register in
oss-components.json(name/repo/channel/gate/scope/notes) for oss-watch monitoring. - Skill asset = SKILL.md (frontmatter + body) + dist.json (DistMeta: category/source/dependencies/tool whitelist/egress domains/guardrail parameters/license/source repo).
credentialsfield never appears — API Keys are configured locally by the customer side.- Signed officially (HMAC-SHA256) before entering the distribution registry.
Accompanying toolchain (each project includes, pnpm skill:forge):
| Command | Purpose |
|---|---|
| `pnpm skill:forge evaluate [--license X] [--cloud none | optional |
pnpm skill:forge check <dir> | Asset validation + staging-level pre-check Steps ③④⑤ + ecosystem overlap scan (prompts duplicates against existing skill library). |
pnpm skill:forge package <dir> | Official signing → dist.package.json |
pnpm skill:forge register <dir> --name <name> --repo <url> | Register in oss-components.json |
pnpm skill:forge publish <dir> | Sign and add to local registry manifest (takes effect on client pull). |
Signing key is taken from SKILL_DIST_SIGNING_KEY or --key. Process ironclad rule remains: no package without passing check, no distribution without signing.
⑤ Canary and Listing
- Whitelist instances first → observe health metrics (load success rate / false circuit-break rate / approval rejection rate) → full rollout.
- L2 skills require approval card on first install; approval rejection reasons go into a feedback enumeration table (editKind branching).
⑥ Post-Listing Monitoring and Retirement
- oss-watch weekly checks upstream version; upstream update → skill version upgrade → redistributed according to tier model.
- Upstream degradation/disconnection/poisoning alert → kill switch global revocation (distribution-side delisting + runtime assembly dual-point exclusion).
- Low-score retirement: Usage signals (adoption rate / pass rate / rework rate) enter a skill scorecard:
- Zero adoption for 4 consecutive weeks → downgrade to observation item (stop distribution pushes, keep already installed instances).
- Pass rate/rework rate persistently worse than peer skills → mark as "not recommended," new instances will not be automatically assembled.
- Replaced by a better skill in the same niche → go through "retirement process": stop distribution first, notify in-use customers to migrate, then delist and archive.
- Market discipline: The skill marketplace does not pursue quantity. Better to have 20 high-scoring skills than 200 filler skills — customer trust in the marketplace, once consumed by junk skills, costs far more to restore than to have listed a few less.
Boundaries (What Not to Do)
- Do not bare-transcribe upstream README/SKILL.md for listing — an official adaptation layer is required.
- Do not embed any account access information, internal network addresses, or customer data within skill body.
- Do not integrate for the sake of integration — components that fail ⓪ business qualification review (no scenario/ecosystem duplication/no quality evidence/junk characteristics) are not listed even if technical evaluation is flawless.
- Do not bypass the three-tier silent classification — any direct installation of execution surfaces with a "just run it first" attitude is a violation of the red line.