Skip to content

wrm3/galdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

68 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

galdr banner

Song magic for your codebase.
Persistent memory, multi-repo orchestration, and adversarial quality gates for AI coding agents across every major IDE.

License: MIT Version Python 3.10+ Latest Release GitHub stars


The Problem

You have great AI coding agents. And they forget everything the moment you close the chat.

Session 1: You explain your architecture, your constraints, why you chose Postgres over Mongo.
Session 12: The agent uses SQLite. Because it doesn't remember session 1.

You're running 4 repos β€” api, web, mobile, shared-lib. When something changes in shared-lib, every downstream repo needs to know. There's no mechanism for that. You copy-paste tasks manually. Half the time you forget.

You finish a feature and ask the same agent to verify it. It passes everything β€” of course it does, it wrote the code and knows what it meant to write. The bugs it introduced are invisible to it.

galdr is the infrastructure layer that fixes all three of these. It wraps around your AI IDEs and gives agents durable memory, cross-repo coordination, and adversarial quality enforcement β€” without changing how you code.


What galdr gives your agents

Persistent memory β€” Architectural decisions, learned project conventions, session summaries, and research notes that survive across conversations, machines, and IDE restarts.

Multi-repo orchestration β€” Declare parent/child/sibling relationships between repos. Broadcast tasks that cascade down a project hierarchy. Let child projects request upstream action. Sync shared contracts between siblings. One unified INBOX for cross-project coordination.

Adversarial quality gates β€” The agent that implements code is structurally prevented from marking it done. A separate agent session runs verification. Stuck tasks (3+ failed reviews) auto-escalate to human attention with a full audit trail.

An Obsidian-compatible knowledge vault β€” Every research session, architectural decision, platform doc crawl, and YouTube transcript is stored as a properly-tagged Obsidian note. Open the vault folder in Obsidian and get graph view, search, and backlinks over everything your agents have ever learned.

Architectural constraints β€” Rules agents must follow, loaded at every session start. Not suggestions. If an agent's action would violate a constraint, it must flag the conflict before proceeding.

6-IDE parity β€” Cursor, Claude Code, Gemini, Codex, OpenCode, and GitHub Copilot. Same agents, same skills, same memory, same task state. Switch IDEs mid-task and pick up exactly where you left off.


What's Included

How activation works: All agents, skills, commands, hooks, and rules in this repo are inert markdown/script files until you copy the relevant platform folder into your project. Dropping .cursor/ into a project activates the full galdr surface for Cursor. Same for .claude/, .agent/, .codex/, .opencode/, and .copilot/. You pick which platforms you use β€” nothing runs without you copying the files first.

Component Count What it covers
Agents 9 Task manager, code reviewer, QA engineer, project planner, infrastructure, ideas, verifier, project initializer, PCAC coordinator
Skill Packs 7 Core task management, feature pipeline, multi-project coordination (PCAC), knowledge vault, code quality, git/workflow, IDE CLI
Skills 58 58 individual skills β€” recon suite (docs/file/repo/url/yt), research suite (deep/review/apply), release management, platform skills (6 IDEs), medic, tier-setup, PCAC (10 skills), tasks, bugs, plan, project, features, subsystems, vault, constraints, code review, git, crawl, learn, subsystem-graph, swot, verify-ladder, and more
Commands 89 Full @g-* command surface β€” task management, bug management, feature pipeline, release management, recon, research, code quality, vault, multi-repo, ideas, constraints, subsystems, swarm, and maintenance
Hooks 12 Session start, agent complete, pre-commit, pre-push, PCAC inbox check, vault operations
Rules 12 Always-apply: documentation, git workflow, error reporting, task completion gates, TODO/stub lifecycle, bug discovery
IDE Platforms 6 Cursor, Claude Code, Gemini, Codex, OpenCode, GitHub Copilot

Agents

galdr ships 9 specialized agents β€” each is a focused persona with a defined scope, tool set, and activation criteria. Agents are plain markdown files living in .cursor/agents/, .claude/agents/, etc. They are inert until you copy the platform folder into your project.

Agent File What it does
g-agnt-task-manager g-agnt-task-manager.md Owns .galdr/ state β€” creates, updates, and syncs tasks, bugs, and the TASKS.md index. The source of truth for all backlog operations.
g-agnt-qa-engineer g-agnt-qa-engineer.md QA specialist. Logs bugs, writes BUG entries with severity and code annotations, runs quality metrics, and tracks resolution. Enforces the bug discovery gate before any task reaches [πŸ”].
g-agnt-code-reviewer g-agnt-code-reviewer.md Adversarial reviewer. Runs in a separate session from the implementer. Reads only what exists on disk, confirms every acceptance criterion, and decides [βœ…] or [πŸ“‹] (fail with documented reasons). Cannot implement β€” only review.
g-agnt-project g-agnt-project.md Project strategist. Maintains PROJECT.md, PLAN.md, milestones, goal alignment, and the feature pipeline. Translates high-level intent into structured deliverables.
g-agnt-infrastructure g-agnt-infrastructure.md Architectural guardian. Manages SUBSYSTEMS.md, subsystem specs, CONSTRAINTS.md, and subsystem Activity Logs. Flags constraint violations and keeps the registry in sync with the actual codebase.
g-agnt-ideas-goals g-agnt-ideas-goals.md Idea and goal steward. Captures ideas to IDEA_BOARD.md, evaluates them against project goals, promotes promising ideas to the feature pipeline, and runs proactive codebase scans for improvement opportunities.
g-agnt-verifier g-agnt-verifier.md Standalone verification specialist. Operates identically to the code-reviewer but can be invoked explicitly on a single task or file set. Used when a dedicated reviewer session is warranted outside the normal @g-go-review flow.
g-agnt-project-initializer g-agnt-project-initializer.md Bootstrap agent. Runs @g-setup end-to-end for a brand-new project: creates .galdr/.identity, seeds all structural files, registers the project, and produces a starter PROJECT.md and PLAN.md.
g-agnt-pcac-coordinator g-agnt-pcac-coordinator.md Cross-project coordinator. Manages the full PCAC topology β€” reads the INBOX, routes broadcasts from parent projects, handles requests from children, syncs contracts with siblings, and resolves conflicts before session work begins.

