<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/claude-code-slash-commands-sngosxotv" -->

---
title: Claude Code Slash Commands | daily.dev
description: A walkthrough of Claude Code&#x27;s slash commands for developers getting started with the tool. Covers built-in commands like /init, /memory, /permissions,...
canonical: https://daily.dev/posts/claude-code-slash-commands-sngosxotv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Claude Code Slash Commands | daily.dev
og:description: A walkthrough of Claude Code&#x27;s slash commands for developers getting started with the tool. Covers built-in commands like /init, /memory, /permissions,...
og:url: https://daily.dev/posts/claude-code-slash-commands-sngosxotv
og:image: https://api.daily.dev/og/posts/sNGOSxOtv.png
og:image:alt: Claude Code Slash Commands
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.

# Claude Code Slash Commands

**[Telusko](https://daily.dev/sources/telusko)** · 18 min read · 0 upvotes · 0 comments

## Summary

A walkthrough of Claude Code's slash commands for developers getting started with the tool. Covers built-in commands like /init, /memory, /permissions, /context, /compact, /clear, /model, /plan, /diff, /review, /rewind, /resume, /rename, /goal, and /doctor. Explains context window management strategies including when to use /compact vs starting a new session, how to switch between Claude models (Opus, Sonnet, Haiku) based on task type, and how to manage sessions effectively to avoid hallucinations from overfilled context windows.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=FXgZdUe7lGo>

## Similar posts on daily.dev

- [4 Claude Code slash commands I use daily that make me more productive](https://daily.dev/posts/4-claude-code-slash-commands-i-use-daily-that-make-me-more-productive-38uavuwj0) · XDA Developers · 0 upvotes · 0 comments
- [Getting More Out of Claude Code in the Terminal](https://daily.dev/posts/getting-more-out-of-claude-code-in-the-terminal-o7xasutw7) · marmelab · 2 upvotes · 0 comments
- [Claude Code, Command by Command — Part 2: Context and Memory](https://daily.dev/posts/claude-code-command-by-command-part-2-context-and-memory-4kgbmz1ar) · Medium · 1 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-coding](https://daily.dev/tags/ai-coding), [#prompt-engineering](https://daily.dev/tags/prompt-engineering), [#claude-code](https://daily.dev/tags/claude-code), [#context-engineering](https://daily.dev/tags/context-engineering)

[View this post on daily.dev](https://daily.dev/posts/claude-code-slash-commands-sngosxotv)

```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":"Claude Code Slash Commands","url":"https://daily.dev/posts/claude-code-slash-commands-sngosxotv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/claude-code-slash-commands-sngosxotv"},"datePublished":"2026-06-06T13:09:41.102Z","dateModified":"2026-06-06T13:09:58.069Z","description":"A walkthrough of Claude Code's slash commands for developers getting started with the tool. Covers built-in commands like /init, /memory, /permissions,...","image":"https://i.ytimg.com/vi/FXgZdUe7lGo/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/FXgZdUe7lGo/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Telusko","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":"Telusko","logo":"https://media.daily.dev/image/upload/s--xVEBUipN--/f_auto/v1728072944/logos/telusko","url":"https://daily.dev/sources/telusko"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/claude-code-slash-commands-sngosxotv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,ai-coding,prompt-engineering,claude-code,context-engineering","timeRequired":"PT18M","video":{"@type":"VideoObject","name":"Claude Code Slash Commands","description":"A walkthrough of Claude Code's slash commands for developers getting started with the tool. Covers built-in commands like /init, /memory, /permissions,...","thumbnailUrl":"https://i.ytimg.com/vi/FXgZdUe7lGo/sddefault.jpg","uploadDate":"2026-06-06T13:09:41.102Z","duration":"PT18M","url":"https://api.daily.dev/r/sNGOSxOtv","embedUrl":"https://www.youtube.com/embed/FXgZdUe7lGo"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Telusko","item":"https://daily.dev/sources/telusko"},{"@type":"ListItem","position":3,"name":"Claude Code Slash Commands"}]}
```

