/saber-skills:extract-signal-templatesfrom saber-skills
Clusters historical ad-hoc signal questions into reusable signal templates for scoring rules. One-shot migration tool for orgs with legacy signal data.
Ships in saber-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill once per org to convert historical ad-hoc signals (signals run via saber signal --question ..., or via subscriptions created without a template attached) into reusable signal templates. Without this, scoring rules can't reference that historical data — signal_template_id is null on those executions.
This is a one-shot migration for the historical backlog. Newly-created signals get templates attached automatically going forward, so the skill stops finding work once the backlog is consolidated.
For scoring concepts and why templates matter for rules, see _shared/scoring.md.
saber signal --domain ... --question ... calls) for a while.configure-scoring) and wants historical signal data to count.saber scoring scores --detailed shows low signalCoverage and the user expected coverage to be near totalRules.If the org only runs templated signals, this skill will report zero clusters and exit — that's the expected end-state.
Run saber --help. The CLI is required.
The flow runs separately for company and contact signals. Ask the user which they have ad-hoc data for; if unsure, run propose for both.
saber template extract propose --type company --json > /tmp/extract-company.json
The propose call runs LLM clustering server-side and costs credits (one LLM call per answer-type bucket). The CLI prompts for credit confirmation; pass --yes to skip.
The response shape:
{
"clusters": [
{
"kind": "new",
"name": "Hiring Status",
"question": "Is the company actively hiring?",
"answerType": "boolean",
"executionIds": ["...", "..."],
"sampleQuestions": ["Is Acme hiring SDRs?", "Is Stripe hiring engineers?"],
"notes": ""
},
{
"kind": "existing",
"templateId": "tmpl_...",
"executionIds": ["...", "..."],
"sampleQuestions": ["What is Acme's revenue?", "What was Stripe's revenue last year?"]
}
],
"totalCandidates": 21,
"processedCandidates": 21,
"hasMore": false
}
If clusters is empty (totalCandidates: 0), the org has no score-compatible ad-hoc executions — the skill is done.
If hasMore is true, more than --max-candidates (default 100, hard cap 500) ad-hoc executions exist. Run again after applying the first batch.
Repeat for --type contact if relevant.
Present each cluster grouped by kind:
## Proposed templates — company
### Reuse existing templates ([N] clusters)
[1] → existing template "Question 1" (number)
Sample questions:
- What was Acme's revenue last year?
- What was Stripe's revenue?
Will attach: 8 executions
### New templates to create ([N] clusters)
[2] new "Hiring Status" (boolean)
Question: "Is the company actively hiring?"
Sample questions:
- Is Acme hiring SDRs?
- Is Beta hiring engineers?
Will attach: 3 executions
[3] new "Funding Raised" (number)
Question: "How much funding has the company raised in the last 12 months?"
Sample questions:
- How much did Stripe raise?
Notes: ambiguous — could overlap with "Funding stage"
Will attach: 1 execution
Watch for these issues — call them out:
"What was Stripe's revenue?" should be genericised to "What was the company's revenue?". The model usually does this, but verify.gross revenue and net revenue should stay separate. If one cluster's sample questions span clearly different intents, split it (drop the cluster, propose again, or hand-edit).kind: existing attaches semantically different signals to a template, the resulting scoring rule will fire on irrelevant data. Drop those clusters from the plan.notes field — surface anything the model flagged as ambiguous.The plan is a JSON file the user can edit before applying. Common edits:
clusters array entirely.kind: new cluster — edit name and question.executionId to a different cluster — only valid if you also remove it from the source cluster. The API rejects with 422 when the same executionId appears in two clusters. When in doubt, drop the wrong cluster and re-propose instead.Don't touch:
executionIds themselves (the API validates these as UUIDs and against your org)sampleQuestions and notes — propose-side only, ignored on applysaber template extract apply --from-file /tmp/extract-company.json
Or pipe straight from propose if no review needed (rare):
saber template extract propose --type company --yes --json | \
saber template extract apply --from-file -
The response:
{
"created": [
{ "kind": "new", "templateId": "...", "versionId": "...", "name": "Hiring Status", "attached": 3 },
{ "kind": "existing", "templateId": "...", "versionId": "...", "name": "Question 1", "attached": 8 }
]
}
The whole apply is a single transaction — partial failure isn't possible. Either every cluster lands or none do.
Show the user a summary:
saber template extract propose --type .... Empty clusters means the backlog is consolidated.Then:
configure-scoring. The new templates are immediately available as rule targets.manage-scoring to add rules pointing at the freshly-extracted templates. If scores for affected objects don't reflect the back-filled executions within a few minutes, run saber scoring compute --type ... --object ... to force a refresh.INVALID_UUID — a malformed executionId or templateId. The plan was hand-edited incorrectly; re-propose.kind: new — only boolean | number | percentage | currency | list are score-compatible. If you see open-text or json proposals, the propose call wouldn't have included them — likely a hand-edit error.--max-candidates to tune._shared/scoring.md — scoring concepts and why templates matterconfigure-scoring — natural next step once templates are in placemanage-scoring — add new rules referencing the extracted templatescreate-company-signals, create-contact-signals — going forward, prefer these to ad-hoc signal callsWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
saber-skills@saber-marketplace is listed by saberapp/saber-marketplace — review the source before installing
npx claudepluginhub saberapp/saber-marketplace --plugin saber-skills29 skills in this plugin
/build-account-listBuild a target account list and run company signals against it. Works with the Saber CLI, Apollo, HubSpot, or any available prospecting tool — with a manual fallback.
/build-contact-listBuild a target contact list and run contact-level signals against them. Works with the Saber CLI, Apollo, LinkedIn, HubSpot, or manual research.
/build-sequenceDesign a multi-step outreach sequence (email + LinkedIn) with messages personalised using Saber signal results and timing tied to signal triggers.
/competitive-intelMap the competitive landscape for a target market — identify competitors, compare positioning, surface common objections, and build battle cards for your sales team.
/configure-scoringSet up native scoring — create a profile, translate signal templates into rules, and bulk-assign a list so fit and urgency scores compute automatically. Bridges the weighted model from generate-signals into the platform.
/create-company-signalsActivate company-level signal tracking. Runs signals via the Saber CLI if available; without it, outputs a research playbook and suggests alternative tracking methods.