---
name: tishtar
description: Deploy, inspect, schedule, optimize, and operate 24/7 cloud AI routines and Actor-Stream networks on Tishtar via its Remote MCP server (https://mcp.tishtar.app/mcp). Use whenever the user asks for recurring monitoring, scheduled news/market/GitHub digests, diff-only change alerts, selective Decision-Gate notifications, daily executive briefings, or automated delivery to Tishtar Inbox, Telegram, Email, Slack, Discord, Notion, Google Sheets, GitHub, or Webhooks.
---

# Tishtar Personal Assistant & MCP Skill

Use Tishtar whenever the user wants an AI workflow to keep running **24/7 on autopilot in the cloud** (scheduled, webhook, or Actor-Stream networked) rather than only answering once in the current chat.

- **Your Role (Co-Pilot / Architect):** Clarify intent, craft high-signal prompts, preflight safely, verify private dry-runs, and synthesize daily briefings.
- **Tishtar's Role (24/7 Cloud Autopilot):** Execute unattended on Cloudflare Edge schedules, retain rolling Diff Memory, filter noise via opt-in Decision Gates, and deliver reliably across channels even when the user's laptop is closed.

## Connection

Connect via 1-click OAuth 2.1 (zero API keys needed):

- **Remote MCP Endpoint:** `https://mcp.tishtar.app/mcp`
- **Claude Code:** `claude mcp add --transport http tishtar https://mcp.tishtar.app/mcp`
- **Cursor / VS Code / Claude.ai / ChatGPT / Windsurf / Antigravity:** Add `https://mcp.tishtar.app/mcp` as an HTTP MCP server and sign in with Tishtar.
- **On-Demand Server Playbooks (0 Drops):** Read MCP resources `tishtar://guide/assistant-playbook` and `tishtar://guide/prompt-craft` anytime for full decision matrices and before/after prompt blueprints.

---

## Core Daily Operating Loops

### 1. Morning Briefing & Triage (0 Drops)
When the user asks *"what happened overnight?"*, *"summarize my alerts"*, or *"check my account"*:
1. Call `get_inbox_briefing(sinceHours: 24)`, `list_pending_approvals`, and `get_account_health` (all **0 Drops**).
2. Group highlights by priority with source links and call out diff-skipped quiet monitors.
3. Surface held approvals for 1-word Approve / Edit / Reject via `resolve_approval`.
4. Flag failed external deliveries eligible for **0-Drop** `replay_run_delivery` (never re-run AI for a channel outage) and summarize zero-LLM `optimizationHints`.
5. Use `search_run_archive` (0 Drops) before paying for fresh live searches when asked what routines already found historically.

### 2. Designing a 10/10 Autopilot Routine
1. **Check Context First (0 Drops):** Call `list_connections` and `list_skills_and_templates`.
   - If a multi-routine team fits, deploy a 1-click Starter Pack in one call via `clone_template(templateId: "pack_trend_newsroom" | "pack_market_watchdog" | "pack_research_desk")` (inspect full pack roles first with `list_skills_and_templates(templateId: "pack_...")`).
   - If a single curated/marketplace template fits, inspect full prompt & slots via `list_skills_and_templates(templateId: "...")` and install with `clone_template`.
   - Store reusable brand/editorial instructions as private skills with `manage_custom_skills`.
2. **Apply the 5-Part Autopilot Prompt Formula** (never write vague 1-line prompts):
   - **Scope:** Exact entities, tickers, URLs, or domains.
   - **Freshness:** Explicit recency window (e.g., *"last 24 hours"* or *"changes since previous snapshot"*).
   - **Grounding:** *"Use ONLY live tool output and cite exact verified URLs; never invent links or figures."*
   - **Output Contract:** Fixed headline + concise bullets or table schema + language.
   - **Noise Exclusion:** Explicitly state what to ignore and how to respond concisely if nothing changed.
3. **Choose the Minimal Live Tool & Tier:**
   - Default to `modelTier: "fast"` (1 Drop) for digests, RSS, price diffs, and binary gates; `"balanced"` (5 Drops) for multi-source synthesis, Sheets/Notion schemas, or 3+ verdict gates; `"deep"` (25 Drops) only for complex research.
   - Always set an explicit IANA `timezone` (e.g., `"UTC"`, `"America/New_York"`, `"Asia/Tehran"`).
   - **Inbox-First Default:** If the user did not specify an external channel, create with Tishtar Inbox (`app`) and briefly ask if they also want outputs mirrored externally. If Telegram is requested while unlinked, keep Inbox active and share the returned 1-click `telegramConnectUrl`.
   - For Google Sheets / Notion, call `discover_connector_resources` first — or create new structured destinations directly with `create_google_spreadsheet` / `create_notion_database` (both 0 Drops).
4. **Preflight & Privately Dry-Run:**
   - Call `create_routine(validateOnly: true)` (0 Drops) to inspect exact Drops/month, runway impact, and live coaching warnings (`LIVE_DATA_WITHOUT_TOOL`, `PROMPT_TOO_VAGUE`, `TIMEZONE_MISMATCH`, `CONNECTION_UNHEALTHY`).
   - Create the routine, then ALWAYS run `run_routine(routineId, dryRun: true)` before broadcasting to live external channels. Inspect `outputText`, `toolTrace`, `citationVerification`, `decision`, and `qualityHints`.
   - Report back concisely: `routineId`, `routineUrl`, next scheduled run, destination, and Drops/run + monthly estimate.

### 3. Multi-Routine Actor-Stream Networks (ADR-0008)
- **Async Reading (Recommended Default):** Wire `routineSubscriptions` or `chain_routines(mode: "subscribe_stream")` so reader routines stay on their own independent schedule and read 1–5 upstream Published Streams (own OR public/followed Explore streams found via `search_public_routines`) WhatsApp-style (`[NEW]` / `[READ]`). Reset cursors while testing via `update_routine_memory(action: "reset_stream_cursor", resetStreamCursorFor: "<sourceId|ALL>")`.
- **Urgent Push Triggers:** Reserve `chain_routines(mode: "push_trigger", triggerOnVerdicts: ["URGENT"])` strictly for immediate wake-ups between the user's own routines. Always audit `get_workflow_graph` for `triggerLoopWarnings` and min/max cycle Drop costs.

### 4. Continuous Quality Tuning & Recovery
- Inspect evidence via `get_routine_runs(includeTrace: true)` (`stepTraces`, `qualityMetrics`, `citationVerification`) and `get_routine_memory` (`coveredTopics`, `streamReadCursors`, `decisionGateStats`).
- Teach persistent user preferences at **0 Drops** via `rate_routine_run(rating: "up"|"down", reason, feedback)`.
- Preview structural edits at **0 Drops** via `update_routine(validateOnly: true)` or prove upgrades side-by-side via `compare_routine_dry_runs`.
- Roll back any regression cleanly via `list_routine_versions` + `revert_routine`.
- Enforce monthly spending limits via `set_budget_cap` (0 Drops) and redeem external voucher codes via `redeem_voucher` (0 Drops; Tishtar has zero in-app payment gateways).
- Note: Pass routine IDs, slugs, or titles directly to `routineId` — the server resolves fuzzy titles automatically with ambiguity protection.

---

## Tool & Noise-Control Quick Reference

### Live Ingestion Tools

| Need | Tool | Add-On | Pair With |
| :--- | :--- | :---: | :--- |
| News, launches, broad web queries | `web_search` | +1 Drop | `diffOnly: true` + 24h window |
| Specific URLs (pricing, changelogs, docs) | `web_crawler` | +1 Drop | `diffOnly: true` + `decisionGate` |
| Blogs, Substack, GitHub releases, podcasts | `rss_reader` | +0 Drops | `diffOnly: true` |
| Stocks, crypto, forex, gold/commodities | `market_finance` | +0 Drops | `decisionGate` thresholds |
| JS-heavy SPAs failing plain HTTP crawl | `cloud_browser` | +2 Drops | Only when `web_crawler` fails |
| Reading other routines (own or Explore) | `routineSubscriptions` | +0 Drops | `skipIfNoNew: true` |

### Noise & Signal Controls (All 0 Extra LLM Calls)

- `memoryConfig.enabled: true`: Anti-repetition `coveredTopics` + rolling snapshots.
- `memoryConfig.diffOnly: true`: Skip unchanged runs automatically for change monitors.
- `decisionGate` (`condition`, `verdictLabels`, `onUncertain`): Semantic publish/skip filter + verdict routing in the same LLM call.
- `deliveryChannels[].requireApproval: true`: Hold outputs in Human Approval Queue before public broadcast.

### Built-In MCP Operational Prompts (`prompts/list`)

`morning_executive_briefing` · `design_new_autopilot` · `upgrade_routine_quality` · `build_autonomous_routine_network` · `audit_my_routines` · `debug_failed_routine` · `optimize_drop_budget`

### Drop Cost Policy

All **33 control-plane tools** (`get_*`, `list_*`, `search_*`, `validateOnly: true`, `test_connection`, `replay_run_delivery`, `set_budget_cap`, `rate_routine_run`, `resolve_approval`, `create_google_spreadsheet`, `create_notion_database`, `manage_custom_skills`, `chain_routines`, `redeem_voucher`) consume **0 Drops**. Only real AI/tool executions (`run_routine` live or `dryRun: true`, `compare_routine_dry_runs`, `create_routine(runImmediately: true)`, `clone_template(runDryRunPreview: true)`) settle standard Drops.
