Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneesstack72

Relationships

#1765 Relative path for custom agent skills setup doesn't provision skills

Opened by ben_lutq · 8/21/2026· Shipped 8/22/2026

Description

This is in a vanilla exe.dev machine. When adding a custom agent config for use by the pre-installed pi agent specifying a relative path like .agents/skills/ results in the swamp skills not being provisioned during repo init in the project folder.

Steps to Reproduce

1.swamp agent setup (input prompt)-> pi -> AGENTS.md -> -> .agents/skills/

2.swamp repo init --tool pi

3.ls .agents/skills/ -> (is empty)

Environment

  • swamp version:20260821.132528.0-sha.a18f55df
  • OS:exeuntu
  • Shell:exe.dev web terminal

Additional Context

  • AGENTS.md is also specified relatively but is generated correctly.
  • Creating folder first doesn't make difference.
  • If absolute path is specified then skills are created on init.
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 5 MOREVERIFICATION_FAILED+ 2 MORESESSION_SUMMARIZED

Shipped

8/22/2026, 9:57:08 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack728/22/2026, 1:14:18 AM
Editable. Press Enter to edit.

hmcrum commented 8/21/2026, 10:27:37 PM

Same root cause reaches the built-in tools, with no swamp agent setup and no custom path involved — so this is not limited to user-configured agents. Reproduced on 20260820.072114.0-sha.05d20b6a, macOS 15, zsh.

copilot

mkdir demo && cd demo && swamp init --tool copilot

The generated AGENTS.md managed block instructs the agent to read .agents/skills/swamp/SKILL.md and .agents/skills/swamp-getting-started/SKILL.md. Neither is created in the repo; both are installed to ~/.agents/skills/:

MISSING .agents/skills/swamp/SKILL.md
MISSING .agents/skills/swamp-getting-started/SKILL.md
global: ~/.agents/skills/swamp
global: ~/.agents/skills/swamp-getting-started

kiro

mkdir demo && cd demo && swamp init --tool kiro

.kiro/steering/* references .kiro/skills/swamp/SKILL.md, also absent, also installed to ~/.kiro/skills/:

MISSING .kiro/skills/swamp/SKILL.md
MISSING .kiro/skills/swamp-getting-started/SKILL.md
global: ~/.kiro/skills/swamp
global: ~/.kiro/skills/swamp-getting-started

claude is unaffected, and I think it shows the fix: CLAUDE.md refers to "the swamp skill" by name rather than by path, so wherever Claude Code resolves skills from, the reference still lands.

swamp repo upgrade --tool <t> behaves the same as init here.

Impact is quiet rather than loud: nothing errors. The agent is simply told to read a file that is not there, so it proceeds without the guidance the block intends to give it — which looks like the agent ignoring repo rules rather than a missing file.

Either emitting the skills into the repo path, or writing the reference as the resolved absolute/global path, would close it. The by-name approach claude uses seems the most robust of the three.

stack72 commented 8/22/2026, 9:57:17 PM

Thanks @ben_lutq for reporting this! The fix has been merged and a release is on its way. We appreciate your contribution to swamp.

Sign in to post a ripple.