← Back to Skills Marketplace
shenruiyang

Cookie Consent Banner

by SHENRUIYANG · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
272
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cookie-consent-banner
Description
Implement Cookie Consent Banner using OrbCafe UI (CMessageBox). Enterprise-grade React component with built-in best practices.
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cookie-consent-banner
  3. After installation, invoke the skill by name or use /cookie-consent-banner
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug cookie-consent-banner
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cookie Consent Banner?

Implement Cookie Consent Banner using OrbCafe UI (CMessageBox). Enterprise-grade React component with built-in best practices. It is an AI Agent Skill for Claude Code / OpenClaw, with 272 downloads so far.

How do I install Cookie Consent Banner?

Run "/install cookie-consent-banner" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cookie Consent Banner free?

Yes, Cookie Consent Banner is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cookie Consent Banner support?

Cookie Consent Banner is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cookie Consent Banner?

It is built and maintained by SHENRUIYANG (@shenruiyang); the current version is v1.0.0.

💬 Comments