Layers And Ownership

Layers And Ownership is a skill for Claude Code, Codex from agent0ai/space-agent. It costs 33 tokens per session (688 once invoked), scanned A, original, MIT.

A guide to placing frontend files across firmware, shared group customizations, and user-specific customizations, including who can change them and which layer takes priority.

In plain words
What is it for?
Use it before adding or replacing frontend assets, deciding whether content belongs to the system, a group, or a user, and checking how file history and rollbacks work.
Why use it?
It prevents files from being stored in the wrong place or one customization unexpectedly overriding another. It also clarifies access rules for shared and personal content.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before adding or replacing frontend assets, deciding whether content belongs to the system, a group, or a user, and checking how file history and rollbacks work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent0ai/space-agent/layers-ownership
About the project

Space Agent is a browser-based agent workspace that can build pages, tools, widgets, and workflows directly into the running interface. It is for users who want an extensible personal or collaborative assistant whose capabilities can grow through modular pieces and text-based skills. Catalogue add-ons extend the agent's skills and workflows.

agent0ai/space-agent · 1,393 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agent0ai/space-agent --skill layers-ownership
Clone the repo
git clone --depth 1 https://github.com/agent0ai/space-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Layers And Ownership

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent0ai/space-agent/layers-ownership.svg)](https://agentmods.dev/skills/agent0ai/space-agent/layers-ownership)
Your own site
<a href="https://agentmods.dev/skills/agent0ai/space-agent/layers-ownership"><img src="https://agentmods.dev/badge/skills/agent0ai/space-agent/layers-ownership.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 23
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00688
Opus 5 $0.00016 $0.00344
Sonnet 5 $0.00007 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 8d ago against content hash e12c8cc0f2f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Layers And Ownership scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

app/L0/_all/mod/_core/skillset/ext/skills/development/layers-ownership/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

The Three Layers

  • L0 is firmware. Repo-owned first-party code belongs here.
  • L1 is group customware. It is writable only for group managers and admins.
  • L2 is user customware. It is writable only for that user and admins.

Group And User Structure

  • L1/_all is the shared group layer available to everyone.
  • L1/_admin is the admin group layer.
  • L2/<username>/user.yaml stores user metadata such as full_name.
  • L2/<username>/meta/ holds auth state such as password and login session records.
  • L2/<username>/mod/ is that user's customware module root.
  • L1/<group>/group.yaml is the canonical group membership and management file.
  • When CUSTOMWARE_GIT_HISTORY is enabled, each writable L1/<group>/ and L2/<username>/ root may have a server-managed local Git history repository.
  • L2 history ignores meta/password.json and meta/logins.json; rollback preserves those current auth files and keeps previous heads listable for forward travel when possible, while revert creates a new inverse commit.

Permission Model

  • Nobody writes L0.
  • Users may read their own L2/<username>/.
  • Users may read L0/<group>/ and L1/<group>/ for groups they belong to.
  • Users may write L1/<group>/ only when they manage that group directly or through a managing-group include chain.
  • _admin members may write any L1/ and L2/ path.

Group Config Fields

group.yaml uses these canonical fields:

  • included_users
  • included_groups
  • managing_users
  • managing_groups

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.

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 64 lines · 33 tokens per session scan A e12c8cc0f2f0

Subscribe to this mod's changes

Layers And Ownership is a skill published in the GitHub repository agent0ai/space-agent (1,393 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 688 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

antfu/skills · 49 tokens