agentsclimarketplace

Mode gated reconcile skip filter

Skill ychampion/cskill-agents/skills/mode-gated-reconcile-skip-filter

Inject mode-specific skip rules into a shared reconciler so unsupported source types are recorded and skipped without forking the core install logic.From its SKILL.md

Install
npx -y skills add ychampion/cskill-agents --skill mode-gated-reconcile-skip-filter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.1 KB, 353 tokens by cl100k_base, as published. Nobody here has run it

SKILL: Mode-Gated Reconcile Skip Filter

Domain: extensions-mcp
Trigger: Apply when a shared reconcile engine runs in multiple runtime modes, but some modes cannot support every source type or transport. Source Pattern: Distilled from reviewed extension lifecycle and source-reconciliation patterns.

Core Method

Keep one shared reconcile pipeline, but let callers inject an optional skip predicate that reflects mode-specific capabilities. The reconciler still computes the full worklist, then filters unsupported items into a skipped result instead of misreporting them as failures or forcing wrappers to fork the install algorithm. That preserves a single source of truth for install/update behavior while allowing constrained runtimes to stay honest about what they cannot process.

Key Rules

  • Put capability checks behind an injected skip predicate rather than branching the whole reconcile implementation.
  • Record skipped items explicitly so operators can distinguish "unsupported here" from true install failures.
  • Apply the skip filter after the worklist is built so visibility into intended changes remains intact.
  • Keep logging around skipped items; silent skipping hides portability gaps between modes.
  • Preserve identical install/update semantics for supported items across all modes.

Example Application

If a desktop agent can install extensions from local folders and remote archives but a serverless worker only supports archives, let the worker pass a skip predicate for local-folder sources. The shared reconciler still handles archives the same way, while skipped folder sources are reported cleanly instead of failing the whole run.

Anti-Patterns (What NOT to do)

  • Do not duplicate the entire reconciler per mode just to exclude a few unsupported source types.
  • Do not treat unsupported sources as generic failures; that obscures whether the issue is capability mismatch or broken input.

What ships with it: 1 file

922 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.