or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

docs

authentication.mdcli-interface.mdcli-options.mdconfiguration.mdcustom-commands.mdhooks.mdide-integration.mdindex.mdmcp-integration.mdsdk-integration.mdslash-commands.md
tile.json

slash-commands.mddocs/

Slash Commands

Claude Code provides a comprehensive set of slash commands for specific actions, workflow management, and configuration. These commands provide direct access to Claude Code functionality without natural language interpretation.

Capabilities

File and Project Management

Commands for managing project context and file operations.

Add Directory

Adds additional directories to the working context for Claude to understand.

/add-dir path/to/directory
/add-dir ~/projects/frontend
/add-dir ../shared-libraries

Features:

  • Supports tilde expansion (~ for home directory)
  • Tab completion for directory paths
  • Multiple directories can be added
  • Directories are remembered within the session

Memory Management

Direct editing of all imported memory files.

/memory

Functionality:

  • Opens memory files for editing
  • Manages conversation context and history
  • Controls what information persists across sessions

Context Debugging

Helps debug context issues and understand what Claude can see.

/context

Use Cases:

  • Troubleshoot missing file context
  • Verify directory inclusions
  • Debug performance issues related to large contexts

Export Conversations

Export conversations for sharing or archival.

/export
/export --format json
/export --include-metadata

Output Formats:

  • Markdown format (default)
  • JSON format with metadata
  • Shareable conversation links

Resume Conversations

Switch between different conversations within Claude Code.

/resume
/resume conversation-id

Features:

  • List available conversations
  • Switch to specific conversation by ID
  • Maintain separate conversation histories

Development Workflow

Commands for development tasks and workflow management.

Bug Reporting

Report issues directly within Claude Code.

/bug "Issue description"
/bug "Slash commands not working in VS Code extension"

Functionality:

  • Direct integration with bug tracking
  • Automatic context inclusion (version, OS, project info)
  • Upload conversation logs for debugging

Cost Tracking

View usage and cost information.

/cost
/cost --detailed
/cost --period monthly

Information Displayed:

  • Token usage statistics
  • API call costs
  • Subscription status
  • Usage limits and quotas

Todo Management

List and manage current todo items.

/todos
/todos --add "Implement user authentication"
/todos --complete 1

Features:

  • List current todos from conversation
  • Add new todo items
  • Mark todos as complete
  • Project-specific todo tracking

Pull Request Comments

Handle GitHub pull request comments and reviews.

/pr-comments
/pr-comments --repo owner/repository
/pr-comments --pr 123

Capabilities:

  • Respond to PR review comments
  • Generate PR descriptions
  • Analyze PR changes
  • Automated code review assistance

GitHub App Installation

Install and configure GitHub app integration.

/install-github-app
/install-github-app --org organization-name

Setup Features:

  • OAuth authentication flow
  • Repository permissions configuration
  • Webhook setup for PR integration
  • Team and organization support

Configuration and Tools

Commands for managing Claude Code configuration and tools.

System Validation

Validate configuration, permissions, and debug issues.

/doctor
/doctor --verbose
/doctor --fix-permissions

Validation Checks:

  • Configuration file syntax
  • Permission rules validity
  • Hook script functionality
  • MCP server connectivity
  • API key authentication
  • File system access

Permission Management

Manage tool permissions and security settings.

/permissions
/permissions --allow "Bash(git *)"
/permissions --block "Bash(rm -rf *)"
/permissions --list

Permission Controls:

  • View current permission rules
  • Add new tool permissions
  • Block dangerous operations
  • Import/export permission sets

Model Selection

Select and configure AI models.

/model
/model claude-3-sonnet-20240229
/model --opus-plan
/model --list

Model Options:

  • Claude 3 Sonnet (default)
  • Claude 3 Opus (with plan upgrade)
  • Claude 3 Haiku (faster responses)
  • Custom model configurations

Status Line Customization

Customize terminal status line display.

/statusline
/statusline --enable
/statusline --disable
/statusline --format "claude[%project%] %status%"

Customization Options:

  • Enable/disable status line
  • Custom format strings
  • Project information display
  • Status indicators

Vim Bindings

Enable vim-style key bindings in the interface.

/vim
/vim --enable
/vim --disable

Vim Features:

  • Modal editing (insert/normal modes)
  • Vim navigation keys
  • Command mode operations
  • Visual selection mode

MCP Server Management

Manage Model Context Protocol servers and tools.

/mcp
/mcp --list
/mcp --add server-name
/mcp --remove server-name
/mcp --status

MCP Operations:

  • List available MCP servers
  • Add new MCP server configurations
  • Monitor server health and status
  • View available tools from servers

Custom Agent Management

Create and manage custom subagents for specialized tasks.

/agents
/agents --create agent-name
/agents --list
/agents --edit agent-name

Agent Features:

  • Create specialized subagents
  • Configure agent-specific tools and permissions
  • Manage agent lifecycles
  • Share agents across projects

System Information

Commands for viewing system status and information.

Status Overview

View comprehensive system and account status.

/status
/status --detailed

Status Information:

  • Account subscription details
  • API quotas and limits
  • System resource usage
  • Active sessions and connections

Release Notes

View release notes and version information.

/release-notes
/release-notes --version 1.0.105
/release-notes --latest

Version Information:

  • Current version details
  • Recent updates and features
  • Breaking changes and migrations
  • Bug fixes and improvements

Advanced Commands

Configuration Management

General configuration management interface.

/config
/config --edit
/config --reset
/config --backup

Configuration Operations:

  • Edit configuration files
  • Reset to default settings
  • Backup and restore configurations
  • Validate configuration syntax

Plan Upgrades

Switch to Claude Max plans for enhanced features.

/upgrade
/upgrade --claude-max
/upgrade --info

Upgrade Options:

  • View available plans
  • Upgrade to Claude Max
  • Billing and payment management
  • Feature comparison

Session Management

Clear and manage conversation sessions.

/clear
/clear --all
/clear --keep-context

Session Operations:

  • Clear current conversation
  • Clear all conversations
  • Preserve project context while clearing
  • Session cleanup and optimization

Command Syntax and Conventions

General Syntax

# Basic command
/command-name

# Command with arguments
/command-name argument

# Command with quoted arguments
/command-name "argument with spaces"

# Command with flags
/command-name --flag value
/command-name --boolean-flag

Common Flags

--help, -h          # Show command help
--verbose, -v       # Verbose output
--quiet, -q         # Quiet mode
--force, -f         # Force operation
--dry-run          # Preview changes without executing
--format           # Output format (json, yaml, table)

Tab Completion

Most slash commands support tab completion for:

  • File and directory paths
  • Command options and flags
  • Configuration values
  • Available resources (models, agents, etc.)

Error Handling

Slash commands provide clear error messages for:

  • Invalid syntax or arguments
  • Permission denied operations
  • Missing dependencies or configuration
  • Network connectivity issues

Commands that fail will display helpful suggestions for resolution and links to relevant documentation.