Skip to content
Back to skills

Nyxs App Pages

ASecurity

How to add or change a full page of the Nyxs app (a section in the main area, like Sessions, Scheduled, Projects or Plugins). Use when adding a new Section, a page reached from the sidebar or a menu, or changing one of the existing full pages' header, tabs, search or list.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgo

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add nyxs-code/nyxs-code --skill nyxs-app-pages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nyxs App Pages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nyxs App Pages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nyxs-code-nyxs-app-pages/badge)](https://www.skillsdirectory.com/skills/nyxs-code-nyxs-app-pages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nyxs-app-pages
description: How to add or change a full page of the Nyxs app (a section in the main area, like Sessions, Scheduled, Projects or Plugins). Use when adding a new Section, a page reached from the sidebar or a menu, or changing one of the existing full pages' header, tabs, search or list.
---

# Full pages

A page is a `Section` (`src/lib/sections.ts`) drawn in `App.tsx`'s `<main>` instead of the chat:
`projects`, `routines` (Scheduled), `customize` (Plugins), `sessions` (View all)…

## Adding one

1. Add the id to `Section` and its English label to `SECTION_LABELS` (`sections.ts`).
2. Add it to the sidebar's `inCode` list (`Sidebar.tsx`): the sections where the sidebar shows
   its nav and sessions. Forgetting it left the sidebar empty on the new page.
3. Lazy-load the page in `App.tsx` with `lazyRetry(() => import(...))` and add its branch next to
   `section === "routines"`, inside `<Suspense fallback={null}>`.
4. Open it with `navigate(navSnapshot({ section: "<id>", settingsOpen: false, settingsSection:
   undefined }))` so back/forward work.
5. Opening a session from the page goes back to the chat (`resumeSession` sets the section to
   `code`).

## Layout (as Claude's pages)

- `flex-1 overflow-y-auto custom-scrollbar` > `max-w-[960px] mx-auto px-8 pt-14 pb-16`.
- Title: `<h1 className="text-[28px] font-serif text-text-100 mb-6">`.
- Toolbar: `PillTabs` on the left; on the right a search icon that becomes a `SearchBox`
  (`w-56`), filter/sort `Dropdown`s, and the main action as a dark button
  (`h-8 rounded-md bg-text-100 text-bg-0 text-[14px] font-medium`, with a `Plus`). All from
  `src/components/customize/ui.tsx`.
- Rows: full width, `rounded-[8px] px-3 py-3.5 hover:bg-bg-200`, title left, muted metadata right
  that gives way to a `···` button on hover (see `nyxs-menus`).
- Empty and no-match states: one centered line, `text-[13px] text-text-400`.

## The theme

The theme's backdrop is only drawn behind the chat (`ModBackdrop hidden={section !== "code"}`):
pages show the plain app background. That is intended; don't paint the backdrop on a page.

## Texts and tests

All texts in a namespace of their own in the 10 locales (`nyxs-i18n`). A component test renders
the page with plain props and handlers (`SessionsPage.test.tsx`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.