AgentSkillsCN

context-health

在验证或诊断cortex环境(如一致性、重复项、冗余问题、优化空间)时使用此技能——提供一套诊断流程与报告框架,助您高效开展上下文健康检查。

SKILL.md
--- frontmatter
name: context-health
description: Use when validating or diagnosing the cortex environment (consistency, duplicates, redundancy, optimization) - provides a diagnostic workflow and reporting structure for context health checks.

Context Health

Overview

Provide a consistent diagnostic workflow for cortex environments: verify config integrity, detect duplicates, surface redundancies, and report actionable issues.

When to Use

  • Checking system health after changes to agents, modes, or rules
  • Troubleshooting unexpected cortex behavior
  • Performing periodic maintenance checks

Avoid when:

  • The task is unrelated to cortex configuration or context

Quick Reference

TaskLoad reference
Environment diagnosticsskills/context-health/references/doctor.md

Workflow

  1. Confirm target scope and environment.
  2. Load the diagnostics reference.
  3. Run checks and gather findings.
  4. Summarize issues by severity.
  5. Recommend fixes and next steps.

Output

  • Diagnostic report with severity levels
  • Recommended fixes or follow-up actions

Common Mistakes

  • Running fixes without reviewing findings
  • Skipping context scope verification