Task summarization

From Happy-Technologies-LLC/happy-platform-skills · View interactive version

Task summarization is an AI agent skill from the GitHub repository Happy-Technologies-LLC/happy-platform-skills. Generate concise task summaries with status, timeline, blockers, SLA risk, and recommended next actions

How to use this skill

Skill file

Task Summarization

Overview

This skill produces consistent task summaries for handoff, approvals, and management reviews in ServiceNow®. Each summary includes:

Use this when teams need fast context transfer without reading full activity streams.

Prerequisites

Procedure

Step 1: Read Core Task Context

Retrieve the primary task fields required for summary framing.

Using MCP:

Tool: SN-Get-Record
Parameters:
  table_name: task
  sys_id: [task_sys_id]
  fields: number,short_description,state,priority,assignment_group,assigned_to,opened_at,due_date,sys_updated_on

Step 2: Pull Recent Activity and Work Notes

Collect the latest journal updates to build an accurate timeline.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: sys_journal_field
  query: name=task^element_id=[task_sys_id]^ORDERBYDESCsys_created_on
  fields: element,value,sys_created_on,sys_created_by
  limit: 30

Step 3: Evaluate SLA Risk

Determine if the task is at risk of breach or already breached.

Using MCP:

Tool: SN-Query-Table
Parameters:
  table_name: task_sla
  query: task=[task_sys_id]^stage=in_progress
  fields: sla,planned_end_time,business_percentage,has_breached
  limit: 10

Decision points:

Step 4: Generate Audience-Specific Summary

Tailor summary depth by audience:

Step 5: Save Summary to Work Notes

Store output where downstream stakeholders can reuse it.

Using MCP:

Tool: SN-Add-Work-Notes
Parameters:
  table_name: task
  sys_id: [task_sys_id]
  work_notes: |
    TASK SUMMARY
    - Status:
    - Latest update:
    - SLA risk:
    - Blockers:
    - Next action:

Tool Usage

| Tool | Purpose |

|---|---|

| SN-Get-Record | Get canonical task context |

| SN-Query-Table | Retrieve journals and SLA details |

| SN-Execute-Background-Script | Build aggregated timelines for complex tasks |

| SN-Add-Work-Notes | Persist summary in task history |

Best Practices

Troubleshooting

Summary Misses Critical Context

Symptom: Key issue details are absent from the generated summary.

Cause: Journal query window is too short or excludes relevant elements.

Solution: Increase journal limit and include both comments and work notes.

Conflicting Status Signals

Symptom: Task state and SLA risk appear contradictory.

Cause: State updated without corresponding SLA recalculation yet.

Solution: Re-query task_sla and compare with latest task update timestamp.

Related Skills

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.