# Workspace Anchor

> ⚓ Workspace Anchor

- Skill: `kernel8901/workspace-anchor` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add kernel8901/workspace-anchor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kernel8901/workspace-anchor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kernel8901 (https://skillmd.com/u/kernel8901)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kernel8901/workspace-anchor

---

# ⚓ Workspace Anchor

Multi-agent workspace awareness and safety system. Discovers, lists, switches, and validates projects using environment-based naming to prevent agent drift.

## 🤖 Agent Instruction (CRITICAL)
Before using this skill, you MUST identify the correct absolute paths for the user's environment. Use `exec` to find `.project-lock` files if paths are ambiguous.

## 📝 CLI Commands
- `discover`: Find all `.project-lock` files.
- `list`: Show formatted list of anchors.
- `create <path>`: Initialize a new anchor.
- `switch <name>`: Change active context.
- `validate <path>`: Check if path is within current anchor.

