openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > context-not-control

Enable "Context, not Control" workflow - clarify requirements through multi-turn dialogue, reduce rework, and execute with appropriate permission levels. Use...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 1 · 183 · 0 current installs · 0 all-time installs

1

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:843645440/context-not-control

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's files, runtime instructions, and requested resources are consistent with its stated purpose (a context-and-permission workflow); it reads/writes project config files but does not request credentials or perform network/exfiltration operations.

目的

Name/description match the provided artifacts: SKILL.md + scripts implement a context-and-permission workflow (init, permission checks, update, clarification). No unrelated environment variables, binaries, or external services are required.

说明范围

Runtime instructions focus on clarifying requirements and managing PROJECT.md / PERMISSION_CONFIG.yaml. The README encourages AI autonomy (installing/deploying/etc.) under 'Master' mode, which is a policy choice rather than code behavior — the shipped scripts themselves only read/write files and check permission rules. Note: scripts search parent directories for .git and for PERMISSION_CONFIG.yaml (may access configs higher in the filesystem) …

安装机制

No install spec; this is instruction + small utility scripts. Nothing is downloaded or extracted. The only runtime dependency of note is PyYAML (permission_check.py imports 'yaml') which is not declared in SKILL.md.

证书

The skill declares no required environment variables, credentials, or config paths beyond creating/reading PROJECT.md and PERMISSION_CONFIG.yaml. There are no requests for unrelated secrets or cloud credentials.

持久

always:false and user-invocable (normal). The skill writes/updates files in the workspace (PROJECT.md, PERMISSION_CONFIG.yaml) which is expected for this purpose; it does not modify other skills or system-wide agent settings.

综合结论

