openshell-dashboard: Skill for Claude Code

.claude/skills/add-page/SKILL.md

add-page is a skill for Claude Code from Gkrumbach07/openshell-dashboard. It costs 40 tokens per session (695 once invoked), scanned A, original, Apache-2.0.

A procedure for adding a new page or view to the OpenShell Dashboard. It covers the page component, route, navigation entry, and any required API hooks.

In plain words
What is it for?
Use it when adding dashboard screens such as detail pages, list pages, logs views, or connection tabs.
Why use it?
It prevents a new view from being only partly connected, such as appearing in code but lacking navigation or data access.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is Gkrumbach07/openshell-dashboard's own configuration. It tells Claude Code how to work on openshell-dashboard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openshell-dashboard configures →

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

Reuse

Borrowing it

Nothing to install: this file belongs to Gkrumbach07/openshell-dashboard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Gkrumbach07/openshell-dashboard/main/.claude/skills/add-page/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Gkrumbach07/openshell-dashboard

Made for: Claude Code.

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 add-page

README.md
[![agentmods](https://agentmods.dev/badge/skills/gkrumbach07/openshell-dashboard/add-page.svg)](https://agentmods.dev/skills/gkrumbach07/openshell-dashboard/add-page)
Your own site
<a href="https://agentmods.dev/skills/gkrumbach07/openshell-dashboard/add-page"><img src="https://agentmods.dev/badge/skills/gkrumbach07/openshell-dashboard/add-page.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 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.
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.00040 $0.00695
Opus 5 $0.00020 $0.00347
Sonnet 5 $0.00008 $0.00139
Haiku 4.5 $0.00004 $0.00069

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

Security

Grade A, and why

add-page 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.

.claude/skills/add-page/SKILL.md · 110 lines

How it starts

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

Add Page

Add a new page to the dashboard frontend.

Arguments

$ARGUMENTS — Page name and description (e.g., "sandbox detail page showing overview, logs, and connect tabs")

Steps

1. Create the page component

Pages are flat files in frontend/src/pages/ (no subdirectories):

frontend/src/pages/<PageName>.tsx

Rules:

  • Self-contained: takes props, uses internal API hooks
  • No @odh-dashboard/* imports — this must work standalone
  • PatternFly 6 components only
  • Export as default
  • Use relative imports (not ~/ alias)
import { useState } from 'react';
import { PageSection, Title } from '@patternfly/react-core';
import { useSandboxes } from '../api/sandboxes';
import { sandboxKeys } from '../api/queryKeys';

type SandboxListPageProps = {
  workspace: string;
  onSelect?: (name: string) => void;
};

const SandboxListPage: React.FC<SandboxListPageProps> = ({ workspace, onSelect }) => {
  const { data, isLoading, error } = useSandboxes(workspace);

  const handleSelect = (name: string) => {
    if (onSelect) {
      onSelect(name);
    } else {
      navigate(`/workspaces/${workspace}/sandboxes/${name}`);
    }
  };

  // ...
};

export default SandboxListPage;

Key patterns:

  • Optional navigation callbacks (onSelect, onViewSandbox, onTabChange) that fall back to useNavigate when not provided (see ADR 0001)
  • data-testid on interactive elements
  • No breadcrumbs in pages — the app shell adds its own

2. Add the route

Routes are defined in frontend/src/app/AuthenticatedRoutes.tsx inside the <Routes> block (not AppRoutes.tsx — that handles auth mode switching):

<Route path="/workspaces/:workspace/sandboxes" element={<SandboxListPage />} />

For admin-only pages, wrap with AdminRoute:

<Route path="/settings" element={<AdminRoute><SettingsPage /></AdminRoute>} />

3. Add navigation

In frontend/src/app/AppLayout.tsx, add a NavItem to the sidebar with appropriate role gating:

<NavItem isActive={location.pathname === '/settings'}>
  <Link to="/settings">Settings</Link>
</NavItem>

Read the full file on GitHub · 110 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 · 110 lines · 40 tokens per session scan A a7bdaa690012

Subscribe to this mod's changes

add-page is a skill published in the GitHub repository Gkrumbach07/openshell-dashboard (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 40 tokens to every session and 695 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

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

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