visual-stack: Instructions file for Claude Code

CLAUDE.md

visual-stack CLAUDE.md is an instructions file for Claude Code, Codex from Cavalry-Collective/visual-stack. It costs 7,851 tokens per session, scanned C, original, MIT.

Repository instructions for Visual Stack, a coding-agent plugin for interactive wireframing and reviewing user interfaces in a browser. Users comment on a wireframe or running app, and the agent applies the feedback to publish a new version.

In plain words
What is it for?
For building, reviewing, and updating interactive wireframes or app interfaces through browser comments, while maintaining the plugin repository and its host integrations.
Why use it?
It gives the coding agent the project’s commands, architecture, and rules so feedback can be handled consistently. It also explains how the plugin is packaged for different agent hosts.

Instructions file for Claude CodeCodex

Written for Codex and Claude Code: reads $CODEX_HOME, but also the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is Cavalry-Collective/visual-stack's own configuration. It tells Claude Code and Codex how to work on visual-stack 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 visual-stack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Cavalry-Collective/visual-stack. 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/Cavalry-Collective/visual-stack/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Cavalry-Collective/visual-stack

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 visual-stack CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cavalry-collective/visual-stack/claude-md/github.svg)](https://agentmods.dev/instructions/cavalry-collective/visual-stack/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cavalry-collective/visual-stack/claude-md"><img src="https://agentmods.dev/badge/instructions/cavalry-collective/visual-stack/claude-md/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 visual-stack CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cavalry-collective/visual-stack/claude-md"><img src="https://agentmods.dev/badge/instructions/cavalry-collective/visual-stack/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,851 This file is loaded in full into every session.
When invoked 7,851 The same file — it is already loaded in full.
Security scan C 1 finding. 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.07851 $0.07851
Opus 5.5 $0.03140 $0.03140
Sonnet 5.5 $0.01570 $0.01570
Haiku 4.5 $0.00785 $0.00785

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

Security

Grade C, and why

visual-stack CLAUDE.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf $SANDBOX
CLAUDE.md · 605 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

Visual Stack — a coding-agent plugin for interactive wireframing and UI review. The user comments directly on a wireframe (or a running app) in a browser workspace; the agent applies the feedback and publishes the next version into the same workspace. The repo is a Claude Code plugin marketplace (.claude-plugin/marketplace.json) with one plugin, plugins/vstack/, which also ships a Codex manifest (.codex-plugin/) and a Grok host adapter (skills/review/hosts/grok.md).

This repo is the thing people install; nothing is installed into it. No .grok/skills/, no .claude/skills/, no vendored copy of our own plugin — a host that discovers skills from a project directory gets instructions in its host adapter, not a checked-in skill directory that then has to be kept in sync.

.claude/commands/ is the one exception, and it holds maintainer tooling only: commands for working on this repo, which ship to nobody and mirror no part of the plugin. /ship is the only one. A command there states no rule of its own — it points at the section of this file that owns the rule.

Plain Node ≥ 18 ES modules, standard library only. There is no package.json, build step, bundler, or linter. (node_modules/ at the root appears only when recording the README demo, which installs playwright-core.)

Commands

Tests are standalone Node scripts — run them directly, one file per suite:

node plugins/vstack/skills/review/tests/review-lifecycle.mjs   # end-to-end review server round-trip
node plugins/vstack/skills/review/tests/host-profiles.mjs      # host profiles conform to host.schema.json
node plugins/vstack/skills/review/tests/workdir.mjs            # .vstack/local working-dir resolution
node plugins/vstack/skills/review/tests/round-gate.mjs         # `unanswered` and the Stop hook that runs it
node plugins/vstack/skills/review/tests/update-check.mjs       # per-host update detection and the banner it produces
node plugins/vstack/skills/review/tests/design-tokens.mjs      # the shell's palette still matches design/tokens.css
node plugins/vstack/skills/proofread/tests/proofread.mjs       # proofread's batches, reply checks, restore and host rules

Read the full file on GitHub · 605 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 Changed · +4 tokens per session 5cb4ff65dede
  2. 6d ago Changed · +2 lines · +49 tokens per session 7ac3173b78f0
  3. 12d ago Changed · +48 lines · +570 tokens per session 9127b147c82b
  4. 19d ago Changed · +10 tokens per session ae886e580315
  5. 25d ago Changed · +25 tokens per session fbdfb476c970
  6. 26d ago Changed · +2 lines · +55 tokens per session 01adf21ccc8f
  7. 3mo ago First seen · 553 lines · 7,138 tokens per session scan C 75a2f5d81990

Subscribe to this mod's changes

visual-stack CLAUDE.md is an instructions file published in the GitHub repository Cavalry-Collective/visual-stack (16 stars, last pushed 2d ago), licensed MIT. It adds 7,851 tokens to every session, about $0.0314 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

visual-stack CLAUDE.md compared with instructions from other repositories

visual-stack CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
visual-stack CLAUDE.mdCavalry-Collective/visual-stackInstructions file162d agoMITC7,851Claude Code, Codex
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot