微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

dotfile

dotfile · v0.5.0
安全 unknown 级 作者 drumrobot 公开目录收录
1.1k 下载 0 安装 4.5k 收藏 1 浏览

简介

dotfile

原始描述

Synchronization management with external tools. agents - Windows+WSL ~/.agents share + ~/.claude/plugins split layout [agents.md], chezmoi - dotfile template management [chezmoi.md], knowledge - session knowledge → Serena memory [knowledge.md], mcp - MCP server synchronization [mcp.md], syncthing - chezmoi Syncthing sync and diagnostics [syncthing.md]. Use when "knowledge sync", "chezmoi add", "dotfile management", "syncthing", "MCP server add", "MCP sync", "external sync", "(?d)", ".stignore", "ignored files", "stignore settings", "sync incomplete", "sync status", "DB reset", "stale cache", "syncthing diagnostics", "index reset", "rescan", "encryption consistency", "Failed to verify encryption", "receive-encrypted mismatch", "garbage encryptionPassword", "Antigravity Syncthing", "Gemini Syncthing re-register", "Windows WSL agents layout", "plugins split", "marketplace EACCES". For ClawHub-related tasks → delegate to /clawhub skill.

通过你的 Agent 添加

安装目录:dotfile/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/dotfile/
Codex CLI~/.codex/skills/dotfile/
DeepSeek Harness~/.agents/skills/dotfile/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: dotfile metadata: author: es6kr version: "0.1.2" description: Synchronization management with external tools. agents - Windows+WSL ~/.agents share + ~/.claude/plugins split layout [agents.md], chezmoi - dotfile template management [chezmoi.md], knowledge - session knowledge → Serena memory [knowledge.md], mcp - MCP server synchronization [mcp.md], syncthing - chezmoi Syncthing sync and diagnostics [syncthing.md]. Use when "knowledge sync", "chezmoi add", "dotfile management", "syncthing", "MCP server add", "MCP sync", "external sync", "(?d)", ".stignore", "ignored files", "stignore settings", "sync incomplete", "sync status", "DB reset", "stale cache", "syncthing diagnostics", "index reset", "rescan", "encryption consistency", "Failed to verify encryption", "receive-encrypted mismatch", "garbage encryptionPassword", "Antigravity Syncthing", "Gemini Syncthing re-register", "Windows WSL agents layout", "plugins split", "marketplace EACCES". For ClawHub-related tasks → delegate to /clawhub skill. depends-on:

  • chezmoi

Sync

Manages data synchronization with external tools (Serena, chezmoi, Syncthing, etc.).

Topics

Topic Description Guide
agents Windows+WSL multi-agent share layout (~/.agents source of truth + ~/.claude/plugins split) agents.md
chezmoi dotfile chezmoi template management chezmoi.md
knowledge Session knowledge → Serena memory sync knowledge.md
mcp MCP server sync (delegated to chezmoi) mcp.md
syncthing chezmoi source Syncthing sync and diagnostics syncthing.md

Quick Reference

Agents Layout (Windows + WSL)

"Windows WSL agents layout"  → ~/.agents source of truth, ~/.claude/{skills,rules,agents} symlinks
"plugins split"              → Why ~/.claude/plugins/ is NOT shared
"marketplace EACCES"         → Recovery for plugin marketplace rename collisions

Bootstrap script: ~/.agents/skills/dotfile/scripts/link-shared-ai-configs.{sh,ps1}

  • Creates symlinks from ~/.agents/{skills,rules,agents}/ into Claude / Codex / Gemini / Antigravity
  • Idempotent + auto-backup to .bak/<name>-<timestamp>

Knowledge Sync

"knowledge sync"        → Current project session → Serena memory

Chezmoi

"chezmoi add"           → Add a dotfile to chezmoi
"dotfile management"    → chezmoi template operations

Configurations managed by chezmoi:

  • ~/.utcp_config.json - UTCP global config
  • ~/.claude.json, ~/.cursor/mcp.json - MCP server config
  • ~/Library/.../Syncthing/config.xml - Syncthing default config

MCP server sharing:

  • Single source: .chezmoitemplates/mcp-servers.json
  • chezmoi apply → Automatically applied to all apps

MCP

"MCP server add"        → Edit mcp-servers.json → chezmoi apply
"MCP sync"              → Apply MCP config to all apps

Syncthing

"syncthing setup"       → chezmoi source sync configuration
".stignore"             → Ignore pattern configuration
"sync incomplete"       → Per-folder status/need item diagnostics
"encryption consistency"→ Garbage encryptionPassword diagnosis & API PUT cleanup
"DB reset"              → Stale index reset (delete index-v2)

Auto-generated .stignore:

  • .git
  • (?d).DS_Store — Prevents orphaned .DS_Store on remote deletion
  • *.bak

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill