gmi-audit

Audit AI and cognitive systems against seven GMI intelligence invariants and efficiency principles.

5|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/PatriotAi/ai-lab --skill gmi-audit-patriotai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gmi-audit
Source: https://github.com/PatriotAi/ai-lab/tree/main/.claude/skills/gmi-audit
Command: npx skills add https://github.com/PatriotAi/ai-lab --skill gmi-audit-patriotai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Evaluating whether an AI agent, prompt architecture, or cognitive system actually implements the core invariants of intelligence is subjective and unstructured. This Skill provides a systematic audit lens that maps any cognitive system against seven dynamic invariants (G1–G7), an efficiency stack (P1–P7), and an observer/determination axis, producing a gap map with prioritized improvements instead of vague judgments. ## Core Features & Use Cases - Invariant Coverage Map: Scores each of the seven GMI invariants (world model, goals, inference, memory, learning, metacognition, read-out) as implemented, partial, or missing, with pointers to where in the system each lives. - Evidence-Tagged Findings: Every claim is tagged [E] (empirical), [C] (conceptual), or [S] (speculative), with unknowns left as UNKNOWN rather than invented. - G5 and G7 Probes: Includes dedicated tests for cross-session learning (cold-start recovery gate) and determination (five-step commit protocol with RESIDUAL and TRACE). - Use Case: Ask to audit your agent's system prompt or cognitive architecture, and receive a G1–G7 scorecard, generality assessment, efficiency analysis, and a prioritized gap-to-action list. ## Quick Start Ask the assistant to run a GMI audit on your agent architecture or prompt system and return the invariant coverage map with prioritized gaps.

Frequently Asked Questions about gmi-audit

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

FAQPage Schema
How do I audit an AI agent's cognitive architecture?▼

Run a GMI audit that scores the system against seven invariants: world model, goal vector, inference, memory, learning, metacognition, and read-out. Each invariant is marked implemented, partial, or missing, with a prioritized list of gaps and improvements.

What are the G1–G7 invariants in a GMI audit?▼

G1 is a predictive world model, G2 a value/goal vector, G3 inference and planning, G4 memory as attractor, G5 learning across sessions, G6 metacognition, and G7 determination or read-out. Generality is treated as an emergent property, not an invariant itself.

How is cross-session learning tested in a cognitive system?▼

The G5 probe applies a cold-start recovery gate: the system needs external memory with self-contained critical references and a recovery checklist. Scores range from no recovery (red) to manual external loops (yellow) to automatic consolidation and retrieval cycles (green).

Can a GMI audit validate whether my architecture is correct?▼

No. The audit produces a completeness map of intelligence invariants, not a VALID/INVALID verdict. For correctness or validity checking of an architecture or artifact, the skill explicitly delegates to a validation-mesh process instead.

What do the [E], [C], and [S] tags mean in audit results?▼

They mark evidence quality: [E] for empirical findings, [C] for conceptual claims, and [S] for speculative ones. Conclusions should not rest on [S]-tagged items, and anything undetermined is left as UNKNOWN rather than fabricated.