qiti-yuanliu

Compute entropy-based health metrics and detect context drift in multi-round chat.

10|1|Updated May 4, 2026
One-click install
npx skills add https://github.com/isLinXu/under-one --skill qiti-yuanliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qiti-yuanliu
Source: https://github.com/isLinXu/under-one/tree/main/underone/skills/qiti-yuanliu
Command: npx skills add https://github.com/isLinXu/under-one --skill qiti-yuanliu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

炁体源流 helps an LLM agent detect context drift, semantic contradictions, and degraded reasoning quality in multi-round conversations, then produce stable repair handoffs to protect alignment.

Core Features & Use Cases

  • Semantic-level entropy & health scoring: computes entropy (conflict/gap/redundancy/topic drift/intent shift) and derives a health score to classify context quality.
  • Contradiction and drift detection: flags semantic reversals, high negation density, info gaps, and topic/intention deviations, distinguishing user clarifications from high-risk resets.
  • Repair handoff & “稳态契约” outputs: generates structured repair plans, stability contracts, checkpoints, risk hotspots, and recommendations that guide downstream skills (e.g., cross-segment trace) without directly rewriting the user’s goal.

Quick Start

Ask the agent to run qiti-yuanliu on the current conversation context stored in context.json and return context.health_report.json with metrics, alerts, and repair handoff.

Frequently Asked Questions about qiti-yuanliu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is semantic entropy and how does it detect dialogue context drift in LLM agents?

Semantic entropy measures conflict, redundancy, topic drift, and intent shifts in multi-round chat content to compute a health score. This score detects dialogue context drift and flags degraded reasoning quality by identifying semantic contradictions and alignment instability in LLM agents.

How do I check conversation health and generate a repair handoff for alignment drift?

To check conversation health, run the context scan on your multi-round chat content stored in context.json. The process computes entropy-based metrics, flags high-risk contradictions, and outputs a context.health_report.json containing alerts, risk hotspots, and a structured repair handoff plan.

Can I use contradiction detection to distinguish user clarifications from high-risk goal resets?

Yes, contradiction detection distinguishes user clarifications from high-risk resets by evaluating negation density, semantic reversals, and information gaps. It scores topic and intent deviations to verify goal alignment, ensuring normal clarifications do not trigger false alarms during context health checks.

What is the best way to monitor agent-ops workflows for semantic instability and topic drift?

The best way to monitor agent-ops workflows for semantic instability is applying threshold-based escalation rules to entropy metrics. This continuously evaluates topic drift and intent shift scores, triggering contradiction alarms and confidence-oriented recommendations when context quality degrades.

Does context health checking require specific dependencies or external libraries to compute diagnostic reports?

No external dependencies are required for context health checking. The standalone scripts compute entropy-based health metrics and generate JSON diagnostic reporting, including stability contracts and checkpoints, entirely within the existing environment without needing external libraries.

When should I not use automated repair handoffs for conversation context drift?

You should avoid automated repair handoffs when the conversation context lacks sufficient multi-round history for accurate entropy computation. Without adequate dialogue turns to score topic drift and semantic contradictions, the stability contract outputs may fail to verify goal alignment effectively.