/helpवर्तमान संस्करण द्वारा समर्थित कमांड, फ़्लैग और हेल्प प्रवेश बिंदु देखें।
AI प्रोग्रामिंग त्वरित संदर्भ
Covers the main categories of the Claude Code reference, plus common Codex entry points. Commands may vary slightly between versions — always check the terminal help for accuracy.
Session, context, review, background tasks, extension management, and workflow entry points.
/helpवर्तमान संस्करण द्वारा समर्थित कमांड, फ़्लैग और हेल्प प्रवेश बिंदु देखें।
/clearClear the current session context, suitable for starting fresh on a new question.
/compactलंबे सत्र इतिहास को संकुचित करें, मुख्य सारांश बनाए रखें, संदर्भ दबाव कम करें।
/contextView or declare the files, directories, and background to focus on for this turn.
/context read README, CLAUDE.md, package.json first/diffView file changes for this turn, useful for verifying the scope of changes before committing.
/modelView or switch models, useful for trading off between speed and reasoning intensity.
/costवर्तमान सत्र के लिए टोकन संख्या और अनुमानित लागत देखें।
/statusलॉगिन स्थिति, प्रोजेक्ट पथ, मॉडल, अनुमतियाँ और रनटाइम वातावरण देखें।
/cdकार्यशील निर्देशिका बदलें ताकि बाद के कमांड निर्दिष्ट प्रोजेक्ट में चलें।
/cd apps/web/doctorCheck if CLI, permissions, dependencies, network, and project configuration are working correctly.
/initप्रोजेक्ट दस्तावेज़ीकरण प्रारंभ करें, CLAUDE.md जेनरेट या अपडेट करें।
/memoryदीर्घकालिक स्मृति और प्रोजेक्ट स्मृति देखें, संपादित करें या रीफ़्रेश करें।
/reviewकोड समीक्षा मोड में प्रवेश करें, जोखिम, रिग्रेशन और परीक्षण अंतर पर ध्यान दें।
/permissionsView or adjust permission policies for tool calls, file writes, command execution, etc.
/configOpen the configuration entry point to modify model, permissions, output, and project settings.
/loginप्राधिकरण और सदस्यता स्थिति बहाल करने के लिए लॉग इन करें या खाता बदलें।
/branchएक अलग ब्रांच बनाएँ या उस पर स्विच करें, प्रायोगिक परिवर्तनों के लिए उपयुक्त।
/rewindRoll back to an earlier conversation checkpoint and choose a different implementation path.
/resumeअधूरा कार्य जारी रखने के लिए ऐतिहासिक सत्र फिर से शुरू करें।
/renameइतिहास में आसान पुनर्प्राप्ति के लिए वर्तमान सत्र का नाम बदलें।
/exportसमीक्षा और हैंडओवर के लिए सत्र सामग्री, परिवर्तन या सारांश निर्यात करें।
/effortतर्क तीव्रता समायोजित करें; जटिल डिज़ाइन और समीक्षा कार्यों के लिए बढ़ाएँ।
/effort high/planPlan before executing, suitable for high-risk, multi-file, or unclear requirements tasks.
/btwInsert side-channel information so the assistant remembers supplementary constraints without interrupting the current task.
/batchसमान कार्यों को बैचों में निष्पादित करें, जैसे बैच समीक्षा, बैच दस्तावेज़ अपडेट।
/batch review every package README/loopPeriodically execute check tasks, suitable for monitoring logs, CI, or local services.
/loop 5m npm test/scheduleSchedule timed tasks or reminders so the assistant continues processing at a specified time.
/workflowsप्रीसेट वर्कफ़्लो देखें या चलाएँ, कई संचालनों को एक साथ जोड़ें।
/deep-researchEnter deep research mode, suitable for finding information, comparing solutions, and writing reports.
/debug'पुनः उत्पन्न करें, खोजें, ठीक करें, सत्यापित करें' लय के साथ डीबग करें।
/code-reviewPR या स्थानीय diff के लिए संरचित कोड समीक्षा।
/simplifyAsk the assistant to reduce complexity, compress abstraction and repetitive logic.
/security-reviewPerform security checks around permissions, injection, keys, supply chain, and data leaks.
/agentsउपलब्ध सबएजेंट देखें, चुनें या प्रबंधित करें।
/mcpMCP सर्वर, टूल और कनेक्शन स्थिति देखें।
/pluginप्लगइन्स ब्राउज़, इंस्टॉल या प्रबंधित करें।
/reload-pluginsस्थानीय प्लगइन्स पुनः लोड करें, आमतौर पर प्लगइन्स डीबग करते समय उपयोग किया जाता है।
/goalवर्तमान सत्र का लक्ष्य और बजट निर्धारित करें, लंबे कार्यों को स्पष्ट समापन बिंदु दें।
/recapवर्तमान सत्र के लिए संक्षिप्त प्रगति और अगले चरण का सारांश तैयार करें।
/less-permission-promptsReduce the frequency of permission confirmations, suitable for high-trust local projects.
/tuiटर्मिनल इंटरैक्शन इंटरफ़ेस सेटिंग्स स्विच करें या देखें।
/focusसंदर्भ दायरा संकीर्ण करें ताकि सहायक वर्तमान फ़ाइल या कार्य पर केंद्रित हो।
/sandboxकमांड और फ़ाइल सिस्टम एक्सेस नियंत्रित करने के लिए सैंडबॉक्स नीतियाँ देखें या समायोजित करें।
/usage-creditsकोटा, उपयोग या सदस्यता जानकारी देखें।
/plugin Discoverइंस्टॉल करने योग्य एक्सटेंशन खोजने के लिए प्लगइन्स खोज पृष्ठ पर जाएँ।
/plugin Browseइंस्टॉल किए गए प्लगइन्स और उपलब्ध कमांड ब्राउज़ करें।
High-frequency keys for terminal sessions, input, history, sidebar, and mode switching.
Shift+Tabप्लान मोड, ऑटो-एडिट या सामान्य इनपुट इंटरैक्शन मोड के बीच स्विच करें।
Option+T / Alt+Tथीम या टर्मिनल डिस्प्ले शैली स्विच करें।
Ctrl+Cवर्तमान आउटपुट या चल रहे ऑपरेशन को रोकें।
Ctrl+Dवर्तमान इंटरैक्टिव सत्र से बाहर निकलें।
Ctrl+Bसाइडबार दिखाएँ या छिपाएँ।
Ctrl+Oसंदर्भ, फ़ाइल या कमांड चयनकर्ता खोलें।
Ctrl+Rकमांड इतिहास या सत्र इतिहास खोजें।
Ctrl+Gलक्ष्य, कार्य या सत्र नेविगेशन खोलें।
Ctrl+KClear the input line or open the search entry point, depending on the terminal version.
Escवर्तमान इनपुट रद्द करें, पॉपओवर बंद करें या चयन स्थिति से बाहर निकलें।
↑ / ↓इनपुट इतिहास और उम्मीदवार ब्राउज़ करें।
Tabकमांड, फ़ाइल पथ या उम्मीदवार पूरे करें।
Non-interactive calls, model selection, output format, permissions, session recovery, and Plugins loading.
claude -p "prompt"गैर-इंटरैक्टिव मोड में एक बार प्रॉम्प्ट निष्पादित करें, स्क्रिप्ट और CI के लिए उपयुक्त।
claude -p "summarize this diff"--output-format jsonस्क्रिप्ट पार्सिंग के लिए परिणाम JSON में आउटपुट करें।
claude -p "review" --output-format json--output-format stream-jsonJSON इवेंट स्ट्रीम करें, लंबे कार्यों और रियल-टाइम UI के लिए उपयुक्त।
--model <name>मॉडल का नाम निर्दिष्ट करें।
claude --model sonnet--permission-mode <mode>Specify Permission Modes, e.g., default, plan, auto-accept edits, or bypass permissions.
--sandboxकमांड और फ़ाइल सिस्टम साइड इफ़ेक्ट्स को सीमित करने के लिए सैंडबॉक्स्ड निष्पादन सक्षम करें।
--safe-modeRun in a more conservative mode, suitable for untrusted projects or demo environments.
--max-turns <n>स्क्रिप्ट कार्यों में अनंत लूप से बचने के लिए अधिकतम टर्न सीमित करें।
--no-session-persistenceइस सत्र की स्थिति सहेजें नहीं, अस्थायी बैच प्रसंस्करण के लिए उपयुक्त।
--resumeनिर्दिष्ट या सबसे हालिया ऐतिहासिक सत्र फिर से शुरू करें।
--continueसबसे हालिया सत्र जारी रखें।
--agent <name>कार्य निष्पादित करने के लिए सबएजेंट निर्दिष्ट करें।
claude --agent code-reviewer--plugin-dir <path>निर्दिष्ट निर्देशिका से प्लगइन्स लोड करें।
claude --plugin-dir ./plugins--plugin-url <url>URL से प्लगइन्स इंस्टॉल या लोड करें।
--bareStart in a more lightweight mode, without loading some project decorators and additional context.
--worktreeएक अलग वर्कट्री में चलाएँ, प्रायोगिक परिवर्तनों को अलग करते हुए।
--dangerously-skip-permissionsअनुमति पुष्टि छोड़ें; केवल पूर्णतः विश्वसनीय अलग वातावरण में उपयोग करें।
--add-dir <path>पठनीय संदर्भ में अतिरिक्त निर्देशिकाएँ जोड़ें।
claude --add-dir ../shared--mcp-config <file>MCP कॉन्फ़िग फ़ाइल निर्दिष्ट करें।
claude --mcp-config .mcp.json--channels <plugin>प्लगइन्स या एक्सटेंशन द्वारा प्रदत्त चैनल सक्षम करें।
claude auth loginखाते में लॉग इन करें या प्राधिकरण रीफ़्रेश करें।
claude project purge [path]प्रोजेक्ट-स्तरीय कैश, सत्र या इंडेक्स डेटा साफ़ करें।
claude agentsउपलब्ध सबएजेंट सूचीबद्ध करें।
claude agents --jsonसबएजेंट सूची JSON फ़ॉर्मेट में आउटपुट करें।
claude plugin details <name>प्लगइन विवरण, कमांड और क्षमता विवरण देखें।
claude plugin enable <name>इंस्टॉल किया गया प्लगइन सक्षम करें।
claude plugin disable <name>इंस्टॉल किया गया प्लगइन अक्षम करें।
Project instructions, personal preferences, local private settings, skills, agents, and MCP config.
CLAUDE.mdProject-level instructions: write project structure, commands, constraints, and collaboration rules.
CLAUDE.local.mdMachine-private project notes, suitable for personal paths and temporary preferences.
.claude/settings.jsonसाझा प्रोजेक्ट सेटिंग्स, रिपॉज़िटरी में कमिट की जा सकती हैं।
.claude/settings.local.jsonमशीन-निजी सेटिंग्स, आमतौर पर कमिट नहीं की जातीं।
~/.claude/CLAUDE.mdवैश्विक व्यक्तिगत निर्देश, सभी प्रोजेक्ट्स में प्रभावी।
~/.claude/settings.jsonवैश्विक सेटिंग्स, डिफ़ॉल्ट मॉडल और व्यक्तिगत प्राथमिकताओं के लिए उपयुक्त।
.claude/skills/Project skills directory, for encapsulating reusable workflows and domain knowledge.
.claude/agents/Project subagents directory, for defining roles like review, testing, and writing.
.claude/rules/*.mdविषय के अनुसार प्रोजेक्ट प्रतिबंध बनाए रखने के लिए नियम फ़ाइलें विभाजित करें।
.mcp.jsonप्रोजेक्ट MCP सर्वर कॉन्फ़िगरेशन।
~/.claude.jsonउपयोगकर्ता-स्तरीय स्थिति और वैश्विक मेटाडेटा फ़ाइल।
Connect external capabilities like databases, browsers, GitHub, and documentation systems into the terminal assistant.
claude mcp add <name> <uri>MCP सर्वर जोड़ें।
claude mcp add browser http://localhost:3000claude mcp add --headerप्रमाणीकरण हेडर के साथ MCP सर्वर जोड़ें।
claude mcp listकॉन्फ़िगर किए गए MCP सर्वर सूचीबद्ध करें।
claude mcp get <name>किसी विशिष्ट MCP सर्वर का विवरण देखें।
claude mcp remove <name>MCP सर्वर हटाएँ।
claude mcp add-from-claude-desktopडेस्कटॉप ऐप से MCP कॉन्फ़िगरेशन आयात करें।
/mcpसत्र के भीतर MCP कनेक्शन स्थिति और उपलब्ध टूल देखें।
mcp__server__toolMCP टूल नामकरण प्रारूप, आमतौर पर 'सर्वर + टूल' संयोजन।
Insert automated actions on tool calls, user input, stop, subagent start and stop events.
PreToolUseTriggers before tool execution, suitable for intercepting dangerous commands or supplementing audits.
PostToolUseTriggers after tool execution, suitable for formatting, logging, and syncing state.
UserPromptSubmitTriggers when the user submits a prompt; can inject context or perform compliance checks.
StopTriggers when the main session stops, suitable for summarizing, notifying, or cleaning up resources.
SubagentStartTriggers when a subagent starts, suitable for preparing isolated directories or environment variables.
SubagentStopTriggers when a subagent stops, suitable for collecting results and cleaning up temporary files.
हुक प्रकारहुक प्रकार ट्रिगर समय निर्धारित करता है।
हुक मैचर्समैचर्स निर्धारित करते हैं कि कौन से टूल, कमांड या संदर्भ हुक ट्रिगर करते हैं।
हुक args (exec फ़ॉर्म)कमांड तर्कों के रूप में इनपुट प्राप्त करता है, स्क्रिप्ट कॉल करने के लिए उपयुक्त।
स्किल-स्तरीय हुकSkills के भीतर घोषित हुक, केवल तब सक्रिय जब Skill उपयोग में हो।
Stop इनपुट फ़ील्ड्सStop इवेंट इनपुट फ़ील्ड्स, सत्र स्थिति और अंतिम आउटपुट पढ़ने के लिए उपयोग किए जा सकते हैं।
SubagentStop इनपुट फ़ील्ड्ससबएजेंट स्टॉप इवेंट इनपुट फ़ील्ड्स, एजेंट नाम, स्थिति और आर्टिफ़ैक्ट्स पढ़ने के लिए।
Control boundaries for file read/write, command execution, network access, and auto-accept edits.
defaultडिफ़ॉल्ट मोड, प्रमुख ऑपरेशन के लिए पुष्टि आवश्यक।
planप्लान मोड, केवल दृष्टिकोण पर चर्चा करें, फ़ाइलें सीधे संशोधित न करें।
acceptEditsफ़ाइल एडिट ऑटो-स्वीकार करें, लेकिन उच्च-जोखिम कमांड के लिए अभी भी पुष्टि आवश्यक हो सकती है।
autoनियमित टूल कॉल अधिक सक्रियता से निष्पादित करता है, कम-जोखिम कार्यों के लिए उपयुक्त।
bypassPermissionsBypass permission confirmations, only suitable for trusted isolated environments.
अनुमति पैटर्नविशिष्ट कमांड, पथ या टूल पैटर्न की अनुमति दें।
अस्वीकार पैटर्नविशिष्ट कमांड, पथ या टूल पैटर्न अस्वीकार करें।
सैंडबॉक्स नियमप्रक्रिया, नेटवर्क और फ़ाइल सिस्टम एक्सेस सीमित करने के लिए सैंडबॉक्स सीमाएँ उपयोग करें।
Delegate review, research, testing, documentation and other tasks to specialized roles.
@"agent-name"वार्तालाप में नाम से एक विशिष्ट सबएजेंट कॉल करें।
@"code-reviewer" review this diffclaude --agent <name>स्टार्टअप पर डिफ़ॉल्ट सबएजेंट निर्दिष्ट करें।
.claude/agents/*.mdप्रोजेक्ट सबएजेंट परिभाषा फ़ाइल।
अंतर्निहित एजेंटBuilt-in agents, typically covering review, research, implementation, and testing scenarios.
isolation: worktreeहस्तक्षेप कम करने के लिए सबएजेंट को अलग वर्कट्री में काम करने दें।
background: trueAllow subagents to run in the background while the main session continues other tasks.
/agentsउपलब्ध सबएजेंट देखें, चुनें और प्रबंधित करें।
कमांड, स्किल, MCP, ऐप कनेक्टर और आंतरिक टीम एक्सटेंशन इंस्टॉल करें।
/plugin install <name>प्लगइन स्रोत से प्लगइन्स इंस्टॉल करें।
/plugin install github:user/repoGitHub रिपॉज़िटरी से प्लगइन्स इंस्टॉल करें।
/plugin listइंस्टॉल किए गए प्लगइन्स सूचीबद्ध करें।
/reload-pluginsडीबगिंग के दौरान CLI पुनः आरंभ किए बिना स्थानीय प्लगइन्स पुनः लोड करें।
claude --plugin-dir ./pathस्टार्टअप पर स्थानीय प्लगइन निर्देशिका लोड करें।
.claude-plugin/plugin.jsonनाम, संस्करण, कमांड और क्षमताओं की घोषणा करने वाली प्लगइन मैनिफ़ेस्ट फ़ाइल।
plugin-name:commandसिस्टम कमांड के साथ टकराव से बचने के लिए प्लगइन कमांड नामकरण परंपरा।
प्लगइन मार्केटप्लेसटीम और सामुदायिक एक्सटेंशन खोजने के लिए प्लगइन मार्केटप्लेस या खोज पृष्ठ।
मॉडल, सत्र, आउटपुट, अपडेट, सुरक्षा मोड और प्रदाता API कुंजियाँ।
ANTHROPIC_API_KEYAnthropic API कुंजी।
OPENAI_API_KEYOpenAI या संगत गेटवे कुंजी।
DEEPSEEK_API_KEYDeepSeek या संगत मॉडल प्रदाता कुंजी।
CLAUDE_EFFORTडिफ़ॉल्ट तर्क तीव्रता।
CLAUDE_CODE_SESSION_IDवर्तमान सत्र ID, लॉग सहसंबंधन के लिए उपयोगी।
CLAUDE_CODE_DISABLE_ALTERNATE_SCREENऐतिहासिक आउटपुट की आसान कॉपी के लिए टर्मिनल वैकल्पिक स्क्रीन अक्षम करें।
CLAUDE_CODE_FORCE_SYNC_OUTPUTसिंक्रोनस आउटपुट बल दें, स्क्रिप्ट और लॉग संग्रहण के लिए उपयुक्त।
CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATEपैकेज मैनेजर स्वचालित अपडेट व्यवहार नियंत्रित करें।
CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERYगेटवे मॉडल खोज सक्षम करें।
CLAUDE_CODE_HIDE_CWDHide the current working directory, suitable for screen recording or public demos.
CLAUDE_CODE_SAFE_MODEसुरक्षा मोड सक्षम करें।
CLAUDE_CODE_DISABLE_BUNDLED_SKILLSअंतर्निहित स्किल अक्षम करें, केवल स्पष्ट रूप से कॉन्फ़िगर की गई क्षमताएँ उपयोग करें।
DISABLE_UPDATESस्वचालित अपडेट जाँच अक्षम करें।
CLAUDE_CODE_USE_POWERSHELL_TOOLWindows वातावरण में PowerShell टूल को प्राथमिकता दें।
CLAUDE_CODE_DISABLE_WORKFLOWSवर्कफ़्लो क्षमताएँ अक्षम करें।
Fine-grained control of worktrees, sandboxes, inheritance, cleanup cycles, and model scope.
worktree.baseRefवर्कट्री बनाते समय उपयोग किया जाने वाला बेस ब्रांच या संदर्भ।
sandbox.bwrapPathLinux bubblewrap सैंडबॉक्स पथ निर्दिष्ट करें।
sandbox.socatPathसैंडबॉक्स नेटवर्क ब्रिजिंग के लिए socat पथ निर्दिष्ट करें।
parentSettingsBehaviorनियंत्रित करें कि पैरेंट निर्देशिका सेटिंग्स विरासत में मिलती हैं या नहीं।
cleanupPeriodDaysकैश, अस्थायी डेटा या इतिहास के लिए सफ़ाई चक्र निर्धारित करें।
prUrlTemplateConfigure PR link templates for jumping from the terminal to code hosting platforms.
disableBundledSkillsअंतर्निहित स्किल अक्षम करें।
enforceAvailableModelsRestrict the selectable model range, suitable for team-wide cost and compliance policies.
footerLinksRegexesटर्मिनल फ़ुटर में लिंक पहचानें और नेविगेशन प्रदान करें।
Combine commands into reusable paths, ideal for teaching, team standards, and daily development.
उच्च-जोखिम परिवर्तनFirst increase reasoning intensity, then enter plan mode, implement after confirmation.
/effort high -> /plan -> approve -> implementकमिट-पूर्व स्व-जाँचFirst check diff, then check cost, export summary and compact context if necessary.
/diff -> /cost -> /export -> /compactबैच समीक्षासमान समीक्षा कार्यों को बैच प्रसंस्करण कमांड को सौंपें।
/batch review all changed markdown filesलूप जाँचनियमित रूप से परीक्षण, लॉग या स्वास्थ्य जाँच चलाएँ।
/loop 5m npm testब्रांच प्रयोगCreate a new branch for experiments, then merge or restore the main line upon success.
/branch -> experiment -> /resumeस्क्रिप्ट समीक्षाdiff को CLI पर पाइप करें, स्वचालित सिस्टम द्वारा पढ़ने के लिए JSON आउटपुट करें।
git diff | claude -p "review" --output-format jsonप्रोजेक्ट प्रारंभीकरणदस्तावेज़ीकरण जेनरेट करें, नियम जोड़ें, फिर रिपॉज़िटरी में कमिट करें।
/init -> edit CLAUDE.md -> commitडीबग लूपपुनः उत्पन्न करें, खोजें, परीक्षण जोड़ें, ठीक करें, फिर सत्यापन चलाएँ।
/debug -> add failing test -> fix -> /diffSupplements the most common entry points and configurations for Codex CLI and Codex projects.
AGENTS.mdCodex project instructions: write project commands, code standards, and collaboration constraints.
~/.codex/config.tomlCodex वैश्विक कॉन्फ़िग फ़ाइल, आमतौर पर मॉडल, सैंडबॉक्स और अनुमोदन नीतियों के लिए।
.codex/Project or user-level Codex extensions directory, commonly for skills, plugins, and memory.
sandbox_modeCodex कमांड निष्पादन के लिए फ़ाइल सिस्टम सैंडबॉक्स दायरा नियंत्रित करें।
approval_policyनियंत्रित करें कि Codex कमांड या नेटवर्क संचालन के लिए कब उपयोगकर्ता अनुमोदन आवश्यक है।
model_reasoning_effortतर्क तीव्रता निर्धारित करें; जटिल कार्यों के लिए बढ़ाएँ।
codex --helpCodex CLI द्वारा समर्थित कमांड और फ़्लैग देखें।
codex exec "<task>"गैर-इंटरैक्टिव रूप से एक बार कार्य निष्पादित करें, स्वचालन स्क्रिप्ट के लिए उपयुक्त।
codex exec "review the current diff"/statusवर्तमान मॉडल, निर्देशिका, सैंडबॉक्स, अनुमतियाँ और टूल स्थिति देखें।
/modelCodex द्वारा वर्तमान में उपयोग किया जाने वाला मॉडल स्विच करें या देखें।
/approvalsअनुमोदन नीति देखें या समायोजित करें।
/reviewकोड समीक्षा मोड में वर्तमान परिवर्तन देखें।
/mcpCodex के लिए उपलब्ध MCP सर्वर और टूल देखें।
/skillsउपलब्ध स्किल और उनके ट्रिगर तरीके देखें।
/compactलंबे सत्र संदर्भ को संपीड़ित करें और वर्तमान कार्य जारी रखें।
OPENAI_API_KEY / DEEPSEEK_API_KEYCommonly used when connecting OpenAI-compatible or low-cost models like DeepSeek.