Initialize Quoth Memory v2 for a project. Creates .quoth/ folder, config.json with strictness/gates, and type files.
View on GitHubquoth-plugin/skills/quoth-init/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/Montinou/quoth-mcp/blob/main/quoth-plugin/skills/quoth-init/SKILL.md -a claude-code --skill quoth-initInstallation paths:
.claude/skills/quoth-init/# Quoth Memory v2 Initialization
This skill initializes Quoth Memory v2 for the current project.
## Steps
### 1. Check Current State
First, check if `.quoth/` already exists:
```bash
ls -la .quoth/ 2>/dev/null || echo "Not initialized"
```
If exists, ask user if they want to reinitialize (will preserve existing content).
### 2. Gather Configuration
Ask the user using AskUserQuestion:
**Question 1: Strictness Level**
- **Blocking** (recommended for teams) - Claude cannot write code until reasoning is documented
- **Reminder** - Claude gets gentle prompts but isn't blocked
- **Off** - No enforcement, manual capture only
**Question 2: Knowledge Types**
Multi-select from:
- decisions (default: on) - Architecture choices
- patterns (default: on) - Code patterns
- errors (default: on) - Failures and fixes
- knowledge (default: on) - General context
- selectors - UI selectors (for frontend projects)
- api - API documentation (for backend projects)
**Question 3: Gates (if strictness = blocking)**
Multi-select from:
- require_reasoning_before_edit (default: on)
- require_quoth_search (default: on)
- require_error_documentation (default: off)
### 3. Create Structure
Create the `.quoth/` folder structure:
```bash
mkdir -p .quoth/sessions
# Create config.json with user choices
cat > .quoth/config.json << 'EOF'
{
"version": "2.0",
"project_id": "",
"project_slug": "PROJECT_NAME",
"strictness": "STRICTNESS_CHOICE",
"types": [TYPE_ARRAY],
"gates": {
"require_reasoning_before_edit": GATE_1,
"require_quoth_search": GATE_2,
"require_error_documentation": GATE_3
},
"created_at": "TIMESTAMP"
}
EOF
```
### 4. Create Type Files
For each selected type, create the corresponding `.quoth/{type}.md` file with a header:
**decisions.md:**
```markdown
# Decisions
Architecture and design decisions for this project.
<!-- Add entries using the format:
## [YYYY-MM-DD] Decision Title
**Context:** Why was this decision needed?
**Decision:** What was de