threshold-calibration
Compute ROC sweep for the quality_score pass threshold.
Skill by mat-lucie
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mat-lucie-threshold-calibration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/threshold-calibration
What's inside
- Skill name
threshold-calibration- Description
- Compute ROC sweep for the quality_score pass threshold. Math-only — opens a recommendation queue row; never changes the live threshold.
- License
- MIT
- Instructions
- 46 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# /threshold-calibration
Operator runs this weekly (Sunday cadence recommended, after
`/data-quality-report`). Replaces the 06:30 Sunday cron. Pure Attio
read + numpy/scipy ROC math; zero LLM cost.
Ships in PR-45.5 — until then this skill prints a "not yet shipped"
message and exits.
## Step 0 — Verify Attio MCP scope
Same as `/sales-daily`.
## Step 1 — Run the calibration
```bash
sales threshold-calibration
```
Options:
- `--dry-run` — print the ROC table without opening the recommendation
queue row.
## Output
The script:
1. Queries LinkedIn Outreach for labeled prospects (stage ∈ {QUALIFIED,
CALL_BOOKED, NOT_INTERESTED, RESPONDED} AND `response_classification
∈ {positive, defensive}` AND `quality_score IS NOT NULL`).
2. Sweeps thresholds 40..80 step 5; computes max-Youden + cost-weighted
recommendations.
3. Opens a `threshold_recommendation` queue row with the ROC table.
## Abstain semantics
When `n_labeled < 50`, the function returns `{"status": "abstain"}`
and opens a `threshold_recommendation_insufficient_data` row. The
operator sees the abstain explicitly — never silently skipped.
## Operator decision
The script NEVER changes the live threshold in `quality_gate.score_prospect`.
The recommendation queue row is for operator confirmation; a separate
PR is required to flip the threshold in code.From mat-lucie/outbound-sales-agent, MIT.
More from mat-lucie/outbound-sales-agent
- 0.623score
sales-daily
mat-lucie
Run attended acceptance and reply checks, confirmed invitations, reviewed weekday DMs, and a read-only follow-up radar.
SkillAFreshness: A★ 7Claude Code +9 - 0.536score
onboard
mat-lucie
Stand the outbound engine up against a new operator's CRM, PhantomBuster account, and ICP.
SkillCFreshness: C★ 7Claude Code +9 - 0.531score
sales-weekly
mat-lucie
Monday's full weekly sales bundle.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
sales-finalize-borderline
mat-lucie
Finalize the morning's borderline batch.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
health-check
mat-lucie
Ad-hoc connectivity check across Attio and PhantomBuster.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
audit-reminder-sweep
mat-lucie
Scan the Operator Review Queue for rows that have stayed `open` longer than the staleness floor.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
data-quality-report
mat-lucie
Compute the weekly Data Quality Report — 8-metric Attio dashboard with P0/P1 alarms that gate downstream DM sends.
SkillCFreshness: C★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 10, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mat-lucie
- 0.623score
sales-daily
mat-lucie
Run attended acceptance and reply checks, confirmed invitations, reviewed weekday DMs, and a read-only follow-up radar.
SkillAFreshness: A★ 7Claude Code +9 - 0.536score
onboard
mat-lucie
Stand the outbound engine up against a new operator's CRM, PhantomBuster account, and ICP.
SkillCFreshness: C★ 7Claude Code +9 - 0.531score
sales-weekly
mat-lucie
Monday's full weekly sales bundle.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
sales-finalize-borderline
mat-lucie
Finalize the morning's borderline batch.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
health-check
mat-lucie
Ad-hoc connectivity check across Attio and PhantomBuster.
SkillCFreshness: C★ 7Claude Code +9 - 0.528score
audit-reminder-sweep
mat-lucie
Scan the Operator Review Queue for rows that have stayed `open` longer than the staleness floor.
SkillCFreshness: C★ 7Claude Code +9
Cite this page
threshold-calibration skill. Agent Mart. https://agentmart.dev/skills/mat-lucie-threshold-calibration (last updated 2026-10-24)