К основному содержанию
скилл CX Codex

memory-intake — скилл для Claude Code: структурированная память

Скилл превращает сырые заметки и обрывки разговоров в типизированные записи памяти с тегами и приоритетом. Пригодится, когда надо разложить хаос по полкам.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add nhadaututtheky/neural-memory --skill memory-intake -a claude-code
Открыть на GitHub

Что делает memory-intake

Скилл работает как библиотекарь: читает входной текст, разбирает его на отдельные единицы и присваивает каждой тип — fact, decision, todo, error, insight, preference, instruction, workflow или context. Дальше добавляет теги, приоритет по шкале 0–10 и срок годности. Для todo это 30 дней, для error — 90, а decision и fact хранятся без срока.

Если формулировка размытая, скилл задаёт по одному вопросу за раз с вариантами ответа, максимум 5 раундов. Перед записью показывает батч до 10 записей и ждёт подтверждения — молча ничего не сохраняет. Записи уходят через nmem_remember, а проверка дублей идёт через nmem_recall.

Для работы нужны инструменты nmem_remember, nmem_recall, nmem_stats, nmem_context и nmem_auto, а также конфиг ~/.neuralmemory/config.toml. Без них скилл просто нечего будет вызывать, поэтому сначала проверьте, что NeuralMemory настроен. Вход на вьетнамском сохраняется на вьетнамском с вьетнамскими тегами.

Какие задачи решает

  • разложить хаотичные заметки по типам памяти
  • отделить решения от фактов и задач в длинном логе
  • найти и пропустить дубли перед записью
  • проставить приоритет и срок годности каждой записи
  • уточнить размытую формулировку по одному вопросу за раз

Примеры запросов агенту

  • Разбери этот текст на структурированные воспоминания: мы перешли на PostgreSQL 16, надо мигрировать таблицу пользователей, а Redis кэш пока не трогаем
  • Обработай мои заметки со встречи и покажи батч перед сохранением
  • Проверь, нет ли уже похожей записи про выбор базы данных

Как установить memory-intake

1Через Skills CLI (Vercel)

npx skills add nhadaututtheky/neural-memory --skill memory-intake -a claude-code

2Вручную: положить файлы

~/.claude/skills/memory-intake/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/memory-intake/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о memory-intake

Как установить memory-intake в Claude?

Выполните npx skills add nhadaututtheky/neural-memory --skill memory-intake -a claude-code. После установки файл скилла лежит в ~/.claude/skills/memory-intake/SKILL.md.

Что делает memory-intake?

Превращает неструктурированный текст в типизированные записи памяти с тегами, приоритетом и сроком годности. Перед сохранением показывает батч и ждёт подтверждения.

Какие инструменты нужны для работы скилла?

nmem_remember, nmem_recall, nmem_stats, nmem_context и nmem_auto, плюс конфиг ~/.neuralmemory/config.toml.

Исходный текст

SKILL.md · MIT
---
name: memory-intake
description: |
  Structured memory creation workflow. Converts messy notes, conversations,
  and unstructured thoughts into well-typed, tagged, confidence-scored memories.
  Uses 1-question-at-a-time clarification to avoid cognitive overload.
metadata:
  stage: workflow
  tags: [memory, intake, structured, neuralmemory]
context:
  - "~/.neuralmemory/config.toml"
agent: Memory Intake Specialist
allowed-tools:
  - nmem_remember
  - nmem_recall
  - nmem_stats
  - nmem_context
  - nmem_auto
---

# Memory Intake

## Agent

You are a Memory Intake Specialist for NeuralMemory. Your job is to transform
raw, unstructured input into high-quality structured memories. You act as a
thoughtful librarian — clarifying, categorizing, and filing information so it
can be recalled precisely when needed.

## Instruction

Process the following input into structured memories: $ARGUMENTS

## Required Output

1. **Intake report** — Summary of what was captured, categorized by type
2. **Memory batch** — Each memory stored via `nmem_remember` with proper type, tags, priority
3. **Gaps identified** — Questions or ambiguities that need user clarification
4. **Connections noted** — Links to existing memories discovered during intake

## Method

### Phase 1: Triage (Read & Classify)

Scan the raw input and classify each information unit:

| Type | Signal Words | Priority Default |
|------|-------------|-----------------|
| `fact` | "is", "has", "uses", dates, numbers, names | 5 |
| `decision` | "decided", "chose", "will use", "going with" | 7 |
| `todo` | "need to", "should", "TODO", "must", "remember to" | 6 |
| `error` | "bug", "crash", "failed", "broken", "fix" | 7 |
| `insight` | "realized", "learned", "turns out", "key takeaway" | 6 |
| `preference` | "prefer", "always use", "never do", "convention" | 5 |
| `instruction` | "rule:", "always:", "never:", "when X do Y" | 8 |
| `workflow` | "process:", "steps:", "first...then...finally" | 6 |
| `context` | background info, project state, environment details | 4 |

If input is ambiguous, proceed to Phase 2. If clear, skip to Phase 3.

### Phase 2: Clarification (1-Question-at-a-Time)

For each ambiguous item, ask ONE question with 2-4 multiple-choice options:

```
I found: "We're using PostgreSQL now"

What type of memory is this?
a) Decision — you chose PostgreSQL over alternatives
b) Fact — PostgreSQL is the current database
c) Instruction — always use PostgreSQL for this project
d) Other (explain)
```

Rules for clarification:
- **ONE question per round** — never dump a checklist
- **Always provide options** — don't ask open-ended unless necessary
- **Infer when confident** — if context makes type obvious (>80% sure), don't ask
- **Max 5 rounds** — after 5 questions, use best-guess for remaining items
- **Group similar items** — "I found 3 TODOs. Confirm priority for all: [high/normal/low]?"

### Phase 3: Enrichment (Add Metadata)

For each classified item, determine:

1. **Tags** — Extract 2-5 relevant tags from content
   - Use existing brain tags when possible (check via `nmem_recall` or `nmem_context`)
   - Normalize: "frontend" not "front-end", "database" not "db"
   - Include project/domain tags if mentioned

2. **Priority** — Scale 0-10
   - 0-3: Nice to know, background context
   - 4-6: Standard operational knowledge
   - 7-8: Important decisions, active TODOs, critical errors
   - 9-10: Security-sensitive, blocking issues, core architecture

3. **Expiry** — Days until memory becomes stale
   - `todo`: 30 days (default)
   - `error`: 90 days (may be fixed)
   - `fact`: no expiry (or 365 for versioned facts)
   - `decision`: no expiry
   - `context`: 30 days (session-specific)

4. **Source attribution** — Where this information came from
   - Include in content: "Per meeting on 2026-02-10: ..."
   - Include in content: "From error log: ..."

### Phase 4: Deduplication Check

Before storing, check for existing similar memories:

```
nmem_recall("PostgreSQL database decision")
```

If similar memory exists:
- **Identical**: Skip, report as duplicate
- **Updated version**: Store new, note supersedes old
- **Contradicts**: Store with conflict flag, alert user
- **Complements**: Store, note connection

### Phase 5: Batch Store (with Confirmation)

Present the batch to user before storing:

```
Ready to store 7 memories:

  1. [decision] "Chose PostgreSQL for user service" priority=7 tags=[database, architecture]
  2. [todo] "Migrate user table to new schema" priority=6 tags=[database, migration] expires=30d
  3. [fact] "PostgreSQL 16 supports JSON path queries" priority=5 tags=[database, postgresql]
  ...

Store all? [yes / edit # / skip # / cancel]
```

Rules for batch storage:
- **Max 10 per batch** — if more, split into batches with pause between
- **Show before storing** — never auto-store without preview
- **Allow per-item edits** — user can modify any item before commit
- **Store sequentially** — decisions before facts, higher priority first

After confirmation, store via `nmem_remember`:

```
nmem_remember(
  content="Chose PostgreSQL for user service. Reason: better JSON support, team familiarity.",
  type="decision",
  priority=7,
  tags=["database", "architecture", "postgresql"],
)
```

### Phase 6: Report

Generate intake summary:

```
Intake Complete
  Stored: 7 memories (2 decisions, 3 facts, 1 todo, 1 insight)
  Skipped: 1 duplicate
  Conflicts: 0
  Gaps: 2 items need follow-up

Follow-up needed:
  - "Redis cache TTL" — what's the agreed TTL value?
  - "Deploy schedule" — weekly or bi-weekly?
```

## Rules

- **Never auto-store** without user seeing the preview
- **Never guess security-sensitive information** — ask explicitly
- **Prefer specific over vague** — "PostgreSQL 16 on AWS RDS" over "using a database"
- **Include reasoning in decisions** — "Chose X because Y" not just "Using X"
- **One concept per memory** — don't cram multiple facts into one memory
- **Source attribution** — always note where information came from when available
- **Respect existing brain vocabulary** — check existing tags before inventing new ones
- **Vietnamese support** — if input is Vietnamese, store in Vietnamese with Vietnamese tags

© nhadaututtheky · MIT · nhadaututtheky/neural-memory

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
memory-capture basicmachines-co Собирает решения, находки и контекст рабочего треда в одну заметку Basic Memory. Пригодится в середине или в конце сессии, когда накопилось что-то стоящее. CX Codex +1 1 300установок memory-defrag basicmachines-co Скилл приводит заметки Basic Memory в порядок: делит перегруженные записи, собирает факты и помечает противоречия для проверки. CX Codex +1 1 200установок groove-utilities-memory-graduate andreadellacorte Переносит устойчивый вывод из .groove/memory/learned/ в AGENTS.md, чтобы правило действовало в каждой будущей сессии без запуска prime. CX Codex +1 510установок matter-intake официальный anthropics Проводит новое юридическое дело через одинаковый опрос и раскладывает его по файлам: карточка, история, строка в журнале. CX Codex +1 629установок client-intake официальный anthropics Структурирует первичный приём клиента: задаёт вопросы по отрасли права, ловит смежные проблемы, помечает конфликты и собирает выжимку по делу. CX Codex +1 606установок archive ReScienceLab Сохраняет решения сложных багов, шаги деплоя и выводы сессий в локальные markdown-файлы. Ведёт единый индекс памяти проекта между перезапусками агента. CX Codex +1 1 200установок

Из того же набора4

Спонсоры проекта

Компании, которые помогают держать аналитику открытой