← 返回
未分类 中文

CRUD

管理OpenClaw操作按CRUD分类,创建查询无审批,更新编辑删除需返回操作清单并二次确认。
管理OpenClaw操作按CRUD分类,创建查询无审批,更新编辑删除需返回操作清单并二次确认。
uynewnas
未分类 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 483
下载
💾 1
安装
1
版本
#latest

概述


name: crud

description: CRUD Approval Mode - Categorize OpenClaw operations by CRUD, allow Read freely, require confirmation for Create/Update/Edit/Delete

metadata:

version: 2.0.0

author: Slava Chan @UyNewNas

category: governance

tags: [approval, security, crud, workflow]


CRUD Approval Mode Skill

Categorize and manage OpenClaw operations by CRUD (Create/Read/Update/Delete) for fine-grained approval control.

Core Design Philosophy

  • Read: Fully unrestricted for maximum efficiency
  • Create + Update + Edit + Delete: Add an isolation layer, return action list for secondary confirmation

Category Definitions

Operation TypeApproval RequiredDescription
----------------------------------------------
Read❌ No approvalFile reading, search queries, directory browsing, etc.
Create✅ Requires confirmationFile creation, new skill creation, directory creation, etc.
Update/Edit✅ Requires confirmationFile modification, code editing, config updates, etc.
Delete✅ Requires confirmationFile deletion, directory deletion, skill deletion, etc.

Workflow

1. No Approval Flow (Read)

User Request → Execute Directly → Return Result

2. Approval Flow (Create/Update/Edit/Delete)

User Request → Analyze Operation → Generate Action List → User Confirmation → Execute Operation → Return Result
                            ↓
                       Display: operation type, affected files, change preview

Action List Format

When confirmation is needed, return the list in the following format:

⚠️ **Operation Confirmation** - [Operation Type]

**Scope:**
- File 1: path/to/file1
- File 2: path/to/file2

**Description:**
[Detailed description of the operation to be performed]

Please reply with one of the following to continue:
- ✅ **Confirm** - Proceed with this operation
- ❌ **Cancel** - Cancel this operation
- 🔄 **Modify** - Modify operation and re-confirm

Use Cases

  • Daily development: Quick read operations without approval restrictions
  • Critical operations: Confirmation mechanism before all write operations
  • Skill development: New skill creation requires confirmation for safety

Configuration

This skill requires no additional configuration files and is automatically injected into sessions.


References

  • OpenClaw Documentation: https://docs.openclaw.ai/

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-31 00:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

map-query

uynewnas
通过高德、百度或腾讯地图,结合地理编码与筛选条件,按地址查询附近的餐厅、商店、优惠活动及兴趣点(POI)。
★ 0 📥 555

asimov-laws

uynewnas
基于阿西莫夫机器人三定律的伦理参考框架,在AI面临伦理问题或冲突时提供哲学指导。
★ 0 📥 469

openclaw-docs-online

uynewnas
OpenClaw 官方文档查询技能 - 指导用户访问并查询 docs.openclaw.ai 官方文档
★ 0 📥 496