claude: Instructions file for Claude Code

CLAUDE.md

claude CLAUDE.md is an instructions file for Claude Code from nasrulhazim/claude. It costs 2,074 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: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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,074 This file is loaded in full into every session.
When invoked 2,074 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.02074 $0.02074
Opus 5 $0.01037 $0.01037
Sonnet 5 $0.00415 $0.00415
Haiku 4.5 $0.00207 $0.00207

Measured 4d ago against content hash e4f38213f7a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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 · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 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/output-format.md    # managed block 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 · 134 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. 4d ago Changed · +45 lines · +693 tokens per session e4f38213f7a0
  2. 9d 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 (22 stars, last pushed 6d ago), licensed MIT. It adds 2,074 tokens to every session, about $0.0104 per session on Opus 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

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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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 · 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens