Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

memorizememorize 搜索

Agent Skill

memorize 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,307

周安装

55

GitHub Stars

891

下载量

458
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memorize(memorize 搜索)
来源仓库:https://github.com/neolabhq/context-engineering-kit
仓库路径:skills/memorize
安装命令:
npx skills add https://github.com/neolabhq/context-engineering-kit --skill memorize
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/neolabhq/context-engineering-kit --skill memorize

简介

memorize 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限与维护状态。
  • 使用前应核实是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 和仓库内容进一步验证具体功能边界。

SKILL.md

Memory Consolidation: Curate and Update CLAUDE.md

Output must add precise, actionable bullets that future tasks can immediately apply.

Memory Consolidation Workflow

Phase 1: Context Harvesting

First, gather insights from recent reflection and work:

  1. Identify Learning Sources:

- Recent conversation history and decisions - Reflection outputs from /reflexion:reflect - Critique findings from /reflexion:critique - Problem-solving patterns that emerged - Failed approaches and why they didn't work

If scope is unclear, ask: “What output(s) should I memorize? (last message, selection, specific files, critique report, etc.)”

  1. Extract Key Insights (Grow):

- Domain Knowledge: Specific facts about the codebase, business logic, or problem domain - Solution Patterns: Effective approaches that could be reused - Anti-Patterns: Approaches to avoid and why - Context Clues: Information that helps understand requirements better - Quality Gates: Standards and criteria that led to better outcomes

Extract only high‑value, generalizable insights:

  • Errors and Gaps

- Error identification → one line - Root cause → one line - Correct approach → imperative rule - Key insight → decision rule or checklist item

  • Repeatable Success Patterns

- When to apply, minimal preconditions, limits, quick example

  • API/Tool Usage Rules

- Auth, pagination, rate limits, idempotency, error handling

  • Verification Items

- Concrete checks/questions to catch regressions next time

  • Pitfalls/Anti‑patterns

- What to avoid and why (evidence‑based)

Prefer specifics over generalities. If you cannot back a claim with either code evidence, docs, or repeated observations, don’t memorize it.

  1. Categorize by Impact:

- Critical: Insights that prevent major issues or unlock significant improvements - High: Patterns that consistently improve quality or efficiency - Medium: Useful context that aids understanding - Low: Minor optimizations or preferences

Phase 2: Memory Curation Process

Step 1: Analyze Current CLAUDE.md Context

# Read current context file
@CLAUDE.md

Assess what's already documented:

  • What domain knowledge exists?
  • Which patterns are already captured?
  • Are there conflicting or outdated entries?
  • What gaps exist that new insights could fill?

Step 2: Curation Rules (Refine)

For each insight identified in Phase 1 apply ACE’s “grow‑and‑refine” principle:

  • Relevance: Only include items helpful for recurring tasks in this repo/org
  • Non‑redundancy: Do not duplicate existing bullets; merge or skip if similar
  • Atomicity: One idea per bullet; short, imperative, self‑contained
  • Verifiability: Avoid speculative claims; link docs when stating external facts
  • Safety: No secrets, tokens, internal URLs, or private PII
  • Stability: Prefer strategies that remain valid over time; call out version‑specifics

Step 3: Apply Curation Transformation

Generation → Curation Mapping:

  • Raw insight: [What was learned]
  • Context category: [Where it fits in CLAUDE.md structure]
  • Actionable format: [How to phrase it for future use]
  • Validation criteria: [How to know if it's being applied correctly]

Example Transformation:

Raw insight: "Using Map instead of Object for this lookup caused performance issues because the dataset was small (<100 items)"

Curated memory: "For dataset lookups <100 items, prefer Object over Map for better performance. Map is optimal for 10K+ items. Use performance testing to validate choice."

Step 4: Prevent Context Collapse

Ensure new memories don't dilute existing quality context:

  1. Consolidation Check:

- Can this insight be merged with existing knowledge? - Does it contradict something already documented? - Is it specific enough to be actionable?

  1. Specificity Preservation:

- Keep concrete examples and code snippets - Maintain specific metrics and thresholds where available - Include failure conditions alongside success patterns

  1. Organization Integrity:

- Place insights in appropriate sections - Maintain consistent formatting - Update related cross-references

If a potential bullet conflicts with an existing one, prefer the more specific, evidence‑backed rule and mark the older one for future consolidation (but do not auto‑delete).

Phase 3: CLAUDE.md Updates

Update the context file with curated insights:

Where to Write in CLAUDE.md

Create the file if missing with these sections (top‑level headings):

  1. Project Context

- Domain Knowledge: Business domain insights - Technical constraints discovered - User behavior patterns

  1. Code Quality Standards

- Performance criteria that matter - Security considerations - Maintainability patterns

  1. Architecture Decisions

- Patterns that worked well - Integration approaches - Scalability considerations

  1. Testing Strategies

- Effective test patterns - Edge cases to always consider - Quality gates that catch issues

  1. Development Guidelines

- APIs to Use for Specific Information - Formulas and Calculations - Checklists for Common Tasks - Review criteria that help - Documentation standards - Debugging techniques

  1. Strategies and Hard Rules

- Verification Checklist - Patterns and Playbooks - Anti‑patterns and Pitfalls

Place each new bullet under the best‑fit section. Keep bullets concise and actionable.

Memory Update Template

For each significant insight, add structured entries:

## [Domain/Pattern Category]

### [Specific Context or Pattern Name]

**Context**: [When this applies]

**Pattern**: [What to do]

approach: [specific approach] validation: [how to verify it's working] examples: - case: [specific scenario] implementation: [code or approach snippet] - case: [another scenario] implementation: [different implementation]


**Avoid**: [Anti-patterns or common mistakes]

- [mistake 1]: [why it's problematic]
- [mistake 2]: [specific issues caused]

**Confidence**: [High/Medium/Low based on evidence quality]

**Source**: [reflection/critique/experience date]

### Phase 4: Memory Validation

#### Quality Gates (Must Pass)

After updating CLAUDE.md:

1. **Coherence Check**:
  - Do new entries fit with existing context?
  - Are there any contradictions introduced?
  - Is the structure still logical and navigable?
2. **Actionability Test**: A developer should be able to use the bullet immediately
  - Could a future agent use this guidance effectively?
  - Are examples concrete enough?
  - Are success/failure criteria clear?
3. **Consolidation Review**: No near‑duplicates; consolidate wording if similar exists
  - Can similar insights be grouped together?
  - Are there duplicate concepts that should be merged?
  - Is anything too verbose or too vague?
4. **Scoped**: Names technologies, files, or flows when relevant
5. **Evidence‑backed**: Derived from reflection/critique/tests or official docs

#### Memory Quality Indicators

Track the effectiveness of memory updates:

##### Successful Memory Patterns

- **Specific Thresholds**: "Use pagination for lists >50 items"
- **Contextual Patterns**: "When user mentions performance, always measure first"
- **Failure Prevention**: "Always validate input before database operations"
- **Domain Language**: "In this system, 'customer' means active subscribers only"

##### Memory Anti-Patterns to Avoid

- **Vague Guidelines**: "Write good code" (not actionable)
- **Personal Preferences**: "I like functional style" (not universal)
- **Outdated Context**: "Use jQuery for DOM manipulation" (may be obsolete)
- **Over-Generalization**: "Always use microservices" (ignores context)

##### Implementation Notes

1. **Incremental Updates**: Add insights gradually rather than massive rewrites
2. **Evidence-Based**: Only memorize patterns with clear supporting evidence
3. **Context-Aware**: Consider project phase, team size, constraints when curating
4. **Version Awareness**: Note when insights become obsolete due to tech changes
5. **Cross-Reference**: Link related concepts within CLAUDE.md for better navigation

##### Expected Outcomes

After effective memory consolidation:

- **Faster Problem Recognition**: Agent quickly identifies similar patterns
- **Better Solution Quality**: Leverages proven approaches from past success
- **Fewer Repeated Mistakes**: Avoids anti-patterns that caused issues before
- **Domain Fluency**: Uses correct terminology and understands business context
- **Quality Consistency**: Applies learned quality standards automatically

## Usage

Memorize from most recent reflections and outputs

/reflexion:memorize

Dry‑run: show proposed bullets without writing to CLAUDE.md

/reflexion:memorize --dry-run

Limit number of bullets

/reflexion:memorize --max=5

Target a specific section

/reflexion:memorize --section="Verification Checklist"

Choose source

/reflexion:memorize --source=last|selection|chat:<id>


## Output

1. Short summary of additions (counts by section)
2. Confirmation that `CLAUDE.md` was created/updated

## Notes

- This command is the counterpart to `/reflexion:reflect`: reflect → curate → memorize.
- The design follows ACE to avoid brevity bias and context collapse by accumulating granular, organized knowledge over time (`https://arxiv.org/pdf/2510.04618`).
- Do not overwrite or compress existing context; only add high‑signal bullets.

---

**Remember**: The goal is not to memorize everything, but to curate high-impact insights that consistently improve future agent performance. Quality over quantity - each memory should make future work measurably better.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.96%
按下载量换算160

Claude

28.64%
按下载量换算131

Cursor

19.22%
按下载量换算88

Gemini CLI

9.8%
按下载量换算45

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills