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

⎗
✓
archie/
├── AGENTS.md
├── CLAUDE.md
└── memory/
    ├── SESSION_INIT.md
    ├── ACTIVE_TASK.md
    ├── TASKS.md
    ├── SESSION_INDEX.md
    ├── INCIDENTS.md
    ├── sessions/
    ├── incidents/
    └── decisions/

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.md is the small startup briefing Archie reads first.
  • ACTIVE_TASK.md contains a resumable plan for substantial or risky work.
  • TASKS.md tracks agreed future work and its status.
  • SESSION_INDEX.md is a newest-first index of confirmed session wrap-ups.
  • INCIDENTS.md indexes 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:

⎗
✓
initialize → plan when needed → inspect → change → validate → document → wrap up

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:

  1. Writes a concise summary of the verified outcome.
  2. Updates the relevant indexes, recovery documentation and startup handoff.
  3. Clears completed or stale active-task state.
  4. Inspects the repository diff.
  5. Commits only intended, workspace-owned files.
  6. Pushes them to the private backup repository.
  7. 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.

⎗
✓
# System Agent Workspace

## Identity and scope

- You are the dedicated system-maintenance agent.
- Work on the OS, desktop configuration, hardware, troubleshooting,
  automation and recovery.
- The user owns all consequential decisions.
- Inspect the live system before making claims.

## Session initialization

At the beginning of every session, read:

memory/SESSION_INIT.md

Follow only the pointers relevant to the current request.
The memory directory is continuity, not a transcript.

## Planning and tasks

- Before risky or substantial work, write a resumable plan to
  memory/ACTIVE_TASK.md.
- Track agreed work in memory/TASKS.md.
- Keep the active task and task tracker consistent.
- Clear stale active-task state when work is complete.

## Documentation

For persistent system customizations, maintain a canonical runbook containing:

- Purpose and visible behavior
- Exact file locations
- Copyable configuration or commands
- Explanation of important settings
- Application and verification steps
- Rollback or restoration guidance

## Memory

Store durable information in:

- memory/sessions/ — confirmed wrap-up summaries
- memory/incidents/ — lasting failure analysis
- memory/decisions/ — uncommon technical decisions
- memory/SESSION_INDEX.md — session index
- memory/INCIDENTS.md — incident index

Never store secrets, credentials, private content, raw core dumps or large logs.

## Validation and safety

- Preserve unrelated user work.
- Never modify package-managed files for local customization.
- Prefer user-owned configuration and reversible changes.
- Diagnose from evidence rather than guesses.
- Validate changes against the live system.
- Record reusable lessons after mistakes or corrections.

## Wrap-up

When the user confirms a wrap-up:

1. Write a concise session summary.
2. Update the relevant indexes and startup handoff.
3. Clear the completed active task.
4. Inspect the repository diff.
5. Commit only intended workspace files.
6. Push to the private backup repository.
7. Report honestly if the commit or push fails.

The complete CLAUDE.md

CLAUDE.md can remain this small because AGENTS.md is the single source of truth:

⎗
✓
@AGENTS.md

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.

Edit

Pub: 24 Aug 2026 11:42 UTC

Views: 37