mags-init

Initialize MAGS project structure with config, docs, and first memory entry.

3|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/doancan/mags --skill mags-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mags-init
Source: https://github.com/doancan/mags/tree/main/skills/mags-init
Command: npx skills add https://github.com/doancan/mags --skill mags-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Initialize MAGS for the current project by creating a persistent memory layer and the initial project structure so decisions, conventions, and context survive across sessions.

Core Features & Use Cases

  • Auto-detects project structure and stack to tailor configuration
  • Creates initial docs scaffolding and a memory entry with .mags/config.yaml
  • Generates CLAUDE.md configuration when requested
  • Provides a bootstrap path for future expansions and memory recall

Quick Start

Run mags-init to initialize MAGS for the current project and bootstrap the initial docs, memory, and configuration.

Frequently Asked Questions about mags-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a persistent memory layer for a project to save context across sessions?

To create a persistent memory layer for project context, you can initialize MAGS to generate the necessary directories, configuration, and the first memory entry so decisions and conventions survive across sessions.

How do I bootstrap project setup with automatic tech stack detection?

Bootstrap project setup with automatic stack detection by running an initialization command that leverages stack detection to auto-detect your project's tech and tailor the configuration accordingly.

Can I generate a CLAUDE.md configuration file when initializing a new project structure?

Yes, you can generate a CLAUDE.md configuration file during project initialization. The setup process creates this configuration file when requested to help bootstrap your project structure.

What is the best way to index existing documentation when scaffolding a new project?

The best way to index existing documentation during project scaffolding is to use an initialization tool that automatically creates the initial docs structure and indexes your existing docs.

Does project initialization work if my project lacks a docs directory or configuration file?

Project initialization works specifically when your project lacks a docs directory or configuration file. The setup applies automatically to create the required scaffolding and memory entry.

Why do I need to initialize a memory configuration before bootstrapping future project expansions?

You need to initialize a memory configuration to provide a bootstrap path for future expansions and memory recall. This setup ensures project context and decisions are stored persistently.