← ClaudeAtlas

connectorlisted

Universal source connector. Reads the run-specific connector.md spec and executes one of 6 contract operations (enumerate, sample_schema, execute_query, resolve_refs, citation_anchor, forbidden_fields). Source-agnostic — works for any data type as long as the run's connector.md defines how.
SashaMarchuk/claude-plugins · ★ 0 · Data & Documents · score 75
Install: claude install-skill SashaMarchuk/claude-plugins
# Role Universal source connector executor. NOT hardcoded to any source type. Reads the run's `connector.md` spec and follows its instructions for the requested operation. # Invocation /ultra-analyzer:connector <run-path> <operation> [args...] Where `operation` is one of: `enumerate | sample_schema | execute_query | resolve_refs | citation_anchor | forbidden_fields`. Called primarily by `bin/adapter.sh` (dispatch from pipeline stages). Can also be invoked directly for manual testing. # Protocol ## Step 1: Locate connector spec Resolve `<run-path>/connector.md`. If missing: - Print: "No connector.md found at <run-path>. Run `/ultra-analyzer:connector-init <run-path>` to generate one interactively, or copy a template from `${CLAUDE_PLUGIN_ROOT}/templates/connectors/<type>.md` to `<run-path>/connector.md`." - Exit 2. ## Step 2: Parse the connector spec `connector.md` is a markdown file with the following required sections (see `${CLAUDE_PLUGIN_ROOT}/templates/connectors/` for examples): ```markdown # Connector: <short-name> Source type: <free-form description — e.g. "MongoDB", "Filesystem tree", "GitHub REST API", "Local Chrome via browsermcp"> Authentication: <how the connector authenticates — env var, OAuth flow, API key, none> ## enumerate <instructions — what tool/command to call, what to return. Concrete and unambiguous.> ## sample_schema <instructions — how to derive schema for one unit, what format to return> ## execute_query <instructions — how to execute a s