返回顶部
a

aliyun-ai-guardrail阿里云AI护栏

Install and configure the Alibaba Cloud AI guardrail openclaw hook, which intercepts malicious content in LLM requests using Alibaba Cloud AI Guardrail service. Trigger when user mentions 'install aliyun ai guardrail', 'aliyun ai guardrail', 'aliyun-ai-guardrail', 'Aliyun AI Guardrail hook', or needs to set up AI security detection for openclaw.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
180
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

aliyun-ai-guardrail

阿里云AI安全护栏

基于阿里云AI安全护栏的Openclaw钩子,用于拦截大语言模型请求并检测恶意内容。

安装指南

第一步:安装钩子

将捆绑的钩子目录复制到临时位置并进行安装:

bash
TMPDIR=$(mktemp -d)
cp -r assetsdir>/aliyun-ai-guardrail $TMPDIR/aliyun-ai-guardrail
cd $TMPDIR/aliyun-ai-guardrail && npm install
openclaw hooks install $TMPDIR/aliyun-ai-guardrail

请将 assetsdir> 替换为本技能 assets/ 目录的绝对路径。

第二步:向用户索取AKSK

请用户提供其阿里云AccessKey ID和AccessKey Secret。调用阿里云AI安全护栏API时需要这些信息。

第三步:配置环境变量

获取AKSK后,编辑用户的 openclaw.json 文件(通常位于 ~/.openclaw.json 或项目根目录),添加环境变量:

json
{
env: {
ALIBABACLOUDACCESSKEYID: <用户提供的AK>,
ALIBABACLOUDACCESSKEYSECRET: <用户提供的SK>
}
}

如果 openclaw.json 中已有其他配置,请合并新条目,不要覆盖现有内容。

第四步:完成配置

告知用户安全护栏已配置完成。提醒用户重启网关。该钩子将在openclaw代理启动时自动加载,并拦截包含恶意内容的大语言模型请求。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aliyun-ai-guardrail-1776203704 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aliyun-ai-guardrail-1776203704 技能

通过命令行安装

skillhub install aliyun-ai-guardrail-1776203704

下载

⬇ 下载 aliyun-ai-guardrail v1.0.0(免费)

文件大小: 6.05 KB | 发布时间: 2026-4-17 14:03

v1.0.0 最新 2026-4-17 14:03
- Initial release of the Aliyun AI Guardrail openclaw hook.
- Enables LLM request interception and malicious content detection using Alibaba Cloud AI Guardrail.
- Provides step-by-step installation and configuration instructions.
- Prompts for Alibaba Cloud AccessKey credentials and explains environment variable setup.
- Guides users to update configuration and restart openclaw Gateway for activation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部