memory-init
/memory-init
Tworzy w projekcie katalog pamięci, na przykład .agents/memories/, oraz wskazówki w AGENTS.md, aby kolejne agenty mogły czytać i utrzymywać wiedzę projektu.
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/init_project_memory.py
Co robi i kiedy
Tworzy w projekcie katalog pamięci, na przykład .agents/memories/, oraz wskazówki w AGENTS.md, aby kolejne agenty mogły czytać i utrzymywać wiedzę projektu.
Oryginalny opis (EN)
Scaffold a project-local memory directory and AGENTS.md guidance for reusable agent knowledge. Use when a user wants to initialize `.agents/memories/` or another project memory path so future agents can read and maintain durable project context.
Jak działa
- Workflow
- Command
- Generated Files
- AGENTS.md Guidance
- Memory Standard
Podgląd SKILL.md
--- name: memory-init description: Scaffold a project-local memory directory and AGENTS.md guidance for reusable agent knowledge. Use when a user wants to initialize `.agents/memories/` or another project memory path so future agents can read and maintain durable project context. metadata: name: Memory Init description: Scaffold project-local memory files and AGENTS.md guidance for future agents. author: Flc゛ created: 2026-05-10T12:35:25Z --- # Memory Init Scaffold lightweight, project-local memory files that future agents can read and maintain. Use this skill to initialize durable project knowledge, not to store one-off task notes. The default target is `.agents/memories/`, with `AGENTS.md` guidance for Codex-oriented future use. ## Workflow 1. Confirm the target project root. 2. Inspect whether the target memory directory and agent instruction file already exist. 3. Use `.agents/memories/` unless the user specifies another memory directory. 4. Run `scripts/init_project_memory.py`. 5. Review the generated or changed files. 6. Report the memory directory and whether the agent instruction file was created or updated. ## Command From any location: ```bash python3 <skill-dir>/scripts/init_project_memory.py /path/to/project ``` With a custom memory directory: ```bash python3 <skill-dir>/scripts/init_project_memory.py /path/to/project --memory-dir docs/agent-memory ``` To create memory files without touching the agent instruction file: ```bash python3 <skill-dir>/scripts/init_project_memory.py /path/to/project --skip-agent ``` With an alternate agent instruction file: ```bash python3 <skill-dir>/scripts/init_project_memory.py /path/to/project --agent-file CLAUDE.md ``` ## Generated Files The scaffold creates missing files only. Existing memory files are preserved. - `README.md`: explains the memory system, what belongs there, and what must not be stored. - `index.md`: routes future agents to the relevant memory files. - `project.md`: stores stable project conventions and durable context. - `workflows.md`: stores repeatable commands, release steps, CI workflows, and maintenance procedures. - `lessons.md`: stores reusable lessons, pitfalls, and verified fixes. ## AGENTS.md Guidance By default, the script creates or updates `AGENTS.md` in the project root. It inserts a concise `## Project Memory` section that tells future agents to: - read `index.md` before non-trivial work; - open only task-relevant memory files; - update memories when the user requests memory maintenance or when the current task explicitly includes maintaining reusable project knowledge; - recommend a memory update instead of editing memory files when memory maintenance is outside the current task scope; - avoid one-off task notes, temporary debugging details, secrets, credentials, and conversation-specific context; - keep `index.md` aligned when memory files are added, removed, renamed, or materially changed. If an existing managed block is present, update it instead of appending a duplicate. If only an unmarked `## Project Memory` / `## Project Memories` section exists, preserve the user-authored section and append a managed block. ## Memory Standard Treat memory as durable project knowledge. Add or update entries when the user asks for memory maintenance or the task explicitly includes maintaining reusable project context. Good memory candidates: - stable repository conventions; - commands or workflows that were verified locally; - recurring environment constraints; - cross-task architectural or maintenance decisions; - reusable debugging lessons. Do not store: - secrets, credentials, tokens, or private keys; - raw conversation logs; - single-task progress notes; - speculative conclusions that have not been verified; - noisy command output that is not reusable.
Pliki w paczce (4)
- README.md 2 KB
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- scripts/init_project_memory.py 12 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · flc1125/skills | 100 | MIT |
| dmzoneill/skills | 100 | Apache-2.0 |
| yunshu0909/yunshu_skillshub | 100 | MIT |
| legacybridge-tech/claude-plugins | 100 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 6ddd693e3270 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100project-memories
Prowadzi trwałe pamięci projektu jako pliki w repozytorium według wzorca llms.txt: folder docs/memories/ z jednym plikiem na wpis i indeksem docs/memories/llms.txt. - 98knowledge
Przegląda, przeszukuje i porządkuje pamięć agentów między sesjami oraz wykrywa nieaktualne wpisy i katalogi. - 100ctx-init
Inicjalizuje w repozytorium kodu pliki AGENTS.md, CLAUDE.md i katalog rules/ w trybie od zera, np. przy zakładaniu kontekstu projektu. - 100setup-project
Przygotowuje projekt do pamięci agenta: tworzy katalogi .memory i .agents, gdy projekt ich jeszcze nie ma. - 90Project Scaffolding
Przygotowuje Claude do projektu: tworzy CLAUDE.md, katalog .claude i workflow AI dla nowego lub istniejącego repozytorium. - 95init-ai-md
Inicjalizuje i aktualizuje pliki pamięci AI projektu, z plikiem AGENTS.md jako jedynym źródłem prawdy.