skills/github-readme-dynamic/SKILL.md
# GitHub README Dynamic SOT — Skill ## Purpose Generate and maintain README.md files that are always aligned with actual repo architecture. No drift between what the README claims and what the code contains. ## Core Principle **README = compiled artifact, not authored prose.** Static narrative is written by hand. Dynamic facts are extracted from code and injected into the README on every significant change. ## What This Skill Does 1. **Scans** a repo directory and extracts dynamic facts:
npx skillsauth add ariffazil/openclaw-workspace skills/github-readme-dynamicInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate and maintain README.md files that are always aligned with actual repo architecture. No drift between what the README claims and what the code contains.
README = compiled artifact, not authored prose. Static narrative is written by hand. Dynamic facts are extracted from code and injected into the README on every significant change.
Scans a repo directory and extracts dynamic facts:
tool_registry.json, constitutional_map.py, megaTools/)pyproject.tomlCompares extracted facts against README claims
Patches README at designated <!-- SOT:section_name --> markers with fresh content
Validates that critical claims match — fails with a report if drift detected
<!-- SOT:tool_surface -->
<!-- SOT:file_structure -->
<!-- SOT:version_info -->
<!-- SOT:endpoints -->
# Full audit — compare README claims vs actual
python3 skills/github-readme-dynamic/audit.py /root/arifOS
# Generate updated README (dry-run first)
python3 skills/github-readme-dynamic/generate.py /root/arifOS --dry-run
# Apply and commit
python3 skills/github-readme-dynamic/generate.py /root/arifOS --apply
arifosmcp/tool_registry.json (11 tools, v2.0.0-canonical-kanon, 2026.04.25)arifosmcp/tools/, arifosmcp/megaTools/, arifosmcp/runtime/tool_surface, file_structure, version_info, endpointsopenclaw.json, workspace root files.md and .yaml files, skills/ dirworkspace_structure, skills_inventoryinternal/monolith.py, server.py, mcp/server.pyinternal/, tools/tool_surface, capital_scalesgeox/geox_mcp/, geox/core/, skills/, geox-gui/tool_surface, apps_inventory, skill_domainspackage.json, src/ structuresrc/, dist/file_structure, npm_surfacesites/, apps/, services/, infra/site_inventory, deployment_targets| Claim in README | Must Match | Tolerance | |---|---|---| | Tool count | Actual tool_registry.json count | Exact | | Version | build_epoch from registry | Exact | | Tool names | Names from registry | Exact | | File count | Actual non-pycache Python files | ±5% |
=== README SOT AUDIT: arifOS ===
[DELTA] tool_count: README claims 13, registry has 11
[DELTA] tool_names: README includes arifos_fetch(222), arifos_reply(444r) — NOT in registry
[DELTA] version: README says 2026.04.24-KANON, registry build_epoch is 2026.04.25
[OK] endpoints: /health, /metadata, /humans.txt — all found in server.py
[OK] floors: F1-F13 present in constitutional_map.py
SEAL: 2 blockers, 2 ok
audit.py on a repo → see DELTA reportgenerate.py --apply patches the README at SOT markers# .github/workflows/readme-sync.yml
on: [push]
jobs:
readme-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install -r requirements.txt
- run: python3 skills/github-readme-dynamic/generate.py . --apply
- uses: peter-evans/create-pull-request@v5
This keeps README updated on every push without manual intervention.
testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.