vendor-sales-inventory-sync
When the user says "materials have arrived", "today's materials are in the cath lab", or similar, auto-trigger this skill.
Skill by gricn
Chalk Labs
Need help deploying vendor-sales-inventory-sync?
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.
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-vendor-sales-inventory-sync
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
Use cases: spreadsheets, data, sales
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/vendor-sales-inventory-sync
What's inside
- Skill name
vendor-sales-inventory-sync- Description
- When the user says "materials have arrived", "today's materials are in the cath lab", or similar, auto-trigger this skill. By default read today's Google Sheet surgery records, keep only one specified vendor's `<procedure-AF-family>` / `<procedure-non-AF-family>` cases, run OCR on package-label photos, cross-check against barcode and QR with vendor-prefixed UDIs, and run the full pipeline through sales-record / inventory writeback and closeout gates. Also handles "sync vendor-x cases after on-site work", "read today's vendor-x cases first", "OCR the material sticker photos".
- License
- MIT
- Instructions
- 59 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/live-acceptance-checklist.md, references/inventory-filter-playbook.md
Files (3)
- SKILL.md
- .gitkeep · scripts/
- README.md · scripts/
SKILL.md (first lines)
# Vendor-x sales / inventory sync (thin entry)
This skill is shaped as:
- **Thin entry**: this file holds the goal, hard rules, default environment, and step routing.
- **Small playbooks**: each step loads its closest rule file as needed.
- **Deep references**: opened only when the current step requires them.
The goal: avoid reading the whole skill every round; cut context cost; raise speed and stability.
## Default data source
- Spreadsheet ID: `<cathlab-summary-sheet-id>`
- Tab: `<cathlab-summary-sheet-name>`
- Default credentials: `secrets/google-sa.json`
- Timezone: `Asia/Shanghai`
## Current hard rules
1. After each on-site round, read the corresponding day's Google Sheet records first.
2. If the user did not state a date, default to today.
3. If the user gave an explicit date, use that date.
4. Process only `vendor = <vendor-x>`.
5. Keep `surgery_category ∈ {<procedure-AF-family>, <procedure-non-AF-family>}`.
6. Save the filtered set locally as structured JSON for downstream reuse.
- Pre-check today's schedule first. If after the vendor-x + category filter today is 0 cases, "today's daily / week-closeout" must not trigger by itself.
- Weekly summary triggers only when "this week is closed". Closure is judged by China-Mainland natural week (Mon–Sun), anchored at the last vendor-x surgery day's last consumable line. If Sunday has surgery, week summary goes on the Sunday line, even if Thursday / Friday was the last real work day.
- Before writing or moving column `K` weekly summary, walk up column `A` from the target `K` row to confirm the surgery date's natural week is closed; then walk down to the next non-blank `A` date — if it falls in the same natural week, do not write into the current `K`.
- 0 cases today on the vendor-x filter does not by itself trigger this week's summary; only confirmed "no more vendor-x cases this week" or backfilling a previously missed prior week is allowed.
- If a later vendor-x case is added, re-run today's chain from the latest Google Sheet; if this week's summary already exists, recompute and overwrite, migrate `K` to the latest surgery day's last consumable line, clear the old anchor.
- Google Sheet is the live case-state source of truth. On `cancel / hold / reschedule`, write back to Google Sheet first, then re-read — never treat local `history/*.json` as truth.
- For confirmed cancelled / held / rescheduled rows, change `surgery_category` to `其他` ("other") and append `"<procedure-AF-family> cancelled (specific reason)"` to the original `remarks`. Downstream only carries `<procedure-AF-family> / <procedure-non-AF-family>` forward.
- Cancellation reasons must be the actual same-day reason; do not adopt a single boilerplate.
- On explicit `surgery_type` correction, rewrite Google Sheet first, then append the original value into `remarks` as `original surgery_type: <old value>` — no silent overwrite.
7. Pre-run cleanup: `history` retained 7 days; image artifacts retained 3 days.
8. Until full sales / inventory write rules are stabilized, stop at "filtered + reported candidate cases" — do not guess sales-table / inventory-table column mappings.
9. When the user points out a wrong rule understanding, omission, or bug, the lesson must be written back into this skill or the relevant `references/` file in the same round.
10. Together with rule update, do a first-pass fix in the same round — do not respond with "got it" only.
- On-site material photos use vendor-prefixed UDI (`<vendor-prefix>`) as the primary anchor. Pin UDI first, then the inventory's unique-match row provides `commodity_name / spec / family` ground truth.
- Adjacent model codes, short-names, handwritten labels are OCR-corrected and human-checked, not hard gates.
- When `<vendor-prefix>` UDI has no nearby model code: continue. When the nearby model conflicts with the UDI's inventory row: default to the inventory row, do not stop on this conflict.
- Business output normalizes by family / short-name: `<SKU-ST>`, `<SKU-SF>`, `<SKU-Deca>`, `<SKU-mapping-A>`, `<SKU-mapping-B>`, `<SKU-patch>`, `<SKU-quad>`, `<SKU-ice>`, `<SKU-surface>`.
- `<SKU-ST>` and `<SKU-SF>` are two distinct big-ticket subfamilies — never merge `<SKU-ST>` back into `<SKU-SF>` in the final output.
- Currently only single-curve big-ticket SKUs are in scope; dual-curve appears later → confirm against physical and inventory before naming.
- A single surgery cannot contain two big-ticket SKUs. If a parse yields `<SKU-ST> + <SKU-SF>`, `2 × <SKU-ST>`, or `2 × <SKU-SF>` — flag as a grouping error and split into at least 2 surgery candidates before continuing.
11. While a live case is not truly closed, do not switch to skill refactoring, flow optimization, or extra experiments.
12. Live tasks like `update surgery data` must run the completion gate. No gate → no "done".
- Final closeout: re-read `references/live-acceptance-checklist.md` (private repo). This short checklist cannot be replaced by "context compression" / "I remember checking it". Any uncovered item → only `部分完成 / 未完成` is allowed.
- For inventory `patient_id = blank` closeout filtering, follow `references/inventory-filter-playbook.md` (private repo).
- Inventory filter range must be row 2 `A:L` (title row, not row 1 which is the sheet name).
- Script / completion gate must verify `workbookRange.range.startRowIndex == 1`, `startColIndex == 0`, `endColIndex == 11`, and verify `A2=index / B2=arrival_date / J2=patient_id / L2=remarks`. If not satisfied: cancel the wrong filter and rebuild — do not keep stacking `J`-column conditions.
- UI default path: `J column → by condition → content type → cell is blank → OK` — not "scroll to the bottom of the value list".
## Out of scope
- This skill does not implement the writeback details of the sales / inventory tables. Until rules stabilize, the user owns the write step.
- Cross-vendor blending is out of scope.From gricn/clinical-ops-skill-kit, MIT.
More from gricn/clinical-ops-skill-kit
- 0.479score
cathlab-schedule-ocr
gricn
Handle cathlab surgery schedule input (images, Word docs, or mixed multi-file).
SkillCFreshness: CClaude Code +9 - 0.479score
gsheet-append-dedup
gricn
Safely write structured surgery rows (TSV / row arrays) into Google Sheet with dedup by primary key, date-correct insertion when filling earlier dates…
SkillCFreshness: CClaude Code +9 - 0.479score
surgery-volume-summary
gricn
Strictly summarize user-supplied weekly / monthly / yearly surgery statistics into a single closed-form line.
SkillCFreshness: CClaude Code +9 - 0.479score
vendor-invoice-records
gricn
On an Android device with the vendor B2B app, iterate orders, enter detail, click "申请开票" to open the invoice WebView, capture the commodity-fee and…
SkillCFreshness: CClaude Code +9 - 0.479score
warehouse-shipment-planning
gricn
After each surgery day, compute a shipment / replenishment plan for the upstream warehouse, based on the "patient_id = blank" remainder rows in the formal…
SkillCFreshness: CClaude Code +9 - 0.476score
tencent-docs-api-v3
gricn
Tencent Docs API V3 client wrapper.
SkillCFreshness: CClaude Code +9 - 0.475score
spd-confirm-delivery
gricn
Fast path: in the `<hospital>` SPD / sp.<vendor-portal>.com visible page, complete the current pending slip's `发货 → 确认` chain and verify success.
SkillCFreshness: CClaude Code +9 - 0.475score
material-complaint-update
gricn
Update existing rows in the formal Tencent Docs inventory sheet for live material-complaint cases based on package-label photos and same-day case context.
SkillCFreshness: CClaude Code +9 - 0.475score
order-shipment
gricn
Full pipeline for `<hospital>` SPD / sp.<vendor-portal>.com shipment orders: login, scan pending shipments, lock this round's scope (this batch from Excel /…
SkillCFreshness: CClaude Code +9 - 0.475score
spd-confirm-supply
gricn
On the `<hospital>` SPD / sp.<vendor-portal>.com homepage right-side to-do, handle "you have N pending-confirm orders": enter the pending-confirm order…
SkillCFreshness: CClaude Code +9 - 0.474score
task-closeout-standards
gricn
When the user asks to summarize pitfalls, codify lessons, tighten closeout standards, or judge whether a task is truly closed, trigger this thin entry.
SkillCFreshness: CClaude Code +9 - 0.473score
surgery-summary
gricn
Summarize daily surgery records from markdown files under `surgery_records/YYYY/MM/`.
SkillCFreshness: CClaude Code +9
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
- Repository
- github.com/gricn/clinical-ops-skill-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gricn
- 0.479score
warehouse-shipment-planning
gricn
After each surgery day, compute a shipment / replenishment plan for the upstream warehouse, based on the "patient_id = blank" remainder rows in the formal…
SkillCFreshness: CClaude Code +9 - 0.479score
vendor-invoice-records
gricn
On an Android device with the vendor B2B app, iterate orders, enter detail, click "申请开票" to open the invoice WebView, capture the commodity-fee and…
SkillCFreshness: CClaude Code +9 - 0.479score
gsheet-append-dedup
gricn
Safely write structured surgery rows (TSV / row arrays) into Google Sheet with dedup by primary key, date-correct insertion when filling earlier dates…
SkillCFreshness: CClaude Code +9 - 0.479score
surgery-volume-summary
gricn
Strictly summarize user-supplied weekly / monthly / yearly surgery statistics into a single closed-form line.
SkillCFreshness: CClaude Code +9 - 0.479score
cathlab-schedule-ocr
gricn
Handle cathlab surgery schedule input (images, Word docs, or mixed multi-file).
SkillCFreshness: CClaude Code +9 - 0.476score
tencent-docs-api-v3
gricn
Tencent Docs API V3 client wrapper.
SkillCFreshness: CClaude Code +9
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 vendor-sales-inventory-sync 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.
Cite this page
vendor-sales-inventory-sync skill. Agent Mart. https://agentmart.dev/skills/gricn-vendor-sales-inventory-sync (last updated 2026-10-24)