Initialize the Codebase Singularity framework in a new project. Sets up directory structure, CLAUDE.md, and default configuration.
Initialize the Codebase Singularity framework in your project. Sets up directory structure, CLAUDE.md, and configuration for agentic operations.
/plugin marketplace add az9713/claude-code-agentic-framework/plugin install az9713-codebase-singularity@az9713/claude-code-agentic-frameworkInitialize the Codebase Singularity framework in a new or existing project, setting up all necessary structure for agentic layer operations.
When this command is invoked:
Ask user (if not specified):
Create the following structure:
project-root/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── commands/ # Custom commands
├── agents/ # Agent definitions
├── skills/ # Skill definitions
├── hooks/ # Hook configuration
│ └── hooks.json
├── scripts/ # Hook scripts
├── specs/ # Plans and reviews
│ ├── reviews/
│ └── fixes/
├── ai_docs/ # AI reference documentation
├── logs/ # Agent activity logs
├── templates/ # Project templates
│ └── settings.json
├── CLAUDE.md # Project memory
└── .mcp.json # MCP configuration
Generate a CLAUDE.md tailored to the project:
# [Project Name] - Agentic Layer Memory
## Project Overview
[Auto-detected or user-provided description]
## Classification
- **Class**: [Selected class]
- **Grade**: 1 (Initial)
## Project Structure
[Auto-detected structure]
## Commands
[List available commands]
## Agents
[List available agents]
## Coding Standards
[Default standards or detected from project]
## Quick Start
1. /prime - Load context
2. /plan - Create implementation plan
3. /build - Implement features
4. /review - Review code quality
5. /fix - Address issues
Create templates/settings.json:
{
"project": {
"name": "[Project Name]",
"description": "[Description]",
"version": "1.0.0"
},
"agenticLayer": {
"class": 1,
"grade": 1
},
"preferences": {
"autoLint": true,
"protectedFiles": true,
"qualityGate": false
},
"agents": {
"defaultModel": "sonnet",
"plannerModel": "opus",
"reviewerModel": "opus"
}
}
Check that all components are in place:
Show initialization summary:
# Framework Initialized
## Configuration
- Class: [X]
- Grade: 1
- MCP: [Enabled/Disabled]
- Hooks: [Enabled/Disabled]
## Structure Created
✓ .claude-plugin/plugin.json
✓ commands/ (X commands)
✓ agents/ (X agents)
✓ skills/ (X skills)
✓ CLAUDE.md
✓ specs/
✓ ai_docs/
## Next Steps
1. Review CLAUDE.md and customize for your project
2. Run /prime to load context
3. Start developing with /plan
## Available Commands
[List all commands]
Type /prime to begin!
When upgrading from lower class:
# From Class 1 to Class 2
/setup --upgrade --class 2
# From Class 2 to Class 3
/setup --upgrade --class 3
Upgrade adds: