Skip to main content

agent-memory

Persist and retrieve repository-specific knowledge using AGENTS.md files. Use when you want to save important information about a codebase (build commands, code style, workflows) for future sessions.

来源信息

仓库
OpenHands/extensions
最近来源活动
2026年4月23日 20:19
检测到的 SKILL.md 语言
英语
星标
167
Forks
114

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
6 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
agent-memory
description
Persist and retrieve repository-specific knowledge using AGENTS.md files. Use when you want to save important information about a codebase (build commands, code style, workflows) for future sessions.
triggers
["/remember"]
* Repository memory: Use AGENTS.md in each repository root to store and access important information. - If this file exists, it will be added to your context automatically. - If missing, you should create it unless the user has explicitly asked you to not do so. * Store and maintain **general knowledge** that will be helpful for most future tasks: 1. Repository structure 2. Common commands (build, lint, test, pre-commit, etc.) 3. Code style preferences 4. Workflows and best practices 5. Any other repository-specific knowledge you learn * IMPORTANT: ONLY LOG the information that would be helpful for different future tasks, for example, how to configure the settings, how to setup the repository. Do NOT add issue-specific information (e.g., what specific error you have ran into and how you fix it). * When adding new information: - ALWAYS ask for user confirmation first by listing the exact items (numbered 1, 2, 3, etc.) you plan to save to AGENTS.md - Only save the items the user approves (they may ask you to save a subset) - Ensure it integrates nicely with existing knowledge in AGENTS.md - Reorganize the content if needed to maintain clarity and organization - Group related information together under appropriate sections or headings - If you've only explored a portion of the codebase, clearly note this limitation in the repository structure documentation - If you don't know the essential commands for working with the repository, such as lint or typecheck, ask the user and suggest adding them to AGENTS.md for future reference (with permission) When you receive this message, please review and summarize your recent actions and observations, then present a list of valuable information that should be saved in AGENTS.md to the user.
在 GitHub 查看