Skip to content
Back to skills

Sales Finalize Borderline

ASecurity

Finalize the morning's borderline batch. Replaces the Monday 14:00 cron. Idempotent within the day; safe to re-run.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsbash

Works with

  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add mat-lucie/outbound-sales-agent --skill sales-finalize-borderline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sales Finalize Borderline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sales Finalize Borderline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mat-lucie-sales-finalize-borderline/badge)](https://www.skillsdirectory.com/skills/mat-lucie-sales-finalize-borderline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sales-finalize-borderline
description: Finalize the morning's borderline batch. Replaces the Monday 14:00 cron. Idempotent within the day; safe to re-run.
---

# /sales-finalize-borderline

Operator runs this Monday afternoon (or any time after the morning
borderline batch is staged). Picks the operator-decision-driven
`decision_run_id` when one exists in the Operator Review Queue;
otherwise uses `default_expire`.

## Step 0 — Verify Attio MCP scope

Same as `/sales-daily`.

## Step 1 — Run the finalize wrapper

```bash
sales sales-finalize-borderline --batch YYYY-MM-DD
```

The wrapper:
1. Looks up the latest operator-resolved `weekly_finalize_stale`
   queue row for the batch (via `decision_source` lookup).
2. If found: uses the operator's `decision_run_id`.
3. Else: uses `default_expire`.
4. Computes the idempotency key
   `{batch_date}_{decision_run_id}` and checks for an existing
   finalize row.
5. If existing: returns `action=skipped_idempotent` (no-op).
6. Else: invokes `weekly-finalize --batch <date>` and records the
   completion as a typed queue row.

## Idempotency contract

Re-running within the same day is a no-op unless the operator's
decision_run_id changed. Both keys can land at most once per day:
`{batch}_default_expire` AND `{batch}_<operator-run-id>`.

## Dry-run

`--dry-run` propagates to the inner `weekly-finalize` invocation —
the borderline verdicts are computed but no Attio writes happen.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.