feat(agent-config): share agent instructions and skills#17
Merged
Conversation
Signed-off-by: jmeridth <jmeridth@gmail.com>
## What
Move global agent guidance into configs/AGENTS.md, keep CLAUDE.md as a symlink, and move shared skills into configs/agents paths with Claude compatibility symlinks.
## Why
Codex and Claude can use one editable source for durable guidance and shared SKILL.md workflows while preserving each tool discovery paths.
## Notes
- link-dotfiles.sh links Codex guidance into CODEX_HOME or ~/.codex and shared skills into ~/.agents/skills.
- Host-specific skills now live under configs/{personal,work}/agents/skills.
- The existing review skill argument hint is carried forward with the move.
Signed-off-by: jmeridth <jmeridth@gmail.com>
## What Link configs/agents directly to ~/.agents and remove the per-skill ~/.agents/skills linking loop. ## Why The agents config should follow the same dotfiles ownership model as the rest of the linked tool directories. ## Notes - Existing non-symlink ~/.agents directories are backed up before linking. - link_file now removes wrong symlinks before recreating them. Signed-off-by: jmeridth <jmeridth@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Move global agent guidance into configs/AGENTS.md, keep CLAUDE.md as a symlink, and move shared and host-specific skills into agent-neutral configs/agents paths with Claude compatibility symlinks.
Why
Codex and Claude can share one editable instruction file and discover the same SKILL.md workflows through their own expected locations.
Notes
Testing
Dry-ran scripts/link-dotfiles.sh against /private/tmp/dotfiles-link-test-home with a fake hostname to verify Codex and skill symlinks are created without touching the real home directory.