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.
1---2name: workspace-anchor3description: ⚓ Workspace Anchor4---5# ⚓ Workspace Anchor67Multi-agent workspace awareness and safety system. Discovers, lists, switches, and validates projects using environment-based naming to prevent agent drift.89## 🤖 Agent Instruction (CRITICAL)10Before 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.1112## 📝 CLI Commands13- `discover`: Find all `.project-lock` files.14- `list`: Show formatted list of anchors.15- `create <path>`: Initialize a new anchor.16- `switch <name>`: Change active context.17- `validate <path>`: Check if path is within current anchor.
Run npx skillmds@latest add kernel8901/workspace-anchor in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
⚓ Workspace Anchor It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
kernel8901 (@kernel8901) published this skill. Their other Agent Skills are listed on their SkillMD profile.