agentic-os-reference-sync
Skill2 starsChanged 5 months agoMITView on GitHub
Orchestrates safe updates to the public agentic-os template from a private reference implementation. Use when syncing architecture, runtime contracts, README/Roadmap/Changelog, skills, agent patterns, hooks, or governance practices from a lived private OS into the sanitized public repo without leaking personal, client, or path-specific context. Triggers — "sync agentic-os from reference"; "update agentic-os based on the reference implementation"; "public template sync"; "sanitize reference changes for agentic-os"; "release agentic-os from reference"; "/agentic-os-reference-sync".
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- control-plane/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- control-plane/CLAUDE.mdCLAUDE.md
- branch-cleanupSkill
- capture-triageSkill
- darwin-housekeepingSkill
- darwin-path-modeSkill
- decision-log-entrySkill
- eodSkill
- expert-interview-guideSkill
- feedback-intakeSkill
- harness-onboardingSkill
- ingest-contentSkill
- meeting-to-work-itemsSkill
- memory-consolidateSkill
- morning-briefSkill
- os-bootstrap-extendSkill
- os-bootstrapSkill
- pr-reviewSkill
- scheduleSkill
- spec-cross-checkSkill
- ux-critiqueSkill
- weekly-retroSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 17
If the sync touches governance files, run a senior-advisor pressure-test before finalizing the recommendation.
- Distinctive: line 35
Read only the bounded surfaces needed for the sync:
- Distinctive: line 42
Do not copy private memory, client domains, personal identity, absolute paths, transcripts, or generated bundles.
- Distinctive: line 46
Use this decision table:
- Very specific: line 59
Before writing public docs, read references/sanitization-checklist.md.
- Distinctive: line 63
Keep hooks and scripts dependency-light.
- Distinctive: line 65
Avoid claiming parity across runtimes unless validated in that runtime.
- Distinctive: line 79
If only one surface changes, document why the others do not need updates.
- Distinctive: line 83
Run the public validation suite:
- Distinctive: line 89
If a new or edited skill was added, also run:
- Distinctive: line 95
If validation fails, fix before declaring the sync ready.
- Distinctive: line 107
Do not push directly to main for a public repo unless the no-direct-merge ritual has been explicitly satisfied.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: agentic-os-reference-sync
Mission
Convert advances from a private reference OS into a public, reusable agentic-os update. Preserve the architectural pattern, remove private implementation detail, and leave the public repo coherent across docs, skills, validation, and release notes.
Preconditions
- You have read the public repo's root orientation and current
README.md,ARCHITECTURE.md,CHANGELOG.md, andROADMAP.md. - You know the private reference repo path or have been given a summarized delta.
- The public repo is on a branch, not direct
main, unless the principal explicitly authorizes a direct release. - If the sync touches governance files, run a senior-advisor pressure-test before finalizing the recommendation.
Workflow
1. Establish Current State
In the public repo:
git status --short --branch
git rev-list --left-right --count HEAD...origin/main
git log --oneline -8Flag untracked archives, local commits ahead of origin, and dirty files before editing. Preserve unrelated work.
2. Inventory The Reference Delta
Read only the bounded surfaces needed for the sync:
- Recent commits or release notes in the private reference.
- Runtime contracts (
AGENTS.md,CLAUDE.md, hook docs) when the delta concerns execution behavior. - Skills and agent patterns when the delta concerns reusable workflow.
- Observability, telemetry, decision-log, and context-budget docs when the delta concerns governance.
Do not copy private memory, client domains, personal identity, absolute paths, transcripts, or generated bundles.
3. Classify Each Candidate
Use this decision table:
| Candidate | Public action |
| Generic architecture principle | Add to ARCHITECTURE.md, control-plane/best-practices/, or agent-pattern docs |
| Reusable workflow | Add/update .claude/skills/<skill>/SKILL.md |
| Runtime-specific behavior | Add to CLAUDE.md, AGENTS.md, or control-plane/AGENTS.md with runtime caveat |
| Validation or hook behavior | Update script/config only if it can run in a fresh fork without private dependencies |
| Private identity/client/path detail | Exclude; mention only as "reference implementation" if needed |
| Generated artifact | Rebuild from source or leave unchanged with rationale |
4. Apply Sanitization
Before writing public docs, read references/sanitization-checklist.md. The minimum bar:
- Replace names, clients, employers, absolute paths, account IDs, and private repo names with generic roles.
- Convert "Kowalski does X" into "the reference implementation proved pattern X."
- Keep hooks and scripts dependency-light; no private CLIs, local usernames, or one-off scheduler paths.
- Distinguish implemented public behavior from reference-only behavior.
- Avoid claiming parity across runtimes unless validated in that runtime.
5. Update Public Surfaces Together
For a material sync, keep these files coherent:
README.md— reader-facing pitch, quickstart, counts, status.ARCHITECTURE.md— canonical architecture and design principles.CHANGELOG.md— release entry with user-facing rationale.ROADMAP.md— latest version and next bets.control-plane/CLAUDE.md/AGENTS.md— runtime contracts, only when runtime behavior changes..claude/skills/— orchestrating skills for repeated workflow.control-plane/best-practices/README.md— index updates for new practices.
If only one surface changes, document why the others do not need updates.
6. Validate
Run the public validation suite:
bash scripts/validate-all.shIf a new or edited skill was added, also run:
python3 /path/to/skill-creator/scripts/quick_validate.py .claude/skills/<skill-name>If validation fails, fix before declaring the sync ready.
7. Release Staging
Prepare the branch for review:
git status --short
git diff --stat
git diff --checkDo not push directly to main for a public repo unless the no-direct-merge ritual has been explicitly satisfied. Prefer a PR with:
- What advanced in the reference implementation.
- What was deliberately excluded.
- Validation results.
- Any runtime caveats.
Output Format
Return:
## agentic-os reference sync
**Implemented:** <files / surfaces>
**Sanitized out:** <private/reference-only items excluded>
**Validation:** <commands + pass/fail>
**Release posture:** <branch, PR status, merge caveat>
**Open issues:** <only blockers or explicit follow-ups>Anti-Patterns
- Copying private memory or client-specific agents into the public template.
- Updating
ARCHITECTURE.mdwithout aligning README status and changelog. - Claiming a runtime feature is shipped when only orientation docs were added.
- Bumping release docs while validation is failing.
- Direct-pushing to
mainon the public repo without the no-direct-merge ritual.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

