context-engineering Skill
★ Stars are for the whole repo, not this skill
What it does
context-engineering is 1 of 24 skills in the agent-skills repo
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
- Connects Instruction files the AI reads; connects to nothing
- Account or key No key needed
- Category 写代码
Skill 和 MCP 有什么不同
MCP 把 AI 连接到外部服务或数据;Skill 是 AI 读取并照做的工作指南,不连接任何服务。
适用的应用
Claude CodeCodexCursorGemini CLIGitHub CopilotWindsurfOpenCodeKiro
依据开发者 README 和 repo 中的文件夹
安装
Is it safe?
- Who made it
GitHub account addyosmani (person), 17 years old
- Use and upkeep
★ 115,500 stars · code last changed 2026年11月2日
- Any scripts?
No, plain text files the AI reads and follows
- Uses the internet?
No scripts, so it does not go online by itself
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 301b02b (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
Let the AI install it
Works in Claude Code, Codex and Cursor · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
开发者推荐的方式
npx skills add addyosmani/agent-skills摘自开发者 README,会下载并运行开发者的代码
你用哪个应用?
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.claude/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill/skills/context-engineering' ~/.claude/skills/context-engineering && rm -rf /tmp/popnx-skill重新打开 Claude Code,输入 /context-engineering,或直接提出相关任务,Claude 会自动选用
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill/skills/context-engineering' ~/.agents/skills/context-engineering && rm -rf /tmp/popnx-skill重新打开 Codex 并提出相关任务,Codex 会列出这个 skill
打开终端
Mac:按 Command+空格输入 Terminal · Windows:打开 PowerShell(下方命令为 Mac/Linux 写法)
把 skill 文件夹复制到 ~/.cursor/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
rm -rf /tmp/popnx-skill && git clone --depth 1 https://github.com/addyosmani/agent-skills.git /tmp/popnx-skill && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill/skills/context-engineering' ~/.cursor/skills/context-engineering && rm -rf /tmp/popnx-skill在 Cursor 的 Agent 聊天中输入 / 并选择 context-engineering
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
Upload to claude.ai (web and app)
Files are byte-for-byte the same as on GitHub at commit 301b02b · View on GitHub ↗
Plain text files, no programs
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
Look inside before downloading
All 2 files · 16 KB
SKILL.md15 KBLICENSE1 KB
Download context-engineering.zip
Open Skills on claude.ai and upload
+Create skillUpload a skillpick context-engineering.zip
No Upload button? Turn on file creation first
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai, Claude Desktop and Claude Code
Claude Desktop (Cowork) uses the skills turned on in your claude.ai account, not ~/.claude/skills on your computer
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
来自 GitHub
- GitHub 星标
- 115,500
Stars are for the whole repo, not this skill - 开发者
- addyosmani
- 许可证
- MIT
- 最近代码更新
- 2026年11月2日
- repo 中的 SKILL.md 文件
- 1
- 主题
- agent-skills, antigravity, claude-code, codex, cursor, skills