Skill Packs

Skills are detailed instruction documents that tell agents not just what to do but exactly how to do it β€” including operations, file formats, edge cases, and cross-references to sibling skills. Each skill owns a named slice of the system.

Skills are plain markdown files living in .cursor/skills/, .claude/skills/, etc. They are inert until you copy a platform folder into your project. Once active, your IDE's agent can read and follow them on demand or when triggered by a matching context.

πŸ“‹ Core Task Management Pack

The foundation. Owns every file in .galdr/ and manages the full lifecycle of tasks, bugs, plans, goals, constraints, and subsystems.

Skill What it owns
g-skl-tasks TASKS.md + tasks/ β€” full task lifecycle: create, update, sync, sprint plan, complexity score
g-skl-bugs BUGS.md + bugs/ β€” bug tracking, severity classification, quality metrics, resolution workflow
g-skl-plan PLAN.md + features/ β€” strategic milestones, deliverable index, phase management
g-skl-features FEATURES.md + features/ β€” feature staging pipeline: STAGE, COLLECT, SPEC, PROMOTE, RENAME, STATUS
g-skl-project PROJECT.md β€” mission, vision, goals, project linking
g-skl-constraints CONSTRAINTS.md β€” ADD, UPDATE, CHECK, DELETE, LIST operations for architectural rules
g-skl-subsystems SUBSYSTEMS.md + subsystems/ β€” component registry with Activity Logs and dependency tracking
g-skl-ideas IDEA_BOARD.md β€” capture, review, farm, and promote ideas to the feature pipeline
g-skl-status Read-only session context: active tasks, phase progress, open bugs, pending ideas
g-skl-medkit .galdr/ health check, structural repair, and version migration (1.0 β†’ 1.1 β†’ 1.2)
g-skl-setup Initialize galdr in a brand-new project β€” creates all structural files from templates

🌐 Feature Pipeline Pack

The staging layer between idea capture and the task backlog. Features are research artifacts before they become implementation work.

Skill What it owns
g-skl-features (listed above β€” FEATURES.md and the full staging lifecycle)
g-skl-recon-repo Deep repo analysis (replaces reverse-spec) β€” 5-pass: skeleton β†’ module map β†’ feature scan β†’ deep dives β†’ synthesis
g-skl-res-review Review a recon report and mark features approved/rejected before apply
g-skl-res-apply Apply approved recon findings into .galdr/features/ staging (replaces harvest-intake)
g-skl-res-deep Follow-up deep dive on a specific approved feature from a recon report

πŸ”— Multi-Project Coordination Pack (PCAC)

The full parent/child/sibling coordination system. Ten skills covering every direction of cross-project communication.

Skill What it does
g-skl-pcac-adopt Register a child project β€” writes link_topology.md on both sides
g-skl-pcac-claim Register a parent project β€” bidirectional topology link
g-skl-pcac-order Broadcast a task to child projects with configurable cascade depth (1–3)
g-skl-pcac-ask Write a request to the parent project's INBOX.md
g-skl-pcac-sync Initiate or respond to sibling contract sync β€” advisory, non-blocking
g-skl-pcac-read Review and action all incoming INBOX items: conflicts, requests, broadcasts, notifications
g-skl-pcac-notify Send a lightweight [INFO] FYI to one or more project INBOXes β€” no task created
g-skl-pcac-move Transfer files/folders between topology projects with provenance tracking
g-skl-pcac-spawn Spawn a new galdr project from this one β€” creates folder, installs galdr, seeds with features/code, links PCAC topology
g-skl-pcac-send-to Send files, features, specs, ideas, or code to any related project with INBOX notification and vault provenance log

🧠 Knowledge Vault Pack

Everything knowledge. Crawl, recon, learn, audit, and rebuild. All output is Obsidian-compatible YAML frontmatter.

Skill What it does
g-skl-vault Vault CRUD, Obsidian frontmatter compliance, _INDEX.md MOC hub rebuild, GitHub repo summaries
g-skl-learn Continual learning β€” agents self-report insights to vault memory files after each session
g-skl-crawl Native crawl4ai web crawler β€” clean LLM-optimized markdown from any URL, no Docker required
g-skl-recon-docs Platform doc recon with per-platform freshness tracking and stale-doc surfacing at session start
g-skl-recon-url One-time URL capture into research/articles/ with deduplication by source URL
g-skl-recon-yt YouTube transcript extraction via yt-dlp β€” offline, no API key, stored in research/videos/
g-skl-recon-file Analyze local files/folders for insights β€” outputs structured recon report
g-skl-knowledge-refresh Audit vault freshness, detect stale notes and broken links, rebuild MOC hub files
g-platform-crawl Dedicated crawl targets for Cursor, Claude Code, Gemini, and other platform docs

