configuring-tasks
Configures scheduled AI tasks that analyze Insights and Dashboards. Use for anomaly detection, forecasting, alerts, or recurring automated monitoring.
What it does
Configuring Tasks
Quick Start
A task is a scheduled AI agent that runs on a cron, analyzes an Insight or Dashboard, and creates a discovery when the analysis produces a finding. Your instructions string is the prompt the AI follows on each run.
To create a task:
- Identify what the user wants the AI to watch for (anomalies, a forecast, or open-ended analysis)
- Choose the task type and target slug
- Write clear natural-language instructions -- these are the AI's prompt every run
- Pick a cron schedule that fits the task instructions
- Call
create_taskon the Altertable MCP server
When to Use This Skill
- User wants an Insight monitored for anomalies on a schedule
- User wants a metric forecast recurring on a cadence
- User wants ongoing AI analysis of an Insight or Dashboard
- User asks for automated alerts when something changes
Task Types
All three types run AI analysis driven by your instructions. They differ in what the AI is asked to focus on.
| Type | Target | AI focus |
|---|---|---|
anomaly_detection | Insight slug | Find outliers and unusual values in the Insight's data |
forecast | Insight slug | Project future values and flag divergence from expectations |
monitor | Insight/Dashboard slug | Open-ended analysis -- whatever the instructions describe |
Core Workflow
Step 1: Identify the Target
The user needs an existing resource to target. If they don't have one yet:
- Help them create the Insight, Dashboard, or connection first (see creating-insights or exploring-data skills)
- Use the resulting slug as the
target_slug
Step 2: Choose Task Type
Match the user's goal to a task type:
- "Alert me if signups drop unexpectedly" ->
anomaly_detectionon the signup Insight - "Forecast next month's revenue" ->
forecaston the revenue Insight - "Analyze my dashboard for anything unusual" ->
monitoron the dashboard
Step 3: Write Instructions
Instructions tell the task what to focus on. Be specific about:
- What patterns to look for
- What thresholds matter
- When to create a discovery
Example:
Monitor weekly revenue trends. Create a discovery if:
- Revenue drops more than 10% week-over-week
- Revenue exceeds forecast by 20%
- Unusual patterns in regional breakdown
Step 4: Create the Task
Use the Altertable MCP task-creation tool. Supply:
- the task type -- one of
anomaly_detection,forecast, ormonitor - the target Insight or Dashboard slug the AI will analyze
- a cron schedule (standard 5-field, UTC)
- the natural-language instructions -- the prompt the AI follows on each run
- the author (the user creating the task)
Refer to the MCP tool description for the exact parameter names and any additional required fields -- the MCP schema is the source of truth.
Common Pitfalls
- Wrong task type --
anomaly_detectiondetects outliers;forecastprojects future values;monitordoes open-ended analysis. Don't mix them up - Vague instructions -- "watch this Insight" produces noisy discoveries; be specific about thresholds and patterns
- Creating duplicate tasks -- check if a task already exists on the target before creating a new one
- Missing the target -- the user needs an existing Insight or Dashboard slug; help them create one first if needed
- Using
monitorwhenanomaly_detectionsuffices --monitoris more general but less focused; preferanomaly_detectionfor pure outlier detection
Reference Files
- Task types - Read when choosing between anomaly_detection, forecast, and monitor
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 7 github stars · SKILL.md body (3,837 chars)