Search performance

Read and normalize Google Search Console performance, indexing, site, and sitemap evidence through any compatible Runx connector; plan and govern sitemap submission without coupling the skill to credential custody or one connector implementation.

You’re reading version 0.1.17. Go to the current version

Overview

Use this skill when an operator needs Search Console evidence that another model or workflow can act on: which queries and pages are gaining or losing visibility, whether a URL is indexed, which properties and sitemaps are visible, or whether an exact sitemap should be submitted.

The skill owns the Search Console procedure and evidence shape. It does not own OAuth, credential storage, tenant configuration, or connector routing. A local, self-hosted, third-party, or Runx-hosted connector is equally valid when it implements the declared provider operations and scopes. Connector identifiers, credential handles, provider-config keys, service URLs, and tenant ids belong in the operator's Runx grant and connector configuration, never in this package or its packets.

In the manual

Runners

  • inspect-url
  • normalize-performance
  • performance
  • plan-indexing
  • plan-sitemap
  • sitemaps
  • sites
  • submit-sitemap

Declared by its execution profile. Read the profile

SKILL.md

Google Search Console

Use this skill when an operator needs Search Console evidence that another model or workflow can act on: which queries and pages are gaining or losing visibility, whether a URL is indexed, which properties and sitemaps are visible, or whether an exact sitemap should be submitted.

The skill owns the Search Console procedure and evidence shape. It does not own OAuth, credential storage, tenant configuration, or connector routing. A local, self-hosted, third-party, or Runx-hosted connector is equally valid when it implements the declared provider operations and scopes. Connector identifiers, credential handles, provider-config keys, service URLs, and tenant ids belong in the operator's Runx grant and connector configuration, never in this package or its packets.

Operating model

Start with the narrowest question.

  • Use performance for live query/page/search-performance evidence.
  • Use inspect-url for the current indexed state of one canonical URL.
  • Use sites or sitemaps to discover accessible resources before assuming a property or sitemap exists.
  • Use normalize-performance only when Search Console-shaped results were already supplied by a trusted import or connector test. Its packet says provider_status: not_called; it is not live-provider proof.
  • Use plan-sitemap and then submit-sitemap for an exact, reviewable sitemap mutation. Submission requires a matching scoped grant and provider readback.
  • Use plan-indexing to test whether a request belongs in Google's restricted Indexing API lane. Ordinary page-indexing requests are refused.

A useful performance run names the property, date range, search type, data state, and row bound. It defaults to the page dimension; supply another ordered set only when the decision needs it. Keep dimensions minimal: adding query, page, country, device, date, hour, or search appearance changes aggregation and can produce a much larger, privacy-filtered result. Use hourly_all only with the hour dimension; those rows are provisional and their timestamps use Google's reported offset.

HTTP and HTTPS URL-prefix properties are distinct Search Console identities. Keep the exact scheme returned by Google, especially during migration diagnosis; do not silently rewrite an HTTP property to HTTPS. Compare like with like and do not interpret a differently grouped query as a trend.

The performance packet preserves clicks, impressions, CTR, average position, aggregation type, pagination state, and Google's incomplete-data metadata. decision: usable_with_caveats means the evidence can inform exploration but must not be treated as a settled period. A packet with pagination.complete: false is a bounded slice, not the whole property. Search Console can omit low-volume queries and does not guarantee that row totals reproduce every chart total, so never manufacture missing rows or causal explanations.

URL inspection is a point-in-time observation. A non-indexed result does not by itself prove a defect or authorize a mutation. Check the canonical URL, robots state, fetch state, last crawl, sitemap references, and any rich-result verdict before proposing remediation.

Sitemap change boundary

plan-sitemap validates the property boundary and produces a native digest-bound plan. It does not call Google. submit-sitemap recomputes that binding, requires an admitted sitemaps.submit grant for the exact property and sitemap URL, sends one idempotent mutation through the configured connector, and reads the same sitemap back. Only the final submission packet may say provider_status: readback_verified.

A failed, missing, or identity-mismatched readback is not success. Keep the plan and receipt, inspect connector/provider evidence, and retry only with the same idempotency key when the intended mutation is unchanged.

Google's Indexing API is not a general "index this URL" API. This skill refuses ordinary articles, product pages, home pages, and arbitrary URLs. Eligible JobPosting or BroadcastEvent requests are marked specialist_required; this package deliberately does not execute them.

Connector capability contract

A compatible connector exposes provider google-search-console with these stable operations and scopes:

  • sites.list under sites.read, projecting sites.
  • search.analytics.query under search.analytics.read, projecting the property, request fields, rows, counts, aggregation, incomplete-data metadata, pagination, and fetch time.
  • url.inspect under url.inspect, projecting the inspected URL, property, index verdict fields, inspection link, and fetch time.
  • sitemaps.list and sitemaps.get under sitemaps.read.
  • sitemaps.submit under sitemaps.submit, accepting an idempotency key and returning the exact property and sitemap identity for readback.

The connector may acquire and refresh credentials however its operator chooses. It must enforce the Runx grant, project only declared result fields, keep secrets out of results and receipts, and preserve provider errors rather than converting them into empty success.

Handoffs and stop conditions

This is an evidence and bounded-provider skill. Feed its sealed packets to the operator or to a higher-level organic-growth workflow for comparison, diagnosis, and prioritized recommendations. Do not jump from a traffic change to an SEO claim without analytics, deployment, content, and business-context evidence.

Stop when the property is ambiguous, the connector lacks the exact capability, the date range or dimensions do not match the decision, data is incomplete beyond the operator's tolerance, a supplied packet lacks provenance, the sitemap falls outside the property, provider authority is absent, or provider readback cannot bind the exact resource.

The deterministic module exists only for Search Console domain work that generic Runx tools cannot express: mapping ordered row keys to named dimensions, preserving incomplete-data semantics, validating property coverage, and classifying restricted indexing requests. Runx owns digesting, authority, provider execution, idempotency, and receipts.

Published execution profile

The execution profile published with 0.1.17, shown as its exact bytes.

Runners
  • inspect-url
  • normalize-performance
  • performance
  • plan-indexing
  • plan-sitemap
  • sitemaps
  • sites
  • submit-sitemap
Profile digestsha256:86240c96bff54b61090b34a877fe820246a6b90d51c8814aef343b8c83404cb7
skill: google-search-console
version: "0.1.17"

catalog:
  kind: graph
  audience: public
  visibility: public
  category: growth
  role: branded
  canonical_skill: runx/organic-growth
  provider: google/search-console
  execution: execute
  completion: provider_readback
  approval: none

