dotsweep: Instructions file for Claude Code

CLAUDE.md

dotsweep CLAUDE.md is an instructions file for Claude Code from stanmaygo/dotsweep. It costs 640 tokens per session, scanned A, a copy of dotsweep AGENTS.md, MIT.

Repository instructions for maintaining the published dotsweep agent skill. A mirror repository is a copy whose source of truth is stored elsewhere.

In plain words
What is it for?
Use them when updating, syncing, or validating the dotsweep skill, especially before publishing it or changing its source prompt.
Why use it?
They prevent edits in the mirror from being overwritten or from making the local and hosted versions disagree. They also require the main instruction files to remain identical.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stanmaygo/dotsweep/claude-md"><img src="https://agentmods.dev/badge/instructions/stanmaygo/dotsweep/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 640 This file is loaded in full into every session.
When invoked 640 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% 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.00640 $0.00640
Opus 5.5 $0.00256 $0.00256
Sonnet 5.5 $0.00128 $0.00128
Haiku 4.5 $0.00064 $0.00064

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

Security

Grade A, and why

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

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

100% identical to dotsweep AGENTS.md — 0 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.

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

dotsweep-skill

The published agent skill for dotsweep, and its packaging. Nothing else lives here.

AGENTS.md is a byte-identical copy of this file: Codex, Cursor and Warp read that name, Claude Code reads this one, and the validator holds them equal so they are one document rather than two.

This repo is a mirror, not the source

skills/dotsweep/SKILL.md is generated by copying, from the engine repository that also holds the Go CLI and the Cloudflare Worker. Editing it here is how the two come to disagree: the next sync overwrites the change, and the hosted dotsweep.com/skill.md — which is what the paste-one-message install actually fetches — keeps serving the other version. Two installs of the same skill then behave differently with nothing reporting it.

Edit the prompt in the engine repo, then run scripts/sync-skill.sh here.

What must stay true

  • SKILL.md at the root and skills/dotsweep/SKILL.md hold the same bytes. npx skills add reads the root path and a manual installer reads the directory, so both have to be the prompt.

    This was a symlink, and a symlink does not survive publication: raw.githubusercontent.com serves a link's target as the file body, so the published root SKILL.md returned the 24-byte string skills/dotsweep/SKILL.md to anything reading it without a clone — the GitHub UI, a raw URL, a copy-paste install. The invariant was right and the mechanism was wrong. sync-skill.sh writes both copies and the validator compares them, which asserts the thing that actually matters.

  • The version lives in two files — metadata.version in the skill frontmatter and version in .claude-plugin/plugin.json — and they must move together. marketplace.json deliberately carries none, so plugin.json stays the single source of truth. scripts/bump-version.py carries it across on sync so it is not a step someone has to remember.

  • No machine-specific paths and no API host but dotsweep.com in the prompt. Both were violated once in the commit that added the check for them.

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. 2mo ago First seen · 52 lines · 640 tokens per session scan A 0583501c77f1

Subscribe to this mod's changes

dotsweep CLAUDE.md is an instructions file published in the GitHub repository stanmaygo/dotsweep (3 stars, last pushed 3mo ago), licensed MIT. It adds 640 tokens to every session, about $0.0026 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to dotsweep AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens