← 返回 Skills 市场
mindbomber

AANA Task Scope Guardrail Skill

作者 mindbomber · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
67
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aana-task-scope-guardrail
功能描述
Ensure the agent only performs requested tasks using relevant data, stops when complete, and avoids expanding beyond the user's original scope.
使用说明 (SKILL.md)

AANA Task Scope Guardrail Skill

Use this skill when an OpenClaw-style agent may expand beyond the user's requested task, use unrelated data, continue after completion, or keep acting after the goal has already been satisfied.

This is an instruction-only skill. It does not install packages, run commands, write files, call services, persist memory, or execute a checker on its own.

Core Principle

The agent should do the requested task, use only task-relevant context, and stop when the request is complete.

The agent should separate:

  • work that is explicitly requested,
  • work that is required to complete the request,
  • optional follow-up suggestions,
  • unrelated work that should not be done,
  • sensitive or unrelated data that should not be used,
  • continuing behavior that should stop.

When To Use

Use this skill before:

  • expanding a task into extra research, cleanup, refactoring, outreach, browsing, data access, or tool use,
  • reading unrelated files, messages, repositories, account records, tickets, logs, or personal data,
  • continuing after the requested answer, edit, review, booking, purchase, file operation, or tool action is complete,
  • starting adjacent tasks because they seem helpful but were not requested,
  • retaining, summarizing, or reusing private context from another task,
  • making follow-up changes after the user asked for a narrow patch, answer, or decision.

Scope Categories

Classify the proposed action:

  • in_scope: directly requested by the user.
  • necessary_support: required to complete the requested task safely.
  • clarification_needed: the task boundary is ambiguous.
  • optional_followup: useful but not required; mention briefly without doing it.
  • out_of_scope: unrelated, premature, or beyond the requested boundary.
  • stop: the request is complete and the agent should not keep acting.

AANA Scope Gate Loop

  1. Identify the user's current request.
  2. State the smallest useful completion target.
  3. Identify the proposed next action.
  4. Check whether the action is requested, necessary, optional, unrelated, or already complete.
  5. Check whether the action uses only task-relevant data.
  6. Check whether it needs extra authorization because it changes scope, accesses private data, or affects external state.
  7. Choose action: proceed, narrow, ask, suggest, stop, or refuse.

Required Scope Checks

Before doing more work, verify:

  • current user request,
  • completion target,
  • proposed next action,
  • relationship to the request,
  • data needed and why it is relevant,
  • whether the action changes systems, files, messages, money, accounts, or public content,
  • whether the user has authorized that scope,
  • whether the request is already complete.

Task Expansion Rules

Do not expand the task when:

  • the user asked for a narrow answer, patch, review, or example,
  • the extra work is only adjacent or potentially useful,
  • the extra work requires new tools, private data, external actions, or broad searches,
  • the agent would change files, settings, accounts, or public content beyond the requested target,
  • the agent would start a new project phase without user approval.

Ask before expanding when:

  • the next step would materially change scope,
  • multiple reasonable interpretations exist,
  • the request implies a risky or high-impact follow-up,
  • the work would require unrelated data or broad context access.

Data Relevance Rules

Use only data that is needed for the current task.

Do not use:

  • unrelated private messages, files, logs, account records, or histories,
  • secrets, credentials, payment data, health/legal/financial records, or personal data unless required and authorized,
  • context from another user, another account, another repository, or another task,
  • old task context when the current request has moved on.

Prefer:

  • minimal snippets,
  • redacted summaries,
  • task-specific files,
  • direct user-provided evidence,
  • narrow queries and exact targets.

Completion Rules

Stop when:

  • the requested answer has been given,
  • the requested edit or artifact has been created,
  • the requested validation has been run and reported,
  • the requested decision has been routed or made,
  • the user asked for status only and status has been provided,
  • continuing would require a new task or approval.

After completion, do not keep using tools, reading data, making changes, or running extra checks unless the user requested it or the remaining check is part of the agreed task.