πŸ” Code Quality Pack

Structured review, configurable verification gates, SWOT analysis, automated dependency visualization, and subsystem graph generation.

Skill What it does
g-skl-code-review Full structured review: security, performance, maintainability, architectural alignment β€” severity-classified with file/line references
g-skl-review Quick-scan review β€” concise severity ratings and action items
g-skl-verify-ladder Configurable verification gates from minimal (lint only) to thorough (tests + acceptance criteria + hallucination guard)
g-skl-swot-review Automated SWOT analysis for the current project phase: progress, code quality, technical debt
g-skl-dependency-graph Auto-generate .galdr/DEPENDENCY_GRAPH.md from task blocked_by fields β€” shows blocked/blocking chains
g-skl-subsystem-graph Generate a Mermaid visual of all registered subsystems and their dependency relationships
g-skl-qa QA activation mode β€” bug discovery workflow, quality metrics reports, retroactive documentation

πŸ› οΈ Git & Workflow Pack

Commit discipline, pre-commit gates, and conventional commit format with task references.

Skill What it does
g-skl-git-commit Conventional commit format (feat/fix/chore) with task ID reference and optional agent footer for autonomous commits

πŸ’» IDE CLI Pack

Headless, multi-agent, and terminal-first usage of each supported IDE from the command line. Covers session continuation, MCP config, Cloud Agent handoff, and overnight/CI patterns.

Skill What it does
g-skl-cli-cursor Cursor CLI: agent command, API mode, Cloud Agent handoff, session management
g-skl-cli-claude Claude Code CLI: headless flags, --continue, MCP config, multi-agent via Agent SDK
g-skl-cli-gemini Gemini CLI: authentication, checkpointing, --checkpoint flag, extensions/tools, memory patterns
g-skl-cli-opencode OpenCode CLI: stub β€” full docs pending first stable release

How It Works

your-project/
β”œβ”€β”€ .galdr/                    # Everything galdr manages
β”‚   β”œβ”€β”€ TASKS.md               # Master task checklist (YAML + markdown specs)
β”‚   β”œβ”€β”€ BUGS.md                # Bug index with severity and status
β”‚   β”œβ”€β”€ PLAN.md                # Strategic milestones and PRD index
β”‚   β”œβ”€β”€ PROJECT.md             # Mission, vision, goals (plain language)
β”‚   β”œβ”€β”€ CONSTRAINTS.md         # Architectural rules agents must obey
β”‚   β”œβ”€β”€ SUBSYSTEMS.md          # Component registry + dependency graph
β”‚   β”œβ”€β”€ FEATURES.md            # Feature registry β€” staging pipeline (stagingβ†’speccedβ†’committedβ†’shipped)
β”‚   β”œβ”€β”€ .vault_location        # Path to your knowledge vault (default: local)
β”‚   β”œβ”€β”€ tasks/                 # Individual task specs (YAML + acceptance criteria)
β”‚   β”œβ”€β”€ bugs/                  # Individual bug spec files
β”‚   β”œβ”€β”€ features/              # Feature staging files (feat-NNN_slug.md)
β”‚   β”œβ”€β”€ prds/                  # Legacy PRD files (migrated to features/ in 1.2.0)
β”‚   β”œβ”€β”€ subsystems/            # Per-subsystem spec files with Activity Logs
β”‚   β”œβ”€β”€ linking/               # Cross-project topology + INBOX
β”‚   └── vault/                 # Local vault (if .vault_location = {LOCAL})
β”‚
β”œβ”€β”€ .cursor/                   # Cursor IDE
β”‚   β”œβ”€β”€ agents/                # 9 galdr agents
β”‚   β”œβ”€β”€ skills/                # 47 skills (g-skl-*)
β”‚   β”œβ”€β”€ commands/              # 76 @g-* commands
β”‚   β”œβ”€β”€ hooks/                 # 12 PowerShell automation hooks
β”‚   └── rules/                 # 12 always-apply rules
β”‚
β”œβ”€β”€ .claude/                   # Claude Code  (identical to .cursor/)
β”œβ”€β”€ .agent/                    # Gemini        (identical, adapted format)
β”œβ”€β”€ .codex/                    # Codex         (skills subset)
β”œβ”€β”€ .opencode/                 # OpenCode      (agents + commands)
β”‚
β”œβ”€β”€ AGENTS.md                  # Project context (read at session start by all IDEs)
β”œβ”€β”€ CLAUDE.md                  # Claude Code project instructions
└── GEMINI.md                  # Gemini project instructions

Quick Start

# Clone the galdr template
git clone https://github.com/wrm3/galdr.git

# Copy framework into your project
cd your-project
cp -r ../galdr/.cursor    .cursor
cp -r ../galdr/.claude    .claude
cp -r ../galdr/.agent     .agent
cp -r ../galdr/.codex     .codex
cp -r ../galdr/.opencode  .opencode
cp -r ../galdr/.galdr     .galdr
cp ../galdr/AGENTS.md     AGENTS.md
cp ../galdr/CLAUDE.md     CLAUDE.md
cp ../galdr/GEMINI.md     GEMINI.md

On Windows: use robocopy or File Explorer. Each project gets its own .galdr/ β€” never share task data between projects.

Open your project in Cursor (or any supported IDE) and run:

@g-setup

That creates your .galdr/.identity, seeds the structural files, and registers the project. You're ready.


Key Features

Multi-Project Orchestration (PCAC)

galdr can model your entire software ecosystem as a graph of related projects β€” parent services, child microservices, sibling repos sharing contracts. Agents in each project can coordinate across the graph without manual copy-paste.

@g-pcac-adopt api-service        # Register api-service as a child of this project
@g-pcac-claim platform-core      # Register platform-core as parent of this project
@g-pcac-status                   # View your position in the topology + open INBOX items

Broadcasting tasks downstream:

@g-pcac-order "Upgrade auth library to v3"
# Creates the task in every child project's .galdr/
# Cascades to grandchildren if cascade_depth > 1
# Child agents pick it up at their next session start

Requesting upstream action:

@g-pcac-ask "Need rate-limiting in the API gateway"
# Writes to parent project's INBOX.md
# Parent agent sees it at session start and can accept, reject, or defer

Sibling contract sync:

@g-pcac-sync shared-auth-schema   # Sync a shared contract spec with all siblings
@g-pcac-notify web-frontend "Deployed new endpoint: /api/v3/users"

Every project has an INBOX (linking/INBOX.md) that the session-start hook reads. Broadcasts, requests, and sync notifications land there and are surfaced before any other work begins. Conflicts (when two projects disagree on a shared contract) block all session work until resolved.


Adversarial Code Review β€” Two-Phase Quality Gate

# Phase 1 β€” implement (your current session):
@g-go-code

# Every completed item is marked [πŸ”] (Awaiting Verification)
# The implementing agent NEVER marks [βœ…]
# Phase 2 β€” verify (a SEPARATE agent session, new window):
@g-go-review

# Reads only what exists on disk
# Confirms every acceptance criterion independently
# [βœ…] = all criteria confirmed | [πŸ“‹] = fail, specific reasons documented

An agent that implements and verifies its own work has a systematic blind spot β€” it knows what it intended to write. A separate session reads only what actually exists. This is not optional ceremony; it is the only path to [βœ…].

Circuit breaker: If a task fails verification 3 or more times, it is automatically escalated to [🚨] Requires-User-Attention. Automated agents skip it permanently. A Status History table records every state transition with timestamp and reason β€” complete audit trail.

Status Meaning
[ ] Pending
[πŸ“‹] Ready β€” task spec created
[πŸ”„] Active β€” being implemented
[πŸ”] Awaiting Verification β€” implementation complete
[βœ…] Complete β€” verified by a separate session
[🚨] Requires Human β€” circuit breaker engaged after 3+ failures

Feature Pipeline (Staging β†’ Shipped)

Ideas don't go straight to tasks. galdr now provides a structured feature pipeline β€” a staging layer between idea capture and task creation. Features move through four phases with checkpoints at each transition.

@g-feat-new "Webhook retry with exponential backoff"
# Creates .galdr/features/feat-036_webhook_retry.md
# Status: staging β€” collecting approaches before committing

@g-feat-add feat-036 --source "github.com/user/repo" --approach "Redis-backed retry queue"
# Appends approach to the feature's Collected Approaches table

@g-recon-repo https://github.com/some/project
# 5-pass deep analysis: skeleton β†’ module map β†’ feature scan β†’ deep dives β†’ synthesis
# Output: research/harvests/some__project/ for human review

@g-res-review some__project
# Review findings β€” mark individual items approved/rejected

@g-res-apply some__project
# Apply approved findings into .galdr/features/ staging

Feature lifecycle:

Phase Description
staging Research phase β€” collecting approaches from harvest tools, discussions, external repos
specced Formal requirements written β€” acceptance criteria defined
committed Active tasks created in TASKS.md β€” being coded
shipped Fully implemented and verified

Features only become tasks (and enter the TASKS.md backlog) when promoted via @g-feat-promote. This keeps the task backlog clean and intention-driven.


Knowledge Vault (Obsidian-Compatible)

Every project gets a file-based knowledge store. All notes use a standardized YAML frontmatter schema compatible with Obsidian's native indexing β€” so the same vault that stores your AI's memory is also a proper personal knowledge base.

@g-recon-docs https://docs.cursor.com    # Crawl platform docs (schedule-aware, freshness tracked)
@g-recon-url  https://example.com/post   # One-time article capture
@g-recon-yt   https://youtu.be/...       # Extract YouTube transcript (yt-dlp, offline)
@g-learn                                  # Agents self-report insights to vault memory files

Open the vault folder directly in Obsidian for graph view, tag search, and backlinks over everything your agents have ever learned. The _INDEX.md MOC hub files (auto-generated for directories with 10+ notes) create the graph connections.

Vault configuration β€” set vault_location in .galdr/.identity:

vault_location={LOCAL}                # Default: .galdr/vault/ inside this project
vault_location=/path/to/shared        # Shared vault: multiple projects contribute to one knowledge base

What the vault stores:

  • Session summaries captured after each conversation
  • Architectural decisions extracted from discussions via @g-learn
  • Platform documentation crawled for offline reference (Cursor, Claude, Gemini APIs, etc.)
  • YouTube transcripts and video research notes
  • Harvest reports from external repo analysis

Task Management

Tasks are YAML-frontmatter markdown files with structured specs and acceptance criteria. The master TASKS.md checklist syncs with individual files in tasks/. Every status change appends to the Status History table.

@g-task-new "Implement WebSocket reconnection with exponential backoff"
# Creates tasks/task051_websocket_reconnection.md with:
# - YAML frontmatter (id, priority, subsystems, dependencies)
# - Objective and acceptance criteria
# - Status History table

Tasks support dependencies (blocked_by: [49, 50]), subsystem tagging, sprint planning, and complexity scoring. The session-start protocol reads all [πŸ“‹] tasks and surfaces any that have a recent FAIL in their history.


Architectural Constraints

@g-constraint-add "Never use synchronous HTTP calls in async route handlers"
@g-constraint-check                   # Verify current implementation against all constraints

Constraints live in CONSTRAINTS.md with enforcement definitions. They load at every session start (Step 0 of the session protocol) and are checked before any task is marked [πŸ”]. An agent that would violate a constraint must flag it and get explicit approval β€” it cannot silently work around it.


Skill Packs

Skills are detailed instruction documents that tell agents not just what to do but exactly how β€” covering operations, file formats, edge cases, and cross-references to sibling skills. Each skill owns a named slice of the system and is activated by copying the platform folder (.cursor/, .claude/, .agent/, .codex/, or .opencode/) into your project.


πŸ“‹ Core Task Management Pack

The foundation. Owns every file in .galdr/ and manages the full lifecycle of tasks, bugs, plans, goals, constraints, and subsystems.

Skill Owned files What it does
g-skl-tasks TASKS.md, tasks/ Full task lifecycle: create, update, sync, sprint plan, complexity score, dependency tracking
g-skl-bugs BUGS.md, bugs/ Bug tracking, severity classification (Critical/High/Medium/Low), quality metrics, resolution workflow
g-skl-plan PLAN.md, features/ Strategic milestones, deliverable index, phase management, PRD cross-references
g-skl-features FEATURES.md, features/ Feature staging pipeline: STAGE, COLLECT, SPEC, PROMOTE, RENAME, STATUS operations
g-skl-project PROJECT.md Mission, vision, goals (G-NN format), project linking to topology
g-skl-constraints CONSTRAINTS.md ADD, UPDATE, CHECK, DELETE, LIST operations for architectural rules
g-skl-subsystems SUBSYSTEMS.md, subsystems/ Component registry with Activity Logs, dependency and dependent tracking
g-skl-ideas IDEA_BOARD.md Capture, review, farm, and promote ideas to the feature pipeline
g-skl-status read-only Session context summary: active tasks, phase progress, open bugs, pending ideas
g-skl-medkit .galdr/ Health check, structural repair, and version migration (1.0 β†’ 1.1 β†’ 1.2)
g-skl-setup .galdr/ Initialize galdr in a brand-new project β€” creates all structural files from templates

🌐 Feature Pipeline Pack

The staging layer between idea capture and the task backlog. Features collect approaches and get formally specced before any task is created β€” keeps the backlog clean and intention-driven.

Skill What it does
g-skl-features STAGE a new feature, COLLECT approaches, SPEC requirements, PROMOTE to tasks, RENAME slugs
g-skl-recon-repo Deep repo analysis β€” 5-pass: skeleton β†’ module map β†’ feature scan β†’ deep dives β†’ synthesis. Output in research/harvests/{slug}/ β€” no .galdr/ writes until human approves
g-skl-recon-url One-time URL capture and analysis into research/articles/ with deduplication
g-skl-recon-docs Platform doc recon with freshness tracking; stale docs surfaced at session start
g-skl-recon-yt YouTube transcript extraction via yt-dlp β€” offline, no API key, stored in research/videos/
g-skl-recon-file Analyze local files/folders for patterns and insights β€” structured recon report output
g-skl-res-review Review recon report output β€” mark findings approved/rejected before apply
g-skl-res-deep Follow-up deep dive on a specific approved finding from a recon report
g-skl-res-apply Apply approved recon findings into .galdr/features/ staging entries with dedup

πŸ”— Multi-Project Coordination Pack (PCAC)

The full parent/child/sibling coordination system. Ten skills covering every direction of cross-project communication.

Skill What it does
g-skl-pcac-adopt Register a child project β€” writes link_topology.md bidirectionally on both sides
g-skl-pcac-claim Register a parent project β€” bidirectional topology link with parent confirmation
g-skl-pcac-order Broadcast a task to child projects with configurable cascade depth (1–3 hops)
g-skl-pcac-ask Write a request to the parent project's INBOX.md; marks local task as blocked with cross-project metadata
g-skl-pcac-sync Initiate or respond to sibling contract sync β€” advisory only, non-blocking
g-skl-pcac-read Review and action all INBOX items: conflicts (block planning), requests from children, broadcasts from parents
g-skl-pcac-notify Send a lightweight [INFO] FYI to one or more INBOXes β€” no task created, no approval required
g-skl-pcac-move Transfer files/folders between topology projects with provenance tracking and vault log entries on both sides
g-skl-pcac-spawn Spawn a new galdr project from this one β€” creates folder, installs galdr, seeds with features/code, runs setup, links PCAC topology bidirectionally
g-skl-pcac-send-to Send files, features, specs, ideas, or code to any related project β€” writes destination INBOX notification and source vault provenance log

🧠 Knowledge Vault Pack

Everything knowledge. Crawl, recon, learn, audit, and rebuild. All vault output uses a standardized Obsidian-compatible YAML frontmatter schema.

