Install
openclaw skills install @cengcengcai-creator/agent-behavior-baselineEstablish an observable baseline for an AI agent before changing it: a minimal SQLite trace store, a fixed eval suite with stable IDs, real-task wiring, a memory retrieval baseline, and an adherence eval with constraint cards. Use when adding observability, measuring whether a change improved behaviour, or deciding between an index and a knowledge graph. Tool-agnostic; stdlib only.
openclaw skills install @cengcengcai-creator/agent-behavior-baselineWithout a baseline, every change is judged by impression. This skill builds the smallest measurement set that can answer “did it get better?”, and it separates the two things that are constantly confused: environment smoke and model quality.
Developed through agent operation and corrected against real failures, not hand-authored as a prompt template.
Use for
Do not use for
Required: local execution, file system access, Python standard library.
Known limits:
smoke or quality.One table, stdlib only:
task_id TEXT PRIMARY KEY, type TEXT, source TEXT, started_at TEXT,
duration_ms INTEGER, tools TEXT, retries INTEGER,
tokens_in INTEGER, tokens_out INTEGER, outcome TEXT,
error_class TEXT, artifact TEXT, notes TEXT, constraint_fail INTEGER DEFAULT 0
scripts/trace_store.py init | add | summary --since N.
Completion criterion: a row exists for the run you just did, and summary can aggregate by type.
Put checks in state/evals/tasks.json. Each has an id, name, kind (file_exists or command), and either path or cmd with optional expect_contains.
Rules:
Completion criterion: pass count, failed IDs, and duration reported for every run.
Completion criterion: one scheduled task produces a trace row without producing output.
Choose 10 real queries spanning rules, versions, configuration, recent reports, and procedures. Run each, take top 3, and judge hit / partial / miss by hand.
If misses cluster on coverage (a path is not indexed), fix coverage first. Only if misses cluster on relationships or time should you consider a graph or entity index.
Completion criterion: 10 judged queries and one decision: coverage fix, index card, or graph evaluation.
Turn each critical rule into a constraint card: trigger, must, must-not, failure criterion, source. Then define tasks that exercise them.
constraint_fail per run.Completion criterion: at least 10 samples, per-task PASS/FAIL/PARTIAL, and invalid tests counted separately.
Every measurement change gets a line: item, path, purpose, rollback command, review date. If nothing was added, write “no new dependencies”.
Completion criterion: rollback is possible without reconstructing from memory.
smoke or quality.