input_definitions:
  property:
    type: string
    required: true
    description: Exact Search Console HTTP(S) URL-prefix or sc-domain property.
    schema: { pattern: '^(?:https?://|sc-domain:).+' }
  date:
    type: string
    required: true
    description: Calendar date in YYYY-MM-DD form.
    schema: { pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' }
  dimensions:
    type: array
    required: false
    default: [page]
    description: Ordered, unique Search Console dimensions; hourly data must include hour.
    schema:
      minItems: 1
      maxItems: 7
      uniqueItems: true
      items: { type: string, enum: [query, page, country, device, date, hour, searchAppearance] }
  search_type:
    type: string
    required: false
    default: web
    description: Search result surface queried from Search Console.
    schema: { enum: [web, image, video, news, googleNews, discover] }
  data_state:
    type: string
    required: false
    default: final
    description: Data finality requested from Search Console; hourly_all requires the hour dimension.
    schema: { enum: [final, all, hourly_all] }
  performance_request:
    type: object
    required: false
    description: Expected request identity used to bind a supplied Search Console result.
    schema:
      required: [property, start_date, end_date]
      additionalProperties: false
      properties:
        property: { type: string, pattern: '^(?:https?://|sc-domain:).+' }
        start_date: { type: string, pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' }
        end_date: { type: string, pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' }
        dimensions:
          type: array
          minItems: 1
          maxItems: 7
          uniqueItems: true
          items: { type: string, enum: [query, page, country, device, date, hour, searchAppearance] }
        search_type: { type: string, enum: [web, image, video, news, googleNews, discover] }
        data_state: { type: string, enum: [final, all, hourly_all] }
        row_limit: { type: integer, minimum: 1, maximum: 25000 }
        start_row: { type: integer, minimum: 0 }
  performance_result:
    type: object
    required: true
    description: Search Console result with request identity, bounded rows, pagination, and freshness metadata.
    schema:
      required: [rows]
      properties:
        property: { type: string, pattern: '^(?:https?://|sc-domain:).+' }
        start_date: { type: string, pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' }
        end_date: { type: string, pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}$' }
        dimensions: { type: array, minItems: 1, maxItems: 7, uniqueItems: true, items: { type: string } }
        search_type: { type: string }
        data_state: { type: string }
        rows: { type: array, maxItems: 25000, items: { type: object, additionalProperties: true } }
        row_count: { type: integer, minimum: 0 }
        aggregation_type: { type: string }
        pagination: { type: object, additionalProperties: true }
        metadata: { type: object, additionalProperties: true }
        fetched_at: { type: string, format: date-time }
  sitemap_plan:
    type: object
    required: true
    description: Exact digest-bound sitemap plan emitted by plan-sitemap.
    schema:
      required: [schema, decision, provider, operation, property, sitemap_url, provider_status, external_status, validation, plan_digest]
      additionalProperties: false
      properties:
        schema: { const: runx/google-search-console.sitemap_plan.v1 }
        decision: { const: ready_for_execution }
        provider: { const: google-search-console }
        operation: { const: sitemaps.submit }
        property: { type: string, pattern: '^(?:https?://|sc-domain:).+' }
        sitemap_url: { type: string, format: uri, pattern: '^https?://' }
        provider_status: { const: not_called }
        external_status: { const: not_submitted }
        validation:
          type: object
          required: [status, findings]
          additionalProperties: false
          properties:
            status: { const: pass }
            findings: { type: array, maxItems: 0 }
        plan_digest: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }

harness:
  files: [fixtures/support/composed.graph]
  cases:
    - name: normalizes-bounded-page-performance
      operator_journeys:
        - mode: standalone
          request: Show page-level Google Search performance for this verified site and date range.
          expected_outcome: Return normalized clicks, impressions, CTR, position, dimensions, and data-state caveats with site identity preserved.
        - mode: composed
          request: Normalize this connector-returned Search Console performance evidence for the growth brief.
          expected_outcome: Reuse provider evidence without querying Google again or losing property, dimension, and completeness semantics.
          prior_evidence:
            - The compatible connector response, site binding, query dimensions, and date range supplied in the fixture.
          must_not_repeat:
            - Do not call Search Console again.
            - Do not recompute provider metrics or erase incomplete-data caveats.
      runner: normalize-performance
      inputs:
        request:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          dimensions: [page]
          search_type: web
          data_state: final
        provider_result:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          dimensions: [page]
          search_type: web
          data_state: final
          aggregation_type: byPage
          rows:
            - keys: [https://example.com/guides/runx]
              clicks: 42
              impressions: 600
              ctr: 0.07
              position: 4.2
          row_count: 1
          pagination: { complete: true, returned_rows: 1 }
          fetched_at: "2026-07-01T02:00:00Z"
      expect:
        status: sealed
        steps: [normalize, digest, finalize]
        step_outputs:
          finalize:
            subset:
              performance_evidence:
                data:
                  schema: runx/google-search-console.performance_evidence.v1
                  decision: ready
                  provider: google-search-console
                  provider_status: not_called
                  source_status: supplied_result
                  property: https://example.com/
                  row_count: 1
                  pagination: { complete: true, returned_rows: 1 }
                  rows:
                    - dimensions: { page: https://example.com/guides/runx }
                      metrics: { clicks: 42, impressions: 600, ctr: 0.07, position: 4.2 }
                  freshness: { complete: true, data_state: final }
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: defaults-omitted-dimensions-to-page
      runner: normalize-performance
      inputs:
        request:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          search_type: web
          data_state: final
        provider_result:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          dimensions: [page]
          search_type: web
          data_state: final
          aggregation_type: byPage
          rows:
            - keys: [https://example.com/default-page]
              clicks: 2
              impressions: 20
              ctr: 0.1
              position: 3.5
          row_count: 1
          pagination: { complete: true, returned_rows: 1 }
      expect:
        status: sealed
        steps: [normalize, digest, finalize]
        step_outputs:
          finalize:
            subset:
              performance_evidence:
                data:
                  decision: ready
                  request:
                    dimensions: [page]
                  rows:
                    - dimensions: { page: https://example.com/default-page }
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: preserves-hourly-data-on-http-prefix-property
      runner: normalize-performance
      inputs:
        request:
          property: http://example.com/
          start_date: "2026-07-19"
          end_date: "2026-07-20"
          dimensions: [hour]
          search_type: web
          data_state: hourly_all
        provider_result:
          property: http://example.com/
          start_date: "2026-07-19"
          end_date: "2026-07-20"
          dimensions: [hour]
          search_type: web
          data_state: hourly_all
          rows:
            - keys: ["2026-07-19T23:00:00-07:00"]
              clicks: 1
              impressions: 10
              ctr: 0.1
              position: 2
          row_count: 1
          pagination: { complete: true, returned_rows: 1 }
          metadata:
            first_incomplete_hour: "2026-07-19T23:00:00-07:00"
      expect:
        status: sealed
        steps: [normalize, digest, finalize]
        step_outputs:
          finalize:
            subset:
              performance_evidence:
                data:
                  decision: usable_with_caveats
                  property: http://example.com/
                  request:
                    dimensions: [hour]
                    data_state: hourly_all
                  rows:
                    - dimensions: { hour: "2026-07-19T23:00:00-07:00" }
                  freshness:
                    complete: false
                    first_incomplete_hour: "2026-07-19T23:00:00-07:00"
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: blocks-hourly-data-without-hour-dimension
      runner: normalize-performance
      inputs:
        request:
          property: https://example.com/
          start_date: "2026-07-19"
          end_date: "2026-07-20"
          dimensions: [page]
          search_type: web
          data_state: hourly_all
        provider_result:
          property: https://example.com/
          start_date: "2026-07-19"
          end_date: "2026-07-20"
          dimensions: [page]
          search_type: web
          data_state: hourly_all
          rows: []
          row_count: 0
          pagination: { complete: true, returned_rows: 0 }
      expect:
        status: sealed
        steps: [normalize, digest, finalize]
        step_outputs:
          finalize:
            subset:
              performance_evidence:
                data:
                  decision: blocked
                  validation:
                    status: fail
                    findings:
                      - code: gsc.hourly_all.hour_dimension_missing
        receipt: { schema: runx.receipt.v1 }

    - name: plans-http-prefix-sitemap-without-submitting
      runner: plan-sitemap
      inputs:
        property: http://example.com/
        sitemap_url: http://example.com/sitemap.xml
      expect:
        status: sealed
        steps: [prepare, digest, bind]
        step_outputs:
          bind:
            subset:
              sitemap_plan:
                data:
                  decision: ready_for_execution
                  property: http://example.com/
                  sitemap_url: http://example.com/sitemap.xml
                  provider_status: not_called
                  external_status: not_submitted
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: preserves-incomplete-data-caveat
      runner: normalize-performance
      inputs:
        request:
          property: sc-domain:example.com
          start_date: "2026-07-01"
          end_date: "2026-07-19"
          dimensions: [query]
          search_type: web
          data_state: all
        provider_result:
          property: sc-domain:example.com
          start_date: "2026-07-01"
          end_date: "2026-07-19"
          dimensions: [query]
          search_type: web
          data_state: all
          aggregation_type: auto
          rows:
            - keys: [runx operator]
              clicks: 3
              impressions: 50
              ctr: 0.06
              position: 8.5
          row_count: 1
          pagination: { complete: true, returned_rows: 1 }
          metadata: { first_incomplete_date: "2026-07-18" }
      expect:
        status: sealed
        steps: [normalize, digest, finalize]
        step_outputs:
          finalize:
            subset:
              performance_evidence:
                data:
                  decision: usable_with_caveats
                  provider_status: not_called
                  freshness:
                    complete: false
                    data_state: all
                    first_incomplete_date: "2026-07-18"
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: refuses-general-indexing-request
      runner: plan-indexing
      inputs:
        url: https://example.com/blog/new-post
        resource_type: article
        reason: Ask Google to index a newly published article.
      expect:
        status: sealed
        steps: [classify]
        step_outputs:
          classify:
            subset:
              indexing_admission:
                data:
                  schema: runx/google-search-console.indexing_admission.v1
                  decision: refused
                  reason_code: unsupported_resource_type
                  provider_status: not_called
                  external_status: not_requested
        receipt: { schema: runx.receipt.v1 }

    - name: plans-exact-sitemap-without-submitting
      runner: plan-sitemap
      inputs:
        property: sc-domain:example.com
        sitemap_url: https://www.example.com/sitemap.xml
      expect:
        status: sealed
        steps: [prepare, digest, bind]
        step_outputs:
          bind:
            subset:
              sitemap_plan:
                data:
                  schema: runx/google-search-console.sitemap_plan.v1
                  decision: ready_for_execution
                  provider: google-search-console
                  operation: sitemaps.submit
                  property: sc-domain:example.com
                  sitemap_url: https://www.example.com/sitemap.xml
                  provider_status: not_called
                  external_status: not_submitted
                  validation: { status: pass }
        receipt: { schema: runx.receipt.v1 }

    - name: refuses-a-sitemap-plan-whose-digest-does-not-bind
      runner: submit-sitemap
      inputs:
        sitemap_plan:
          schema: runx/google-search-console.sitemap_plan.v1
          decision: ready_for_execution
          provider: google-search-console
          operation: sitemaps.submit
          property: sc-domain:example.com
          sitemap_url: https://www.example.com/sitemap.xml
          provider_status: not_called
          external_status: not_submitted
          validation: { status: pass, findings: [] }
          plan_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
        idempotency_key: 00000000-0000-4000-8000-000000000001
      expect:
        status: sealed
        steps: [digest, admit, refuse]
        step_outputs:
          refuse:
            subset:
              sitemap_submission:
                data:
                  decision: blocked
                  provider_status: not_called
                  external_status: not_submitted
                  validation: { status: fail }
        receipt: { schema: runx.receipt.v1 }
connectors:
  google/search-console:
    operations: [search.analytics.query, sites.list, url.inspect, sitemaps.list, sitemaps.submit, sitemaps.get]
runners:
  performance:
    description: Read live search performance for a property (clicks, impressions, CTR and position), by page or the dimensions you name.
    default: true
    inputs:
      property:
        definition: property
      start_date:
        definition: date
      end_date:
        definition: date
      dimensions:
        definition: dimensions
      search_type:
        definition: search_type
      data_state:
        definition: data_state
      row_limit:
        type: integer
        required: false
        default: 1000
        description: Bounded result row limit, at most 25000.
        schema: { minimum: 1, maximum: 25000 }
      start_row:
        type: integer
        required: false
        default: 0
        description: Zero-based pagination offset.
        schema: { minimum: 0 }
    examples:
      - property: sc-domain:example.com
        start_date: "2026-07-01"
        end_date: "2026-07-31"
        dimensions: [query, page]
        search_type: web
        data_state: final
    result_from: [finalize]
    steps:
      - id: read
        operation: google/search-console/search.analytics.query
        result_fields: [property, start_date, end_date, dimensions, search_type, data_state, rows, row_count, aggregation_type, metadata, pagination, fetched_at]
        input:
          property: $input.property
          start_date: $input.start_date
          end_date: $input.end_date
          dimensions: $input.dimensions
          search_type: $input.search_type
          data_state: $input.data_state
          row_limit: $input.row_limit
          start_row: $input.start_row
      - id: normalize
        inputs:
          source_status: provider_readback
          request:
            property: $input.property
            start_date: $input.start_date
            end_date: $input.end_date
            dimensions: $input.dimensions
            search_type: $input.search_type
            data_state: $input.data_state
            row_limit: $input.row_limit
            start_row: $input.start_row
          provider_result: $steps.read.provider_operation.result
        tool: { module: gsc/performance.mjs, export: normalizePerformance }
        outputs:
          performance_draft: object
      - id: digest
        tool: data.digest
        inputs:
          value: $steps.normalize.performance_draft
      - id: finalize
        inputs:
          performance_draft: $steps.normalize.performance_draft
          digest_result: $steps.digest.digest_result
        tool: { module: gsc/performance.mjs, export: finalizePerformance }
        outputs:
          performance_evidence: object
        artifacts:
          named_emits: { performance_evidence: performance_evidence }

  normalize-performance:
    description: Normalize Search Console results a trusted import already supplied, without calling Google.
    inputs:
      provider_result:
        definition: performance_result
      request:
        definition: performance_request
    examples:
      - request:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          dimensions: [page]
          search_type: web
          data_state: final
        provider_result:
          property: https://example.com/
          start_date: "2026-06-01"
          end_date: "2026-06-30"
          dimensions: [page]
          search_type: web
          data_state: final
          rows:
            - keys: [https://example.com/guides/runx]
              clicks: 42
              impressions: 600
              ctr: 0.07
              position: 4.2
    result_from: [finalize]
    steps:
      - id: normalize
        inputs:
          provider_result: $input.provider_result
          request: $input.request
          source_status: supplied_result
        tool: { module: gsc/performance.mjs, export: normalizePerformance }
        outputs:
          performance_draft: object
      - id: digest
        tool: data.digest
        inputs:
          value: $steps.normalize.performance_draft
      - id: finalize
        inputs:
          performance_draft: $steps.normalize.performance_draft
          digest_result: $steps.digest.digest_result
        tool: { module: gsc/performance.mjs, export: finalizePerformance }
        outputs:
          performance_evidence: object
        artifacts:
          named_emits: { performance_evidence: performance_evidence }

  sites:
    description: List the Search Console properties the grant can read, before assuming one exists.
    inputs: {}
    result_from: [read]
    steps:
      - id: read
        operation: google/search-console/sites.list
        result_fields: [sites]
        input: {}

  inspect-url:
    description: Inspect the current indexed state of one canonical URL.
    inputs:
      property:
        definition: property
      inspection_url:
        type: string
        required: true
        description: Canonical URL within the property.
      language_code:
        type: string
        required: false
        default: en-US
        description: Requested issue-message language.
    examples:
      - property: sc-domain:example.com
        inspection_url: https://www.example.com/guides/runx
        language_code: en-US
    result_from: [finalize]
    steps:
      - id: read
        operation: google/search-console/url.inspect
        result_fields: [property, inspection_url, verdict, coverage_state, robots_txt_state, indexing_state, page_fetch_state, crawled_as, last_crawl_time, referring_urls, sitemap, amp, mobile_usability, rich_results, inspection_link, fetched_at]
        input:
          property: $input.property
          inspection_url: $input.inspection_url
          language_code: $input.language_code
      - id: normalize
        inputs:
          request:
            property: $input.property
            inspection_url: $input.inspection_url
            language_code: $input.language_code
          provider_result: $steps.read.provider_operation.result
        tool: { module: gsc/inspection.mjs, export: normalizeInspection }
        outputs:
          inspection_draft: object
      - id: digest
        tool: data.digest
        inputs:
          value: $steps.normalize.inspection_draft
      - id: finalize
        inputs:
          inspection_draft: $steps.normalize.inspection_draft
          digest_result: $steps.digest.digest_result
        tool: { module: gsc/inspection.mjs, export: finalizeInspection }
        outputs:
          inspection_evidence: object
        artifacts:
          named_emits: { inspection_evidence: inspection_evidence }

  sitemaps:
    description: List the sitemaps submitted for a property.
    inputs:
      property:
        definition: property
    examples:
      - property: sc-domain:example.com
    result_from: [read]
    steps:
      - id: read
        operation: google/search-console/sitemaps.list
        result_fields: [property, sitemaps]
        input: { property: $input.property }

  plan-sitemap:
    description: Plan one sitemap submission bound to its property, without calling Google. Submit it with submit-sitemap.
    inputs:
      property:
        definition: property
      sitemap_url:
        type: string
        required: true
        description: Absolute HTTP(S) sitemap URL covered by the property.
    examples:
      - property: sc-domain:example.com
        sitemap_url: https://www.example.com/sitemap.xml
    result_from: [bind]
    steps:
      - id: prepare
        inputs:
          property: $input.property
          sitemap_url: $input.sitemap_url
        tool: { module: gsc/sitemap.mjs, export: prepareSitemapPlan }
        outputs:
          sitemap_plan_draft: object
          digest_subject: object
      - id: digest
        tool: data.digest
        inputs:
          value: $steps.prepare.digest_subject
      - id: bind
        inputs:
          sitemap_plan_draft: $steps.prepare.sitemap_plan_draft
          digest_result: $steps.digest.digest_result
        tool: { module: gsc/sitemap.mjs, export: bindSitemapPlan }
        outputs:
          sitemap_plan: object
        artifacts:
          named_emits: { sitemap_plan: sitemap_plan }

  submit-sitemap:
    description: Submit a planned sitemap under a scoped grant and read it back.
    inputs:
      sitemap_plan:
        definition: sitemap_plan
      idempotency_key:
        type: string
        required: true
        description: Stable UUID for this unchanged sitemap submission.
    examples:
      - sitemap_plan:
          schema: runx/google-search-console.sitemap_plan.v1
          decision: ready_for_execution
          provider: google-search-console
          operation: sitemaps.submit
          property: sc-domain:example.com
          sitemap_url: https://www.example.com/sitemap.xml
          provider_status: not_called
          external_status: not_submitted
          validation: { status: pass, findings: [] }
          plan_digest: sha256:b4fd8d22720f9a14c8143c467909f424bbe26fab7ace4594eeabf554382226fc
        idempotency_key: 00000000-0000-4000-8000-000000000001
    result_from: [refuse, finalize]
    steps:
      - id: digest
        tool: data.digest
        inputs:
          value:
            provider: $input.sitemap_plan.provider
            operation: $input.sitemap_plan.operation
            property: $input.sitemap_plan.property
            sitemap_url: $input.sitemap_plan.sitemap_url
      - id: admit
        inputs:
          sitemap_plan: $input.sitemap_plan
          digest_result: $steps.digest.digest_result
        tool: { module: gsc/sitemap.mjs, export: admitSitemapSubmission }
        outputs:
          submission_admission: object
      - id: submit
        when:
          value: $steps.admit.submission_admission.decision
          equals: ready
        operation: google/search-console/sitemaps.submit
        idempotency_key: $input.idempotency_key
        expected_result:
          property: $input.sitemap_plan.property
          sitemap_url: $input.sitemap_plan.sitemap_url
        result_fields: [property, sitemap_url, accepted_at, idempotency_key]
        input:
          property: $input.sitemap_plan.property
          sitemap_url: $input.sitemap_plan.sitemap_url
      - id: refuse
        when:
          value: $steps.admit.submission_admission.decision
          equals: blocked
        inputs:
          idempotency_key: $input.idempotency_key
          submission_admission: $steps.admit.submission_admission
        tool: { module: gsc/sitemap.mjs, export: refuseSitemapSubmission }
        outputs:
          sitemap_submission: object
        artifacts:
          named_emits: { sitemap_submission: sitemap_submission }
      - id: readback
        when:
          value: $steps.admit.submission_admission.decision
          equals: ready
        operation: google/search-console/sitemaps.get
        result_fields: [property, sitemap_url, status, last_submitted, last_downloaded, error_count, warning_count]
        input:
          property: $input.sitemap_plan.property
          sitemap_url: $input.sitemap_plan.sitemap_url
        expected_result: $steps.submit.provider_operation.result
      - id: finalize
        when:
          value: $steps.admit.submission_admission.decision
          equals: ready
        inputs:
          idempotency_key: $input.idempotency_key
          sitemap_plan: $input.sitemap_plan
          mutation_result: $steps.submit.provider_operation.result
          readback_result: $steps.readback.provider_operation.result
        tool: { module: gsc/sitemap.mjs, export: finalizeSitemapSubmission }
        outputs:
          sitemap_submission: object
        artifacts:
          named_emits: { sitemap_submission: sitemap_submission }
  plan-indexing:
    description: Check whether a request belongs in Google's restricted Indexing API lane. Ordinary page indexing is refused.
    inputs:
      url:
        type: string
        required: true
        description: Exact URL proposed for Google's restricted Indexing API.
      resource_type:
        type: string
        required: true
        description: Domain resource type, for example article, job_posting, or broadcast_event.
      reason:
        type: string
        required: false
        description: Operator rationale for the request.
    examples:
      - url: https://example.com/blog/new-post
        resource_type: article
        reason: Check whether this resource is eligible before attempting any provider action.
    result_from: [classify]
    steps:
      - id: classify
        inputs:
          url: $input.url
          resource_type: $input.resource_type
          reason: $input.reason
        tool: { module: gsc/indexing.mjs, export: classifyIndexingRequest }
        outputs:
          indexing_admission: object
        artifacts:
          named_emits: { indexing_admission: indexing_admission }

Published package and test evidence.

This exact version passed its recorded harness run: 12 checks passed · 0 failed.

Test result

Harness resultPassed
Tested version0.1.17
Recorded result12 checks passed · 0 failed
Result sourceRun by the Runx registry at publication
Suiterunx-harness
Test recorded
Declared cases9
Test recordOpen the recorded run
Inspect receipt referencessha256:fbfdcab165703315c6657aba67e5bd7b6fc59ced884337650ab4b7ff0f90f9b1sha256:fed7c295a583a8dd4fc7b74e55fdcdf062f9a975b005d33538b04580bbb70df1sha256:9dc20e1df3e1183efde08924d88fdd75e39f73a1b3738a368f993ba6554b4d52sha256:3fb3036322351e4a8da37e68fea9bba52f4a41cbb541beb84ffb1a312008f4absha256:2d6a73de420be9fb8b8d97c6e819cd7fa53c56b074f498ab7ed3e3c4732301b8sha256:aa4aecda631aa65f492faff8fa380df556a0c864458d4b2444f2281a82b01533sha256:b36d724948ba8a754afdc7b3d7f663cd6fae10c13c9a8f3a6c6719d82aadb4cfsha256:8faf2fd15b4e0c7e1020138f3c6ca8a6d0681c5bc7c708ec7e29e3b76398c917sha256:85fecb2a2a08c75f2a2136de17ed3ee0254b717f3e4a6f44bdaaf6c2090f306esha256:71de1203467ad8cad1251a008fdbf5ff919ab86a30267cb9b3fc007703d023efsha256:daba6b8c7343dbea6fc7590a84b8fa6788517db31a115c1361e88de3aacd0d5fsha256:fd80b5a77fda9d2f4d6e07de23f8d28c6ea0fa0efab3d7f226f895d1a2e25bd8

Package identity

Published revision0.1.17
Content digestsha256:0cd11ae17d953aca8412eea7120bd6dc22ec89130a0668c5d6c9863d8bf5564d
SKILL.md digestsha256:a38c3e7af735035406766c0fb7eeb228a8069189999a22662aab3719a9f7149d
Execution profile digestsha256:86240c96bff54b61090b34a877fe820246a6b90d51c8814aef343b8c83404cb7
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 25 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.1.17ViewingContent digest sha256:0cd11ae17d953aca8412eea7120bd6dc22ec89130a0668c5d6c9863d8bf5564d
  2. sha-b17d52a21c1bContent digest sha256:b17d52a21c1b91aa27f8b9eb630d5b60b7e48184d40e37cd35b18efe0fb1ec11
  3. sha-ca80c54348ecContent digest sha256:8e47720b2c12bb749a3394623094c01fa69a74eb687d4b007933096542bbf935
  4. sha-c8f27379e55eContent digest sha256:581ca903d431598ea9e28fea6dc79132d92189b0d6bc7e2267af1461ae43d990