🕵️ Palace Auditor Skill
When to use this skill
Use this skill when the user requests a workspace audit, health check, or when preparing for a major structural release to ensure the .agents palace is pristine.
Instructions
- Diagnostic Check: Run
.\tools\diagnostic.ps1(or./tools/diagnostic.shon Linux) and capture the output. Ensure all dependencies (uv,node,git) and paths are healthy. - OKF Frontmatter Compliance & Signature Audit:
- Run
uv run python tools/apply_okf_frontmatter.py .agents/brain/anddocs/to audit and fix any Markdown files missing OKF v0.1 frontmatter headers. - Run
python .agents/skills/dsom-signature-injector/scripts/inject.py .agents/brain/anddocs/to sign any repaired Markdown files lacking standard ownership footers (or operate in check-only mode if executing a dry run). - Index Verification: Read
.agents/brain/index.md. Verify that everycloset.mdor.mdfile listed underPath:actually exists in the filesystem. - Toolchain Audit:
- List all files in the
tools/directory. - List all documentation files in
docs/tools/. - Identify any
.ps1,.sh,.py, or.jsscript intools/that does NOT have a corresponding structural blueprint indocs/tools/. - Identify any script that lacks either its
.ps1or.shcross-platform twin. - Report Generation: Create a report artifact for the user summarizing:
- System Diagnostic Health.
- OKF Frontmatter Compliance Status.
- Broken links in
index.md(if any). - Undocumented scripts.
- Scripts violating the Cross-Platform Mandate.
- Propose Actions: Suggest specific actions to resolve the findings.
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-20 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0