Skip to content
Back to skills

Agent Dotfiles

ASecurity

Centralize coding agent configuration with dotfiles and link it into Codex/Claude/Gemini locations on Windows, macOS, or Linux. Use when asked to manage AGENTS.md or CLAUDE.md globally, set up symlinks or hardlinks for agent configs, or bootstrap a dotfiles-based agent setup.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentsgit

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill agent-dotfiles --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Dotfiles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Dotfiles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-agent-dotfiles/badge)](https://www.skillsdirectory.com/skills/david-li0406-agent-dotfiles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-dotfiles
description: Centralize coding agent configuration with dotfiles and link it into Codex/Claude/Gemini locations on Windows, macOS, or Linux. Use when asked to manage AGENTS.md or CLAUDE.md globally, set up symlinks or hardlinks for agent configs, or bootstrap a dotfiles-based agent setup.
---

# Agent Dotfiles

## Overview

Use this skill to set up a dotfiles repo for agent configuration and safely link files or folders into their tool-specific locations across Windows, macOS, and Linux.

## Workflow (Setup -> Link -> Verify)

1) Identify OS and environment:
- Windows: read `references/windows.md`
- macOS: read `references/macos.md`
- Linux: read `references/linux.md`

2) Choose dotfiles root:
- Default: `~/dotfiles` (macOS/Linux), `C:\Users\<user>\dotfiles` (Windows)
- Create it if missing and decide whether to version it with Git

3) Decide scope:
- Start with AGENTS.md only (safe default)
- Add other agent configs only if the user asks
- Do not link secrets (tokens, auth files, history logs)

4) Build a mapping file:
- Create `mappings.txt` in the dotfiles root
- Format: `source:destination` per line
- Use `references/mappings.example.txt` as a template

5) Run the linking script:
- Windows: `scripts/link_dotfiles.ps1`
- macOS/Linux: `scripts/link_dotfiles.sh`

6) Verify:
- Ensure links exist and the tools pick up changes
- If a target already exists, the scripts skip it unless force is enabled

## Safety Rules

- Do not delete existing target files by default.
- Use the force option only if a backup is acceptable.
- Avoid linking sensitive files (auth.json, tokens, history, cache).

## Resources

- `scripts/link_dotfiles.ps1` (Windows)
- `scripts/link_dotfiles.sh` (macOS/Linux)
- `references/mappings.example.txt`
- `references/windows.md`
- `references/macos.md`
- `references/linux.md`

Files in this skill

  • SKILL.md1.8 KB
  • references/linux.md346 B
  • references/macos.md346 B
  • references/mappings.example.txt410 B
  • references/windows.md618 B
  • scripts/link_dotfiles.ps12.1 KB
  • scripts/link_dotfiles.sh1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…