SkilldexAll articles

Handle optional capabilities at skill startup

Negotiate available features before launching a workflow that requires them.

A skill may run in a rich workstation, a restricted service, or a host with only a subset of tools. An early capability check prevents a session from gathering inputs for an operation that cannot finish in the current environment.

Describe the capability rather than the brand

Name the required operation, such as reading a scoped resource or writing a local artifact, and check whether an adapter can perform it. Mark genuinely optional enhancements separately. When the protocol offers negotiated versions or features, base the selection on those advertised capabilities instead of a remembered provider default.

Choose explicit fallback paths

A skill that lacks the ability to render a dashboard might still produce its underlying validated data. If the missing capability is central to the requested result, explain which step is blocked before doing dependent work. Preserve any already prepared draft only if it is useful and permitted to keep.

Test constrained configurations

Run the skill in a complete environment, a known reduced one, and a case where a capability disappears after startup. The last scenario matters for revoked access or transient service failures. Recheck critical capabilities at the transition where they become necessary instead of assuming startup state never changes.

Sources