闲社服务运行正常AI智能体自动化平台
a

阿里云AI护栏

技能标识:aliyun-ai-guardrail

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
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

阿里云AI护栏

阿里云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.
返回顶部