Skip to content
Agentmart
Submit a tool

spd-confirm-delivery

Fast path: in the `<hospital>` SPD / sp.<vendor-portal>.com visible page, complete the current pending slip's `发货 → 确认` chain and verify success.

Skill by gricn

IndexedMIT
Write a review

Chalk Labs

Need help deploying spd-confirm-delivery?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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/gricn-spd-confirm-delivery

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.

We use your email only for this newsletter. Privacy

About

Fast path: in the `<hospital>` SPD / sp.<vendor-portal>.com visible page, complete the current pending slip's `发货 → 确认` chain and verify success. Use when the user is already in the SPD page / pending edit page, or when the target pending slip / purchase order number is known, and only needs "confirm shipment of the current slip" / "press confirm on this slip". Reuses `order-shipment`'s session, workspace, and confirm script. Does NOT handle: homepage to-do `确认供货` for new orders, batch scanning, plan splitting, attachment fill, or Tencent Docs coupling.

Use cases: writing

No 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/spd-confirm-delivery

What's inside

Skill name
spd-confirm-delivery
Description
Fast path: in the `<hospital>` SPD / sp.<vendor-portal>.com visible page, complete the current pending slip's `发货 → 确认` chain and verify success. Use when the user is already in the SPD page / pending edit page, or when the target pending slip / purchase order number is known, and only needs "confirm shipment of the current slip" / "press confirm on this slip". Reuses `order-shipment`'s session, workspace, and confirm script. Does NOT handle: homepage to-do `确认供货` for new orders, batch scanning, plan splitting, attachment fill, or Tencent Docs coupling.
License
MIT
Instructions
67 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: references/pending-order-rules.md

Files (3)

  • SKILL.md
  • .gitkeep · scripts/
  • README.md · scripts/

SKILL.md (first lines)

# SPD confirm delivery

This skill is responsible for:

- Reusing the current SPD visible browser page to complete a single pending slip's confirm fast path.
- Depending on the current page state, deciding whether to click `发货` first, then walk through `0 / 1 / 2`-layer confirm dialogs.
- Acceptance: the red `取消发货` button on the order detail page.

When to use:

- User says "confirm the order in SPD" / "press confirm" / "confirm the current slip".
- Currently in the `unfilled_delivery_form.html` edit layer.
- Or `delivery slip number` / `purchase order number` is known and findable in the pending list.
- And the slip already has a user-approved shipment plan in this thread.

When NOT to use:

- Scan the entire pending list.
- Generate a shipment plan from Excel / Tencent Docs.
- Fill attachments / batch dates / clean unrelated rows.
- Post-shipment Tencent Docs inventory sync.

## Shared prerequisites

- Reuses `workspaces/order-shipment/` and `skills/order-shipment/scripts/confirm_pending_delivery.py`.
- Python via `./.venv/bin/python`.
- Attended only; attach to current `Chrome Beta` (CDP `9334`).
- Healthy edit page → don't open new tabs, don't close the current tab, don't restart SPD "for safety".

## Required rules

- Success = the red `取消发货` button on the detail page, NOT "the click went through".
- This skill cannot bypass the SPD shipment approval gate in `AGENTS.md`. Without a prior approved plan in this thread: stop, post a one-slip plan summary, wait for approval.
- Before approval: do not click `发货`, do not click confirm, do not assume "only one click left, just send it".
- `发货` may surface `0 / 1 / 2` layers of confirm dialogs; the script may handle them in one pass — no manual "save first then ship" split.
- If already parked on a confirm dialog, pass `--skip-trigger` so `发货` is not clicked twice.
- "保存成功" / dialog dismissed ≠ shipped per plan. Re-read live state once; only on plan-match record success.
- Missing attachment / abnormal field / page error / dead selector → stop, switch back to `order-shipment` for full pipeline triage.
- After thread compression / long break / context switch: re-read `order-shipment` and `references/pending-order-rules.md` (private repo) before any live click.
- Same action 3× in a row without state change → treat as bug, do not keep clicking.

## Default command

```bash
./.venv/bin/python skills/order-shipment/scripts/confirm_pending_delivery.py --order-code <slip-number>
```

Common flags:

- `--po-code <purchase-order-number>` — when slip number is unknown but the PO has only one pending slip.
- `--skip-trigger` — when already on a confirm dialog.
- `--dry-run` — probe only.
- `--slowmo-ms 220`
- `--cdp-port 9334`

Default output:

- `workspaces/order-shipment/TMP/confirm_pending_delivery_result.json`

## Routing

- New PO not yet in pending list → `spd-confirm-supply`.
- Slip is fully prepared (attachment / batch / mfg / expiry) and plan approved → this skill.
- Still need to delete / add rows / fill dates / attach files / triage shortage → `order-shipment`.
- After confirmed shipment, when Tencent Docs inventory needs sync → chain to `medical-inventory-tencent-import` (only after SPD truly confirms; only then may `storage_location` flip).

From gricn/clinical-ops-skill-kit, MIT.

More from gricn/clinical-ops-skill-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 26, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from gricn

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get spd-confirm-delivery running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying spd-confirm-delivery?

CallGet help
Cite this page

spd-confirm-delivery skill. Agent Mart. https://agentmart.dev/skills/gricn-spd-confirm-delivery (last updated 2026-10-24)