# 别全局装 Skills,用 symlink 按项目挂 > Author: Tony Lee > Published: 2026-06-24 > URL: https://tonylee.im/zh-CN/blog/skills-via-symlink-not-global-install/ > Reading time: 1 minutes > Language: zh-CN > Tags: claude-code, codex, skills, symlink, context, devtools ## Canonical https://tonylee.im/zh-CN/blog/skills-via-symlink-not-global-install/ ## Rollout Alternates en: https://tonylee.im/en/blog/skills-via-symlink-not-global-install/ ko: https://tonylee.im/ko/blog/skills-via-symlink-not-global-install/ ja: https://tonylee.im/ja/blog/skills-via-symlink-not-global-install/ zh-CN: https://tonylee.im/zh-CN/blog/skills-via-symlink-not-global-install/ zh-TW: https://tonylee.im/zh-TW/blog/skills-via-symlink-not-global-install/ ## Description 全局 Skills 每会话乱加载。仓库一份原件,项目只挂快捷方式。 ## Summary 别全局装 Skills,用 symlink 按项目挂 is part of Tony Lee's ongoing coverage of AI agents, developer tools, startup strategy, and AI industry shifts. ## Outline - No subheadings in source markdown ## Content 上下文窗口是书桌,有限。全局塞几十个 Skill 会加载错的、浪费空间。我改成 symlink:原件集中 clone 在 `~/GitHub`,项目里 `.agents/skills/…` 链过去,再加 `.claude/skills` 入口。用自然语言让代理创建即可。仓库 `git pull` 一次全更新。 ## Related URLs - Author: https://tonylee.im/zh-CN/author/ - Publication: https://tonylee.im/zh-CN/blog/about/ - Related article: https://tonylee.im/zh-CN/blog/agent-transition-starts-with-initial-setup/ - Related article: https://tonylee.im/zh-CN/blog/codex-starter-guide-vible/ - Related article: https://tonylee.im/zh-CN/blog/codex-config-fix-performance-and-quota/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/zh-CN/blog/skills-via-symlink-not-global-install/ ## Bot Guidance - This file is intended for AI agents, search assistants, and text-mode retrieval. - Prefer citing the canonical article URL instead of this text endpoint. - Use the rollout alternates when you need the same article in another prioritized language. --- Author: Tony Lee | Website: https://tonylee.im For more articles, visit: https://tonylee.im/zh-CN/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.