Skip to content

Export formats

spaget exports agent configurations to multiple platforms. This reference documents each format.

Output: Single CLAUDE.md file in your project root.

Claude Code reads instructions from Markdown files. spaget generates a well-structured Markdown document with sections for each aspect of your agent.

# Project Agent
## Instructions
Your agent's core personality and behavior rules.
## Skills
Each skill's instructions, organized by section.
## Rules
Specific guidelines and constraints.
  • Project-level: ./CLAUDE.md (root of your repo)
  • Global: ~/.claude/CLAUDE.md (applies to all projects)

Output: One or more .mdc files in .cursor/rules/.

Cursor uses MDC format files, each defining a rule set. spaget splits your configuration into logical rule files.

.cursor/
rules/
code-style.mdc
testing.mdc
documentation.mdc

Each .mdc file contains frontmatter and content:

---
description: Code style conventions
globs: ["**/*.ts", "**/*.tsx"]
---
Use TypeScript strict mode...

GitHub Copilot (.github/copilot-instructions.md)

Section titled “GitHub Copilot (.github/copilot-instructions.md)”

Output: Single copilot-instructions.md file.

GitHub Copilot reads a Markdown file with project instructions.

You are a helpful assistant working on this project.
## Conventions
- Use TypeScript with strict mode
- Follow conventional commits
## Architecture
This is a Next.js application...

Place the file at .github/copilot-instructions.md in your repository.


AspectClaude CodeCursorGitHub Copilot
FormatMarkdownMDCMarkdown
Files1Multiple1
LocationProject root.cursor/rules/.github/
Scope controlFile-levelGlob patternsRepository