palot: Skill for Claude Code

.agents/skills/diffs/SKILL.md

diffs is a skill for Claude Code, Codex from ItsWendell/palot. It costs 61 tokens per session (656 once invoked), scanned A, original, MIT.

A code-rendering guide for using @pierre/diffs in Palot. It covers showing files and changes with syntax highlighting, selections, annotations, themes, and related rendering options.

In plain words
What is it for?
Use it when changing Palot's Changes tab, file views, CodeView, diff parsing, highlighting, workers, annotations, or editor-related rendering.
Why use it?
It gives developers the project-specific rules for installing and using the library instead of guessing which package entry or API to use. It is not a general guide to code review or Git conflicts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is ItsWendell/palot's own configuration. It tells Claude Code and Codex how to work on palot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything palot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ItsWendell/palot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ItsWendell/palot/main/.agents/skills/diffs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ItsWendell/palot

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 diffs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/itswendell/palot/diffs"><img src="https://agentmods.dev/badge/skills/itswendell/palot/diffs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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.00061 $0.00656
Opus 5.5 $0.00024 $0.00262
Sonnet 5.5 $0.00012 $0.00131
Haiku 4.5 $0.00006 $0.00066

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

Security

Grade A, and why

diffs 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 1mo 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.

.agents/skills/diffs/SKILL.md · 52 lines

How it starts

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

@pierre/diffs

Modified by Palot contributors for Palot-specific scope and Vite+ installation guidance. See NOTICE.md for the pinned upstream source and LICENSE.md for the Apache-2.0 license.

Use @pierre/diffs to render syntax-highlighted files and diffs. Use its optional editor, SSR, and worker entries for those capabilities.

Install

vp add @pierre/diffs

Run the install command from apps/desktop. Install react and react-dom when the app uses the React entry.

Select an API reference

Surface Reference
Root components, parsing, and file extension APIs Core API
Languages, themes, highlighter state, and streams Highlighting API
Renderers, managers, DOM helpers, comparisons, and constants Low-level rendering API
Shared data, option, render, selection, and editor types Shared types
@pierre/diffs/react React API
@pierre/diffs/edit Editor API
@pierre/diffs/ssr SSR API
@pierre/diffs/worker and worker scripts Worker API

Select a recipe

Task Recipe
Render a file or diff in React Render with React
Render a file or diff without React Render with vanilla JavaScript
Build a virtualized review surface Use CodeView
Edit a React surface or CodeView Edit with React
Edit a vanilla surface or CodeView Edit with vanilla JavaScript
Preload markup on the server Use SSR
Highlight through a worker pool Use workers
Add line annotations and selection Add annotations and selection
Register a Shiki language or theme Register custom highlighting

Read the full file on GitHub · 52 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. 1mo ago First seen · 52 lines · 61 tokens per session scan A 367ccca4c94e

Subscribe to this mod's changes

diffs is a skill published in the GitHub repository ItsWendell/palot (194 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 656 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-09-13.

Related

diffs compared with skills from other repositories

diffs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diffsItsWendell/palotSkill1942d agoMITA61Claude Code, Codex
repo-readingyknnv/brownspecSkill22mo agoMITA57Claude Code
check-linkswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.5k3d agononeA44Claude Code, Codex
review-checklistwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.5k3d agononeA25Claude Code, Codex
source-command-methodology-advisorFlorianBruniaux/claude-code-ultimate-guideSkill6.4k2d agoCC-BY-SA-4.0A27Claude Code, Codex
methodology-advisorFlorianBruniaux/claude-code-ultimate-guideSkill6.4k2d agoCC-BY-SA-4.0A25Claude Code
release-notesFlorianBruniaux/claude-code-ultimate-guideSkill6.4k2d agoCC-BY-SA-4.0A13Claude Code