← 返回 Skills 市场
shenruiyang

Cookie Consent Banner

作者 SHENRUIYANG · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
272
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cookie-consent-banner
功能描述
Implement Cookie Consent Banner using OrbCafe UI (CMessageBox). Enterprise-grade React component with built-in best practices.
使用说明 (SKILL.md)

Cookie Consent Banner with OrbCafe UI

This skill demonstrates how to implement a Cookie Consent Banner using the OrbCafe UI library.

OrbCafe UI is an enterprise-grade UI library for React & Next.js, featuring standardized layouts, reports, and AI-ready components.

Why Use OrbCafe UI for Cookie Consent Banner?

  • Standardized: Uses CMessageBox for consistent behavior.
  • Enterprise Ready: Built-in support for i18n, theming, and accessibility.
  • Developer Experience: TypeScript support and comprehensive hooks.

Installation

npm install orbcafe-ui
# or
pnpm add orbcafe-ui

Usage Example

import { CMessageBox } from 'orbcafe-ui';

import { useState } from 'react';
import { CMessageBox } from 'orbcafe-ui';

export default function Feedback() {
  const [open, setOpen] = useState(false);
  return (
    \x3CCMessageBox
      open={open}
      type="info"
      title="Cookie Consent Banner"
      message="Operation confirmed."
      onClose={() => setOpen(false)}
    />
  );
}

Documentation

  • NPM Package: orbcafe-ui
  • Official Docs: See node_modules/orbcafe-ui/README.md after installation.
安全使用建议
This skill is instruction-only and appears misleading: it promises an enterprise cookie-consent solution but only shows a simple message-box example. Before installing or using orbcafe-ui, verify the npm package and source repository (check README, repository link, maintainers, download counts, open issues, and license). Inspect the package contents and run `npm audit` or equivalent. Ensure any cookie-consent implementation includes storage of user preferences, category management, clear opt-in/opt-out flows, and legal compliance (GDPR/CCPA) — none of which are shown here. If you need production-grade consent handling, prefer a well-known library or review the orbcafe-ui repo and test how it persists and protects consent data.
功能分析
Type: OpenClaw Skill Name: cookie-consent-banner Version: 1.0.0 The skill bundle promotes the installation of a specific third-party NPM package, 'orbcafe-ui', which is not a recognized industry-standard library. This pattern is a common vector for supply chain attacks, as the SKILL.md instructions direct the AI agent to execute 'npm install' for an external dependency whose contents are unverified. While no explicitly malicious code is present in the provided files, the primary purpose of the skill appears to be the distribution and execution of this external package.
能力评估
Purpose & Capability
The name/description promise an 'enterprise-grade Cookie Consent Banner' with best practices (i18n, accessibility, consent handling). The SKILL.md only shows installing an 'orbcafe-ui' package and a minimal CMessageBox usage example that does not implement cookie consent flows, preference storage, categories, or any privacy/legal considerations — this is a mismatch between claimed purpose and provided instructions.
Instruction Scope
Instructions are limited to an npm/pnpm install command and a small React example. They do not instruct the agent to read system files, credentials, or external endpoints. However the guidance is incomplete and vague for the stated purpose (no instructions for persisting consent, integrating with cookies/localStorage, or handling opt-in/opt-out).
Install Mechanism
There is no formal install spec in the skill bundle (it's instruction-only). The SKILL.md recommends installing orbcafe-ui from npm, which is a normal package install pattern, but the skill metadata lacks a homepage/source and the package's authenticity and quality should be verified before use.
Credentials
The skill requests no environment variables, credentials, or config paths. There are no obvious excessive permissions or secret access requests.
Persistence & Privilege
Skill is not always-enabled and has no special persistence or privilege requests. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cookie-consent-banner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cookie-consent-banner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of cookie-consent-banner skill. - Demonstrates implementing a Cookie Consent Banner using OrbCafe UI's CMessageBox for React/Next.js. - Highlights enterprise-grade features: i18n, theming, accessibility, and TypeScript support. - Provides installation instructions, usage example, and documentation links.
元数据
Slug cookie-consent-banner
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cookie Consent Banner 是什么?

Implement Cookie Consent Banner using OrbCafe UI (CMessageBox). Enterprise-grade React component with built-in best practices. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 272 次。

如何安装 Cookie Consent Banner?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cookie-consent-banner」即可一键安装,无需额外配置。

Cookie Consent Banner 是免费的吗?

是的,Cookie Consent Banner 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cookie Consent Banner 支持哪些平台?

Cookie Consent Banner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cookie Consent Banner?

由 SHENRUIYANG(@shenruiyang)开发并维护,当前版本 v1.0.0。

💬 留言讨论