All skills
aws avatar

/amazon-braket

@5c33e94

Runs quantum computing workflows on AWS through Amazon Braket — discovering devices (QPUs and simulators) and their availability, building gate-model circuits and analog Hamiltonian programs, submitting quantum tasks, program sets and hybrid jobs, looking up prices, and capping spend with spending limits. Applies to any request about quantum computing, quantum hardware, quantum simulation, AHS, OpenQASM, or running a quantum algorithm on AWS.

Use this Skill: https://skilld.dev/gh/aws/agent-toolkit-for-aws/amazon-braket

This session only. Nothing lands on disk.

referencesspending-limit.md

≈780 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Spending limits & Cost tracking

Spending limits

Amazon Braket spending limits provide optional per-device cost controls for quantum processing units (QPUs).

# Replace every <placeholder> with a value you looked up or the user supplied.
aws braket create-spending-limit \
    --device-arn "arn:aws:braket:<region>::device/qpu/<provider>/<device-name>" \
    --spending-limit "<amount-usd>" \
    --time-period startAt=<epoch-seconds-start>,endAt=<epoch-seconds-end>

aws braket search-spending-limits
aws braket update-spending-limit --spending-limit-arn <arn> --spending-limit "<amount-usd>"
aws braket delete-spending-limit --spending-limit-arn <arn>

Note that spending limits apply only to quantum tasks that were created during the spending limit's time period and when the spending limit already exists.

Cost tracking (Tracker)

The Braket SDK also provides near real-time cost tracking with the Tracker class. See the Getting Started notebook for an example of how to use the cost tracker.

Common mistakes

Symptom Cause Fix
Looks for a spending limit in amazon-braket-sdk Wrong layer Control-plane only — boto3 braket client, CLI, or CloudFormation
Creates one limit and expects it to cap the account A limit is scoped to one deviceArn, and so to that ARN's region Create one limit per device you want to cap
Targets a simulator Limits apply to QPU ARNs Confirm supported device types in the CreateSpendingLimit reference
Raises or deletes a limit to unblock its own task Treating the guardrail as an obstacle Report the rejection and stop; a change needs an explicit instruction — see above
Expects Tracker to stop a run at a threshold Estimate ≠ enforcement Only a spending limit rejects tasks
Reaches for qml.Tracker to count Braket shots Assuming the Braket tracker is cost-only quantum_tasks_statistics() reports per-device shots and task counts
Assumes modifying a spending limit leaves no trace Limit changes are management events CloudTrail records CreateSpendingLimit, UpdateSpendingLimit and DeleteSpendingLimit under braket.amazonaws.com — read the trail to see who changed a limit

References

Source: SKILL.md on GitHub

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides instructions for managing Amazon Braket quantum computing workflows on AWS. It adheres to security best practices by recommending least-privilege IAM policies, encouraging the use of ephemeral credentials, and providing guidance on cost-control guardrails such as spending limits.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 5c33e94. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
metadata
{
  "version": "1"
}

README badge

README badge for aws/agent-toolkit-for-aws/amazon-braket