← 返回 Skills 市场
843645440

context-not-control

作者 843645440 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
347
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install context-not-control
功能描述
Enable "Context, not Control" workflow - clarify requirements through multi-turn dialogue, reduce rework, and execute with appropriate permission levels. Use...
使用说明 (SKILL.md)

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:

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:

# 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:

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

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

clarify_requirement.py

Run requirement clarification dialogue

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

permission_check.py

Check if an operation requires confirmation

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

update_context.py

Update project context with new information

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

安全使用建议
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 imports yaml) or run in an environment with that dependency. 4) The skill's docs describe high-autonomy behaviors (installing, deploying) as possible under 'Master' mode — those are policy choices for the agent, not automatic network actions in the shipped code; grant execution/deployment privileges only if you trust the agent. 5) If you want extra safety, run the scripts in an isolated workspace or review/adjust permission rules before allowing the agent to act autonomously.
功能分析
Type: OpenClaw Skill Name: context-not-control Version: 1.0.0 The skill bundle implements a 'Context, not Control' workflow that explicitly encourages granting the AI agent high levels of autonomy. The instructions in SKILL.md and references/permission-levels.md direct the agent to perform high-risk actions—such as writing and deploying code, installing system dependencies, and modifying configurations—without user confirmation when 'Master Mode' is enabled. While these capabilities are aligned with the stated architectural philosophy, they represent a significant security risk by removing human-in-the-loop oversight for potentially destructive operations. The accompanying Python scripts (e.g., scripts/permission_check.py and scripts/init_context.py) are functional and lack traditional malware traits, but the framework itself facilitates unverified execution.
能力评估
Purpose & Capability
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.
Instruction Scope
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) and use interactive prompts (input()), which can block in non-interactive environments.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install context-not-control
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /context-not-control 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Context-not-control 1.0.0 – initial release: - Introduces the "Context, not Control" workflow for clearer AI collaboration, emphasizing autonomy and reduced micromanagement. - Supports three permission levels (Master, Collaborative, Assistant) to match user trust and risk tolerance. - Provides structured requirement clarification via multi-turn dialogue, with all context saved for future use. - Includes automatic permission checks and context management, configurable via YAML. - Offers quick-start guides, troubleshooting, customization options, and script references for easy adoption.
元数据
Slug context-not-control
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

context-not-control 是什么?

Enable "Context, not Control" workflow - clarify requirements through multi-turn dialogue, reduce rework, and execute with appropriate permission levels. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 347 次。

如何安装 context-not-control?

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

context-not-control 是免费的吗?

是的,context-not-control 完全免费(开源免费),可自由下载、安装和使用。

context-not-control 支持哪些平台?

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

谁开发了 context-not-control?

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

💬 留言讨论