/flc-skills:memory-initfrom flc-skills
Scaffolds a project-local memory directory and AGENTS.md guidance so future agents can read and maintain durable project context.
Ships in flc-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
.agents/memories/ unless the user specifies another memory directory.scripts/init_project_memory.py.From any location:
python3 <skill-dir>/scripts/init_project_memory.py /path/to/project
With a custom memory directory:
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:
python3 <skill-dir>/scripts/init_project_memory.py /path/to/project --skip-agent
With an alternate agent instruction file:
python3 <skill-dir>/scripts/init_project_memory.py /path/to/project --agent-file CLAUDE.md
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.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:
index.md before non-trivial work;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.
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:
Do not store:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flc1125/skills --plugin flc-skills31 skills in this plugin
/asyncLaunch and coordinate Codex subagents as deferred tasks. Use when the user wants to start bounded subagent work now, keep the main thread moving without waiting by default, then later join, collect, or redirect that work through a stable task reference./code-reviewRequest or perform a git-backed code review for a defined diff or SHA range using implementation context and requirements. Use when finishing a task, completing a major feature, preparing to merge, or when you need a fresh review before proceeding./create-planCreate and maintain repository-aware technical plans, implementation plans, refactor proposals, design drafts, and migration plans. Use when Codex is asked to investigate a codebase and propose a solution before implementation; write or update a durable plan file; produce a 方案、实施计划或重构计划; split engineering work into phases or pull requests; document scope, non-goals, API and behavior decisions, breaking changes, migrations, risks, testing, or validation; or transition a plan through draft, planned, in-progress, blocked, and completed states.Other plugins' skills for the same job