claim

Manage file ownership across sessions to prevent edit conflicts.

1|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/wonder-zhang/openspec-autodev --skill claim-wonder-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claim
Source: https://github.com/wonder-zhang/openspec-autodev/tree/main/skills/claim
Command: npx skills add https://github.com/wonder-zhang/openspec-autodev --skill claim-wonder-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

In multi-session collaboration, multiple users can edit the same files at once, causing conflicts. This Skill provides a file-ownership mechanism to declare, release, and transfer ownership so only the owning session can modify matched files.

Core Features & Use Cases

  • Declare ownership: assign specific file patterns to your session to prevent concurrent edits.
  • Release ownership: release ownership when work is complete so others can edit.
  • Transfer ownership: move ownership to another session if needed.
  • Remote coordination support: coordinates with a coordination server for cross-machine collaboration and conflict resolution.

Quick Start

Run the claim add command to assign ownership of the files you are about to modify.

Frequently Asked Questions about claim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent file edit conflicts during multi-session collaboration?

You prevent file edit conflicts by declaring file ownership so only the owning session can modify matched files. This mechanism coordinates sessions to avoid concurrent edits on the same file patterns.

How do I claim ownership of specific file patterns before modifying them?

You claim ownership of specific file patterns by running the add action with your desired patterns. This assigns the matched files to your session, preventing other sessions from editing them concurrently until you release or transfer ownership.

Can I coordinate file ownership across remote machines?

Yes, you can coordinate file ownership across remote machines by optionally using a coordination server. This server handles cross-machine collaboration and conflict resolution for file ownership transfers between local and remote sessions.

What is the best way to transfer file ownership between sessions?

The best way to transfer file ownership between sessions is using the transfer action. This moves the ownership of specific file patterns from one session to another, allowing the new session to safely modify the files without conflicts.

Do I need a coordination server to manage file ownership locally?

No, you do not need a coordination server to manage file ownership locally. The coordination server is optional and is only required when you need to sync file ownership and resolve conflicts across remote machines in cross-machine collaboration.