claude: Instructions file for Claude Code

CLAUDE.md

claude CLAUDE.md is an instructions file for Claude Code from nasrulhazim/claude. It costs 2,302 tokens per session, scanned A, original, MIT.

Repository instructions for a Claude Code toolkit containing reusable skills, agent role files, and slash commands.

In plain words
What is it for?
Creating or updating skills, agents, commands, installation scripts, and the plugin structure in the Claude toolkit.
Why use it?
They describe the required file structure, formatting, technology stack, and project conventions for extending or maintaining the toolkit.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nasrulhazim/claude/claude-md"><img src="https://agentmods.dev/badge/instructions/nasrulhazim/claude/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,302 This file is loaded in full into every session.
When invoked 2,302 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.02302 $0.02302
Opus 5.5 $0.00921 $0.00921
Sonnet 5.5 $0.00460 $0.00460
Haiku 4.5 $0.00230 $0.00230

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

Security

Grade A, and why

claude 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> installer via curl, but stale local clones must pull first.
CLAUDE.md · 143 lines

How it starts

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

CLAUDE.md — Claude Toolkit

Project Overview

A complete Claude Code toolkit: skills, agents and commands in one repo (nasrulhazim/claude). Skills are self-contained directories under skills/ with a SKILL.md and optional references/ folder; agents are single-file role personas under agents/; commands are single-file slash commands under commands/.

Stack

  • Format: Markdown with YAML frontmatter (SKILL.md, agents; frontmatter optional for commands)
  • Target: Claude Code (installer + plugin marketplace) / Laravel Cloud Skills
  • Baseline: Kickoff.my stack (Livewire 4, Pest, PHPStan, Rector, Pint, GitHub Actions)

Architecture

.claude-plugin/               # plugin.json + marketplace.json (single plugin, source "./")
templates/                    # managed blocks appended to ~/.claude/CLAUDE.md by install.sh
skills/
├── [skill-name]/
│   ├── SKILL.md              # YAML frontmatter + markdown instructions
│   └── references/           # Templates, patterns, examples (pure markdown, no frontmatter)
agents/[agent-name].md        # Role personas that load skills as their playbook
commands/[command-name].md    # Slash commands (subdirs allowed for namespacing)
install.sh                    # Installs all three types to ~/.claude/{skills,agents,commands}
generate-manifest.sh          # Regenerates manifest.txt (type-prefixed entries)
migrations.txt                # Rename/removal mappings (legacy skill format + type-prefixed)

DO / DON'T

  • ✅ DO include metadata: with compatible_agents and tags in every SKILL.md frontmatter
  • ✅ DO include trigger phrases in both English and Bahasa Malaysia
  • ✅ DO use description: > (multiline YAML) for the skill description field
  • ✅ DO add a ## Reference Files table at the end of every SKILL.md — it is always the last section
  • ✅ DO end every high-stakes skill with ## Common Rationalizations (excuse → reality table), ## Red Flags and ## Verification (checkbox gate), placed immediately before ## Reference Files
  • ✅ DO keep reference files as pure markdown (no YAML frontmatter)
  • ✅ DO keep agents thin (25–75 lines): role persona + "load these skills" + rules — knowledge lives in skills
  • ✅ DO write agent descriptions in third person, trigger-oriented ("Use this agent when/for …")
  • ❌ DON'T use frontmatter in reference files — only in SKILL.md
  • ❌ DON'T hardcode project-specific values in skills — keep them generic
  • ❌ DON'T duplicate content between SKILL.md and reference files — SKILL.md is the instruction, references are the data
  • ❌ DON'T duplicate skill content inside agents — the agent loads the skill instead

Read the full file on GitHub · 143 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. 2d ago Changed · +2 lines · +101 tokens per session be52e7d61156
  2. 3d ago Changed · +15 tokens per session 5e49fcf5147b
  3. 1mo ago Changed · +7 lines · +112 tokens per session 5ebfc997660f
  4. 1mo ago Changed · +45 lines · +693 tokens per session e4f38213f7a0
  5. 2mo ago First seen · 89 lines · 1,381 tokens per session scan A 10592843f850

Subscribe to this mod's changes

claude CLAUDE.md is an instructions file published in the GitHub repository nasrulhazim/claude (25 stars, last pushed today), licensed MIT. It adds 2,302 tokens to every session, about $0.0092 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens