Archie: My Omarchy System Agent Workspace
Omarchy already gives your chosen default coding agent the Omarchy Skill, which teaches it how to tailor the system safely. I wanted to take that a little further.
I gave my agent a name, Archie, and a dedicated workspace for system maintenance. One shell alias opens Codex inside that folder, so every session begins in the same project and loads the same operating instructions.
There is no custom application or elaborate memory framework behind it. It is mostly Markdown, disciplined file ownership and a repeatable workflow.
The workspace
AGENTS.md is the authoritative instruction file for the workspace.
CLAUDE.md is intentionally tiny. It imports the same rules from AGENTS.md, keeping Claude Code available as a compatible fallback without maintaining two competing sets of instructions.
Memory without a database
The memory/ directory is explicitly not a transcript. It stores concise continuity, verified outcomes, unresolved risks and lessons worth reusing.
SESSION_INIT.mdis the small startup briefing Archie reads first.ACTIVE_TASK.mdcontains a resumable plan for substantial or risky work.TASKS.mdtracks agreed future work and its status.SESSION_INDEX.mdis a newest-first index of confirmed session wrap-ups.INCIDENTS.mdindexes important failures and their lasting fixes.sessions/contains concise, confirmed wrap-up summaries.incidents/contains durable failure analysis.decisions/records uncommon technical decisions that would otherwise be difficult to reconstruct.
At the start of a session, Archie reads SESSION_INIT.md first and follows only the pointers relevant to the current request. It does not reload every historical note into every conversation.
That keeps the context focused while preserving continuity across chats, interruptions and reboots.
The operating lifecycle
The general workflow is:
Archie inspects the live machine before making claims. Risky or substantial work gets a resumable plan before changes begin. Persistent customizations are documented, changes are validated against the live system, and reusable lessons are recorded when something goes wrong.
The human still owns every consequential decision.
The canonical Omarchy runbook
Meaningful OS customizations are documented in one canonical Omarchy runbook containing:
- Purpose and visible behavior
- Exact file locations
- Copyable configuration or commands
- Explanations of important settings
- Application and verification steps
- Rollback or restoration guidance
My canonical runbook lives in Obsidian.
Source-only recovery ZIPs sit beside the runbook where appropriate. They make the setup reproducible after updates or on a replacement machine without quietly archiving credentials, private content or unrelated machine state.
Confirmed wrap-up
A wrap-up happens only after I confirm it.
Archie then:
- Writes a concise summary of the verified outcome.
- Updates the relevant indexes, recovery documentation and startup handoff.
- Clears completed or stale active-task state.
- Inspects the repository diff.
- Commits only intended, workspace-owned files.
- Pushes them to the private backup repository.
- Reports honestly if the commit or push fails.
Secrets, credentials, private content, raw core dumps and large logs are explicitly prohibited from memory.
A simplified public AGENTS.md
The real file contains machine-specific rules, paths and recovery details. This shortened version shows the reusable structure without publishing those private details.
The complete CLAUDE.md
CLAUDE.md can remain this small because AGENTS.md is the single source of truth:
Why this works for me
The behavior is not hidden inside a custom application. I can inspect and change every part of it.
It is just:
- One authoritative Markdown instruction file
- A small, focused memory hierarchy
- A canonical recovery runbook
- Reversible system changes
- Live validation
- A disciplined wrap-up process
It is rudimentary by design, but surprisingly effective. Archie gets continuity without treating chat history as permanent memory, and I still own every consequential decision.