hyeonsangjeon

Amazon Bedrock Guardrails Toolkit — AI skill for Claude Code

AI community

Amazon Bedrock Guardrails Toolkit - A Python toolkit for creating and validating AI guardrails tailored to various user roles.

How to install Amazon Bedrock Guardrails Toolkit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hyeonsangjeon/Amazon-Bedrock-Guardrails-Toolkit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Amazon Bedrock Guardrails Toolkit does

Amazon Bedrock Guardrails Toolkit - A Python toolkit for creating and validating AI guardrails tailored to various user roles. Define customized safety policies using JSON-based configurations, and verify guardrail effectiveness through systematic testing. Compatible with Claude and other Bedrock models.

Alternatives in AI

  • Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★
  • Define — Definition phase - Clarify and scope problems with multi-AI consensus 2.8k ★
  • LiveAgent — A fully functional AI Agent desktop client that supports Webui access and can be creatively customized and exp 1.9k ★

README

Amazon Bedrock Guardrails Toolkit

[English](https://github.com/hyeonsangjeon/Amazon-Bedrock-Guardrails-Toolkit/blob/main/README.md) | [한국어](https://github.com/hyeonsangjeon/Amazon-Bedrock-Guardrails-Toolkit/blob/main/docs/README_ko-KR.md)

A toolkit for creating and managing AI guardrails tailored to various user roles. You can define safety policies for different user roles and systematically test them through JSON-based configuration files.

Table of Contents

Overview

This is a toolkit that allows you to control and safely manage AI responses using Amazon Bedrock Guardrails. You can create guardrails for various roles through a JSON configuration file and validate their effectiveness with systematic testing tools.

The toolkit consists of two main components:

  1. Guardrail Creation Module (guardrails.py): Creates guardrails for user roles based on configuration files.
  2. Guardrail Validation Module (guardrail_validator.py): Tests whether the created guardrails work as expected.

![Amazon Bedrock Guardrails Toolkit Architecture](https://github.com/hyeonsangjeon/Amazon-Bedrock-Guardrails-Toolkit/blob/main/docs/diagram.png?raw=true)

Features

Guardrail Creation Features

  • Guardrail creation based on JSON configuration files
  • Customizable harmful content filter levels (NONE/LOW/MEDIUM/HIGH)
  • Prompt attack prevention settings
  • Custom topic restriction