Skip to main content

USE SWAMP WITH COPILOT

Prerequisites

Initialize the repository

$ swamp repo init --tool copilot

You will see output like:

23:10:36.053 INF repo·init Initialized swamp repository at "/path/to/your/repo" (tool: "copilot")

What this sets up

Swamp adds its rules and skill list to AGENTS.md and copies bundled skills to .agents/skills/, where Copilot auto-discovers them. Your own project instructions coexist in AGENTS.md via managed sections — swamp only touches its own delimited block.

Verify it works

Open Copilot Chat in your editor and type:

I am new to swamp

The agent matches the getting-started skill and walks you through creating your first model.

Upgrading

When a new version of swamp is released, upgrade the repository to get updated skills and instructions:

$ swamp repo upgrade

The managed section in AGENTS.md is replaced with the latest content. Anything you wrote outside the managed section is preserved.