spherse-create-agent-chat-theme

spherse-create-agent-chat-theme is a skill for Claude Code, Codex from mengrru/Spherse. It costs 45 tokens per session (3,761 once invoked), scanned A, original, MIT.

A CSS theme for changing the appearance of an individual Spherse agent’s chat window. CSS is the language used to control webpage colors, spacing, borders, and other visual styles.

In plain words
What is it for?
Use it to customize a chat background, header, message bubbles, avatars, input area, Markdown blocks, or placeholder text.
Why use it?
It lets one agent’s chat have its own appearance without changing the styling of every other chat window.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is background-image: url(./assets/bg.png);.

Good fit Use it to customize a chat background, header, message bubbles, avatars, input area, Markdown blocks, or placeholder text.

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/mengrru/Spherse
agentmods
npx agentmods add skills/mengrru/spherse/spherse-create-agent-chat-theme

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 spherse-create-agent-chat-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/mengrru/spherse/spherse-create-agent-chat-theme/github.svg)](https://agentmods.dev/skills/mengrru/spherse/spherse-create-agent-chat-theme)
Your own site
<a href="https://agentmods.dev/skills/mengrru/spherse/spherse-create-agent-chat-theme"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/spherse-create-agent-chat-theme/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 spherse-create-agent-chat-theme

Your own site · 80×15
<a href="https://agentmods.dev/skills/mengrru/spherse/spherse-create-agent-chat-theme"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/spherse-create-agent-chat-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,761 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.00045 $0.03761
Opus 5 $0.00023 $0.01880
Sonnet 5 $0.00009 $0.00752
Haiku 4.5 $0.00005 $0.00376

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

Security

Grade A, and why

spherse-create-agent-chat-theme 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 10d 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.

packages/presets/skills/spherse-create-agent-chat-theme/SKILL.md · 268 lines

How it starts

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

Agent Chat Theme

Agent chat themes live in the agent directory as theme.css (.spherse/agents/{agent-slug}/theme.css).

写法:原生 CSS Nesting

原生 CSS nesting 编写,最外层包裹 [data-chat-root] { ... },所有规则嵌套其中。Electron 渲染进程跑在现代 Chromium 上(Chrome 112+ 起原生支持 CSS nesting)。主题以 <link rel="stylesheet"> 从项目 preview 路由载入(与项目级主题一致),不做任何转换

[data-chat-root] {
  /* 根级变量 */
  --sp-background: #0c0b12;

  /* 嵌套选择器——自动作用域到 chat 内 */
  [data-chat-header] { border-bottom: 1px solid #2a2932; }
  [data-chat-bubble] { border-radius: 12px; }
}

不要把根级变量 / 背景声明写在最外层之外。它们必须落在 [data-chat-root] { ... } 内,才能作用于聊天窗口。

层叠关系

聊天主题遵循三级层叠(低 → 高优先级):

  1. App defaultsstyles.css)— 内置 :root / --sp-* 变量
  2. Project theme.spherse/theme.css,通过 document.head<link> 注入)— 可覆盖 UI 变量,也可写 [data-chat-root] { ... } 块,作为所有 chat 窗口的全局默认样式
  3. Agent theme(本文件,chat 容器内后载入的 <link>)— 相同特异性下覆盖 project theme 的 chat 规则

优先级原理:agent theme 的 <link> 渲染在 chat 容器内,DOM 顺序上比 project theme 的 <link>(位于 document.head)更靠后。CSS 层叠规则下,相同特异性的规则后者胜出,因此 agent theme 自然覆盖 project theme 的 chat 规则。

想给所有 agent 设统一聊天默认样式,优先写进项目级 .spherse/theme.css[data-chat-root] { ... } 块;单个 agent 覆盖默认值,写在本文件里。

选择器速查

目标 选择器
Chat 根级颜色变量 [data-chat-root] { ... } 内声明 --sp-* 变量
Chat 根级渐变/图片背景 [data-chat-root] { ... } 内写 background: / background-image:
Header [data-chat-header]
消息外层行 [data-chat-message][data-role="user"][data-role="assistant"]
消息气泡 [data-chat-bubble]
Trigger 对话轮折叠摘要条 [data-chat-turn-collapse]
助手头像 [data-chat-message][data-role="assistant"]::before
Composer 外层 [data-chat-composer]
输入框外框 [data-chat-composer-input]
文本输入区文字 [data-chat-composer] textarea
Placeholder [data-chat-composer] textarea::placeholder
代码块 [data-md-code]
行内代码 [data-md-code-inline]
引用块 [data-md-quote]

滚动条:在 [data-chat-root] { ... } 内覆盖 --sp-scrollbar-* 变量(--sp-scrollbar-thumb / --sp-scrollbar-thumb-hover / --sp-scrollbar-size / --sp-scrollbar-track)即可只改变聊天窗口的滚动条外观;变量与默认值详见 spherse-create-ui-theme skill 的「滚动条」一节。agent theme 的 <link> 在 DOM 中比 project theme 更靠后,相同特异性下自然覆盖项目级滚动条设置。

Read the full file on GitHub · 268 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. 10d ago First seen · 268 lines · 45 tokens per session scan A 1cd099683021

Subscribe to this mod's changes

spherse-create-agent-chat-theme is a skill published in the GitHub repository mengrru/Spherse (71 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 3,761 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-30.

Related

Other skills, from other repositories

web-design

Penguin visual language for generated web pages and app UIs — GitHub-style simplicity with a single blue accent, light and pure-black dark themes, design tokens, component and chat-interface recipes, plus an opt-in warm paper editorial theme.

Prism-Shadow/penguin-harness · 51 tokens

popular-web-designs

54 real-world design systems (Stripe, Linear, Vercel, Notion, Apple…) as ready-to-paste HTML/CSS — exact colors, typography, components, and spacing for styling a page after a known brand.

yc-software/qm · 51 tokens

prototype

A clickable HTML and CSS mock-up for testing one main user journey before building the real software. It uses sample data and can contain one to three connected screens.

andrewcigan/vibe-dev-plugin · 62 tokens

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OWWZO/ai-agent · 40 tokens

design-system

A skill for defining an app's visual rules and implementing them with NativeWind and Tailwind, tools for styling interfaces with reusable settings. It covers colors, text styles, reusable component variants, and screen layouts.

seungmanchoi/react-native-fsd-agent-template · 103 tokens

design-taste-frontend-v1

The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is design-taste-frontend (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.

creativedswork/dscode · 61 tokens