Layers ownership

From agent0ai/space-agent · View interactive version

Layers ownership is an AI agent skill from the GitHub repository agent0ai/space-agent. Understand L0 or L1 or L2 placement, group and user structure, permissions, and layered override order before storing or overriding frontend assets.

How to use this skill

Skill file

Use this skill before deciding where new files belong or how readable and writable content resolves across users and groups.

The Three Layers

Group And User Structure

Permission Model

Group Config Fields

group.yaml uses these canonical fields:

Resolution Order

Readable module and extension resolution is rank-based:

  1. L0/_all
  2. readable L0/<group> entries in group order
  3. L1/_all
  4. readable L1/<group> entries in group order
  5. L2/<username>

Higher-ranked exact same module-relative paths override lower-ranked ones. Different filenames under the same extension point compose together.

Placement Rules For Repo Work

Mandatory Doc Follow-Up

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.