AGENT SKILL

context-intelligence-evaluation-methodology

Use when deciding how to measure a context-intelligence tool signal. Covers metric design across quality/efficiency/efficacy axes, artifact-metric avoidance via precursor measurement, A/B and statistical-N discipline, and test-data fidelity.

License 许可
MIT
最近更新
2026-11-07
Stars
★ 5
Forks
7

01 前言 Front Matter

name
context-intelligence-evaluation-methodology
license
MIT
version
1.0.0
model_role
reasoning
description
Use when deciding how to measure a context-intelligence tool signal. Covers metric design across quality/efficiency/efficacy axes, artifact-metric avoidance via precursor measurement, A/B and statistical-N discipline, and test-data fidelity.
allowed-tools
read_file, glob, grep, delegate, load_skill, todo
user-invocable
false

03 SKILL.md 正文

Context Intelligence Evaluation Methodology

Mode-only skill for how to measure. It complements — and never restates — context-intelligence-eval-design (which owns scenario mechanics and the two-layer structural/behavioral structure) and digital-twin-universe (which owns the DTU machinery).

Scope

In scope

  • Metric design. Choose metrics across three axes: quality (did it detect what the user means?), efficiency (token/tool cost to detect), efficacy (does detection drive the right outcome?).
  • Measure the precursor, not only the failure. Prefer leading indicators (e.g. bounded vs climbing context growth) over lagging ones (e.g. a final timeout). The precursor is testable in a short window; the full failure often is not.
  • A/B + statistical-N discipline. A single green run is not proof of a behavioral change. Compare a control arm against a treatment arm; require N independent trials and report the pass rate, not a single anecdote.
  • Test data fidelity. Validate on real sessions where available, or on faithfully modeled synthetic corpora that preserve the distribution that matters (e.g. heavy-tail file sizes), never on data hand-shaped to pass.

Out of scope (point elsewhere — do not restate)

  • Scenario mechanics, the two-layer structure, DTU profile templates / Gitea URL rewrite → context-intelligence-eval-design.
  • DTU lifecycle, launch/exec/profiles → the digital-twin-universe skill.
  • "DTU-as-default" rationale and the "artifact-as-success" anti-pattern → already authoritative in context-intelligence-eval-design and context-intelligence:context/context-intelligence-primitives-reference.md. Reference them; do not repeat them.

Method

  1. Name the user-meaningful outcome the metric must reflect (from domain-concepts.md), not what a detector happens to emit.
  2. Pick the cheapest axis that discriminates. If a deterministic efficiency signal (token growth, tool-call count) separates good from bad behavior, prefer it over an LLM-judged quality rubric.
  3. Identify the precursor. Ask: what climbs before the failure? Measure that in a bounded window.
  4. Design the A/B. Control = current behavior; treatment = the change. Hold everything else identical. Decide N and the pass threshold before running.
  5. Choose the corpus. Real sessions if available; otherwise synthetic that preserves the load-bearing distribution. State the fidelity assumption explicitly.

Apply (do not restate) the event-semantics principle: when a metric depends on what an event means, consult the authoritative ecosystem expert agents for that event's semantics — the principle is named once in context-intelligence:context/context-intelligence-strategy.md. Do not restate it here.

04 同仓库更多 Skills

microsoft
microsoft/amplifier-bundle-context-intelligence

workflow-pattern-analysis

Use when asked how a workflow is failing, what separates a successful run from a failing one, which steps are the most common failure points, or what patterns recur across sessions — analyses failure/success patterns and signals across many runs using context-intelligence session data.

Skill与智能体开发
★ 5
microsoft
microsoft/amplifier-bundle-context-intelligence

transcript

Retrieve the prior user and assistant conversation verbatim from the current Context Intelligence capture, or named sessions. Use when a user asks to replay, quote, review, or act on a transcript.

★ 5
microsoft
microsoft/amplifier-bundle-context-intelligence

context-intelligence-tool-design

Use when selecting a detection strategy and implementation primitive for a context-intelligence signal. Classifies signals as deterministic, probabilistic, llm-evaluated, or hybrid, and applies the cheapest-sufficient-capability principle.

设计师视觉设计
★ 5
microsoft
microsoft/amplifier-bundle-context-intelligence

context-intelligence-session-reconstruction

Use when local Amplifier session files are missing, broken, or incomplete — rebuilds events.jsonl, transcript.jsonl, and metadata.json from the context-intelligence graph server.

★ 5
microsoft
microsoft/amplifier-bundle-context-intelligence

context-intelligence-session-navigation

Use when extracting session data directly from JSONL files — the fallback when the graph server is unavailable or outside graph-analyst.

★ 5
microsoft
microsoft/amplifier-bundle-context-intelligence

context-intelligence-server-data-ops

Exact step order, wording, and the "session details" block format for the delete flows the server-data-ops agent drives — delete the current session, clean up every session from the current working directory, find-then-delete a session by description, and delete a session someone else created.

数据分析师后端与接口
★ 5