hide-show-shell

hide-show-shell is a skill for Claude Code from cognitedata/builder-skills. It costs 95 tokens per session (2,768 once invoked), scanned A, original, Apache-2.0.

A guide for putting a Cognite Fusion app into full-screen mode by hiding its surrounding sidebar and top bar, then showing them again when needed.

In plain words
What is it for?
Use it for full-screen app views, dashboards, or focused workflows in Flows/Fusion apps.
Why use it?
It handles the details needed to use the whole browser window without leaving users unable to return to the normal Fusion interface. It also checks that the app uses the supported Apps API setup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { useHideShell } from '../hooks/use-hide-shell';.

Good fit Use it for full-screen app views, dashboards, or focused workflows in Flows/Fusion apps.

Compare 6 skills from other repositories ↓
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/cognitedata/builder-skills
agentmods
npx agentmods add skills/cognitedata/builder-skills/hide-show-shell

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 hide-show-shell

README.md
[![agentmods](https://agentmods.dev/badge/skills/cognitedata/builder-skills/hide-show-shell.svg)](https://agentmods.dev/skills/cognitedata/builder-skills/hide-show-shell)
Your own site
<a href="https://agentmods.dev/skills/cognitedata/builder-skills/hide-show-shell"><img src="https://agentmods.dev/badge/skills/cognitedata/builder-skills/hide-show-shell.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,768 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 medium

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 →

  • medium MCP Rug Pull · line 25
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00095 $0.02768
Opus 5 $0.00048 $0.01384
Sonnet 5 $0.00019 $0.00554
Haiku 4.5 $0.00010 $0.00277

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

Security

Grade A, and why

hide-show-shell 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.

skills/hide-show-shell/SKILL.md · 275 lines

How it starts

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

Hide & Show the Fusion Shell

Lets a Flows app hide the Fusion sidebar + topbar (the "shell") to use the full browser viewport, and reveal it again — without leaving the user stranded.

Requires @cognite/app-sdk's connectToHostApp() handshake already wired up, and @cognite/app-sdk >= 0.9.0 (verify with npm ls @cognite/app-sdk or check package.json — earlier versions don't expose setHideShell on HostAppAPI at all). If auth isn't wired up yet, run the setup-flows-auth skill first — but make sure it lands on the Apps API flow (app.json has "infra": "appsApi", deployed with npx @cognite/cli@latest apps deploy), not the Classic flow (DuneAuthProvider/useDune() from @cognite/dune). setHideShell only exists on the Apps API's HostAppAPI; Classic apps have no equivalent and are deployed to infrastructure @cognite/cli itself refuses to touch ("Legacy infrastructure is no longer supported"). If app.json is missing infra: "appsApi" or @cognite/dune shows up in package.json, stop and migrate to Apps API first — don't attempt this skill on a Classic app.

What it does

HostAppAPI.setHideShell(hidden: boolean): Promise<void> (from the api object returned by connectToHostApp()):

  • setHideShell(true) — hides the CDF sidebar and topbar, giving the app the full viewport.
  • setHideShell(false) — reveals them again.

Under the hood this toggles a bookmarkable ?hideShell=true URL parameter — no server round-trip, and a shared link already opens in full-screen mode. The shell also auto-reveals if the user navigates away from your app, as a safety net — but don't rely on that as your only way back.

There is no other safety net. While the shell is hidden, Fusion does not render any floating "reveal" button of its own — the navrail (and any toggle button inside it) is unmounted along with the rest of the shell. The only ways back are: your app's own reveal control, manually editing the URL, or navigating away entirely. Treat the guidance below as non-negotiable, not a nice-to-have.

Read the full file on GitHub · 275 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 · 275 lines · 95 tokens per session scan A b84bc3c7f327

Subscribe to this mod's changes

hide-show-shell is a skill published in the GitHub repository cognitedata/builder-skills (6 stars, last pushed today), licensed Apache-2.0. It adds 95 tokens to every session and 2,768 once invoked, about $0.0005 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

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

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 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

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens