Install
$ agentstack add skill-aws-samples-sample-ai-agent-skills-braket-troubleshooting ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →About
Amazon Braket Diagnostics
When to use
Any Amazon Braket investigation — quantum task failures, task timeouts, simulator errors, hardware device issues, circuit validation, hybrid job failures, notebook instance problems, SDK errors, cost management, device availability, or result retrieval.
Investigation workflow
Step 1 — Collect and triage
aws braket search-quantum-tasks --filters '[{"name":"status","operator":"EQUAL","values":["FAILED"]}]'
aws braket search-devices --filters '[{"name":"deviceType","operator":"EQUAL","values":["QPU"]}]'
aws braket get-quantum-task --quantum-task-arn
Step 2 — Domain deep dive
aws braket get-device --device-arn
aws braket search-jobs --filters '[{"name":"status","operator":"EQUAL","values":["FAILED"]}]'
aws s3 ls s3:///tasks//
Step 3 — Detailed investigation
aws cloudwatch get-metric-statistics --namespace "AWS/Braket" --metric-name "TasksCompleted" --dimensions Name=DeviceArn,Value= --start-time --end-time --period 3600 --statistics Sum
aws logs filter-log-events --log-group-name /aws/braket/jobs/ --limit 50
aws braket get-job --job-arn
Read references/guardrails.md before concluding on any Braket issue.
Tool quick reference
| Tool / API | When to use | |------------|-------------| | braket search-quantum-tasks | List quantum tasks with filters | | braket get-quantum-task | Get task details and results | | braket search-devices | List available devices | | braket get-device | Get device capabilities and status | | braket search-jobs | List hybrid jobs | | braket get-job | Get hybrid job details | | braket cancel-quantum-task | Cancel a running task |
Gotchas: Amazon Braket
- Quantum tasks on QPU devices are queued and may take hours depending on device availability windows. Simulators are on-demand.
- Each QPU device has specific availability windows. Tasks submitted outside windows queue until the next window opens.
- Braket results are stored in S3. If the output bucket is misconfigured or permissions are wrong, tasks succeed but results are inaccessible.
- Simulator costs are per-minute of simulation time. QPU costs are per-task plus per-shot. Costs vary dramatically between devices.
- Hybrid jobs run on classical compute (ml.m5.xlarge default) plus quantum device access. Both incur separate charges.
- Circuit depth and qubit count limits vary by device. A circuit valid on one device may fail on another.
- The Braket SDK (amazon-braket-sdk) version must be compatible with the service. Outdated SDKs may produce unexpected errors.
Anti-hallucination rules
- Always cite specific quantum task ARNs, device ARNs, or API responses as evidence.
- QPU and simulator devices have fundamentally different behavior, pricing, and availability. Never conflate them.
- Device availability windows change frequently. Never state specific availability times without checking.
- Braket does NOT provide error correction. Never claim quantum error correction is built in.
- Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.
12 runbooks
| Category | IDs | Covers | |----------|-----|--------| | A — Quantum Tasks | A1–A2 | Task failures, task timeouts | | B — Devices | B1–B2 | Simulator errors, hardware device issues | | C — Circuits | C1–C2 | Circuit validation, hybrid job failures | | D — Environment | D1–D2 | Notebook instance issues, SDK errors | | E — Operations | E1–E2 | Cost management, device availability | | F — Results | F1 | Result retrieval | | 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.
- Author: aws-samples
- Source: aws-samples/sample-ai-agent-skills
- License: MIT-0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.