feat(skills): add context-intelligence-derived-metrics skill#71
Merged
Conversation
Add a new standalone Agent Skill for the context-intelligence graph-analyst that teaches deriving INTERPRETIVE metrics over otherwise-blanket graph/event data. Flagship pattern is the "flavour" metric — a sub-session characterized as (delegation transport) x (skill payload loaded inside the spawned sub-session) — joined via Delegation.sub_session_id = Session.node_id. Documents the three moves (spot the blanket, find the discriminating join, recompute with the derived population removed) and generalizes to magnitude-based and artifact-based joins. Sibling to context-intelligence-graph-query; single-file SKILL.md, auto-discovered via the tool-skills directory pointer (no agent wiring needed). Validated in a Digital Twin Universe: the skill auto-discovers in load_skill(list) and loads cleanly with NO soft pointer in graph-analyst.md, siblings intact. 🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new standalone Agent Skill,
context-intelligence-derived-metrics, that teaches the graph-analyst to derive INTERPRETIVE metrics over otherwise-"blanket" graph/event data — data where many rows share one structural signature but carry different intent.This skill documents the flavour metric (delegation transport × skill payload loaded inside spawned sub-session), joined via
Delegation.sub_session_id = Session.node_id, and generalizes to magnitude-based and artifact-based discriminating joins. Applied to a real corpus, self-delegation dropped from ~42% to ~11.7% of delegations when one review-panel population was attributed out — proving the flat aggregate was an artifact; the derived dimension revealed the real story.Sibling to
context-intelligence-graph-query(which owns HOW to read the graph; this owns how to make blanket reads MEAN something).Scope / guardrails
agent,skill_name,sub_session_id,FORKED/parent_id). Propertiesresolved_agentandSkillLoad.contextare flagged as verify-before-cite (not part of this skill's queries).Verification
load_skill(list=true)inside the DTU listscontext-intelligence-derived-metricswithout any agent pointer, sourced purely via the tool-skills directory reference; the skill loads cleanly viaload_skill(skill_name="context-intelligence-derived-metrics")modules/tool-context-intelligence-querydoesn't apply; this is a skill, not a module that requires the client/server boundary tested)tests/doesn't apply; this is a skill-methodology file with no executable tests (verification is query-outcome-based, conducted in the DTU and the earlier graph-analyst session)ruff check/ruff formatnot applicable; this is a pure-markdown SKILL.md filepyrightnot applicable; SKILL.md is markdownscripts/validate-full.shbundle validation not required; this is a new file, no existing bundle structure changedReal evidence on seams
Seam: Tool/Skill wiring (auto-discovery boundary)
Evidence: Digital Twin Universe run (amplifier-tester:setup-digital-twin).
load_skill(list=true)→ the new skill appears in the skill roster, discovered automatically.load_skill(skill_name="context-intelligence-derived-metrics")→ returns the full body (243 lines), frontmatter parsed cleanly.graph-analyst.mdinside the DTU → 0 references to the new skill (no soft pointer present).Docs & diagrams
bundle.dot/bundle.pngregeneration needed — bundle structure unchangedNotes / follow-ups
ci-derived-metricsstill running (awaiting cleanup).load_skill(skill_name=...), no deployment lag — it auto-discovers as soon as it's merged to main and the bundle is re-sourced.