repo-layout

repo-layout is a skill for Claude Code, Codex from linkpranay-ai/context-engineering-protocol. It costs 45 tokens per session (11,610 once invoked), scanned A, original, Apache-2.0.

A skill for finding and checking the configured locations of important project folders and files. It uses markers in a layout configuration so a project can move these locations without changing every skill that refers to them.

In plain words
What is it for?
Use it when registering, resolving, or validating repository locations for shared context, compiled guidelines, decision records, and other configured project resources. It is not meant for locating one ordinary file.
Why use it?
It prevents tools from writing to or reading from outdated paths. This is useful in repositories whose files are organized into movable sections, sometimes called path slots.

Skill for Claude CodeCodex

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

Good fit Use it when registering, resolving, or validating repository locations for shared context, compiled guidelines, decision records, and other configured project resources. It is not meant for locating one ordinary file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout
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 linkpranay-ai/context-engineering-protocol --skill ult-repo-layout
Clone the repo
git clone --depth 1 https://github.com/linkpranay-ai/context-engineering-protocol

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 repo-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout/github.svg)](https://agentmods.dev/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout)
Your own site
<a href="https://agentmods.dev/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout"><img src="https://agentmods.dev/badge/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout"><img src="https://agentmods.dev/badge/skills/linkpranay-ai/context-engineering-protocol/ult-repo-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,610 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 pass 7 Sept 2026
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.00045 $0.11610
Opus 5 $0.00023 $0.05805
Sonnet 5 $0.00009 $0.02322
Haiku 4.5 $0.00005 $0.01161

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

Security

Grade A, and why

repo-layout 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 5d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/confirm_layers.py, scripts/discover_layers.py, scripts/layout_decision_grammar.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.github/skills/ult-repo-layout/SKILL.md · 759 lines

How it starts

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

ult-repo-layout

(Frontmatter name: is the bare repo-layoutult is this skill's namespace:, composed into the folder name and every invocation below. Same pattern elsewhere in this repo, e.g. sec-threat-model's name: is threat-model.)

This skill implements the project layout and path-dependency configuration model (§15) and workspace-root consolidation (§16 — layout.workspace_root, scaffold-not-copy, and the layout-slots-registry.yaml superset registry), covering eleven path-slots:

  • context_packages — read/written by ult-context-generate and every CONSUMING-CONTEXT-PACKAGE.md consumer. The only slot a real, shipped skill in this repo both produces and consumes.
  • compiled_guidelines — written by compiling-project-guidelines, read by its own CONSUMING-COMPILED-GUIDELINES.md consumers. The registry's only kind: file slot until D21 §16.8/D24 Phase B added three more (below), and the first slot whose D21 default re-roots to a different bucket (inputscache).
  • decision_ledger — written by ult-institutional-memory-distill's decision_ledger.py, read by ult-context-generate. A kind: file slot, same bucket re-root as compiled_guidelines.
  • autoscaffold_content_state, autoscaffold_content_index — written by ult-autoscaffold-content's scaffold_state.py. Two more kind: file slots, same bucket re-root.
  • plans_output, brainstorm_output, user_stories_output, security_docs, security_report, project_plan_docs — six further slots, all illustrative — not shipped in this repo (see the slot registry table below; rationale in references/phase-history.md).

...plus the project_guidelines starter-kit drop-zone — not a project_layout path-slot (no marker, no resolution algorithm), just a regenerated .pointer.md scaffold file. Read references/starter-kit-dropzones.md now and follow it if you're touching that mechanism.

Read references/phase-history.md for the full D20/D21 phase-by-phase build history and exit criteria — not needed to operate this skill day to day.

This file and others in this repo cite D<N>/§<N> labels (e.g. D21 §16.2) — see ../../../references/design-scratchpad-glossary.md for what each one means.

Alternative front-end: you can also view and (partly) drive this skill's state through a local browser wizard instead of re-reading context-config.yaml and the markers by hand — see ult-cep-wizard (D24). It's mostly a read-only status view, but it can trigger discover in place (its own freshness-hash-guarded POST /api/discover) and the mechanical half of init — slot scaffolding and the layout.workspace_root opt-in this section describes, via POST /api/init — before D20 has been initialized at all. It never asks for project_name/description, offers a rename-before-scaffold prompt, or runs confirm-layers/reconcile — those, and the fully conversational init, still happen here.

Read the full file on GitHub · 759 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. 5d ago Changed · +4 lines 04611e2aefc5
  2. 9d ago First seen · 755 lines · 45 tokens per session scan A 918456fcbbd3

Subscribe to this mod's changes

repo-layout is a skill published in the GitHub repository linkpranay-ai/context-engineering-protocol (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 11,610 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-31.

Related

Other skills, from other repositories

sdd

Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.

liatrio-labs/spec-driven-workflow · 50 tokens

bcc-plan-spar

BCC align+lock+review PLAN.md for one slice (no product code). Slash: /bcc-plan-spar · chat: bcc:plan-spar · "lock PLAN" · spar the plan. Args: rounds=N (auto-review cap), review=self|subagent|cli|auto|off. Grill until clear enough (no default Q&A quota). Hand off to bcc-clean-cut after human APPROVE.

bo-cao/breaking-coding-chaos · 91 tokens

bcc-throughline

BCC global progress cockpit (plans.md/progress.md/findings.md). Slash: /bcc-throughline · chat: bcc:throughline · "where are we" · reprioritize · resume after /clear. Not for coding or full PLAN grill.

bo-cao/breaking-coding-chaos · 56 tokens

bcc-breaking-coding-chaos

BCC main skill: dual-loop coding workflow (throughline → plan-spar → clean-cut) or quick status+next. Slash: /bcc-breaking-coding-chaos · chat: bcc:breaking-coding-chaos · "run BCC" · "BCC status" · "what next BCC". Needs a real idea (1:1 implement). Args: goal text, or status. May pass plan-spar review budget as…

bo-cao/breaking-coding-chaos · 101 tokens

x-harness-admission

Teach the x-harness admission workflow and completion-card discipline.

BrianNguyen29/x-harness · 11 tokens

recovery

Handle blocked verification outcomes.

BrianNguyen29/x-harness · 4 tokens