Logo van Control Plane Auditor

Control Plane Auditor

Community
liqiongyu
control-plane-auditor

Audit a repository's control-plane health and produce an actionable improvement report. Use when the user asks to "audit the repo", "check repo health", "assess control plane", "entropy audit for the control system", "check what's missing for agents", or wants to know what's missing in their instruction files, rules, and verification infrastructure. Do NOT use for code review (use review), dependency audit (use dependency-audit), general documentation work (use project-documentation), or reviewing a specific PR or diff (use review or entropy-review).

Overzicht

Uitgeverliqiongyu
Repositorymy-agents
Skillnaamcontrol-plane-auditor
Sterren
29
Forks
3
Meegeleverde bestanden
7
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 7

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door liqiongyu op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Control Plane Auditor in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/liqiongyu/my-agents/tree/main/skills/control-plane-auditor
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liqiongyu/my-agents.git /tmp/my-agents
mkdir -p .claude/skills
cp -r /tmp/my-agents/skills/control-plane-auditor .claude/skills/control-plane-auditor
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Control Plane Auditor in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Control Plane Auditor automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Control Plane Auditor niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Control Plane Auditor

Audit a repository's control plane — instruction files, rules, guards, verification infrastructure, and governance posture — across a seven-layer model. Produce a structured report with coverage status, gaps, and prioritized improvement recommendations.

This skill examines the control system itself (memory, invariants, protocols, permissions, sensors, GC, governance), not the code those systems govern. For code-level entropy scanning, use repo-entropy-audit. For PR-level consistency checks, use entropy-review.

When To Use

  • User asks to audit repo health, control plane, or agent readiness
  • User wants to know what instruction files, rules, or infrastructure are missing
  • User is setting up a new project for agent-driven development and wants a gap analysis
  • User asks "what should I add to make this repo work better with agents?"

When Not To Use

  • Reviewing a specific PR or diff → review or entropy-review
  • Auditing dependencies for security/licensing → dependency-audit
  • Restructuring the docs/ directory → project-documentation
  • Designing the AI tool setup → agent-architect
  • Scanning code itself for entropy patterns → repo-entropy-audit

Phase 1 — Scan

Gather raw facts about the repository's control infrastructure. Do not evaluate yet.

1a. Instruction Files

Find all instruction files and note their locations, sizes, and last-modified dates:

bash
find . -name "AGENTS.md" -o -name "CLAUDE.md" -o -name ".cursorrules" | head -50

For each file found: note line count, last git modification date, which directory it covers.

1b. Documentation Tree

Map the docs/ structure (or equivalent). Look for:

  • Architecture overview (ARCHITECTURE.md, docs/architecture/)
  • Design docs and ADRs (adr/, docs/decisions/, docs/design/)
  • Execution plans (docs/plans/, docs/exec-plans/)
  • Runbooks (docs/runbooks/, docs/operations/)
  • Product specs (product/, docs/specs/)
  • Quality/reliability docs (QUALITY.md, RELIABILITY.md, SECURITY.md)

1c. Rule Enforcement Infrastructure

Identify what automated enforcement exists:

  • Lint configuration (eslint, stylelint, custom plugins)
  • Structural tests (architecture tests, dependency guards)
  • Schema validation (JSON Schema, Zod, Prisma)
  • Readonly/generated path guards
  • Git hooks (husky, lefthook, .githooks/)
  • CI workflows and their gate criteria

1d. Test and Verification Infrastructure

Map test types and coverage:

  • Test frameworks and configuration files
  • Test directories and their organization (unit, integration, e2e, contract, etc.)
  • Coverage tooling
  • Smoke test / dev server availability
  • Health-check / doctor scripts

1e. Module Structure

Identify the module/package layout:

  • Top-level apps, packages, libraries, services
  • Which modules are "critical" (contain core business logic, handle user data, manage state)

Phase 2 — Diagnose

Evaluate each layer using the Seven-Layer Checklist. For each layer, check the "standing indicators" against what Phase 1 found.

Memory Layer

Check:

  • Does a root instruction file exist? Is it concise and directive (not a manual)?
  • Do critical modules have their own instruction files with substantive content?
  • Is there an architecture overview that agents can read?
  • Are there execution plans stored as files (not just chat)?
  • Are there runbooks for common operations?

Assess: instruction file count, content quality (boilerplate vs substantive), docs tree completeness, freshness (last modified vs corresponding code last modified).

Invariant Layer

Check:

  • Are dependency direction rules enforced by lint/guard/test?
  • Is there schema validation for data models?
  • Is the type system used meaningfully (not any / unknown everywhere)?
  • Is there a unified error model with documentation?
  • Are readonly/generated paths protected?
  • Are naming conventions documented and enforced?
  • Do code changes require doc updates (freshness rules)?

Assess: rule count, enforcement ratio (documented vs automated), guard coverage.

Protocol Layer

Check:

  • Is there a plan template for non-trivial changes?
  • Are there skills or runbooks for common operations?
  • Is work typically done in isolated environments (worktrees, branches)?
  • Are plan/status artifacts updated during execution?

Assess: plan template existence, evidence of plan usage in recent PRs.

Permission Layer

Check:

  • Are readonly boundaries enforced?
  • Are high-risk operations gated (DB migrations, deploys, secret access)?
  • Is external input treated as untrusted?

Assess: guard count, high-risk operation identification.

Sensorium Layer

Check:

  • Do tests span multiple types (unit, integration, e2e, contract)?
  • Can the application be started and observed locally?
  • Are logs structured?
  • Are there executable "done" definitions?

Assess: test type coverage, dev server presence, log structure.

Evaluation / GC Layer

Check:

  • Does a health-check/doctor script exist?
  • Is there drift detection tooling?
  • Are cleanup tasks tracked?
  • Do review learnings flow back into durable artifacts?

Assess: GC tooling presence, cleanup backlog visibility.

Governance Layer

Do not auto-evaluate. Instead, note observations:

  • Is there any explicit autonomy level configuration?
  • Are escalation paths defined in instruction files?
  • Is need autonomy distinguished from execution autonomy?

Phase 3 — Report

Produce the audit report using the Report Template.

Coverage Summary Table

For each layer, assign:

  • ✅ Covered: most checklist indicators present and active
  • ⚠️ Partial: some indicators present, significant gaps remain
  • ❌ Missing: layer not meaningfully established
  • ℹ️ Informational: (Governance only) observations without judgment

AGENTS.md Constraint Dimensions

Using the AGENTS.md Spec, audit all instruction files for six constraint dimensions:

  1. Glossary — canonical terms with prohibited aliases
  2. Dependency Rules — allowed/prohibited import directions
  3. Error Model — standard envelope, error codes, boundary behavior
  4. Naming Conventions — case rules, verb conventions, file naming
  5. Doc Freshness Rules — "if X changes, update Y"
  6. State Model References — pointers to canonical state definitions

For each dimension: report present/partial/missing, quality notes, and file location.

Priority Actions

Rank the top 3–5 improvement actions by impact on future agent correct-change cost. The most impactful actions are typically:

  1. Adding missing constraint dimensions to instruction files (reduces agent freedom → less entropy introduced)
  2. Automating enforcement of existing documented rules (prevents drift)
  3. Adding instruction files to critical modules that lack them (reduces re-discovery cost)
  4. Establishing freshness checks for key documentation (prevents context rot)

Tool Recommendations

Based on gaps found, recommend which other skills can help:

  • entropy-review — for PR-level consistency checks (requires constraint dimensions in AGENTS.md)
  • repo-entropy-audit — for code-level entropy scanning
  • project-documentation — for docs/ tree restructuring
  • dependency-audit — for dependency health
  • review — for general code review

Methodology References

Caveats

  • This skill is read-only. It does not modify the target repository.
  • Governance Layer is informational only — autonomy decisions require human judgment.
  • The seven-layer model is a diagnostic tool, not a maturity ladder. Layers can be built independently.
  • Quality assessment of instruction file content involves judgment; coverage counts alone can be misleading (a 100-line boilerplate AGENTS.md may be less useful than a 20-line directive one).
  • This skill assesses the control system, not the code. Run repo-entropy-audit for code-level analysis.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Control Plane Auditor?

Audit a repository's control-plane health and produce an actionable improvement report. Use when the user asks to "audit the repo", "check repo health", "assess control plane", "entropy audit for the control system", "check what's missing for agents", or wants to know what's missing in their instruction files, rules, and verification infrastructure. Do NOT use for code review (use review), dependency audit (use dependency-audit), general documentation work (use project-documentation), or reviewing a specific PR or diff (use review or entropy-review).

Waarom Control Plane Auditor gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Control Plane Auditor bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Control Plane Auditor in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/liqiongyu/my-agents/tree/main/skills/control-plane-auditor. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Control Plane Auditor gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Control Plane Auditor gebruiken?

Zoveel als je wilt. Je kunt Control Plane Auditor gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Control Plane Auditor gratis?

Ja. Deze skill is door liqiongyu op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