AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT-0 Self-run

Connect Analytics Diagnostics

skill-aws-samples-sample-ai-agent-skills-connect-analytics-troubleshooting · by aws-samples

>

— No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-aws-samples-sample-ai-agent-skills-connect-analytics-troubleshooting

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-aws-samples-sample-ai-agent-skills-connect-analytics-troubleshooting)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Connect Analytics Diagnostics? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Amazon Connect Contact Lens & Wisdom Diagnostics

When to use

Any Amazon Connect Contact Lens or Wisdom investigation — Contact Lens enablement, real-time analytics, sentiment analysis, transcription, category rules, custom vocabulary, Wisdom knowledge bases, search, evaluation forms, screen recording, data lake export, or S3 output configuration.

Investigation workflow

Step 1 — Collect and triage

aws connect list-instances --query 'InstanceSummaryList[*].{Id:Id,Arn:Arn,InstanceAlias:InstanceAlias,InstanceStatus:InstanceStatus}'
aws connect list-contact-flow-modules --instance-id 
aws connect describe-instance --instance-id  --query '{InstanceId:Instance.Id,ContactLensEnabled:Instance.StatusReason}'

Step 2 — Domain deep dive

aws connect describe-contact --instance-id  --contact-id 
aws connect list-realtime-contact-analysis-segments-v2 --instance-id  --contact-id  --output-type Raw --segment-types Transcript Categories
aws wisdom list-knowledge-bases

Step 3 — Detailed investigation

aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=connect.amazonaws.com --max-results 20
aws connect list-rules --instance-id  --publish-status PUBLISHED
aws s3 ls s3:///connect//ContactLens/

Read references/guardrails.md before concluding on any Contact Lens or Wisdom issue.

Tool quick reference

| Tool / API | When to use | |------------|-------------| | connect describe-instance | Get instance details and feature status | | connect describe-contact | Get contact details including analytics | | connect list-realtime-contact-analysis-segments-v2 | Get real-time transcript and categories | | connect list-rules | List Contact Lens rules | | wisdom list-knowledge-bases | List Wisdom knowledge bases | | wisdom search-content | Search Wisdom knowledge base content | | connect list-evaluation-forms | List evaluation forms |

Gotchas: Amazon Connect Contact Lens & Wisdom

  • Contact Lens must be enabled at the instance level AND in the contact flow. Both are required — enabling one without the other produces no analytics.
  • Real-time analytics are available ONLY during active calls. Post-contact analytics are available after the call ends and processing completes (typically 5-15 minutes).
  • Sentiment analysis provides per-turn and overall sentiment scores. Scores range from -5 (most negative) to +5 (most positive). Neutral is around 0.
  • Transcription accuracy depends on audio quality, language, accents, and background noise. Custom vocabulary can improve accuracy for domain-specific terms.
  • Category rules use pattern matching on transcripts. Rules are evaluated post-contact unless configured for real-time. Real-time rules have latency.
  • Wisdom knowledge bases ingest content from S3, ServiceNow, Salesforce, or other connectors. Content must be indexed before it is searchable.
  • Screen recording requires agent desktop configuration and storage in S3. It is separate from call recording and has its own storage and retention settings.

Anti-hallucination rules

  1. Always cite specific instance IDs, contact IDs, or API responses as evidence.
  2. Contact Lens requires BOTH instance-level enablement AND contact flow configuration. Never suggest one alone is sufficient.
  3. Real-time analytics are only available during active calls. Never suggest accessing real-time data for completed contacts.
  4. Wisdom and Contact Lens are separate features. Never conflate knowledge base search with sentiment analysis.
  5. Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.

14 runbooks

| Category | IDs | Covers | |----------|-----|--------| | A — Enablement | A1–A2 | Contact Lens enablement, real-time analytics errors | | B — Analysis | B1–B2 | Sentiment analysis issues, transcript generation failures | | C — Rules | C1–C2 | Category rule errors, custom vocabulary issues | | D — Wisdom | D1–D2 | Knowledge base errors, search failures | | E — Quality | E1–E2 | Evaluation form issues, screen recording errors | | F — Export | F1–F2 | Data lake export, S3 output configuration | | G — Integration | G1 | Third-party integration | | Z — Catch-All | Z1 | General troubleshooting |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.