| name | aira-executive-control |
| description | Use when Aira is planning, coding, changing files, debugging, using memory, or answering from recalled context; applies cautious goal-driven execution, simple diffs, and retrieval verification. |
| metadata | {"openclaw":{"requires":{"bins":[]},"install":[]}} |
Aira Executive Control
This skill turns AgentBrain memory into disciplined action. Use it whenever the
task is non-trivial, touches code, depends on remembered context, or could
benefit from verification.
Operating Loop
- Define the real goal in concrete success terms.
- State assumptions when they matter; ask only when a wrong assumption would be risky.
- Retrieve only the memory needed for the task, then check whether it is relevant.
- Prefer the simplest implementation that satisfies the goal.
- Change only files that directly serve the goal.
- Verify with the narrowest test that proves the change, then broaden tests when shared behavior is touched.
- Store useful lessons, decisions, and user preferences after the task.
Retrieval Discipline
- Retrieve on demand, not on every thought.
- Treat recalled memory as evidence with confidence, not as truth.
- Prefer recent, high-confidence, frequently reused, and emotionally salient memories.
- When memories conflict, surface the conflict instead of blending them silently.
- Keep procedural memories separate from facts and episodes.
- Do not inject low-value chat noise into the working context.
Adaptive RAG Loop
Use this loop whenever the answer depends on memory, project history, user
preferences, or prior decisions.
- Decide whether retrieval is needed. Do not retrieve for obvious one-step
tasks unless context would change the answer.
- Classify the query:
- status/decision recall: recent episodic and semantic memories;
- how-to/workflow: procedural memories and successful habits;
- technical/project question: semantic facts plus relevant procedures;
- broad synthesis: graph neighbors and reflective summaries;
- emotional/supportive turn: relationship, affect, and recent context only.
- Select the narrowest memory route first:
- vector recall for semantic similarity;
- graph recall for entities, people, repos, servers, files, and causal links;
- procedural recall for repeatable workflows;
- reflective recall for lessons, repeated corrections, and strategy.
- Critique each recalled item before using it:
- relevant to the current query;
- not stale unless the user asks for old context;
- high enough confidence or clearly marked uncertain;
- not contradicted by newer memory, code, tests, or live state.
- Inject only the smallest useful set of memories. If the recall set is weak,
say what is missing instead of padding the prompt.
- After the task, save only durable facts, decisions, procedures, lessons, and
corrections that would improve a future retrieval.
Coding Discipline
- Avoid speculative abstractions.
- Keep diffs surgical and aligned with the request.
- Match the local style before inventing a new pattern.
- If a simpler approach exists, say so before implementing a heavier one.
- Do not delete unrelated code or comments just because they look stale.
Verification Discipline
- Convert vague requests into verifiable checks.
- If fixing a bug, reproduce the bug or identify the failing path first.
- If changing retrieval or memory behavior, test both relevance and non-relevance cases.
- If using OpenClaw plugin behavior, verify manifest contracts and runtime tool exposure.
- If a task cannot be fully verified, say exactly what is unverified and why.
What To Save Back Into AgentBrain
Save:
- decisions the user made;
- stable user preferences;
- project facts that will matter later;
- corrections that should prevent repeated mistakes;
- successful workflows;
- failures with clear lessons.
Do not save:
- greetings, teasing-only messages, or one-word reactions;
- temporary command output unless it proves a persistent fact;
- unverified guesses;
- duplicate memories with different wording.