Skill What it does
g-skl-vault Vault CRUD, Obsidian frontmatter compliance, _INDEX.md MOC hub rebuild, GitHub repo summaries
g-skl-learn Agents self-report insights to vault memory files after each session β€” file-only, no external services
g-skl-crawl Native crawl4ai web crawler β€” LLM-optimized markdown from any URL, no Docker required. Shared primitive for recon skills
g-skl-knowledge-refresh Audit vault freshness, detect stale notes and broken links, rebuild _INDEX.md MOC hub files
g-platform-crawl Dedicated crawl targets for Cursor, Claude Code, Gemini, and other platform documentation

πŸ” Code Quality Pack

Structured review, configurable verification gates, SWOT analysis, automated dependency visualization, and subsystem graph generation.

Skill What it does
g-skl-code-review Full structured review: security, performance, maintainability, architectural alignment β€” severity-classified output with file/line references
g-skl-review Quick-scan review β€” concise severity ratings and action items for smaller diffs
g-skl-verify-ladder Configurable verification gates from minimal (lint only) to thorough (tests + every acceptance criterion + hallucination guard)
g-skl-swot-review Automated SWOT analysis for the current project phase: progress, architectural compliance, code quality, technical debt
g-skl-dependency-graph Auto-generate .galdr/DEPENDENCY_GRAPH.md from task blocked_by fields β€” shows full blocked/blocking chains
g-skl-subsystem-graph Generate a Mermaid visual of all registered subsystems and their declared dependency relationships
g-skl-qa QA activation mode β€” bug discovery workflow, quality metrics reports, retroactive documentation

πŸ› οΈ Git & Workflow Pack

Commit discipline, pre-commit gates, and conventional commit format with task references.

Skill What it does
g-skl-git-commit Conventional commit format (feat/fix/chore/docs) with task ID reference and optional agent footer for autonomous commits

πŸ’» IDE CLI Pack

Headless, multi-agent, and terminal-first usage of each supported IDE. Covers session continuation, MCP config, Cloud Agent handoff, and overnight/CI patterns. One skill per IDE.

Skill What it does
g-skl-cli-cursor Cursor CLI: agent command, API mode, Cloud Agent handoff, session management, approval modes
g-skl-cli-claude Claude Code CLI: headless flags, --continue, MCP config, permissions, multi-agent via Agent SDK
g-skl-cli-gemini Gemini CLI: authentication, --checkpoint flag, config file, extensions/tools, memory patterns
g-skl-cli-opencode OpenCode CLI: stub β€” full documentation pending first stable release

Command Reference

Task & Bug Management

Command What it does
@g-task-new Create a task with full spec and acceptance criteria
@g-task-add Add a task quickly with minimal spec
@g-task-update Update task status, priority, or metadata
@g-task-upd Update specific task fields
@g-task-del Delete a task and remove from TASKS.md
@g-task-sync-check Validate TASKS.md ↔ tasks/ file sync
@g-bug-report Log a bug with severity, file, and description
@g-bug-fix Fix a reported bug and update BUGS.md
@g-bug-add Add a bug entry to BUGS.md
@g-bug-upd Update an existing bug entry
@g-bug-del Delete a bug entry
@g-go Full autonomous cycle (implement + verify in sequence)
@g-go-code Implement-only: marks completed items [πŸ”], never [βœ…]
@g-go-review Verify-only: run in a new agent session to confirm [πŸ”] items
@g-status Project status: active tasks, goals, open bugs, ideas
@g-workflow Task expansion and sprint planning

Planning & Goals

Command What it does
@g-plan Create or update PLAN.md and milestone docs
@g-setup Initialize galdr in a new project
@g-goal-update Update PROJECT_GOALS.md
@g-phase-add Add a new project phase
@g-phase-pivot Pivot project direction
@g-subsystems Sync check, add, update subsystem Activity Logs
@g-subsystem-add Add a new subsystem to the registry
@g-subsystem-upd Update subsystem spec or Activity Log
@g-subsystem-del Delete a subsystem from the registry
@g-subsystem-graph Generate visual subsystem dependency graph

Feature Pipeline

Command What it does
@g-feat-new Stage a new feature and create the feature spec file
@g-feat-add Add to an existing feature (collect approach, deliverable)
@g-feat-upd Update feature status, metadata, or notes
@g-feat-promote Promote a specced feature to committed β€” creates tasks
@g-feat-rename Rename a feature slug and update all references
@g-feat-del Delete a feature and remove from FEATURES.md
@g-recon-repo 5-pass deep analysis of an external repo β†’ recon report
@g-recon-url One-time URL capture into vault
@g-recon-docs Crawl platform docs with freshness tracking
@g-recon-yt Extract and save YouTube transcript
@g-recon-file Analyze local files/folders for patterns
@g-res-review Review recon report β€” approve/reject findings
@g-res-deep Deep dive on a specific approved finding
@g-res-apply Apply approved findings into feature staging

Knowledge & Vault

Command What it does
@g-vault-ingest Manual vault file ingest with frontmatter
@g-vault-search Search the vault
@g-vault-status Vault health and freshness report
@g-vault-lint Audit vault frontmatter compliance
@g-vault-process-inbox Process pending vault inbox items
@g-learn Capture insights to vault memory files

Multi-Project (PCAC)

