规则

数据 社区

技能解读

当前原文的自动摘译,尚未人工审校。

使用说明

通过 Bash 运行:如果 amem-cli 不在 PATH 上,则使用:这会将提取规则写入每个工具的规则文件: Claude 代码:CLAUDE.md 光标:.cursorrules

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
数据
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@tomevault-io · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
macOS · Linux · Windows
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# /amem:rules — Generate Extraction Rules

Generate memory extraction guidelines for AI tools.

## Instructions

1. Run via Bash:
   ```
   amem-cli rules
   ```
   If `amem-cli` is not on PATH, use:
   ```
   npx @aman_asmuei/amem rules
   ```

2. This writes extraction rules to each tool's rules file:
   - Claude Code: `CLAUDE.md`
   - Cursor: `.cursorrules`
   - Windsurf: `.windsurfrules`
   - GitHub Copilot: `.github/copilot-instructions.md`

3. To target a specific tool:
   ```
   amem-cli rules --tool cursor
   ```

4. To write to a custom path:
   ```
   amem-cli rules --path ./my-rules.md
   ```

---
> Source: [amanasmuei/amem](https://github.com/amanasmuei/amem) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。