dotfiles: Instructions file for Claude Code

CLAUDE.md

dotfiles CLAUDE.md is an instructions file for Claude Code from surajssd/dotfiles. It costs 7,578 tokens per session, scanned A, original, MIT.

A repository guide for a dotfiles project, which stores shell settings, utility scripts, agent skills, rules, and installation automation. It also explains the separate private repository used for sensitive files.

In plain words
What is it for?
It is for understanding the repository structure, installing its configuration, and finding common development commands.
Why use it?
It gives a coding agent the project layout and the commands needed to work safely in the repository.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/surajssd/dotfiles/claude-md"><img src="https://agentmods.dev/badge/instructions/surajssd/dotfiles/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,578 This file is loaded in full into every session.
When invoked 7,578 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 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.07578 $0.07578
Opus 5.5 $0.03031 $0.03031
Sonnet 5.5 $0.01516 $0.01516
Haiku 4.5 $0.00758 $0.00758

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

Security

Grade A, and why

dotfiles 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 13d 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.

CLAUDE.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 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.

Repository Overview

This is a dotfiles repository containing personal shell configurations, custom utility scripts, and installation automation. The repository manages both public and private dotfiles through a dual-repository structure.

Repository Structure

The repository follows a two-tier architecture:

  • Public repository (./): Contains shareable configurations and scripts
  • Private repository (./dotfilesprivate/): Separate git clone (not a submodule) containing private/sensitive scripts and configs. It is .gitignore'd and cloned via make clone-private

Both repositories mirror the same structure:

  • configs/ - Shell configurations, git configs, and tool settings
  • local-bin/ - Custom utility scripts
  • skills/ - Agent skills in SKILL.md format (symlinked to ~/.claude/skills/ and ~/.agents/skills/)
  • rules/ - Agent rule .md files (symlinked to ~/.claude/rules/)
  • tools/planner/ - Go module for the planner command (public repo only, installed with go install)
  • tools/asana/ - Go module for the asana task-creation command (public repo only, installed with go install)
  • tools/yt-playlist-creator/ - Go module for private YouTube playlists, with its agent skill in skill/ (public repo only, installed with go install)
  • installers/ - Installation automation scripts (public repo only)

Common Commands

Installation

# Install all configs, scripts, skills, rules, and Go commands
make install-all

# Install only scripts to ~/.local/bin
make install-local-bin

# Install only config files
make install-configs

# Install only agent skills to ~/.claude/skills and ~/.agents/skills
make install-skills

# Install only agent rules to ~/.claude/rules
make install-rules

# Build and install the planner Go command (skipped when go is absent)
make install-planner

# Build and install the asana Go command (skipped when go is absent)
make install-asana

# Build and install the playlist Go command (skipped when go is absent)
make install-yt-playlist-creator

# Download external skills (mattpocock, bastos, blader) into skills/ — also run by 'make update'
make fetch-external-skills

# Verify vendored rules in rules/ (fetches any fetch-mode entries) — also run by 'make update'
make fetch-external-rules

# Pull latest from both public and private repos
make pull-master

# Update from upstream and reinstall (pull-master + fetch-external-skills + fetch-external-rules + install-all)
make update

# Clone the private dotfiles repository
make clone-private

Read the full file on GitHub · 246 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. 13d ago Changed · +37 tokens per session a459413b7256
  2. 22d ago Changed · +1 lines · +73 tokens per session d8fbeb6bb85c
  3. 23d ago Changed · -1 lines · +116 tokens per session 805e13c2ea54
  4. 25d ago Changed · +2 lines · +54 tokens per session 0b6d3162e33f
  5. 27d ago Changed · +16 lines · +617 tokens per session 296b4de8744c
  6. 1mo ago Changed · +45 tokens per session 607028449bb3
  7. 1mo ago Changed · +2 tokens per session 53e117cc50f5
  8. 1mo ago Changed · +35 lines · +2,076 tokens per session 3b0a5b95b44f
  9. 1mo ago Changed · +102 tokens per session 084f18f7d4d3
  10. 1mo ago First seen · 193 lines · 4,456 tokens per session scan A d00d6da2bb9b

Subscribe to this mod's changes

dotfiles CLAUDE.md is an instructions file published in the GitHub repository surajssd/dotfiles (5 stars, last pushed yesterday), licensed MIT. It adds 7,578 tokens to every session, about $0.0303 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-08-31.

Related

dotfiles CLAUDE.md compared with instructions from other repositories

dotfiles CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotfiles CLAUDE.mdsurajssd/dotfilesInstructions file5yesterdayMITA7,578Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot