Skip to content
AskTable

Documentation feedback

Current pageAnalysis skills/en/agent/skill

0 / 5,000

Your feedback will be sent to the maintenance team.

Go to console
Go to console
AskTable
Go to console

Build agents

Analysis skills

Write analysis methods as reusable skills so agents analyze your way.

A skill is a reusable analysis instruction that defines analysis steps, metric definitions, and output format, such as “a weekly report first shows totals, then the top 10 stores, then anomalies”. Skills cover methods; business documents cover background knowledge, such as terms and metric definitions.

Members can create and manage their own skills; project owners and administrators can manage all skills in the project under “Manage all”.

Entry: main navigation on the left → “Skills”.

How skills are used

WayDescription
Used automatically by the agentAfter a skill is attached to an agent, the agent reads and follows it when needed, based on the question and the skill description
Chosen by youType / in the conversation or dashboard input box, or choose “Skills” in the “+” menu, to specify a skill for this question

When choosing manually, skills are listed in two groups: “Current agent skills” (attached to the selected agent) and “My other skills” (your own skills that are not attached). An administrator role does not let you call other members' skills. Choosing a skill manually affects only this question; it does not attach the skill or change data permissions.

Usage scope

Each skill has a “Usage scope”: “Chat and dashboards”, “Chat only”, or “Dashboards only”. Only skills that apply to the current context appear in the list, and only those skills are used automatically by the agent. Skills that existed before the upgrade apply to both chat and dashboards by default.

Create a skill

Create

On the “Skills” page, click “Create from template” and choose a template, or click “Create” to start from scratch. Creating from a template copies a skill that belongs to you; changing it does not affect the template or other people's copies.

Write the name, description, and content

Click “Edit” to change the name, description, and usage scope. Write the complete instruction in “Content” and click “Save”. When the agent uses the skill, it reads this content as is.

Attach to an agent

Open the agent → “Configuration” → “Skills” → “Add” or “Add from template”. You can attach several skills.

You can also extract skills from existing work:

  • Extract from a conversation: in the “All conversations” list, click “Extract skill” on a conversation bound to an agent to save its analysis method as a new skill of yours. The source agent and its skills are not changed.
  • Extract from a dashboard: click “Extract skill” on a dashboard to save the component layout, chart settings, metric definitions, and analysis steps. Specific values and the source user's permission conditions are not saved; when others use the skill, queries rerun with their own data permissions.
  • Polish in chat: once a skill is attached to at least one agent, click “Polish in chat” on the skill details page to have the agent help complete and rewrite the skill through conversation.

Templates

TemplatePurpose
Anomaly detectionFind metric fluctuations outside the normal range
Trend forecastForecast trends from history with prediction intervals
Stress testSimulate scenarios and assess metrics under extreme conditions
Metric drill-downBreak down aggregate metrics layer by layer to locate causes
Report compositionProduce structured data analysis reports
Comparative analysisCompare multiple objects across dimensions
Attribution analysisAnalyze drivers of metric changes and quantify each factor's contribution
Metric interpretationExplain data in business language
Data quality checkDetect data quality problems
Business narrativeTurn analysis results into business narrative
Cycle analysisIdentify periodic patterns in data

How to write a good skill

  • Say when to use it in the description. The agent relies on the description to decide whether to use the skill. “Use when analyzing weekly store sales” is chosen correctly more often than “Store analysis”.
  • Write the content as steps. State what to do first and next, which definition each step uses, and what format to output.
  • Do not hard-code data or permission conditions. Do not write specific values, a particular region or store name, or filters that only apply to one person. Skills are used by people with different permissions, and hard-coded content is not filtered by data roles.
  • One skill solves one kind of problem. Separate weekly reports from anomaly investigation; small skills are used more accurately than one large skill.

Example:

## Purpose
Use when producing the weekly store sales report every Monday.

## Steps
1. Calculate sales, order count, and average order value for all stores last week (Monday to Sunday), and compare with the week before.
2. List the top 10 and bottom 10 stores by sales, and mark stores whose week-over-week change exceeds 20%.
3. For stores down more than 20% week over week, break down by product category and find the categories that fell the most.

## Definitions
- Sales = amount paid - refunds, counted by payment date.
- Average order value = sales / order count.

## Output
Summarize in three sentences first, then give tables. Show amounts in ten-thousands with two decimals.

Ownership and sharing

  • A skill and the agents it is attached to belong to the same member; skills are not shared separately.
  • When an agent is shared, colleagues can use its methods but cannot view, change, or copy the skill content.
  • Changing a skill affects later executions; existing results stay the same. After a skill is deleted, references to it on agents stop working.
  • When a member leaves the project, their skills pass to the project owner with content kept.

Common issues

SymptomCauseAction
A skill is missing when typing /Its usage scope excludes the current context, or it is neither yours nor attached to the current agentChange the usage scope, or attach the skill to the agent
“The selected skill is no longer available”The skill was deleted, detached, or its scope changedChoose a skill again
“Polish in chat” is unavailableThe skill is not attached to any agentAttach it to an agent first
A skill is missing from the agent's “Add” listIt is already added, or the skill and agent belong to different membersCreate a copy from a template owned by the agent's owner
The answer ignores an attached skillThe description does not say when to use it, or the question does not matchRewrite the description, or choose the skill manually with /
“Extract skill” is unavailableThe conversation is not bound to an agentUse a conversation bound to an agent