This skill appears coherent and implements the described 'context and permission' workflow. Before installing/running: 1) Inspect PERMISSION_CONFIG.yaml and set conservative defaults (start at Level 2 or 3). 2) Be aware the scripts will create/append PROJECT.md and PERMISSION_CONFIG.yaml in the workspace root and may detect configs in parent directories — run them from a directory you control. 3) Ensure PyYAML is available (permission_check.py…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「context-not-control」。简介:Enable "Context, not Control" workflow - clarify requirements through multi-tur…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/843645440/context-not-control/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: context-not-control
description: Enable "Context, not Control" workflow - clarify requirements through multi-turn dialogue, reduce rework, and execute with appropriate permission levels. Use when users want AI to take more autonomy, need help clarifying vague requirements, or want to establish trust-based collaboration patterns. Supports three permission levels (Master/Collaborative/Assistant) and automatic context management.
---

# Context, not Control

A skill that transforms how you work with AI - from micromanaging every step to providing context and letting AI make decisions. Inspired by the "Context, not Control" philosophy from the OpenClaw community.

## Core Philosophy

**Traditional approach**: You tell AI exactly what to do, step by step.  
**This approach**: You tell AI what you want to achieve, AI figures out how.

The key insight: AI works best when you give it rich context about your goals, constraints, and preferences - then trust it to execute within appropriate boundaries.

## When to Use This Skill

- Starting a new project with vague requirements
- Want to reduce back-and-forth and rework
- Need AI to take more initiative and make decisions
- Want to establish clear permission boundaries
- Transitioning from "micromanaging AI" to "trusting AI"

## Quick Start

### 1. Initialize Your Context

Run the initialization script to set up your project context and permission level:

```bash
python scripts/init_context.py
```

This creates:
- `PROJECT.md` - Your project context (goals, constraints, preferences)
- `PERMISSION_CONFIG.yaml` - Your permission boundaries

### 2. Set Your Permission Level

Choose one of three levels:

**Level 1 - Master Mode** (Full autonomy)
- AI makes all technical decisions
- Only confirms: spending money, public messages, deleting databases
- Best for: High trust, high risk tolerance

**Level 2 - Collaborative Mode** (Balanced, recommended)
- AI executes most tasks autonomously
- Confirms: money, public messages, important deletions, system changes
- Best for: Most users, balanced control

**Level 3 - Assistant Mode** (High control)
- AI provides suggestions and code
- Confirms: All operations before execution
- Best for: New users, low risk tolerance, learning mode

### 3. Start with Requirements

Instead of detailed specifications, start with what you want:

```
"I need a team chat tool"
```

AI will ask clarifying questions:
- Who is this for?
- What's the core use case?
- Any similar products to reference?
- Technical constraints?
- Time/budget limits?

### 4. Iterate and Execute

AI clarifies → You answer → AI confirms understanding → You approve → AI executes

All clarified requirements are saved to `PROJECT.md` for future reference.

## How It Works

### Requirement Clarification Framework

When you provide a vague requirement, AI uses a structured approach:

1. **Understand the domain** - What type of project is this?
2. **Identify the user** - Who will use this?
3. **Clarify the goal** - What problem does this solve?
4. **Establish constraints** - Technical, time, budget limits?
5. **Set success criteria** - What does "done" look like?
6. **Confirm understanding** - Repeat back what you heard

See `references/clarification-framework.md` for detailed question templates.

### Permission System

The skill automatically checks permissions before executing operations:

```python
# Example: AI wants to delete a file
if permission_check('delete_file', user_permission_level):
    # Ask user for confirmation
else:
    # Execute directly
```

Customize your red/yellow/green lines in `PERMISSION_CONFIG.yaml`.

### Context Management

All clarified requirements are automatically saved to `PROJECT.md`:

- Project goals and constraints
- Technical stack decisions
- Success criteria
- Permission level
- Iteration history

This context is loaded in future conversations, eliminating repeated questions.

## Permission Levels in Detail

### Level 1: Master Mode

**Philosophy**: Maximum autonomy, minimum interruption

**AI can do without asking**:
- Write, test, and deploy code
- Install dependencies and tools
- Modify configurations
- Create/update files
- Make architectural decisions
- Research and learn new technologies

**AI must confirm**:
- Spending money (API calls, services, domains)
- Sending public messages (emails, tweets, posts)
- Deleting databases or critical data
- Restarting production services

**Best for**: Experienced users who trust AI and can handle mistakes

### Level 2: Collaborative Mode (Default)

**Philosophy**: Trust but verify on important operations

**AI can do without asking**:
- Write and test code
- Create/update files
- Research and documentation
- Install development dependencies
- Run tests and checks

**AI must confirm**:
- Spending money
- Sending any external messages
- Deleting important files/data
- Modifying system configurations
- Restarting services
- Installing system-level packages

**Best for**: Most users, balanced approach

### Level 3: Assistant Mode

**Philosophy**: AI suggests, you decide

**AI can do without asking**:
- Provide suggestions and explanations
- Show code examples
- Research information

**AI must confirm**:
- All file operations
- All code execution
- All installations
- All external calls

**Best for**: New users, learning mode, high-stakes environments

## Examples

See `references/examples.md` for detailed examples including:
- Building a chat application from vague requirements
- Migrating a legacy system with unclear scope
- Creating automation tools with evolving needs

See `assets/EXAMPLE_DIALOG.md` for sample conversations.

## Customization

### Custom Permission Rules

Edit `PERMISSION_CONFIG.yaml` to define your own boundaries:

```yaml
permission_level: 2

custom_red_lines:
  - deploy_to_production
  - modify_database_schema
  - send_customer_emails

custom_yellow_lines:
  - install_npm_packages
  - modify_env_files

# Everything else is green (no confirmation needed)
```

### Project Templates

Create custom templates in `assets/` for recurring project types:
- `PROJECT_TEMPLATE_WEBAPP.md`
- `PROJECT_TEMPLATE_API.md`
- `PROJECT_TEMPLATE_AUTOMATION.md`

## Troubleshooting

See `references/troubleshooting.md` for common issues:
- AI asking too many questions
- AI not asking enough questions
- Permission checks too restrictive/loose
- Context not being saved properly

## Scripts Reference

### `init_context.py`
Initialize project context and permission config

```bash
python scripts/init_context.py [--project-name NAME] [--permission-level 1|2|3]
```

### `clarify_requirement.py`
Run requirement clarification dialogue

```bash
python scripts/clarify_requirement.py "I need a chat app"
```

### `permission_check.py`
Check if an operation requires confirmation

```bash
python scripts/permission_check.py --action delete_file --level 2
```

### `update_context.py`
Update project context with new information

```bash
python scripts/update_context.py --add-goal "Support 1000 concurrent users"
```

## Philosophy: Three Modes of AI Usage

### Mode 1: Paintbrush (Micromanagement)
- You specify every detail
- AI is a tool that executes exactly what you say
- Upper limit: Your expertise

### Mode 2: Employee (Delegation)
- You assign tasks with some guidance
- AI follows your preferred patterns
- Still requires oversight

### Mode 3: Master (Autonomy)
- You set goals and constraints
- AI makes decisions and executes
- You review outcomes, not process

This skill helps you transition from Mode 1 → Mode 3 at your own pace.

## Credits

Inspired by the "Context, not Control" philosophy discussed in the OpenClaw community, particularly the experiences shared by contributors who achieved remarkable results by trusting AI with more autonomy.

## Version

1.0.0 - Initial release