Lead qualification

Assess known person or company facts against supplied ICP criteria, keeping commercial fit separate from contact eligibility.

You’re reading version sha-f271851cdd10. Go to the current version

Overview

Decide whether one lead meets the actual ICP. Use lead-enrichment for factual context; use this skill for commercial judgment; use cold-outreach for copy. Qualification neither obtains consent nor creates a provider send plan.

In the manual

Runner

  • qualify

Declared by its execution profile. Read the profile

SKILL.md

Lead Qualify

Decide whether one lead meets the actual ICP. Use lead-enrichment for factual context; use this skill for commercial judgment; use cold-outreach for copy. Qualification neither obtains consent nor creates a provider send plan.

Procedure

  1. Supply the enrichment packet, explicit ICP criteria, and a separately sourced contact-eligibility decision. At least one criterion must be mandatory. The eligibility names the subject it decides, with the same ref and kind as the enrichment subject. Eligibility decided for any other subject requests evidence before any criterion is assessed.
  2. Keep missing and conflicting facts visible. Partial enrichment can support a criterion only through its admitted, non-conflicting facts.
  3. Assess every criterion as met, not_met or unknown. Cite exact factual field names for each supported assessment and explain its relevance.
  4. A failed mandatory criterion disqualifies the lead. An unknown mandatory criterion requests evidence. All mandatory criteria met establish fit; optional criteria explain strengths and weaknesses without overriding it.
  5. Return the fit independently from contact eligibility. A good fit with unknown or ineligible contact status remains a hold.

Never replace the supplied ICP with generic scoring. A company title is not buying authority, activity is not consent, and a matched work email is not permission to contact. Do not infer protected or sensitive personal traits.

Result and composition

lead_qualification records the exact enrichment digest, subject, criteria, assessments, contact-eligibility evidence and a bounded next action: prepare_outreach, request_evidence, resolve_contact_policy or stop. Contact eligibility appears only when it was decided for that subject; another subject's eligibility is left out, and its blocker remains. No message, CRM update, enrollment or durable suppression change occurs.

A qualified result is context for cold-outreach#prepare, not send authority. That skill requires its own exact recipient-bound eligibility/suppression input. The selected sending capability performs native approval and delivery. The calling application owns task assignment, refresh, follow-up timing and continuing work.

Agent task contract

lead-qualify-assess

Apply each supplied criterion to the admitted facts. Return one assessment per criterion ID, with status, rationale and exact fact_fields. Use unknown when the required evidence is absent or contradictory; it may cite no field. Do not invent fact fields, change mandatory criteria, score on sensitive traits, reinterpret contact eligibility or claim an external action.

Published execution profile

The execution profile published with sha-f271851cdd10, shown as its exact bytes.

Runner
  • qualify
Profile digestsha256:ddb028c29e872befeef315ec599b828af7ab05d953cc01f6e1590e9e6beb8ea3
skill: lead-qualify
version: "0.1.3"
catalog:
  kind: graph
  audience: operator
  visibility: public
  role: context
  execution: plan
  completion: runtime_receipt
  approval: none
  category: growth
runners:
  qualify:
    default: true
    inputs:
      enrichment_packet:
        type: json
        required: true
        packet: runx.growth.lead_enrichment.v1
        description: Factual packet data from lead-enrichment; partial facts remain visibly incomplete.
      criteria:
        type: array
        required: true
        description: Supplied ICP requirements, with at least one mandatory criterion.
        schema:
          minItems: 1
          maxItems: 20
          items:
            type: object
            additionalProperties: false
            required: [id, description, required]
            properties:
              id: {type: string, minLength: 1, maxLength: 100}
              description: {type: string, minLength: 1, maxLength: 2000}
              required: {type: boolean}
          contains:
            type: object
            additionalProperties: true
            required: [required]
            properties:
              required: {const: true}
      contact_eligibility:
        type: object
        required: true
        description: Separate policy evidence for the exact enrichment subject, not inferred from enrichment or fit.
        schema:
          additionalProperties: false
          required: [subject, status, policy_ref, evidence_refs]
          properties:
            subject:
              type: object
              additionalProperties: false
              required: [ref, kind]
              properties:
                ref: {type: string, minLength: 1, maxLength: 1000}
                kind: {enum: [person, company]}
            status: {enum: [eligible, ineligible, unknown]}
            policy_ref: {type: string, minLength: 1, maxLength: 1000}
            evidence_refs:
              type: array
              minItems: 1
              maxItems: 100
              items: {type: string, minLength: 1, maxLength: 1000}
              uniqueItems: true
    result_from: [hold, finalize]
    steps:
    - id: digest
      tool: data.digest
      inputs: {value: $input.enrichment_packet}
    - id: admit
      tool: {module: lead-qualify.mjs, export: admitQualification}
      inputs: {enrichment_packet: $input.enrichment_packet, criteria: $input.criteria, contact_eligibility: $input.contact_eligibility}
      outputs: {qualification_context: object}
    - id: hold
      when: {value: $steps.admit.qualification_context.path, equals: hold}
      tool: {module: lead-qualify.mjs, export: finalizeQualification}
      inputs: {qualification_context: $steps.admit.qualification_context, enrichment_digest: $steps.digest.digest_result.digest}
      outputs: {lead_qualification: object}
      artifacts:
        named_emits: {lead_qualification: lead_qualification}
        packets: {lead_qualification: runx.growth.lead_qualification.v1}
    - id: assess
      when: {value: $steps.admit.qualification_context.path, equals: assess}
      agent: {role: growth, task: lead-qualify-assess}
      inputs: {qualification_context: $steps.admit.qualification_context}
      outputs:
        assessment_draft:
          type: object
          schema:
            additionalProperties: false
            required: [assessments]
            properties:
              assessments:
                type: array
                minItems: 1
                maxItems: 20
                items:
                  type: object
                  additionalProperties: false
                  required: [criterion_id, status, rationale, fact_fields]
                  properties:
                    criterion_id: {type: string, minLength: 1, maxLength: 100}
                    status: {enum: [met, not_met, unknown]}
                    rationale: {type: string, minLength: 1, maxLength: 4000}
                    fact_fields:
                      type: array
                      minItems: 0
                      maxItems: 30
                      items: {type: string, minLength: 1, maxLength: 200}
                      uniqueItems: true
    - id: finalize
      when: {value: $steps.admit.qualification_context.path, equals: assess}
      tool: {module: lead-qualify.mjs, export: finalizeQualification}
      inputs:
        qualification_context: $steps.admit.qualification_context
        assessment_draft: $steps.assess.assessment_draft
        enrichment_digest: $steps.digest.digest_result.digest
      outputs:
        lead_qualification:
          type: object
          schema:
            additionalProperties: false
            required:
            - decision
            - fit
            - subject
            - enrichment_digest
            - criteria
            - assessments
            - next_action
            - blockers
            - external_status
            properties:
              decision: {enum: [qualified, disqualified, needs_more_evidence, hold]}
              fit: {enum: [fit, not_fit, unknown]}
              subject:
                type: object
                additionalProperties: false
                required: [ref, kind]
                properties:
                  ref: {type: string, minLength: 1, maxLength: 1000}
                  kind: {enum: [person, company]}
              enrichment_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
              criteria:
                type: array
                minItems: 1
                maxItems: 20
                items:
                  type: object
                  additionalProperties: false
                  required: [id, description, required]
                  properties:
                    id: {type: string, minLength: 1, maxLength: 100}
                    description: {type: string, minLength: 1, maxLength: 2000}
                    required: {type: boolean}
                contains:
                  type: object
                  additionalProperties: true
                  required: [required]
                  properties:
                    required: {const: true}
              assessments:
                type: array
                minItems: 0
                maxItems: 20
                items:
                  type: object
                  additionalProperties: false
                  required: [criterion_id, status, rationale, fact_fields]
                  properties:
                    criterion_id: {type: string, minLength: 1, maxLength: 100}
                    status: {enum: [met, not_met, unknown]}
                    rationale: {type: string, minLength: 1, maxLength: 4000}
                    fact_fields:
                      type: array
                      minItems: 0
                      maxItems: 30
                      items: {type: string, minLength: 1, maxLength: 200}
                      uniqueItems: true
              contact_eligibility:
                type: object
                additionalProperties: false
                required: [status, policy_ref, evidence_refs]
                properties:
                  status: {enum: [eligible, ineligible, unknown]}
                  policy_ref: {type: string, minLength: 1, maxLength: 1000}
                  evidence_refs:
                    type: array
                    minItems: 1
                    maxItems: 100
                    items: {type: string, minLength: 1, maxLength: 1000}
                    uniqueItems: true
              next_action: {enum: [prepare_outreach, request_evidence, resolve_contact_policy, stop]}
              blockers:
                type: array
                minItems: 0
                maxItems: 100
                items: {type: string, minLength: 1, maxLength: 2000}
              external_status: {const: not_executed}
      artifacts:
        named_emits: {lead_qualification: lead_qualification}
        packets: {lead_qualification: runx.growth.lead_qualification.v1}

harness:
  files: [fixtures/support/composed.graph]
  cases: []

Published package and test evidence.

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

Test result

Harness resultPassed
Tested versionsha-f271851cdd10
Recorded result5 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Test recordOpen the recorded run
Inspect receipt referencessha256:00e5839781542eabc6fe29c628450b222051126a4172dd7569984dd178dec02fsha256:b504c21ef66cb001c8a17d34448404f14007448994a692359c75be59c8244bf1sha256:0a665cc5c783ba545afa99ab8452a4a291b9b051e227bb257d6e12e005534c67sha256:df26618c4a972a68aba08f61665c79ab262f1cc0bee8f7ab1b3118eca94acefbsha256:2c4fa45311bbab7c77b41ca10f7b168ee37aea087a1b495700e4901d2d091ea4

Package identity

Published revisionsha-f271851cdd10
Content digestsha256:f271851cdd109697675cd64462828d7a8b6862072637f956d7d65694153ec7da
SKILL.md digestsha256:498123aa1b6a07ce74bb30bf3af5e9c85e2b1dfcdad8cfb44114cb0edd4cdc39
Execution profile digestsha256:ddb028c29e872befeef315ec599b828af7ab05d953cc01f6e1590e9e6beb8ea3
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.1.5Content digest sha256:7425dd670bc4487eba9a6c54668e5bd900b8e9eac78b4ba93092369f26e63132
  2. sha-d130dcec4304Content digest sha256:d130dcec43045922bc1d34441760052daca775f5b554e17e4d9c6912ceec4aac
  3. sha-f271851cdd10ViewingContent digest sha256:f271851cdd109697675cd64462828d7a8b6862072637f956d7d65694153ec7da
  4. sha-128372027edbContent digest sha256:2c36f540e97d33f2540a8364c6e2eb9ee55b8f40033070c226fdc2244c18ee3f
  5. sha-1ec7e1d5290bContent digest sha256:f0ac5b8be6ae738ecede46da026f5f14cd7f420e20b83cae2a1b8aa15efd312d