write-view

write-view is a skill for Claude Code from mopi1402/tayomi-cc-views. It costs 115 tokens per session (1,251 once invoked), scanned A, original, MIT.

A guide for creating or fixing .view templates used by @tayomi/cc-views, a tool that draws reports, banners, lists and tables in a terminal.

In plain words
What is it for?
Use it to inspect available view types, choose an existing template or write the correct template and message block.
Why use it?
It helps diagnose why a view is missing, renders as raw text or receives data in the wrong format.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the cc-views plugin — 1 skill shipped together

Good fit Use it to inspect available view types, choose an existing template or write the correct template and message block.

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

Made for: Claude Code.

Or install cc-views, the plugin that ships this one along with the rest of its 1 skill.

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-view

README.md
[![agentmods](https://agentmods.dev/badge/skills/mopi1402/tayomi-cc-views/write-view.svg)](https://agentmods.dev/skills/mopi1402/tayomi-cc-views/write-view)
Your own site
<a href="https://agentmods.dev/skills/mopi1402/tayomi-cc-views/write-view"><img src="https://agentmods.dev/badge/skills/mopi1402/tayomi-cc-views/write-view.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,251 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 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.00115 $0.01251
Opus 5 $0.00057 $0.00626
Sonnet 5 $0.00023 $0.00250
Haiku 4.5 $0.00012 $0.00125

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

Security

Grade A, and why

write-view 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 8d 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.

plugin/skills/write-view/SKILL.md · 114 lines

How it starts

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

Writing a .view

A view is two halves that live apart: a TEMPLATE file dressing the data, and a BLOCK in the message carrying it. Get the halves confused and nothing draws.

Work in this order. Steps 1 and 5 are the ones that are skipped and the ones that cost the most.

1. Ask the engine what already exists

cc-views dict

It prints THIS install's own answer as JSON: every directive with what it takes, every tag name, and every view the search path resolves, in resolution order, each with the fields it spends and the payload it expects. Read it before writing anything.

A view whose spends already covers the fields you have is a view you do not have to write. The bundled ones cover most asks: banner and quote over a markdown quote, columns and lines over a markdown table, box over a table whose header row is a title and a badge rather than column names, mermaid over an ordinary ```mermaid fence (its ONLY payload, drawn in the terminal), hr on its own line. If one fits, go straight to step 4 and write no file at all. One view, one payload shape: the payload field in cc-views dict names the single form each one accepts, and any other shape under its decorator shows raw.

2. Read the language, never infer it

The generated reference ships inside the package, dumped from the tables the engine executes:

node_modules/@tayomi/cc-views/agent/catalogue.json

Every directive with what it takes, what it opens and what closes it, the containers each is read in, the two carriers and the data block's line forms, every tag name with the suffixes a colour derives, and every view this package ships. It cannot drift from the engine: a word taken out of the table stops being read, and the render changes with it.

Beside it, docs/CHEATSHEET.md is the same language written for a human, and carries the worked example the JSON has no room for. Read one of the two rather than guessing a directive that reads plausibly, and read one of the two rather than trusting this file, which teaches the PROCEDURE and not the grammar.

Read the full file on GitHub · 114 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. 8d ago First seen · 114 lines · 115 tokens per session scan A 863ddd8c6d2d

Subscribe to this mod's changes

write-view is a skill published in the GitHub repository mopi1402/tayomi-cc-views (3 stars, last pushed 22d ago), licensed MIT. It adds 115 tokens to every session and 1,251 once invoked, about $0.0006 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