notify-templates

द्वारा anthropic

Slack सूचनाओं, आपूर्तिकर्ता ईमेल और एस्केलेशन के लिए निश्चित-प्रारूप टेम्पलेट। इसे तब लोड करें जब कार्य "notify", "alert", "email", या "tell ops" हो।

npx skills add https://github.com/anthropics/cwc-workshops --skill notify-templates

Notification Templates

Notifications are template fills, not creative writing. Do not spawn a subagent for this. Fill the slots from data you already have, then append the result to the outbox.

Low-stock Slack alert

:warning: *Low stock* — {{sku}} ({{product_name}})
On hand: {{on_hand}} · Reorder point: {{reorder_point}} · Days of cover: {{days_cover}}
{{action_line}}

action_line is either PO {{po_id}} placed for {{qty}} units (ETA {{eta}}) or Awaiting review — {{reason}}.

Supplier email

Subject: PO {{po_id}} — {{qty}} × {{sku}}

Hi {{supplier_name}},

Please confirm PO {{po_id}} for {{qty}} units of {{sku}} ({{product_name}}) at ${{unit_price}}/unit.
Requested delivery: {{requested_date}}. {{expedite_note}}

Thanks,
StockPilot

Escalation (human review needed)

:octagonal_sign: *Review needed* — {{sku}}
Recommended qty: {{qty}} (confidence {{confidence}})
Flags: {{flags_csv}}
Reason: {{reason}}

Routing (who gets what)

AudienceWhenExample
ops channel (default)Low-stock alerts, reorder recs, cycle-count adjustments, weekly reports.Almost everything.
ops with @hereActive or imminent stockout on a top-100 SKU, or a supplier delay that causes a stockout within 7 days."0 on hand at WH-EAST, network out in <1d"
Purchasing lead (DM/email, not channel)Single PO > $25k, deviation from the scored supplier, or new-supplier consideration.
FinanceOnly if open-PO balance for one supplier would exceed $100k, or suspected duplicate POs. Nothing routine.

When you escalate beyond the default channel, add one line saying which threshold was crossed.

Batch, don't spam

For sweeps and daily checks, send one summary notification, not one per SKU. The low-stock template above is for a single-SKU task; for a sweep, compose a single message listing the actioned SKUs (and any deferred) and send it once at the end.

When the task explicitly asks for one alert per SKU (e.g. "send a personalized alert for each of the top 10"): fill the template once per SKU and write all lines to the outbox in one Bash heredoc, like:

python -c '
import json
rows = [...top-10 from batch_days_of_cover.py...]
with open("/mnt/user/sinks/outbox.jsonl", "a") as f:
    for r in rows:
        f.write(json.dumps({"channel": "ops", "sku": r["sku"],
                            "message": f":warning: Low stock — {r[\"sku\"]} ..."}) + "\n")
'

Do not call send_slack_alert (or any subagent) once per SKU — that's N model round-trips for template-filling.

After sending a batch, your final response should be a brief confirmation ("✓ 10 alerts sent to ops — see outbox") plus a compact table of SKU + on-hand

  • days-of-cover. Do not echo the full alert text in your reply; it's already in the outbox.

How to send

Append directly to /mnt/user/sinks/outbox.jsonl via Bash — one JSON object per line, e.g.:

python -c 'import json; print(json.dumps({"channel": "ops", "sku": "SKU-0012", "message": "..."}))' \
  >> /mnt/user/sinks/outbox.jsonl

Use json.dumps so newlines in the message are escaped (raw echo would break the JSONL). That's the whole job: one read for the data you need (if you don't have it), one append. If you're making more than two calls to send a notification, you've over-engineered it.

anthropic की और Skills

access
anthropic
Discord चैनल एक्सेस प्रबंधित करें — पेयरिंग स्वीकृत करें, अनुमति सूची संपादित करें, DM/ग्रुप नीति सेट करें। उपयोग तब करें जब उपयोगकर्ता पेयर करने, किसी को स्वीकृत करने, किसकी अनुमति है यह जाँचने के लिए कहे,…
official
session-report
anthropic
क्लाउड कोड सत्र उपयोग (टोकन, कैश, उप-एजेंट, कौशल, महंगे प्रॉम्प्ट) से ~/.claude/projects ट्रांसक्रिप्ट का एक अन्वेषणीय HTML रिपोर्ट तैयार करें।
official
build-mcp-server
anthropic
यह कौशल तब उपयोग किया जाना चाहिए जब उपयोगकर्ता "MCP सर्वर बनाएं", "MCP बनाएं", "MCP इंटीग्रेशन करें", "Claude के लिए API रैप करें", "टूल्स को एक्सपोज़ करें..." जैसी बात कहे।
official
cookbook-audit
anthropic
एन्थ्रोपिक कुकबुक नोटबुक का एक रूब्रिक के आधार पर ऑडिट करें। जब भी नोटबुक समीक्षा या ऑडिट का अनुरोध किया जाए, इसका उपयोग करें।
official
handle-complaint
anthropic
ग्राहक की शिकायत को शुरू से अंत तक संभालता है — संदर्भ खींचता है, प्रतिक्रिया का मसौदा तैयार करता है, और एक परिचालन सुधार सुझाता है। वैकल्पिक ईमेल या टिकट आईडी स्वीकार करता है…
official
use-case-triage
anthropic
शीघ्रता से निर्धारित करें कि किसी प्रसंस्करण गतिविधि के लिए PIA, अनिवार्य GDPR DPIA की आवश्यकता है या इसे आगे बढ़ाया जा सकता है — गोपनीयता नीति विरोधों को उजागर करता है और सही मार्ग पर ले जाता है…
official
board-minutes
anthropic
बोर्ड या समिति की बैठक के कार्यवृत्त आपके घरेलू प्रारूप में तैयार करता है। आपके कैलेंडर से आगामी बोर्ड और समिति की बैठकों का स्वतः पता लगाता है, एजेंडा मांगता है और…
official
renewal-tracker
anthropic
नवीनीकरण रजिस्टर से काम करते हुए, आगामी रद्दीकरण-द्वारा समय सीमा वाले अनुबंध दिखाएँ और नोटिस विंडो बंद होने से पहले चेतावनी दें। उपयोग तब करें जब उपयोगकर्ता पूछे…
official