Croft Logo
CROFT
SYSTEM_INITIALIZATION

QUICK.START GUIDE

Get up and running with CroftCodex and Claude Code in less than 15 minutes. Follow these steps to configure your workspace.

00. Prerequisites

  • You have Claude Code installed (Version 2.1 or higher).
  • You have authenticated via Anthropic Console.
  • Basic knowledge of using your system terminal.

01. Clone the Repository

First, clone the official reference guide repository to access all the templates and configuration files.

git clone https://github.com/luongnv89/claude-howto.git
cd claude-howto

02. Install Your First Command

Slash commands act as powerful shortcuts. Let's install the /optimize command into your target project.

mkdir -p /path/to/your-project/.claude/commands
cp 01-slash-commands/optimize.md /path/to/your-project/.claude/commands/

To test: Open Claude Code in your project and type /optimize.

03. One-Click Full Installation

Want to set up everything (Commands, Memory, Skills, Agents, and Hooks) all at once? Run this script in your target project directory (assuming you are inside the cloned repo):

# Create required directories
mkdir -p .claude/{commands,agents,skills} ~/.claude/{hooks,skills}

# Install all features
cp 01-slash-commands/*.md .claude/commands/ && \
cp 02-memory/project-CLAUDE.md ./CLAUDE.md && \
cp -r 03-skills/* ~/.claude/skills/ && \
cp 04-subagents/*.md .claude/agents/ && \
cp 06-hooks/*.sh ~/.claude/hooks/ && \
chmod +x ~/.claude/hooks/*.sh