/sumsec-skills:claude-agents-symlinkfrom sumsec-skills
Unifies Claude memory files (CLAUDE.md/claude.md) into symlinks pointing to AGENTS.md/agents.md across projects. Handles cross-platform symlink creation with safety checks and backups.
Ships in sumsec-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
将仓库根目录的 Claude 文件改为指向根目录 AGENTS 文件的软链接,同时对已有的非链接文件保持保守处理。
git rev-parse --show-toplevel。如果当前目录不是 Git 仓库,就使用用户明确提供的根目录路径。AGENTS.md 或 agents.md。如果两者都不存在,停止并询问用户哪个文件应该作为真实来源。CLAUDE.md 或 claude.md。
如果它已经是指向 AGENTS 文件的软链接,直接报告成功并停止。
如果它是普通文件,或者软链接指向了别处,先检查内容,再决定是否替换。scripts/ensure_claude_symlink.py,这样同一套流程可以同时覆盖 Windows、macOS、Linux。优先在项目根目录执行随附脚本。
macOS / Linux:
python3 scripts/ensure_claude_symlink.py --root "$(git rev-parse --show-toplevel)"
Windows PowerShell:
py -3 scripts/ensure_claude_symlink.py --root (git rev-parse --show-toplevel)
如果检查后确认需要替换已有 Claude 文件:
python3 scripts/ensure_claude_symlink.py \
--root "$(git rev-parse --show-toplevel)" \
--replace-existing
--no-backup,随附脚本会自动保留备份。AGENTS.md,保证仓库跨机器迁移时仍可用。AGENTS.md -> CLAUDE.md,先停下来确认,不要直接翻转。PowerShell 兜底命令:
New-Item -ItemType SymbolicLink -Path CLAUDE.md -Target AGENTS.md -Force
cmd.exe 兜底命令:
mklink CLAUDE.md AGENTS.md
ls -l CLAUDE.md AGENTS.md。Get-Item CLAUDE.md | Select-Object LinkType, Target。CLAUDE.md 和 AGENTS.md 读取到的是同一份内容。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
20 skills in this plugin
/agent-chat-history按 YYYY-MM-DD 在 Windows/macOS/Linux 检索本机聊天与 Agent 会话历史(Claude Code 项目 jsonl、Codex CLI history.jsonl、Cursor workspaceStorage 与 state.vscdb);可只导出用户提示词。用户要查看或导出某日记录、按天筛 jsonl/SQLite、只抽提示词、排查历史丢失或做只读审计时使用。/context7-cliUse the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, wants to install/search/generate skills, or needs to set up Context7 for their AI coding agent./context7-mcpThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.Generated from the plugin's indexed repository (summersec/sumsec-skills) — no native marketplace selected
npx claudepluginhub p/summersec-sumsec2 plugins in one repository ship this exact skill · first indexed Jul 20, 2026