context-not-control

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.

3,891 stars

Best use case

context-not-control is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using context-not-control should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/context-not-control/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/843645440/context-not-control/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/context-not-control/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How context-not-control Compares

Feature / Agentcontext-not-controlStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

Related Skills

Pest Control Operations Agent

3891
from openclaw/skills

You are an expert pest control business operations advisor. Help operators with licensing, EPA/FIFRA compliance, pricing, route optimization, seasonal planning, technician management, and growth strategy.

Business Management

MCP Engineering — Complete Model Context Protocol System

3891
from openclaw/skills

Build, integrate, secure, and scale MCP servers and clients. From first server to production multi-tool architecture.

AI Infrastructure & Integrations

Export Compliance & Trade Controls

3891
from openclaw/skills

Analyze products, destinations, and end-users against US export control regulations (EAR, ITAR, OFAC sanctions). Generate classification recommendations, license requirements, and compliance checklists.

Regulatory Compliance

ecovacs-robot-control

3891
from openclaw/skills

Control Ecovacs/DEEBOT robot vacuums via the Ecovacs IoT API. Use when the user wants to control a robot vacuum, check battery, start/stop/pause cleaning, return to dock, check clean status, set suction/water level, manage schedules, check consumables, or control auto-empty station. Covers all mainstream Ecovacs protocols including clean_V2, charge, getBattery, getCleanInfo_V2, getStats, getSpeed/setSpeed, getWaterInfo/setWaterInfo, getWorkMode/setWorkMode, getLifeSpan, getAutoEmpty/setAutoEmpty, getCachedMapInfo, getMapSet, getSched_V2/setSched_V2.

Smart Home & IoT

opencode-acp-control

3891
from openclaw/skills

Control OpenCode directly via the Agent Client Protocol (ACP). Start sessions, send prompts, resume conversations, and manage OpenCode updates.

clawphone-wechat-control

3891
from openclaw/skills

处理微信会话列表、进入聊天、发送消息、处理微信内弹窗与聊天页失败排查。适用于用户要求查看微信消息、回复联系人、转发、处理聊天输入框或发送失败时。执行时必须先确认当前在微信的哪个页面,再按聊天场景一步一验。

clawphone-phone-control

3891
from openclaw/skills

使用手机控制 MCP 完成手机界面感知与操作。适用于读取当前手机状态、打开 App、处理弹窗、点击控件、输入文本、排查手机自动化失败等场景。执行时优先读取界面状态,涉及坐标点击时必须基于当前截图临时判定,禁止把历史坐标当成通用规则。

context-handoff

3891
from openclaw/skills

保存和恢复聊天上下文到本地文件。用于用户想在切换账号、清空 session、重新开会话、跨会话延续项目时,把当前会话级上下文或项目级摘要落盘并在之后恢复。也用于列出已有的会话上下文槽位或项目摘要,并按更新时间排序返回最近使用项。触发词包括:保存当前上下文、保存会话摘要、保存项目摘要、记下这次讨论、切号前保存、恢复上下文、恢复项目摘要、读取上次摘要、继续上次讨论、列出上下文槽位、列出已保存摘要、有哪些项目摘要、最近更新的项目摘要、按更新时间排序、session handoff, context handoff, save session context, save current context, save chat summary, save project summary, restore context, restore session context, restore project summary, continue last discussion, resume project context, list context slots, list project summaries, list saved summaries, sort by updated time, most recently updated, recently updated summaries, chat handoff, project handoff.

desktop-control

3891
from openclaw/skills

Advanced desktop automation with mouse, keyboard, and screen control. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.

context-pruner

3891
from openclaw/skills

Intelligent context window management by summarizing and removing redundant history. Helps agents maintain high performance in long-running threads.

controld

3891
from openclaw/skills

Manage Control D DNS filtering service via API. Use for DNS profile management, device configuration, custom blocking rules, service filtering, analytics settings, and network diagnostics. Triggers when user mentions Control D, DNS filtering, DNS blocking, device DNS setup, or managing DNS profiles.

placeholder for arscontexta.org

3891
from openclaw/skills

∵ ars contexta ∴