aiml-access-diagnostics

aiml-access-diagnostics is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 229 tokens per session (4,398 once invoked), scanned A, original, Apache-2.0.

A read-only guide for finding why an Amazon Bedrock or SageMaker request was denied. It follows the chain of identities, roles, permissions, and account-level rules that control access.

In plain words
What is it for?
Use it to investigate failed Bedrock or SageMaker calls and draft a narrowly scoped IAM policy for a person to review.
Why use it?
It helps distinguish the exact authorization rule that blocked a request from other possible service problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate failed Bedrock or SageMaker calls and draft a narrowly scoped IAM policy for a person to review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/aiml-access-diagnostics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws/tools-for-devops-agent --skill aiml-access-diagnostics
Clone the repo
git clone --depth 1 https://github.com/aws/tools-for-devops-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aiml-access-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/aiml-access-diagnostics/github.svg)](https://agentmods.dev/skills/aws/tools-for-devops-agent/aiml-access-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/aiml-access-diagnostics"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/aiml-access-diagnostics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aiml-access-diagnostics

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/aiml-access-diagnostics"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/aiml-access-diagnostics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 229 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00229 $0.04398
Opus 5 $0.00114 $0.02199
Sonnet 5 $0.00046 $0.00880
Haiku 4.5 $0.00023 $0.00440

Measured 7d ago against content hash fc7ad81dada0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aiml-access-diagnostics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aiml-access-diagnostics/SKILL.md · 314 lines

How it starts

The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI/ML Access Diagnostics

Diagnose why an AI/ML service call was denied. Walk the authorization chain hop by hop, name the hop that denied the call, and propose a scoped IAM policy for human review. Read-only throughout.

Checklist

Work through these steps in order. Each is detailed in its own section below.

  • Step 1 — Classify the request: confirm the service is Bedrock or SageMaker, and that there is an observed failure (not a speculative audit). Stop otherwise.
  • Step 2 — Establish identity and scope: record the agent's own identity, extract the principal/action/resource ARNs, and flag cross-account.
  • Step 3 — Collect evidence, policy reads first: read the chain's policy documents by hand; use CloudTrail and simulation only as corroboration.
  • Step 4 — Walk the chain: traverse the six hops in precedence order; do not stop at hop 1 just because it passed.
  • Step 5 — Apply service-specific knowledge: rule out non-IAM denial causes for the service explicitly.
  • Step 6 — Assign verdicts: give every hop exactly one token from the closed verdict set.
  • Step 7 — Propose a policy: derive a scoped policy for human review; keep observed and commonly-required permissions labelled separately.
  • Step 8 — Deliver the report: render per the report format, run the pre-render validation, then deliver.

Output Discipline

The report is the deliverable. Conversation around it is not.

  • Do not narrate API calls. No per-call summaries, no interim results, no raw response extracts. A full diagnosis makes many reads; announcing each one buries the finding.
  • Do not narrate plans or reasoning. No "Let me check...", "I'll now look at...", "Given the chain, I should...". Execute the step and move on.
  • Do not echo raw API responses. Process them silently. Policy documents in particular are long, and pasting them displaces the diagnosis.
  • Keep interstitial messages to one line. Speak between steps only at real milestones: starting, asking the user something, delivering, or erroring.
  • Do not summarize after delivering. The report already contains the summary; restating it invites a shortened paraphrase to be read instead of the report.
  • Never assess your own performance. Do not append a paragraph saying the diagnosis worked, was correct, handled a hard case, or caught something subtle. The reader evaluates the report; the report does not evaluate itself. Self-congratulation also lends unearned confidence to findings whose limitations the report has just carefully enumerated.
  • Nothing follows the report except, at most, a single line offering a next action — saving an artifact, or running another failure. No recap, no restatement of the root cause, no commentary on the diagnosis.

Read the full file on GitHub · 314 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 314 lines · 229 tokens per session scan A fc7ad81dada0

Subscribe to this mod's changes

aiml-access-diagnostics is a skill published in the GitHub repository aws/tools-for-devops-agent (50 stars, last pushed today), licensed Apache-2.0. It adds 229 tokens to every session and 4,398 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

hyperpod-node-debugger

Diagnose and remediate per-node issues on a HyperPod cluster (EKS or Slurm) — a specific node is unhealthy, unresponsive, stuck, or needs replacing. Covers on-node EFA, GPU / accelerator hardware (XID, ECC, NVLink, row-remap, DCGM), Slurm node down/drained, disk and memory pressure, per-node lifecycle-script failures…

awslabs/agent-plugins · 139 tokens

hyperpod-performance-debugger

Diagnose performance issues on Amazon SageMaker HyperPod clusters — uneven NCCL bandwidth across nodes and poor filesystem throughput. Read-only. Surfaces host-side signals (Xid, ECC, NVLink, EFA reachability, FSx saturation) and routes to the appropriate sibling skill (hyperpod-node-debugger, hyperpod-nccl…

awslabs/agent-plugins · 133 tokens

hyperpod-cluster-debugger

Diagnose and remediate cluster-wide HyperPod (EKS or Slurm) problems — creation / deployment failures (CloudFormation, EFA health check, lifecycle scripts, capacity), EKS access, node replacement, CloudFormation nested-stack errors, post-maintenance rollback state, dangling nodes, autoscaler conflicts. Includes…

awslabs/agent-plugins · 80 tokens

hyperpod-nccl

Diagnose NCCL failures and adjacent training-pod failures on HyperPod GPU clusters (EKS or Slurm) — training hangs, AllReduce / collective-op timeouts, EFA or libfabric errors, rendezvous failures, EFA TCP fallback, /dev/shm or memlock issues, NCCL version mismatch across pods, container OOM / exit-137 / OOMKilled…

awslabs/agent-plugins · 150 tokens

hyperpod-slurm-debugger

Diagnostic-only skill for Slurm scheduler and node-daemon issues on Amazon SageMaker HyperPod Slurm clusters. Scope mirrors the HyperPod troubleshooting guide. Invoke when the user reports a Slurm node stuck in down/drain, "Node unexpectedly rebooted" after auto-repair, slurmd not running, jobs stuck PENDING with…

awslabs/agent-plugins · 162 tokens

hyperpod-issue-report

Generate comprehensive issue reports from HyperPod clusters (EKS and Slurm) by collecting diagnostic logs and configurations for troubleshooting and AWS Support cases. Use when users need to collect diagnostics from HyperPod cluster nodes, generate issue reports for AWS Support, investigate node failures or…

awslabs/agent-plugins · 99 tokens