kx-flex-panel

kx-flex-panel is a skill for Claude Code from KxSystems/kx-skills. It costs 58 tokens per session (1,512 once invoked), scanned A, original, Apache-2.0.

A guide for KX Dashboards FlexPanel layouts, which place one fixed region beside or above a flexible main area. The fixed region can be a header, footer, or sidebar.

In plain words
What is it for?
Use it for dashboards with a pinned header, footer, or sidebar and a main area that expands to fill the remaining space.
Why use it?
It prevents layout mistakes involving child order, orientation, sizing, and the required two-widget structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kx-dashboards-knowledge plugin — 32 skills shipped together

Good fit Use it for dashboards with a pinned header, footer, or sidebar and a main area that expands to fill the remaining space.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kxsystems/kx-skills/kx-flex-panel
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 KxSystems/kx-skills --skill kx-flex-panel
Clone the repo
git clone --depth 1 https://github.com/KxSystems/kx-skills

Made for: Claude Code.

Or install kx-dashboards-knowledge, the plugin that ships this one along with the rest of its 32 skills.

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 kx-flex-panel

README.md
[![agentmods](https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-flex-panel/github.svg)](https://agentmods.dev/skills/kxsystems/kx-skills/kx-flex-panel)
Your own site
<a href="https://agentmods.dev/skills/kxsystems/kx-skills/kx-flex-panel"><img src="https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-flex-panel/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 kx-flex-panel

Your own site · 80×15
<a href="https://agentmods.dev/skills/kxsystems/kx-skills/kx-flex-panel"><img src="https://agentmods.dev/badge/skills/kxsystems/kx-skills/kx-flex-panel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 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.00058 $0.01512
Opus 5.5 $0.00023 $0.00605
Sonnet 5.5 $0.00012 $0.00302
Haiku 4.5 $0.00006 $0.00151

Measured 2mo ago against content hash 8f7e55f86014, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kx-flex-panel 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 2mo 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.

plugins/kx-dashboards-knowledge/skills/kx-flex-panel/SKILL.md · 152 lines

How it starts

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

FlexPanel — Fixed Region + Flexible Content

key: "FlexPanel" · definitionId: "1011"

Also read kx-dashboard-core for envelope, screen/widget wrapper, data sources, and ViewState.


When to Use

Use FlexPanel when the user asks for a pinned/fixed header, footer, or sidebar. For all other layouts use Panel (definitionId: "50").


⚠️ Hazards

  1. Fixed region is always widgets[0], main content is always widgets[1] — this applies to every orientation without exception.
  2. horizontalbottom is counter-intuitive — the footer is widgets[0] even though it renders at the bottom of the screen. The layout value controls screen position, not array order.
  3. Exactly 2 children — a third widget will not render.
  4. "row": null, "column": null on every child layout — but rowSpan/colSpan are still required.
  5. minSize is pixels, not grid units. Typical: 60–120 header, 40–60 footer, 200–280 sidebar.

Ordering Rule

widgets[0] → fixed region   Text, Dropdown, Button, SelectionControls,
                            NavigationMenu, DatePicker, Breadcrumbs,
                            PlayBack, DataFilter, TreeView

widgets[1] → main content   Datagrid, ChartGL, Datatable, PieJS,
                            Heatmap, Panel, Tabs, nested FlexPanel

The layout option only sets where the fixed region appears on screen:

layout Fixed region renders at
"horizontaltop" Top (header)
"horizontalbottom" Bottom (footer) — widgets[0] is still first in array
"verticalleft" Left sidebar
"verticalright" Right sidebar

Schema

{
  "id": "<flexpanel-uuid>",
  "key": "FlexPanel",
  "containerId": null,
  "components": [],
  "definitionId": "1011",
  "hasOnSettingsChange": true,
  "options": {
    "version": "4.7.7",
    "Basics": {
      "Name": "",
      "layout": "horizontaltop",  // horizontaltop | horizontalbottom | verticalleft | verticalright
      "minSize": 80,               // pixel height (horizontal) or width (vertical) of fixed region
      "maxSize": 0                 // 0 = no cap; fixed region stays at minSize
    },
    "Style": { "advanced": "" }
  },
  "widgets": [
    {
      // ── widgets[0]: FIXED REGION (header / footer / sidebar) ──────────
      "id": "<fixed-widget-uuid>",
      "layout": { "row": null, "column": null, "rowSpan": 3, "colSpan": 36 },
      "component": {
        // Text, Dropdown, Button, SelectionControls, NavigationMenu, DatePicker …
        // See kx-text, kx-dropdown, kx-selectioncontrols, etc.
      }
    },
    {
      // ── widgets[1]: MAIN CONTENT (fills remaining space) ──────────────
      "id": "<main-widget-uuid>",
      "layout": { "row": null, "column": null, "rowSpan": 21, "colSpan": 36 },
      "component": {
        // Datagrid, ChartGL, Panel, Tabs, nested FlexPanel …
        // See kx-datagrid, kx-chartgl, kx-tabs, etc.
      }
    }
  ]
}

Read the full file on GitHub · 152 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. 2mo ago First seen · 152 lines · 58 tokens per session scan A 8f7e55f86014

Subscribe to this mod's changes

kx-flex-panel is a skill published in the GitHub repository KxSystems/kx-skills (22 stars, last pushed 22d ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,512 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

kx-flex-panel compared with skills from other repositories

kx-flex-panel next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kx-flex-panelKxSystems/kx-skillsSkill2222d agoApache-2.0A58Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code