CE

context-engine-ai/context-engine

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

401 stars 质量 75 趋势 39MIT

上下文引擎 MCP - 代理上下文压缩套件

概览

为AI编码助手提供语义代码搜索、记忆和符号智能。免费获取您的 dev.context-engine.ai Context Engine 提供 AI 代理技能,教你的编码助理如何使用 30+ MCP 工具进行语义搜索、符号图导航、记忆管理等。 从公开的GitHub仓库原生安装: 这样可以直接从 GitHub 拉出技能,并自动加载 MCP 工具的指导到你的会话中。 或者,手动复制规则文件: 上下文引擎规则包含在你工作区根的 .cursorrules 中。当文件存在时,光标会自动获取它。 使用内置的技能安装程序原生安装——只要问Codex就知道了: “安装来自https://github.com/Context-Engine-AI/Context-Engine"的上下文引擎技能。”

概述(AI 翻译)

上下文引擎

为AI编码助手提供语义代码搜索、记忆和符号智能。

在 dev.context-engine.ai 获取免费账户

网站 ·入门指南 ·许可证


安装技能

Context Engine 提供 AI 代理技能,教你的编码助理如何使用 30+ MCP 工具进行语义搜索、符号图导航、记忆管理等。

指导: 建议将此内容粘贴到你项目的CLAUDE.md或AGENTS.md中,以便接触子代理人:

Claude Code / Claude 桌面

推荐: 从公开的GitHub仓库原生安装:

这样可以直接从 GitHub 拉出技能,并自动加载 MCP 工具的指导到你的会话中。

或者,手动复制规则文件:

光标

上下文引擎规则包含在你工作区根的 .cursorrules 中。当文件存在时,光标会自动捕捉到它。

Codex(OpenAI)

推荐: 使用内置技能安装程序原生安装——只要问Codex:

“安装来自https://github.com/Context-Engine-AI/Context-Engine"的上下文引擎技能]

Codex 会自动将 .codex/skills/context-engine/(包括 SKILL.md)拉入 ~/.codex/skills/。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Context Engine

Semantic code search, memory, and symbol intelligence for AI coding assistants.

Get your free account at dev.context-engine.ai

Website · Get Started · License


Install Skills

Context Engine ships AI agent skills that teach your coding assistant how to use 30+ MCP tools for semantic search, symbol graph navigation, memory, and more.

Guidance: Recommend pasting this into your project’s CLAUDE.md or AGENTS.md to reach subagents:

# Context Engine

When the `context-engine` MCP server is connected, this workspace is indexed: for any question about the codebase, call `repo_search` FIRST, before ls/find/Grep/Read, and again whenever you move to a new area; for how/why questions that span several files use `context_answer`. Results are verified source with exact line ranges: treat them as already read. Use Grep only to confirm an exact literal in a file you already know, or to count. For questions asking for every/all sites, run one repo_search per distinct pattern (queries=[...]) and follow the refs. If the tools are listed as deferred, load them with ToolSearch first.

| Need | Tool |
|---|---|
| Find code by behavior, concept, error text or identifier | `repo_search` (`queries=[...]` for several at once; `under`, `language`, `path_glob` to narrow) |
| Explain how/why across several files, with citations | `context_answer` |
| Definition, callers, callees, importers, references of a symbol | `symbol_graph` (several names: `A\|B\|C`) |
| Multi-hop impact before a change | `graph_query` |
| Code that may live in another indexed repo | `cross_repo_search` |

Before editing, fetch every involved symbol in one call; before a rename or signature change, get every site with `symbol_graph` `query_type=references`. Search again only after learning something new.

Claude Code / Claude Desktop

Recommended: Install natively from the public GitHub repo:

# Add the marketplace (one-time)
/plugin marketplace add Context-Engine-AI/Context-Engine

# Install the skill
/plugin install context-engine

This pulls the skill directly from GitHub and auto-loads MCP tool guidance into your session.

Alternatively, copy the rules file manually:

cp -r skills/context-engine/ your-project/.claude/

Cursor

Context Engine rules are included in .cursorrules at the root of your workspace. Cursor picks this up automatically when the file is present.

# Copy to your project root
cp .cursorrules your-project/.cursorrules

Codex (OpenAI)

Recommended: Install natively using the built-in skill installer — just ask Codex:

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add context-engine-ai/context-engine
新手?先看 mcpskill.org 教程 →