Command What it does
@g-pcac-adopt Register a child project (bidirectional link)
@g-pcac-claim Register a parent project (bidirectional link)
@g-pcac-status View topology position and open INBOX items
@g-pcac-order Broadcast a task to child projects with cascade depth
@g-pcac-ask Send a request to the parent project
@g-pcac-sync Initiate contract sync with a sibling project
@g-pcac-read Review and action all INBOX items
@g-pcac-notify Send a lightweight FYI notification across topology
@g-pcac-move Transfer files/folders to another project in topology
@g-pcac-spawn Spawn a new galdr project β€” creates, installs galdr, seeds with features/code, links topology
@g-pcac-send-to Send files, features, ideas, or code to any related project with INBOX notification

Code Quality & Git

Command What it does
@g-code-review Structured review: security, performance, quality, architecture
@g-git-commit Conventional commit with task reference and agent footer
@g-git-sanity Pre-commit check: staged secrets, large files, sync drift
@g-git-push Pre-push gate: regular vs release validation

Constraints & Compliance

Command What it does
@g-constraint-add Add a new architectural constraint
@g-constraint-check Run compliance check against all active constraints
@g-constraint-upd Update an existing constraint
@g-constraint-del Delete a constraint

Ideas & Discovery

Command What it does
@g-idea-capture Capture an idea to IDEA_BOARD.md
@g-idea-review Review and evaluate IDEA_BOARD entries
@g-idea-farm Proactive codebase scan for improvement opportunities

Autonomous Execution

Command What it does
@g-go Run autonomously through the backlog (self-review mode β€” both phases)
@g-go-code Implementation-only run β€” marks tasks [πŸ”], never [βœ…]
@g-go-review Verification-only run β€” run in a new agent session from the coder
@g-go-swarm Coordinate multi-agent swarm execution across the backlog
@g-go-code-swarm Multi-agent implementation swarm
@g-go-review-swarm Multi-agent review swarm

Release Management

Command What it does
@g-release-new Create a new release entry in .galdr/releases/
@g-release-assign Assign tasks/features to a release
@g-release-status Show current release status and progress
@g-release-accelerate Identify what can be fast-tracked to hit a release target
@g-release-publish Finalize and publish a release (CHANGELOG, VERSION, tag)

Maintenance

Command What it does
@g-medkit .galdr/ health check, repair, and version migration
@g-medic Targeted repair for a specific .galdr/ file or subsystem
@g-tier-setup Set up or upgrade galdr tier in a project (slim β†’ full β†’ adv)
@g-swot-review SWOT analysis for the current project phase
@g-dependency-graph Generate DEPENDENCY_GRAPH.md from task dependencies
@g-cli-cursor Cursor CLI reference and usage patterns
@g-cli-claude Claude Code CLI reference and usage patterns
@g-cli-gemini Gemini CLI reference and usage patterns
@g-cli-codex Codex CLI reference and usage patterns
@g-cli-copilot GitHub Copilot CLI reference and usage patterns

Git Quality Gates

@g-git-sanity     # Before committing: detects staged secrets, files over size limits,
                  # and .galdr/ sync drift between TASKS.md and tasks/ files

@g-git-commit     # Conventional commit format (feat/fix/chore) with task reference
                  # and optional agent footer for autonomous commits

@g-git-push       # Pre-push gate: validates task states, CHANGELOG updated,
                  # release-mode checks README version badge

Optional: Docker MCP Server

galdr is fully functional without any server infrastructure β€” the file-first architecture means every feature works with plain files. For teams that want semantic search, session memory across machines, Oracle database access, or server-side crawling, the galdr Docker MCP server adds 42 server-backed tools.

The Docker server is a separate companion component (not included in this template). See the galdr Docker server repository for setup instructions.

Category Tools
Memory memory_search, memory_capture_session, memory_context, memory_ingest_session, memory_sessions, memory_capture_insight, memory_search_combined, memory_setup_user
Vault vault_search, vault_search_all, vault_sync, vault_read, vault_list, vault_export_sessions
Install galdr_install, galdr_plan_reset, galdr_health_report, galdr_validate_task, galdr_server_status
Crawling platform_docs_search, platform_crawl_trigger, platform_crawl_status, crawl_add_target, crawl_list_targets, check_crawl_freshness
Oracle oracle_query, oracle_execute
MediaWiki mediawiki_page, mediawiki_search
Video video_analyze, video_batch_process, video_extract_frames, video_extract_transcript, video_extract_metadata, video_get_playlist
Utility md_to_html, config_reload, get_service_url

Configuration

Identity

@g-setup creates .galdr/.identity with your project details:

project_id=<generated-uuid>
project_name=my-project
user_id=<your-user-id>
user_name=YourName
galdr_version=1.4.0

Vault Location

vault_location in .galdr/.identity controls where knowledge is stored:

vault_location={LOCAL}                  # Default: .galdr/vault/ inside this project
vault_location=/path/to/shared/vault    # Shared vault: multiple projects write here

A shared vault is opt-in. One-off or client projects should use {LOCAL} to keep knowledge isolated.

Environment Variables (Docker only)

Only needed if you run the optional Docker MCP server. Copy .env.example to .env:

POSTGRES_DB=rag_knowledge
POSTGRES_USER=galdr
POSTGRES_PASSWORD=your_password_here
OPENAI_API_KEY=your-key-here

Optional Skill Packs

Beyond the built-in galdr system skills, skill_packs/ contains optional, domain-specific packs you install on demand. These are not loaded by default β€” nothing installs until you run the pack's install.ps1. Each pack deploys to all 5 IDE targets (.cursor/, .claude/, .agent/, .codex/, .opencode/).

