agent-sessions-layout

agent-sessions-layout is a skill for Claude Code, Codex from malwarebo/nyrve. It costs 51 tokens per session (1,095 once invoked), scanned A, original, MIT.

An implementation guide for the Agent Sessions workbench layout in a code editor. It defines the arrangement and behavior of areas such as the title bar, sidebar, editor, modal, and footer.

In plain words
What is it for?
Use it when changing grid positions, sizes, visibility, menus, editor overlays, session parts, lifecycle contributions, or related CSS, while updating the layout specification.
Why use it?
It keeps layout code aligned with the authoritative specification and prevents implementation changes from leaving the documented design outdated.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/malwarebo/nyrve/agent-sessions-layout
Any agent
npx skills add malwarebo/nyrve --skill agent-sessions-layout
Clone the repo
git clone --depth 1 https://github.com/malwarebo/nyrve

Made for: Claude Code, Codex.

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 agent-sessions-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/malwarebo/nyrve/agent-sessions-layout.svg)](https://agentmods.dev/skills/malwarebo/nyrve/agent-sessions-layout)
Your own site
<a href="https://agentmods.dev/skills/malwarebo/nyrve/agent-sessions-layout"><img src="https://agentmods.dev/badge/skills/malwarebo/nyrve/agent-sessions-layout.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 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 $0.00051 $0.01095
Opus 5 $0.00026 $0.00548
Sonnet 5 $0.00010 $0.00219
Haiku 4.5 $0.00005 $0.00110

Measured 5d ago against content hash 2de984ee0e97, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-sessions-layout 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 5d 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.

.github/skills/agent-sessions-layout/SKILL.md · 84 lines

How it starts

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

When working on the Agent Sessions workbench layout, always follow these guidelines:

1. Read the Specification First

The authoritative specification for the Agent Sessions layout lives at:

src/vs/sessions/LAYOUT.md

Before making any changes to the layout code, read and understand the current spec. It defines:

  • The fixed layout structure (grid tree, part positions, default sizes)
  • Which parts are included/excluded and their visibility defaults
  • Titlebar configuration and custom menu IDs
  • Editor modal overlay behavior and sizing
  • Part visibility API and events
  • Agent session part classes and storage keys
  • Workbench contributions and lifecycle
  • CSS classes and file structure

2. Keep the Spec in Sync

If you modify the layout implementation, you must update LAYOUT.md to reflect those changes. The spec should always match the code. This includes:

  • Adding/removing parts or changing their positions
  • Changing default visibility or sizing
  • Adding new actions, menus, or contributions
  • Modifying the grid structure
  • Changing titlebar configuration
  • Adding new CSS classes or file structure changes

Update the Revision History table at the bottom of LAYOUT.md with a dated entry describing what changed.

3. Implementation Principles

When proposing or implementing changes, follow these rules from the spec:

  1. Maintain fixed positions — Do not add settings-based position customization
  2. Panel must span the right section width — The grid structure places the panel below Chat Bar and Auxiliary Bar only
  3. Sidebar spans full height — Sidebar is in the main content branch, spanning from top to bottom
  4. New parts go in the right section — Any new parts should be added to the horizontal branch alongside Chat Bar and Auxiliary Bar
  5. Preserve no-op methods — Unsupported features (zen mode, centered layout, etc.) should remain as no-ops, not throw errors
  6. Handle pane composite lifecycle — When hiding/showing parts, manage the associated pane composites
  7. Use agent session parts — New part functionality goes in the agent session part classes (SidebarPart, AuxiliaryBarPart, PanelPart, ChatBarPart, ProjectBarPart), not the standard workbench parts
  8. Use separate storage keys — Agent session parts use their own storage keys (prefixed with workbench.agentsession. or workbench.chatbar.) to avoid conflicts with regular workbench state
  9. Use agent session menu IDs — Actions should use Menus.* menu IDs (from sessions/browser/menus.ts), not shared MenuId.* constants

Read the full file on GitHub · 84 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. 5d ago First seen · 84 lines · 51 tokens per session scan A 2de984ee0e97

Subscribe to this mod's changes

agent-sessions-layout is a skill published in the GitHub repository malwarebo/nyrve (5 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,095 once invoked, about $0.0003 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

plugin-guide-maintenance

Keep the Plugin Guide accurate when a public Plugin SDK change affects its documented contract or an existing Guide annotation changes order, placement, target, or overlay ownership. Use for additions, changes, renames, stabilizations, or removals in @get-bb/plugin-sdk, app.slots., or BbPluginApi that affect a Guide…

get-bb/bb · 100 tokens

skill-creator

Create new bb skills and improve existing ones. Use whenever a user asks to create, write, edit, refine, test, or optimize a skill; turn a workflow into a reusable skill; fix skill triggering; or improve a SKILL.md file.

get-bb/bb · 54 tokens

submit-a-plugin

Submit a bb plugin to the BB Community marketplace. Use whenever a user asks to submit, list, publish, or add a plugin to the BB marketplace, or asks for a marketplace pull request. This skill validates the plugin and release, creates the marketplace entry, icon, screenshots, and long-form overview, and opens the pull…

get-bb/bb · 71 tokens

memory

Use durable BB memory when prior project knowledge or cross-project user preferences can improve the current task, and save durable new learning through the bb memory CLI.

get-bb/bb · 32 tokens

workflows

Execute a workflow script that orchestrates multiple subagents deterministically. Use when the user explicitly requests a workflow, multi-agent orchestration, parallel or sequential agent pipelines, structured agent outputs, or a durable background workflow run.

get-bb/bb · 47 tokens

secrets

Securely request API keys, access tokens, passwords, webhook secrets, or other credentials and write them to a dotenv file without exposing their values to the agent. Use whenever a task needs a credential that the user must supply.

get-bb/bb · 48 tokens