weekly-report

bởi anthropic

Cấu trúc và nguồn dữ liệu cho báo cáo tồn kho hàng tuần. Tải nội dung này khi nhiệm vụ là "báo cáo hàng tuần", "báo cáo thứ Hai", hoặc "tóm tắt tình trạng tồn kho".

npx skills add https://github.com/anthropics/cwc-workshops --skill weekly-report

Weekly Inventory Report

Generate the report by writing one Python script via code execution that reads the CSVs and emits markdown. Do not make per-SKU tool calls.

Structure

# Inventory Report — {{warehouse or "All Warehouses"}} — week of {{date}}

## Stockouts (on_hand = 0)
| SKU | Product | Warehouse | Days out |
...

## Low Stock (below reorder point)
| SKU | On hand | Reorder pt | Days cover | Action |
...top 15 by urgency (lowest days_cover first)...

## Open POs
| PO | SKU | Qty | Supplier | ETA |
...from /mnt/user/sinks/purchase_orders.jsonl...

## Forecast Risk
SKUs where promo_next_month=1 or is_seasonal=1 and on_hand < 14d cover.
One line each: SKU, reason, recommended action.

Operating cadence (which report is being asked for)

CadenceTrigger phrasingContents
Daily"run the check", "the sweep"Low-stock list with action taken per SKU; one summary notification at the end.
Weekly (Mon)"the report", "weekly review"Per-warehouse: top concerns, open POs aging past their lead time, SKUs below reorder for >5 business days.
Monthly"supplier review"Suppliers whose on-time rate slipped; SKUs whose primary supplier may need changing.
Ad hocanything elseScope to what was asked.

If the request doesn't say which, infer from wording. The structure below is the weekly format; for daily, drop the Open-POs and Forecast-Risk sections and lead with the actions taken.

Aging-PO check (weekly only)

For each open PO, compare days-since-placed to the supplier's lead_time_days. List any PO where elapsed > lead_time as aging and include supplier + days overdue so ops can follow up.

Data sources

  • Stockouts & low stock: latest-date rows from /mnt/user/data/stock_levels.csv joined with /mnt/user/data/products.csv
  • Days of cover: on_hand / avg_daily_sales (last 14d from /mnt/user/data/sales_history.csv)
  • Open POs: /mnt/user/sinks/purchase_orders.jsonl
  • Forecast risk: /mnt/user/data/products.csv flags + days-of-cover from above

Do this in code

The CSVs are large (stock_levels is ~67k rows). Write a single script that loads them once, computes everything, and prints the markdown. Don't page through the data with tool calls — that's exactly the pattern this skill replaces.

Thêm skills từ anthropic

access
anthropic
Quản lý quyền truy cập kênh Discord — phê duyệt ghép cặp, chỉnh sửa danh sách cho phép, đặt chính sách DM/nhóm. Sử dụng khi người dùng yêu cầu ghép cặp, phê duyệt ai đó, kiểm tra ai được phép,…
official
session-report
anthropic
Tạo báo cáo HTML có thể khám phá về việc sử dụng phiên Claude Code (token, bộ nhớ đệm, tác nhân phụ, kỹ năng, lời nhắc tốn kém) từ bản ghi ~/.claude/projects.
official
build-mcp-server
anthropic
Kỹ năng này nên được sử dụng khi người dùng yêu cầu "xây dựng một máy chủ MCP", "tạo một MCP", "tạo tích hợp MCP", "bọc một API cho Claude", "cung cấp công cụ cho…
official
cookbook-audit
anthropic
Kiểm tra một notebook trong Anthropic Cookbook dựa trên tiêu chí đánh giá. Sử dụng khi có yêu cầu xem xét hoặc kiểm tra notebook.
official
handle-complaint
anthropic
Xử lý khiếu nại của khách hàng từ đầu đến cuối — lấy ngữ cảnh, soạn phản hồi và đề xuất giải pháp vận hành. Chấp nhận email hoặc ID ticket tùy chọn…
official
use-case-triage
anthropic
Nhanh chóng xác định xem một hoạt động xử lý có cần PIA, DPIA bắt buộc theo GDPR hay có thể tiến hành — phát hiện xung đột chính sách quyền riêng tư và định tuyến đến đúng…
official
board-minutes
anthropic
Soạn thảo biên bản cuộc họp hội đồng hoặc ủy ban theo định dạng của bạn. Tự động phát hiện các cuộc họp hội đồng và ủy ban sắp tới từ lịch của bạn, yêu cầu chương trình họp và…
official
renewal-tracker
anthropic
Hiển thị các hợp đồng có thời hạn hủy sắp đến và cảnh báo trước khi cửa sổ thông báo đóng, làm việc từ sổ đăng ký gia hạn được duy trì. Sử dụng khi người dùng yêu cầu…
official