Initiate memory

From Qredence/agentic-fleet · View interactive version

Initiate memory is an AI agent skill from the GitHub repository Qredence/agentic-fleet. Comprehensive guide for initializing or reorganizing agent memory and project context. Use when setting up a new project, when the user asks you to learn about the codebase, or when you need to create effective memory blocks for project conventions, preferences, and workflows.

How to use this skill

Skill file

Initializing Memory

The user has requested that you initialize or reorganize your memory state for this project. This skill helps you systematically explore and document a codebase to build effective working memory.

Understanding Your Context

Important: This skill is designed for stateful agents that work with users over extended periods. Your memory is not just a convenience; it's how you get better over time and maintain continuity across sessions.

This command may be run in different scenarios:

Before making changes, inspect your current context and understand what already exists.

What to Remember About a Project

1. Procedures (Rules & Workflows)

Explicit rules and workflows that should always be followed:

2. Preferences (Style & Conventions)

User and project coding style preferences:

3. History & Context

Important historical context that informs current decisions:

Memory Scope Considerations

Consider whether information is:

Project-scoped:

User-scoped:

Session/Task-scoped:

Recommended Memory Structure

Core Information Categories

Project Overview: Your behavioral guidelines and project purpose

Conventions: Project-specific rules and patterns

User Preferences: User-specific information

Optional Categories (Create as Needed)

Current Task: Scratchpad for current work item context

Decisions: Architectural decisions and their rationale

Research Depth

You can ask the user if they want a standard or deep research initialization:

Standard initialization (~5-20 tool calls):

Deep research initialization (~100+ tool calls):

What deep research can uncover:

Research Techniques

File-based research:

Git-based research (if in a git repo):

How to Do Thorough Research

Don't just collect data - analyze and cross-reference it.

Shallow research (bad):

Thorough research (good):

Questions to ask yourself during research:

The goal isn't to produce a report - it's to genuinely understand the project and how to be an effective collaborator.

Recommended Questions to Ask

Bundle these questions together when starting:

  1. Research depth: "Standard or deep research (comprehensive, as long as needed)?"
  2. Identity: "Which contributor are you?" (You can often infer from git logs)
  3. Related repos: "Are there other repositories I should know about?"
  4. Communication style: "Terse or detailed responses?"
  5. Any specific rules: "Rules I should always follow?"

What NOT to ask:

Your Task

  1. Ask upfront questions: Bundle the recommended questions above
  2. Inspect existing context: See what already exists in AGENTS.md, README, etc.
  3. Identify the user: From git logs and their answers
  4. Research the project: Explore based on chosen depth. Use TodoWrite for a systematic plan.
  5. Document findings: Create notes or update project documentation
  6. Reflect and review: Check for completeness and quality
  7. Ask user if done: Check if they're satisfied or want you to continue

Reflection Phase

Before finishing, do a reflection step:

  1. Completeness check: Did you gather all relevant information?
  2. Quality check: Are there gaps or unclear areas?
  3. Structure check: Would this information make sense to your future self?

After reflection, summarize what you learned:

"I've completed the initialization. Here's a brief summary of what I set up: [summary]. Should I continue refining, or is this good to proceed?"

Remember: Good memory management is an investment. The effort you put into organizing your knowledge now will pay dividends as you work with this user over time.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.