<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb" -->

---
title: Steering Claude Code: when to use CLAUDE.md, skills,...
description: Claude Code offers seven methods for customizing its behavior, each with different tradeoffs between context cost and authority. CLAUDE.md files load at...
canonical: https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents | daily.dev
og:description: Claude Code offers seven methods for customizing its behavior, each with different tradeoffs between context cost and authority. CLAUDE.md files load at...
og:url: https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb
og:image: https://api.daily.dev/og/posts/BZPDvNBMb.png
og:image:alt: Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents

**[Claude](https://daily.dev/sources/claude)** · 12 min read · 6 upvotes · 0 comments

## Summary

Claude Code offers seven methods for customizing its behavior, each with different tradeoffs between context cost and authority. CLAUDE.md files load at session start for always-on project context; rules in .claude/rules/ can be path-scoped to load only when relevant; skills in .claude/skills/ are reusable procedures that load on demand; subagents run isolated tasks in separate context windows; hooks provide deterministic automation triggered by lifecycle events; output styles inject instructions into the system prompt with highest authority; and appending the system prompt adds instructions additively without replacing defaults. The post provides a decision framework: use hooks for deterministic 'always do X' behaviors, path-scoped rules for file-specific constraints, skills for multi-step procedures, and subagents when side tasks would clutter the main conversation. Key advice includes keeping CLAUDE.md under 200 lines, using managed settings for organization-wide guardrails, and preferring built-in output styles before writing custom ones.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://claude.com/blog/steering-claude-code-skills-hooks-rules-subagents-and-more>

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#prompt-engineering](https://daily.dev/tags/prompt-engineering), [#claude-code](https://daily.dev/tags/claude-code), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development)

[View this post on daily.dev](https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents","url":"https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb"},"datePublished":"2026-07-09T06:36:51.896Z","dateModified":"2026-07-09T06:37:15.049Z","description":"Claude Code offers seven methods for customizing its behavior, each with different tradeoffs between context cost and authority. CLAUDE.md files load at...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/78ea93cb17c02f5b62d719a4410225bd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/78ea93cb17c02f5b62d719a4410225bd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Claude","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Claude","logo":"https://media.daily.dev/image/upload/s--nlcGTK8C--/f_auto,q_auto/v1765715955/logos/claude","url":"https://daily.dev/sources/claude"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/steering-claude-code-when-to-use-claude-md-skills-hooks-and-subagents-bzpdvnbmb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,prompt-engineering,claude-code,ai-assisted-development","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Claude","item":"https://daily.dev/sources/claude"},{"@type":"ListItem","position":3,"name":"Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents"}]}
```

