Skip to main content

ar-runtime-validator

Validates LLM outputs at runtime against an Amazon Bedrock Automated Reasoning (AR) guardrail and runs an iterative rewrite loop (Valid@N) to correct non-VALID answers. Calls ApplyGuardrail (or Converse) with correct qualifiers, parses the findings union, guards against the silent-skip trap, and rewrites answers using per-finding-type templates and rule context. Use this skill whenever the user wants to: - "Validate this answer with Automated Reasoning" / "call ApplyGuardrail" / "check my chatbot response" - "Set up a rewrite loop" / "make the model fix its answer until it's valid" / "Valid@N" - Parse automatedReasoningPolicy findings or integrate AR into a Converse/InvokeModel app Trigger after a guardrail is deployed (ar-guardrail-deployer), or whenever an answer needs AR validation.

Jump to install

Source facts

Repository
aws-samples/amazon-bedrock-samples
Last source activity
June 30, 2026 at 16:34
Detected SKILL.md language
English
Stars
1,500
Forks
729

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.