write-terva-themes

write-terva-themes is a skill for Claude Code, Codex from terva-sh/terva. It costs 25 tokens per session (2,278 once invoked), scanned A, a copy of write-zot-themes, MIT.

A skill for creating, editing, installing, debugging, or packaging terva themes. A terva theme is a JSON file that changes selected colors, syntax colors, spinner settings, or metadata while leaving unspecified values inherited from the built-in theme.

In plain words
What is it for?
Use it to make user themes or theme-only extensions, put theme files in the expected directories, and troubleshoot or package them.
Why use it?
It explains the file format, supported locations, and how extension-owned themes are loaded, so theme changes can be placed and packaged correctly.

Skill for Claude CodeCodex

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

Good fit Use it to make user themes or theme-only extensions, put theme files in the expected directories, and troubleshoot or package them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terva-sh/terva/write-terva-themes
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 terva-sh/terva --skill write-terva-themes
Clone the repo
git clone --depth 1 https://github.com/terva-sh/terva

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 write-terva-themes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/terva-sh/terva/write-terva-themes"><img src="https://agentmods.dev/badge/skills/terva-sh/terva/write-terva-themes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,278 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.
Origin 88% copy Near-identical to another mod 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.00025 $0.02278
Opus 5 $0.00013 $0.01139
Sonnet 5 $0.00005 $0.00456
Haiku 4.5 $0.00003 $0.00228

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

Security

Grade A, and why

write-terva-themes 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 9d 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.

Origin

This is a copy

88% identical to write-zot-themes — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/agent/skills/builtin/write-terva-themes/SKILL.md · 341 lines

How it starts

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

Writing terva themes

Use this skill when the user asks for help creating, editing, installing, debugging, or packaging a terva color theme. Read this skill before generating a theme file or advising on theme extension layout.

What a terva theme is

A terva theme is a JSON file that overrides any subset of terva's built-in light/dark theme values. Theme files are intentionally permissive: nothing is required. A file may contain only colors, only spinner settings, only syntax colors, or only metadata. Missing values always inherit from the built-in detected light/dark default.

User themes are discovered from:

$TERVA_HOME/themes/*.json

Extension themes are discovered in-place from loaded extension dirs:

$TERVA_HOME/extensions/<extension>/theme.json
$TERVA_HOME/extensions/<extension>/themes/theme.json
<project>/.terva/extensions/<extension>/theme.json
<project>/.terva/extensions/<extension>/themes/theme.json

terva does not copy extension themes into $TERVA_HOME/themes; extension owned themes stay in the extension directory. The settings picker stores an absolute path for extension-owned themes and loads that file directly.

Minimal examples

Empty / metadata-only theme

Valid; inherits all colors/spinner/syntax from terva defaults.

{
  "name": "my-theme",
  "description": "Metadata only; all visuals inherit terva defaults."
}

Change one color for both light and dark

{
  "name": "pink-accent",
  "colors": {
    "accent": 204
  }
}

Change one color per mode

{
  "name": "split-accent",
  "colors": {
    "dark": { "accent": 204 },
    "light": { "accent": 161 }
  }
}

Spinner-only theme

Top-level spinner overrides are valid and apply to both modes.

{
  "name": "custom-spinner",
  "description": "Only changes the busy spinner.",
  "spinner_frames": ["◢", "◣", "◤", "◥"],
  "spinner_messages": ["working"],
  "spinner_interval_ms": 120
}

Dark-only theme also works in light terminals

Read the full file on GitHub · 341 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. 9d ago First seen · 341 lines · 25 tokens per session scan A f117dc5a7f1d

Subscribe to this mod's changes

write-terva-themes is a skill published in the GitHub repository terva-sh/terva (2 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 2,278 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to write-zot-themes, differing in 58 lines, and is treated as a copy.

Related

Other skills, from other repositories

pi-sync

Daily upstream-sync job for the pi Go port — fetch upstream pi, triage every change since the recorded pin, port what's in scope, verify idiomatic + parity via independent reviews, update the ledger, and push. Use for "sync with upstream", "porting job", or as the scheduled daily run.

sky-valley/pi · 66 tokens

pi-go-review

Review ported Go code for idiomatic quality — that the port maximizes Go rather than transliterating TypeScript. Use after porting upstream pi changes, or standalone on any diff in this repo.

sky-valley/pi · 45 tokens

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop-shell.

QwenLM/qwen-code · 69 tokens

dataviz

Design guidance for charts, graphs, dashboards, maps, and data visualizations, including a local palette validator.

QwenLM/qwen-code · 26 tokens

frontend-design

Produce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.

Hmbown/CodeWhale · 21 tokens

create-remotion-geist

Create Remotion videos using the Geist design system aesthetic. Use when asked to create videos, animations, or motion graphics that should follow Vercel's visual style - dark theme, spring animations, Geist typography, and the Geist color palette.

Marve10s/Better-Fullstack · 54 tokens