{"id":99346,"plugin_id":"plugin_asdk_app_6af24ca3a618819184368ec28ad1a933","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-16T18:17:22.311Z","digest":"9515447f3857efb66797a6c6ceac89df3e0a05ba89086d2f1de4fe7b50e14ea6","against":null,"payload":{"description":"\"alert me when X hits $200\", \"notify me if Y drops 5% today\" — sets up a standing Samaya alert on a stock crossing a price level or making a relative move. For document alerts use samaya-trigger-doc-drop.","included_files":[],"name":"samaya-trigger-price-move","skill_md_contents":"---\nname: samaya-trigger-price-move\ndescription: >-\n  \"alert me when X hits $200\", \"notify me if Y drops 5% today\" — sets up a standing Samaya alert on\n  a stock crossing a price level or making a relative move. For document alerts use\n  samaya-trigger-doc-drop.\n---\n\n# Trigger: Price Move\n\nWatches a stock price. Notifies the moment it crosses.\n\nNot a price check — that's `financial_qa`'s job. This sets up a standing alert:\n\n- \"Alert me if NVDA crosses $200.\"\n- \"Notify me the moment TSLA drops 5% in a day.\"\n- \"Ping me on a 2-standard-deviation move vs. yesterday's close.\"\n- \"Tell me if either of these two breaks $50, up or down.\"\n\n## No details yet\n\nSend this verbatim — keep the blank line and the numbered list, they carry the formatting — then stop. Nothing else.\n\n```\nI'll send you an analysis the moment a stock hits a threshold you set. The analysis will explain the drivers behind the movement. Tell me:\n\n1) the ticker(s),\n2) what should trigger it — crossing an absolute level (e.g., $100), moving by a set dollar amount (e.g., $10), or a relative move (e.g., 2%, or 1 standard deviation) over a rolling day, week or month, or against yesterday's close, and\n3) the direction: up, down, or both.\n```\n\n## Given a ticker + condition\n\n**1. Resolve every ticker in one batch.** US-listed only. All tickers sharing the same condition go in one `companies` list — never loop.\n\n**2. Pick the rule:**\n- A level (\"crosses $200\") → `rule_type=ABSOLUTE`.\n- A move (\"drops 5%\", \"moves 10 points\", \"a 2-stdev swing\") → `rule_type=RELATIVE` — pick `unit` (percent, points, or stdev) and `time_mode` (rolling day/week/month, or vs. yesterday's close). Stdev only works with yesterday's-close mode.\n\n**3. Direction:** UP, DOWN, or BOTH (BOTH creates one alert each way).\n\n**4. Minimums:** 1.0 for percent/points, 0.5 for stdev — below that, Samaya rejects it. Say so up front if the user's ask is under the floor.\n\n**5. `how_to(\"alerts\")` first, every session** — the setup and batching rules live there.\n\n**6. One `subscribe_to_stock_price` call, every ticker together.**\n\n**7. Confirm what got set up** — one line per (ticker, direction) pair. A ticker that failed to resolve gets its own line.\n\n**8. Point them to the portal, always the same link** — the tool's response doesn't return a usable per-alert URL, so don't hunt for one or show session IDs. Close with: \"Check out the event-triggered agent(s) you just set up: [click here](https://app.samaya.ai/app/agents).\"\n\n**9. Tell them how they'll hear about it:** the moment it triggers, the analysis lands by email and on the Samaya platform.\n\n## Rules\n\n- Every ticker sharing a condition goes in one call, not a loop.\n- Prices poll every 2 minutes — don't promise sub-2-minute precision.\n- Portal link is always `https://app.samaya.ai/app/agents` — never a per-session or per-subscription URL, and never show a raw session ID or subscription ID to the user.\n- A ticker that can't be resolved is reported, not silently skipped.\n\n## Before sending\n\n- Ticker batch, rule type, direction, and (for RELATIVE) unit + time_mode all confirmed before calling.\n- `how_to(\"alerts\")` called this session before `subscribe_to_stock_price`.\n- Every (ticker, direction) outcome named.\n- Portal link (`https://app.samaya.ai/app/agents`) included — no session IDs, no invented links.\n- User told: email + Samaya platform, the moment it fires."},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}