scaffold-shell-app

scaffold-shell-app is a command for Claude Code, Cursor from julianoczkowski/create-trimble-app. It costs 0 tokens per session (7,912 once invoked), scanned A, original, MIT.

A conversational command that creates the basic layout of a Modus Angular app: a top bar, side menu, page routes, and placeholder pages. Angular routing changes views inside a single-page app without reloading the whole page.

In plain words
What is it for?
Use it to start an Angular app shell with a Trimble navbar, side navigation, nested routes, and pages for menu items.
Why use it?
It sets up the application frame and navigation structure so you do not have to assemble them by hand.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is } from '../../components';.

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/julianoczkowski/create-trimble-app
agentmods
npx agentmods add commands/julianoczkowski/create-trimble-app/scaffold-shell-app

Made for: Claude Code, Cursor.

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 scaffold-shell-app

README.md
[![agentmods](https://agentmods.dev/badge/commands/julianoczkowski/create-trimble-app/scaffold-shell-app.svg)](https://agentmods.dev/commands/julianoczkowski/create-trimble-app/scaffold-shell-app)
Your own site
<a href="https://agentmods.dev/commands/julianoczkowski/create-trimble-app/scaffold-shell-app"><img src="https://agentmods.dev/badge/commands/julianoczkowski/create-trimble-app/scaffold-shell-app.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.07912
Opus 5 $0.00000 $0.03956
Sonnet 5 $0.00000 $0.01582
Haiku 4.5 $0.00000 $0.00791

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

Security

Grade A, and why

scaffold-shell-app 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 6d 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.

templates/angular/.cursor/commands/scaffold-shell-app.md · 1,067 lines

How it starts

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

Scaffold Shell Application

Create a shell application with navbar, side navigation, and routing for your Modus Angular app through a conversational setup flow.

Overview

This command guides you through creating a complete application shell with:

  • ModusNavbar with standard Trimble logo and user avatar
  • ModusSideNavigation with customizable menu items
  • Angular Router nested routing (SPA - no page reloads)
  • Placeholder pages for each navigation item

IMPORTANT: This command preserves all dev panel and demo content. The dev panel (Ctrl+Shift+D) and all demo pages will continue to work.


CRITICAL: Layout Structure & CSS Classes

⚠️ MUST USE Specific CSS Classes for Positioning

The side navigation relies on CSS classes defined in src/styles.css that handle positioning, z-index, and layout. Using custom class names will cause the side navigation to not receive clicks or display incorrectly.

Required CSS class structure:

<div class="layout-with-navbar h-full flex flex-col">
  <!-- Navbar with border wrapper -->
  <div class="border-bottom-default">
    <modus-navbar ... />
  </div>

  <!-- Main content row - MUST have this class -->
  <div class="main-content-row">
    <!-- Side nav - MUST have side-navigation class -->
    <modus-side-navigation class="side-navigation" ...> ... </modus-side-navigation>

    <!-- Content - MUST have panel-content class -->
    <div id="content-id" class="panel-content">
      <router-outlet />
    </div>
  </div>
</div>

These classes have positioning styles in src/styles.css:

  • .layout-with-navbar - Main flex container
  • .main-content-row - Creates positioning context (position: relative, min-height: 0)
  • .side-navigation - Absolute positioning with z-index 999
  • .panel-content - Margin for collapsed nav width, full height

⚠️ App Shell Component Must Take Full Height

The <app-shell> component element itself must take full viewport height:

@Component({
  selector: 'app-shell',
  host: {
    class: 'block h-screen',  // REQUIRED for full height
  },
  // ...
})

Read the full file on GitHub · 1,067 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. 6d ago First seen · 1,067 lines · 0 tokens per session scan A f65a2f876152

Subscribe to this mod's changes

scaffold-shell-app is a command published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,912 tokens. 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.