// agent workspace template · the story
Stop rebuilding your AI setup.
Every time Claude Code evolves, most developers rebuild from scratch: new agent files, new automation, new knowledge store, new conventions. This template ends that loop. Clone it once. The agents, the automation, the knowledge pipeline, the health monitoring — all wired, all running, all self-checking.
// what you get
Six outcomes, zero setup debt
Everything below is in the repo on day one. Not a starter — a complete operating environment.
A pre-wired agent team
Five scoped subagents — architect, coder, eng-manager, archivist, curator — each confined to their domain, each with a hand-off matrix. The orchestrator dispatches; agents execute. No prompt-pasting, no context bleed.
Skill orchestration
The master-orchestrator skill routes 40+ installed skills to the right agent automatically. A launchd sync job watches ~/.agents/skills/ and pushes new skills to ~/.claude/skills/ hourly, flagging any unindexed arrivals.
A Second Brain that indexes itself
Web clips land in Vault_Brain/sources/. A headless Claude distills each one into a structured wiki page. Content-hash dedup means byte-identical clips are skipped. Your Obsidian vault — or VS Code+Foam — is the viewing layer; the store is plain Markdown.
A system that checks itself
An 8-layer health check probes delivery, automation, knowledge base, persistence, active projects, documentation currency, repo hygiene, and decision hygiene. It runs at login and every four hours, writing a status page you can open in the browser.
A pluggable KB layer
The knowledge backend is a first-class configuration choice, not an assumption. Obsidian is the default. VS Code+Foam is the lightweight alternative. The choice is written to System_Config/config.sh during bootstrap.sh and honored by every script that touches the vault.
Git discipline built in
A readme-currency-check hook fires on every Write or Edit, warning when a README is older than the files it documents. The health check’s Layer F flags stale docs at the system level. Convention and automation combine so documentation lag can’t hide.
// a day in the life
What it actually looks like to use this
This is a representative day. The automation runs whether you’re at your desk or not.
-
07:00 — automated
Daily ingest fires
The launchd job wakes, scans
Vault_Brain/sources/for new clips, and runs a headlessclaude -pcall per clip. By the time you open your laptop, last night’s reading is already indexed as structured wiki pages. -
Morning — you
Open a project, pick up where you left off
Open the workspace in Claude Code. The orchestrator reads
.AGENT.MDfor the workspace map and routes your first task — architect for design, coder for implementation, eng-manager if it’s a project milestone. No context-setting, no re-explaining the stack. -
Afternoon — you
Clip an article, ship a feature
Save a web clip to
sources/via the browser extension. The clipper template writes structured frontmatter automatically. Meanwhile the coder agent builds against the architect’s spec; the archivist files the shipped artifact toFinal_Products/with the right naming convention. -
End of day — automated
Health check runs
Every four hours the health check probes all eight layers and rewrites
status_page.html. If a README went stale when you edited a script this afternoon, Layer F catches it. You see the amber flag next time you open the status page. -
Friday 19:00 — automated
Friday close-out runs
The Friday process writes a 1–2 sentence summary to your Master Note, builds wiki cross-references across the week’s new pages, and regenerates the microsite’s agent table and job cards from the live source files. You review on Monday.
// before & after
What actually changes when you use this
Six workflow comparisons. The left column is the default state of the art; the right is what this template delivers.
.claude/agents/. Invoke by name. Context, constraints, and hand-off matrix are persistent.
sources/ via a one-click extension. Claude distills them into wiki pages every morning at 07:00.
status_page.html. Failures surface fast.
.mcp.json is workspace-scoped. Credentials never cross projects. .mcp.json.example is tracked; the real file is git-ignored.
~/.claude/skills/ manually. New installs don’t reach the orchestrator without manual index updates.
~/.agents/skills/ and syncs to ~/.claude/skills/ hourly, flagging unindexed arrivals automatically.
// get started
Clone, bootstrap, operate
Three commands. The health check at the end tells you everything is working.
$ git clone https://github.com/Classiccottrell/Agent_Workspace_Template.git agent-workspace
$ cd agent-workspace
$ ./bootstrap.sh
→ scripts made executable, logs/ created
→ .mcp.json seeded from example
Install background automation? [y/N] y
→ daily ingest installed ✓
→ healthcheck installed ✓
→ friday process installed ✓
→ skill sync installed ✓
$ bash System_Config/healthcheck.sh
Layer A (Orchestration) … PASS
Layer B (Automation) …… PASS
Layer C (Knowledge) …… PASS
Layer D (Persistence) …… PASS
Layer E (Projects) ……… PASS
Layer F (Doc Currency) … PASS
Layer G (Repo Hygiene) … PASS
Layer H (Decisions) …… PASS
→ All layers healthy. Open status_page.html to review.
One-time prerequisite: grant Full Disk Access to /bin/bash in System Preferences → Privacy & Security. The background automation needs it to read your workspace under ~/Documents.
Further reading
- Technical docsArchitecture, agents, conventions, and the full directory tree
- .AGENT.MDFull workspace map and agent coordination matrix
- System_Config/README.mdAutomation hub, installers, and Full Disk Access setup
- Vault_Brain/README.mdHow the knowledge vault works — weekly rhythm and clipper pipeline