Review Payload

When using a configured AANA checker, send only a minimal redacted review payload:

  • user_request
  • completion_target
  • proposed_next_action
  • scope_status
  • data_relevance_status
  • authorization_status
  • completion_status
  • recommended_action

Do not include raw secrets, credentials, full private records, full logs, full transcripts, full directory dumps, or unrelated private data when a redacted summary is enough.

Decision Rule

  • If the action is requested, necessary, authorized, and uses task-relevant data, proceed.
  • If the action is useful but broader than needed, narrow it.
  • If the boundary is ambiguous, ask the user.
  • If the work is optional, mention it as a follow-up without doing it.
  • If the task is complete, stop.
  • If the action uses unrelated data, changes scope without approval, or keeps operating after completion, refuse or defer that part.
  • If a checker is unavailable or untrusted, use manual task-scope review.

Output Pattern

For scope-sensitive work, prefer:

AANA scope gate:
- Request: ...
- Completion target: ...
- Proposed next action: ...
- Scope: in_scope / necessary_support / clarification_needed / optional_followup / out_of_scope / stop
- Data relevance: relevant / partly_relevant / unrelated / sensitive_extra_data / unknown
- Authorization: explicit / implicit_for_task / clarification_needed / not_authorized
- Decision: proceed / narrow / ask / suggest / stop / refuse

Do not include this gate in the user-facing answer unless clarification, approval, or a scope boundary needs to be explained.

安全使用建议
Based on the provided artifacts, this looks safe to install as an instruction-only scope guardrail. Before using an optional AANA checker, confirm that it is trusted and that only redacted, task-relevant summaries are sent.
功能分析
Type: OpenClaw Skill Name: aana-task-scope-guardrail Version: 1.0.0 The skill is a defensive, instruction-only bundle designed to enforce task boundaries and data minimization for AI agents. It contains no executable code and explicitly instructs the agent to avoid accessing sensitive data (such as API keys, credentials, or private records) and to stop execution once a task is complete. All files, including SKILL.md and manifest.json, are consistently aligned with the stated purpose of preventing unauthorized task expansion and data exfiltration.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The skill purpose, README, and manifest are coherent: it provides instructions for keeping an agent within the user's requested scope, minimizing data use, and stopping when complete.
Instruction Scope
The instructions narrow agent behavior rather than expanding it: ask before broadening scope, avoid unrelated private data, and stop after completion.
Install Mechanism
There is no install spec, code, dependencies, commands, or credential setup, but the registry metadata does not provide a source or homepage, so provenance is limited.
Credentials
The optional AANA checker flow may send a minimized redacted review payload if a checker is configured, which is proportionate but still worth noticing.
Persistence & Privilege
The manifest states that the skill does not persist memory, write files, execute commands, or continue background work; no credentials or privileged paths are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aana-task-scope-guardrail
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aana-task-scope-guardrail 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the AANA Task Scope Guardrail Skill. - Provides detailed instructions and principles to prevent agents from exceeding user-requested task boundaries or using unrelated data. - Defines clear scope categories, required scope checks, data relevance and expansion rules, and agent completion rules. - Includes an output pattern for scope-sensitive actions to ensure decisions are well-documented and within authorized boundaries. - Emphasizes minimal data use and requires explicit user approval before expanding task scope or accessing sensitive information.
元数据
Slug aana-task-scope-guardrail
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AANA Task Scope Guardrail Skill 是什么?

Ensure the agent only performs requested tasks using relevant data, stops when complete, and avoids expanding beyond the user's original scope. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 AANA Task Scope Guardrail Skill?

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

AANA Task Scope Guardrail Skill 是免费的吗?

是的,AANA Task Scope Guardrail Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AANA Task Scope Guardrail Skill 支持哪些平台?

AANA Task Scope Guardrail Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AANA Task Scope Guardrail Skill?

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

💬 留言讨论