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.
development
Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.” Load when linting, reviewing, or validating trigger boundaries.
development
Bootstrap, design, and package new skills. Load when capturing user intent for a new skill or drafting its initial instruction framework.
content-media
Diagnose which federation services are up, down, or drifting. Produce a prioritized remediation plan.
business
Scan a repo or workspace for exposed secrets, tokens, keys, and credentials. Produce a findings report with remediation steps.