# Install a pack into the current project
.\skill_packs\infrastructure\install.ps1

# Install into a specific project directory
.\skill_packs\infrastructure\install.ps1 -ProjectRoot "C:\my-other-project"

To uninstall: delete the skill directories listed in the pack's PACK.md.


🎬 ai-video-tools β€” AI video generation, avatar creation, animated GIFs, explainer production, and multi-platform ad specs

Skill What it does
ai-video-generation 40+ models via inference.sh CLI: text-to-video, image-to-video, Veo, Wan, Seedance
ai-avatar-lipsync OmniHuman/Fabric/PixVerse models; audio-driven lipsync and dubbing workflows
remotion-video React-based video: compositions, audio, captions, 3D, transitions, cloud render
animated-gif-creator Composable animation primitives, Slack constraints (2MB/64KB), easing and optimization
explainer-video Script formulas (AIDA), pacing rules, scene planning, voiceover and music integration
storyboard-creation Shot composition, camera angles, movement, continuity; pre-production workflow
video-ad-specs TikTok/Instagram/YouTube/Facebook/LinkedIn dimensions, timing requirements, AIDA framework
pipeline-validation Multi-agent QA gates: specs, narrative, render readiness, asset handoff checks

🧊 3d-graphics β€” 3D performance optimization, asset pipelines, animation principles, and generative art

Skill What it does
3d-performance LOD strategies, frustum/occlusion culling, draw call reduction, R3F-specific optimizations
asset-optimization gltf-transform pipeline: Draco mesh compression, WebP/KTX2 textures, LOD generation
animation-principles Disney's 12 animation principles applied to 3D/game contexts, timing and frame count guidelines
algorithmic-art p5.js generative art: seeded randomness, flow fields, particle systems, interactive parameters

πŸ“± content-creation β€” Social strategy, video scripting, storyboarding, and platform ad specs

Skill What it does
social-media-marketing YouTube/TikTok/Instagram/LinkedIn growth strategy, thumbnails, influencer workflows
storyboard-creation Shot composition, angles, movement, continuity for film and animation pre-production
explainer-video AIDA script formulas, pacing rules, scene planning, voiceover and music guidance
video-ad-specs Platform-specific dimensions, timing, and AIDA framework for paid social

πŸ€– ai-ml-dev β€” AI/ML development, cloud GPU training, and mathematical animation

Skill What it does
ai-ml-development Model selection, training loops, evaluation, fine-tuning, RLHF, RAG, MLOps patterns
cloud-gpu-training RunPod/Lambda/Vast.ai: SCP workflow, batch sizing, cost estimates, checkpointing
manim-animation 3Blue1Brown-style math animations: scenes, LaTeX, graphs, algorithm demos in Python

πŸš€ startup-tools β€” VC fundraising, business formation, product development, and resource access

Skill What it does
startup-vc-fundraising Pre-seed through Series C+: pitch decks, investor targeting, term sheets, due diligence
startup-business-formation Delaware C-Corp, cap table, 83(b) election, founder vesting, foreign qualification
startup-product-development Discovery, MVP scoping, RICE prioritization, stack choice, QA, build vs buy decisions
startup-resource-access Cloud credits, AI credits, grants, accelerators, banking tools, community resources

⛓️ blockchain β€” Web3 and blockchain development

Skill What it does
web3-blockchain EVM/Solana/Cosmos/Bitcoin; Solidity smart contracts; DeFi, NFTs, token design; cross-chain bridging

☁️ infrastructure β€” Cloud engineering, Kubernetes, CI/CD, and MCP server development

Skill What it does
cloud-engineering AWS/GCP/Azure IaC patterns, Terraform, cost optimization, security best practices
kubernetes-operations Workloads, networking, Helm, RBAC, cloud-native ops, troubleshooting runbooks
cicd-pipelines GitHub Actions, GitLab CI, Jenkins, Azure DevOps; deployment strategies, quality gates
mcp-builder Build MCP servers with FastMCP or Node/TypeScript SDK for AI agent tool integration

Design Principles

  1. File-first β€” Every feature works without Docker or any external service. MCP tools enhance, never gate.
  2. Platform parity β€” 12 IDE targets stay synchronized (6 root + 6 template). Cursor, Claude Code, Gemini, Codex, OpenCode, and GitHub Copilot get identical skills, agents, and commands.
  3. Adversarial quality β€” Implementation and verification are structurally separated. The same agent cannot do both.
  4. Memory is durable β€” Session history, decisions, and research survive across conversations, machines, and IDE switches.
  5. Single source of truth β€” Task state lives in files, not in agent memory. Any agent opening the project sees the same state.
  6. Constraints over conventions β€” Rules are enforced at session start and at every task completion gate, not suggested once and forgotten.
  7. Topology-aware β€” Projects are not islands. The PCAC system treats a multi-repo codebase as a first-class entity with discoverable structure.

Contributing

See CONTRIBUTING.md for guidelines on reporting bugs, requesting features, and contributing to the framework.

galdr is built with galdr. The framework develops itself β€” task specs, acceptance criteria, two-phase review, and all.

License

MIT


galdr β€” Norse for "song magic." Because the best code is indistinguishable from incantation.

About

AI-powered development framework with task management, 41 agents, 83 skills, and MCP tools for Cursor, Claude Code, Gemini, Codex & OpenCode. File-based memory that survives across sessions.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages