GitWand: Instructions file for Claude Code

CLAUDE.md

GitWand CLAUDE.md is an instructions file for Claude Code from devlint/GitWand. It costs 1,141 tokens per session, scanned A, original, MIT.

Project instructions for GitWand, a desktop Git client built with Tauri, Vue, Rust, and TypeScript in a monorepo—a repository that contains multiple related packages and apps.

In plain words
What is it for?
Use them when developing GitWand, changing its apps or packages, updating versions, or working with its documentation, scripts, and continuous-integration setup.
Why use it?
They explain the repository structure, shared versioning rules, development requirements, and separation between the desktop app, core engine, command-line tool, server, and VS Code extension.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is devlint/GitWand's own configuration. It tells Claude Code how to work on GitWand 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 GitWand configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 GitWand CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/devlint/gitwand/claude-md"><img src="https://agentmods.dev/badge/instructions/devlint/gitwand/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,141 This file is loaded in full into every session.
When invoked 1,141 The same file — it is already loaded in full.
Security scan A 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.01141 $0.01141
Opus 5.5 $0.00456 $0.00456
Sonnet 5.5 $0.00228 $0.00228
Haiku 4.5 $0.00114 $0.00114

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

Security

Grade A, and why

GitWand CLAUDE.md scanned grade A 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 2mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

**Règle critique :** ne jamais introduire de module Node.js dans `packages/core` (fs, path, child_process, etc.).
CLAUDE.md · 96 lines

How it starts

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

@AGENTS.md

GitWand — Vue d'ensemble

GitWand est un client Git desktop natif avec un moteur de résolution automatique de conflits Git et des features AI intégrées.

Stack technique : Tauri 2, Vue 3, Rust, TypeScript, pnpm monorepo

Versions : apps/desktop, packages/core, packages/cli et packages/mcp sont versionnés en lock-step par ./scripts/bump-version.sh — leur numéro de version courant est donc toujours identique et se lit dans packages/core/package.json (source de vérité unique ; ne pas recopier un chiffre ici, il dérive dès le bump suivant). packages/vscode (gitwand-vscode) est versionné indépendamment — voir son propre package.json.

Architecture monorepo

GitWand/
├── apps/
│   └── desktop/          # App Tauri 2 + Vue 3
├── packages/
│   ├── core/             # Moteur TS résolution conflits
│   ├── cli/              # CLI Node.js @gitwand/cli
│   ├── mcp/              # Serveur MCP @gitwand/mcp
│   └── vscode/           # Extension VS Code
├── website/              # Docs VitePress
├── scripts/
│   └── bump-version.sh   # Script de versioning
├── .github/workflows/    # CI/CD
└── AGENTS.md             # Règles AI transverses

Séparation des responsabilités

  • packages/core — moteur portable (browser/Node/Tauri), logique de résolution PURE. Aucune dépendance Node.js native : doit rester compatible browser.
  • apps/desktop — UI Vue 3 + backend Rust Tauri. Consomme @gitwand/core via workspace.
  • packages/cli et packages/mcp — wrappers minces autour de @gitwand/core, pas de logique de résolution propre.
  • packages/vscode — extension VS Code avec son propre lifecycle (activation events, contributes), utilise @gitwand/core.

Règle critique : ne jamais introduire de module Node.js dans packages/core (fs, path, child_process, etc.).

Setup développement

# Prérequis : Node 22.13+, pnpm 11+, Rust stable
pnpm install

# Dev frontend uniquement (sans Rust/Tauri)
cd apps/desktop && pnpm dev:web

# Dev app complète (avec Rust/Tauri, recompile le backend)
cd apps/desktop && pnpm dev

# Build tous les workspaces
pnpm build

# Tests tous les workspaces
pnpm test

Read the full file on GitHub · 96 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. 2mo ago First seen · 96 lines · 1,141 tokens per session scan A 91b8efed5e72

Subscribe to this mod's changes

GitWand CLAUDE.md is an instructions file published in the GitHub repository devlint/GitWand (194 stars, last pushed yesterday), licensed MIT. It adds 1,141 tokens to every session, about $0.0046 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

GitWand CLAUDE.md compared with instructions from other repositories

GitWand CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
GitWand CLAUDE.mddevlint/GitWandInstructions file194yesterdayMITA1,141Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode