danieltty/agent-boundary-protocol/agent-boundary
Claude Code and agent skill by danieltty/agent-boundary-protocol
- community
Checking that the SKILL.md file is still in the repository.
Use when coordinating multiple coding agents, subagents, worktrees, dynamic workflows, or parallel coding sessions and needing explicit file ownership, leader-only integration files, diff validation, worker prompts, or merge gates.
Install
npx vskill@latest install danieltty/agent-boundary-protocol/agent-boundarySKILL.md
The same SKILL.md was published earlier as danieltty/agent-boundary-protocol/agent-boundary.
Agent Boundary
Use this skill before and during parallel coding work. The goal is not to orchestrate agents. The goal is to prevent unclear ownership, same-file edits, and unsafe integration.
Core Workflow
- Define the batch goal and success criteria.
- Create or update an ownership manifest before workers start.
- Assign each worker a disjoint write scope.
- Reserve integration hotspots as
leader_only. - Run the bundled checker before spawning workers.
- Generate worker prompts from the manifest.
- Validate each returned diff against the worker scope.
- Let the leader integrate leader-only files after worker work returns.
- Freeze and re-scope if ownership drift appears.
Bundled Files
scripts/agent_boundary.py: dependency-free manifest and diff checker.templates/ownership.json: starter ownership manifest.references/manifest-format.md: manifest fields and rules.references/claude-code.md: Claude Code hook and workflow guidance.
Load a reference only when needed.
Create A Manifest
Prefer a small JSON manifest in the target repo, such as:
Start from templates/ownership.json, then edit:
batch: short batch name.leader: lead agent/session name.leader_only: files or globs workers must not edit.owners: worker names withownsglobs and validation commands.merge_gate: review and test expectations.
If the target repo already has a manifest, update it instead of creating a second competing source of truth.
Check Ownership
From the target repo:
Use --repo . when the repo already has tracked files and you want resolved overlap checks against actual paths. Without --repo, the checker still catches invalid fields and exact duplicate patterns.
Generate Worker Prompts
Each worker prompt should include:
- batch name
- owned file globs
- leader-only files
- deliverable
- validation commands
- instruction to stop if a leader-only hook is needed
- instruction to report unexpected changes in owned files
Keep prompts concrete. Do not ask a worker to "help wherever needed" during a parallel batch.
Validate Returned Work
Before accepting a worker's changes:
Use --files instead of --from-git when validating an explicit file list.
Drift Handling
Ownership drift includes:
- a worker edited leader-only files
- a worker edited files owned by another worker
- two workers claim overlapping file scopes
- a returned diff contains unowned files
When drift appears:
- Stop the affected parallel work.
- Preserve the dirty diff if salvage is useful.
- Decide whether to integrate, discard, or re-scope the change.
- Rewrite the manifest before restarting work.
Do not continue parallel implementation while ownership is ambiguous.
Claude Code
For Claude Code dynamic workflows, agent teams, or subagents, use this skill as the ownership layer. Claude Code can orchestrate agents; this skill supplies the file-scope contract and diff guard. See references/claude-code.md when wiring hooks or writing workflow prompts.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-boundary/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/danieltty/agent-boundary-protocol/agent-boundary)