YJ

youssef-jad/gyo-agents

开发工具

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

33 stars 0 forks 质量 60 趋势 16

MCP服务器+提示,将任何AI编码代理(Cursor、Claude Code、Cline、Kiro、Windsurf等)转化为你的数字孪生——生成项目专属代理。

概览

不要复制粘贴提示,只需将它连接到任何AI工具(光标、Claude Code、Cline、Kiro、Windsurf),即可瞬间将其转化为你的...... 服务器提供一个全球持久的内存(~/.gyo-agents/twin-memory.json),存储在任何单个仓库之外。AI 代理可以学习你的偏好,保存你的重复解决方案,并避免你所有项目中的错误。 添加到你的工具的MCP配置中(替换 /ABSOLUTE/PATH/TO/GYO-AGENTS): * 为每个主要AI编码代理提供原生提示生成器。* get_digital_twin_profile、记忆、forget_memory、search_memory — 教AI你的全局偏好。* generate_full_agent_context、search_prompts、analyze_git_style_on_the_fly、get_domain_context、validate_api_response、check_cache_usage。* snapshot_config、sync_agent_config — 随着代码库演进,保持代理配置同步,提供针对性的每个部分补丁建议。 📖 完整的安装指南和工具详情→mcp-server/README。

概述(AI 翻译)

🚀 MCP服务器:开发者数字孪生

不要复制粘贴提示,只需将GYO-AGENTS MCP Server连接到任何AI工具(光标、Claude Code、Cline、Kiro、Windsurf),即可瞬间将其转化为你的数字孪生。

服务器提供一个全球持久的内存(~/.gyo-agents/twin-memory.json),存储在任何单个仓库之外。人工智能代理可以学习你的偏好,保存你的重复解决方案,避免所有项目中的错误。

添加到你的工具的MCP配置中(替换/ABSOLUTE/PATH/TO/GYO-AGENTS):

24件工具暴露:

  • 提示工具(11): 为每个主要AI编码代理提供原生提示生成器。
  • 数字孪生记忆(4): get_digital_twin_profile, memorize, forget_memory, search_memory — 教AI你的全局偏好。
  • 智力与验证(7): generate_full_agent_context、search_prompts、analyze_git_style_on_the_fly、get_domain_context、validate_api_response、check_cache_usage。
  • Living 配置自动更新器(2): snapshot_config, sync_agent_config — 随着代码库演进,保持代理配置同步,并针对每个部分提供针对性的补丁建议。

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

README

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

🚀 MCP Server: The Developer Digital Twin

Instead of copy-pasting prompts, connect the GYO-AGENTS MCP Server to any AI tool (Cursor, Claude Code, Cline, Kiro, Windsurf) to instantly transform it into your Digital Twin.

The server provides a global, persistent memory (~/.gyo-agents/twin-memory.json) that lives outside of any single repository. AI agents can learn your preferences, save your recurring solutions, and avoid mistakes across all of your projects.

cd mcp-server && npm install && npm run build

Add to your tool’s MCP config (replace /ABSOLUTE/PATH/TO/GYO-AGENTS):

{
  "mcpServers": {
    "gyo-agents": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/GYO-AGENTS/mcp-server/dist/index.js"]
    }
  }
}

24 Tools Exposed:

  • Prompt Tools (11): Native prompt generators for every major AI coding agent.
  • Digital Twin Memory (4): get_digital_twin_profile, memorize, forget_memory, search_memory — Teach AI your global preferences.
  • Intelligence & Validation (7): generate_full_agent_context, search_prompts, analyze_git_style_on_the_fly, get_domain_context, validate_api_response, check_cache_usage.
  • Living Config Auto-Updater (2): snapshot_config, sync_agent_config — Keep agent configs in sync as your codebase evolves, with targeted per-section patch suggestions.

📖 Full setup guide & tool details → mcp-server/README.md · Config snippets → examples/mcp-configs/


Prompt: Generate Your Own AGENTS.md

Copy this entire prompt into any AI coding agent (Kiro, Claude Code, Cursor, Copilot, Codex, etc.) while inside your project workspace. It will analyze your codebase and git history to generate a powerful, project-specific AGENTS.md file.

(Note: If the agent truncates its response, run Steps 1-2 first, then ask it to complete Steps 3-4 in a follow-up).

I need you to generate a comprehensive AGENTS.md file for this project. This file will instruct AI coding agents on how to work in this codebase correctly. Follow these steps:

## Step 1: Analyze the Project

Explore the codebase and gather:
- Language, framework, and major dependency versions (from package.json, composer.json, Gemfile, go.mod, requirements.txt, Cargo.toml, etc.)
- Directory structure and code organization patterns (where do models, controllers, services, tests live?)
- **Architectural Observations**: Describe what you directly observe (directory names, file names, import patterns). Do NOT guess architectural labels (like "CQRS" or "DDD") unless there is explicit evidence (e.g., a file named `CommandHandler` inside a `Commands/` directory). If uncertain, describe the structure instead of labeling it.
- Module/package count and naming conventions
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "gyo-agents": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/GYO-AGENTS/mcp-server/dist/index.js"] } } }