corgispec-memory-init

Create memory and wiki templates and inject the Session Memory Protocol into OpenSpec project agent configs.

113|9|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/ricoyudog/Coding_Corgi_flow --skill corgispec-memory-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: corgispec-memory-init
Source: https://github.com/ricoyudog/Coding_Corgi_flow/tree/main/.opencode/skills/atoms/corgispec-memory-init
Command: npx skills add https://github.com/ricoyudog/Coding_Corgi_flow --skill corgispec-memory-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of losing continuity between coding sessions by bootstrapping a structured, cross-session memory setup inside an OpenSpec project.

Core Features & Use Cases

  • Creates memory and wiki templates: Generates memory/ (agent-focused hard constraints and session bridge) and wiki/ (long-term human+AI navigation) with sensible starter structure.
  • Injects the Session Memory Protocol: Adds a protocol section into the project’s agent config so every future session reads the right files in the right order and stays within file-size budgets.
  • Guarantees safe idempotent setup: Skips any existing files and avoids duplicating an already-present protocol section, so running it multiple times won’t break the project.

Quick Start

Initialize memory for your current OpenSpec project by running the corgispec-memory-init skill.

Frequently Asked Questions about corgispec-memory-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize cross-session memory for an OpenSpec project?

To initialize cross-session memory for an OpenSpec project, use a scaffolding tool that generates memory/ and wiki/ templates while injecting a session protocol into agent config. This establishes a durable 3-layer memory structure for cross-session continuity.

What is a 3-layer AI memory structure for agent configuration?

A 3-layer AI memory structure separates agent-focused hard constraints, cross-session bridging, and long-term human navigation using memory/ and wiki/ directories. It ensures continuous context across coding sessions by wiring startup and shutdown rules to lifecycle phases.

Does running memory initialization multiple times duplicate session protocol files?

Running memory initialization multiple times does not duplicate session protocol files because the setup is idempotent. It safely skips existing memory/ and wiki/ templates and avoids duplicating an already-present protocol section in the project agent configuration.

How do I keep AI agent context within token limits during long coding sessions?

To keep AI agent context within token limits during long coding sessions, inject a session memory protocol that enforces a max-session token budget. This protocol guides startup and shutdown file reading rules to manage context size effectively.

When should I manually scaffold wiki templates for project continuity?

You should manually scaffold wiki templates for project continuity when a project needs cross-session context but lacks a wiki/ or memory/ directory. This provides long-term human and AI navigation structures after initial project installation.