Get Started

Getting Started with Galdr

Install galdr into any existing project in under 5 minutes. No external services required — galdr is entirely file-based and works with any IDE that supports AI agents.

⏱ 5–10 minutes📦 No external dependencies🖥 Works on macOS, Linux, Windows

Prerequisites

  • Git installed and configured
  • An existing project (any language, any framework)
  • At least one supported IDE: Cursor, Claude Code, Gemini CLI, OpenAI Codex, or OpenCode

Installation

Clone the galdr repository, then copy the template files into your project root.

1

Clone the galdr repository

Clone galdr somewhere on your machine — you only need to do this once per machine.

bash
git clone https://github.com/wrm3/galdr.git ~/galdr
2

Copy the template into your project

Copy the galdr system files into your project root. This adds the .galdr/, .claude/, and .cursor/ directories.

bash
# macOS / Linux
cp -r ~/galdr/template_full/. /path/to/your-project/

# Windows (PowerShell)
Copy-Item -Recurse -Force "$HOME\galdr\template_full\*" "C:\path\to\your-project\"
Slim vs Full: Use template_full for everything including the vault and PCAC system. If you want the minimal version, use template_slim instead.
3

Run galdr setup

Open your project in your AI IDE and run the setup command. This initializes your .galdr/PROJECT.md, generates initial goals, and sets your user identity.

bash
# In your AI IDE chat:
@g-setup

The agent will ask you a few questions about your project (name, mission, tech stack) and populate the initial galdr files.

4

Verify the installation

Run the status command to confirm galdr loaded correctly. You should see your project name, goals, and an empty task queue.

bash
@g-status

Expected output: your project name, goals, active phase, idea count, constraint count, and "No active tasks."

Your First Task

Now let's create a real task, implement it, and verify it — the complete galdr loop.

5

Create a task

Use @g-task-new to create a properly-specced task with acceptance criteria.

bash
@g-task-new Add a health-check endpoint to the API

Galdr will create a task file at .galdr/tasks/task001_*.md with an ID, priority, subsystem, and acceptance criteria. Review and edit the file if needed.

6

Implement the task

Run the implementation command. The agent reads all open tasks, implements them in priority order, checks each acceptance criterion, and marks completed items [🔍] (awaiting verification — NOT done yet).

bash
@g-go-code
Key rule: The agent that implements code cannot mark it done. It can only mark it [🔍]. This is galdr's adversarial quality gate.
7

Verify the task

Open a new agent session and run the review command. A structurally separate agent checks the implementation against the acceptance criteria. Only this agent can mark work [✅].

bash
# In a NEW chat session:
@g-go-review

If everything passes: your task is [✅] complete. If something fails: it goes back to pending with a FAIL note — and you repeat from step 6.

8

Commit the work

bash
@g-git-commit

Generates a structured commit message with the correct type prefix (feat:, fix:, etc.), task reference, and optional agent footer.

What's Next