agentsclimarketplace

Michat docs drift guard

Skill filmicgaze/MiChat-desktop/.codex/skills/michat-docs-drift-guard

Windows desktop chat client for profile-based agents with gated local tools and skills.

Install
npx -y skills add filmicgaze/MiChat-desktop --skill michat-docs-drift-guard

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Prevent documentation drift in the MiChat repo. Use when editing any docs, preparing a release/clean-history pass, or when docs disagree. Enforces: (1) `docs/` is canonical and mirrored into `profiles/assistant/library/michat-specs/`, (2) `docs/MICHAT_REFERENCE.md` is human-facing and must not contradict technical docs or code, (3) assistant-facing guides under `profiles/_global/library/*_for_assistants.md` are derived and must not contradict sources or code, and (4) version/date headers should be bumped when docs change.

SKILL.md

3.3 KB, 726 tokens by cl100k_base, as published. Nobody here has run it

MiChat Docs Drift Guard

Canonical Rules

  • Code is ground truth when ambiguous: michat/ and toolset configs.
  • Canonical documentation lives in docs/.
  • profiles/assistant/library/michat-specs/ must be an exact mirror of docs/ (same filenames, same contents).
  • docs/MICHAT_REFERENCE.md is human-facing and can be higher-level, but must not contradict docs/ or code.
  • profiles/_global/library/operating_guide_for_assistants.md and profiles/_global/library/troubleshooting_for_assistants.md are derived assistant guides and must not contradict their named sources or code.

Update Workflow (Use This Order)

  1. Verify truth if needed
    • If changing paths, defaults, gates, UI labels, or dev/frozen behavior: confirm by reading the relevant code.
  2. Update canonical docs
    • Edit the owning file(s) under docs/.
  3. Update the human-facing guide
    • If the change affects a user-visible behavior or concept, update docs/MICHAT_REFERENCE.md.
    • Keep it readable; remove minutiae, not facts.
  4. Update derived assistant guides
    • If assistants rely on the claim for operations/troubleshooting, update the derived guides.
    • Keep “Derived from:” lines consistent with the current source versions/dates.
  5. Bump version/date headers
    • If a doc has a — vX.Y.Z — YYYY-MM-DD header, update date whenever the change is user-meaningful.
    • Bump version for non-trivial changes, following the repo’s existing pattern (do not invent a new scheme).
  6. Resync the mirror
    • Copy docs/*.md to profiles/assistant/library/michat-specs/*.md.
    • Verify the mirror matches exactly (hash or diff).

Drift Checks (Fast, Deterministic)

1) Mirror equality (hash check)

$docsDir = 'docs'
$mirrorDir = 'profiles/assistant/library/michat-specs'
$docNames = (Get-ChildItem -LiteralPath $docsDir -File | Sort-Object Name).Name
foreach ($name in $docNames) {
  $h1 = (Get-FileHash -Algorithm SHA256 -LiteralPath (Join-Path $docsDir $name)).Hash
  $h2 = (Get-FileHash -Algorithm SHA256 -LiteralPath (Join-Path $mirrorDir $name)).Hash
  if ($h1 -ne $h2) { Write-Output ("DRIFT " + $name) }
}

2) Spot-check a single file (diff)

git --no-pager diff --no-index -- docs/MICHAT_REFERENCE.md profiles/assistant/library/michat-specs/MICHAT_REFERENCE.md

High-Risk Claim Types (Always Verify In Code)

  • Paths: data root, profiles root, credentials root, frozen vs dev locations
  • Gates: what enables a toolset vs what toggles a permission
  • UI exact text: Settings labels, buttons, tooltips
  • Allow-lists: file extensions, blocked actions, safety restrictions

When editing these, prefer citing/aligning to the exact module (e.g., michat/runtime_paths.py, michat/toolsets/*/__init__.py, michat/qt_shell.py).

What ships with it: 1 file

257 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.