intent-and-automation
15
总安装量
12
周安装量
#22616
全站排名
安装命令
npx skills add https://github.com/tracemem/tracemem-skills --skill intent-and-automation
Agent 安装分布
gemini-cli
10
opencode
10
claude-code
8
codex
7
cursor
6
Skill 文档
Skill: TraceMem Intent and Automation Modes
Purpose
This skill explains how to choose the correct intent and automation_mode for a Decision Envelope. Correct classification is critical for potential policy checks and audit clarity.
â ï¸ VALID AUTOMATION MODES – ONLY THESE 4 VALUES
When calling decision_create, the automation_mode parameter MUST be one of these exact values:
| Mode | Description | Use When |
|---|---|---|
propose |
Agent suggests, human decides | You’re gathering info or proposing actions |
approve |
Agent executes after approval | You need human confirmation before acting |
override |
Human overrides policy | Breaking rules with explicit permission |
autonomous |
Agent acts independently | Fully automated within policy bounds |
INVALID values (these will cause errors):
- â
manual,auto,full_auto,automated - â
assisted,interactive,human_required - â
semi_auto,supervised,monitored
When to Use
- When calling
decision_createand you need to populate the arguments. - When determining if a task requires human-in-the-loop (
propose) or can be done automatically (autonomous).
When NOT to Use
- Do not invent new automation modes. Stick to the strict list.
Core Rules
- Intent is Hierarchical: Intents must be dot-separated strings ordered from general to specific (Category -> Entity -> Action). Example:
customer.order.refund. - Automation Mode is Binding: The mode you select declares your authority level.
propose: You will only read data and suggest actions. You will NOT write/execute.approve: You will execute, but only after explicit human approval (often enforced by policy).override: You are explicitly breaking a rule (requires high permission).autonomous: You will execute immediately without human intervention.
Correct Usage Pattern
Choosing an Intent
Structure: <Domain>.<Entity>.<Action>
- Good:
security.access_log.scan,billing.invoice.void,support.ticket.reply. - Bad:
scan_logs,fix_thing,decision_1.
Choosing Automation Mode – Decision Tree
START: What kind of operation?
â
ââ Read-only (no state changes)
â ââ Just gathering information â `propose`
â ââ Pre-approved read operation â `autonomous`
â
ââ Write/Update/Delete (state changes)
â ââ Need human approval first â `approve`
â ââ Just suggesting changes â `propose`
â ââ Fully automated operation â `autonomous`
â
ââ Breaking a policy rule
ââ Human override required â `override`
- Are you just looking?
- Mode:
autonomous(if read-only duties are pre-approved) orpropose(if you are just gathering info for a human).
- Mode:
- Are you planning to change state (write/delete)?
- If you need permission first: Mode
propose(stop after planning). - If you have permission but need confirmation: Mode
approve(TraceMem might force this anyway). - If you are fully trusted logic: Mode
autonomous.
- If you need permission first: Mode
Example
{
"intent": "network.firewall.block_ip",
"automation_mode": "autonomous",
"actor": "security-agent-v2"
}
Common Mistakes
- Using invalid automation_mode values: Using values like
manual,auto,full_auto,assisted, orinteractivewill cause errors. ONLY use:propose,approve,override, orautonomous. - Mismatched Mode: interacting as
proposebut then trying todecision_write(TraceMem may block this or flag it as a violation). - Inconsistent Intents: Using
user.createin one decision andcreate.userin another. Be consistent. - Inventing automation modes: The 4 valid modes are fixed. You cannot create custom modes.
Safety Notes
- Policy Triggers: Policies are often attached to specific intents. Using the wrong intent might bypass safety checks or trigger unnecessary alarms.
- Escalation: If you start as
autonomousbut policy returnsrequires_exception, you effectively switch to an approval flow. The initial mode was your desired mode.