install-topic-memory

Automate installation of Topic Memory with PreCompact and PostCompact hooks.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/dla-kirito/topic-memory --skill install-topic-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: install-topic-memory
Source: https://github.com/dla-kirito/topic-memory/tree/main/skills/install-topic-memory
Command: npx skills add https://github.com/dla-kirito/topic-memory --skill install-topic-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The Skill simplifies the installation and setup of the Topic Memory system, automating the configuration of hooks and skills required for automatic context saving and recalling during compact operations.

Core Features & Use Cases

  • Automated Installation: Streamlines the installation process with a single command.
  • PreCompact and PostCompact Hooks: Configures hooks to automatically save context during compact operations.
  • Topic Recall Skill: Enables users to recall previous topics and inject them into the current session.
  • Use Case: For users who want to save and recall conversation history and context automatically during compact operations.

Quick Start

Run the following command to install Topic Memory: curl -sSL https://raw.githubusercontent.com/dla-kirito/topic-memory/main/install.sh | bash

Frequently Asked Questions about install-topic-memory

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

FAQPage Schema
How do I save and recall conversation context during compact operations?

To save and recall conversation context during compact operations, you can install a topic memory system that automates context management by configuring PreCompact and PostCompact hooks to save history and enable topic recall.

What are PreCompact and PostCompact hooks used for in context management?

PreCompact and PostCompact hooks are used in context management to automatically trigger context saving and recalling processes right before and immediately after compact operations execute.

How do I install and set up a topic memory system?

You can install and set up the topic memory system by running a single automated shell command, which configures the necessary hooks and topic recall skills without manual intervention.

Do I need any dependencies to automate topic memory installation?

No dependencies are required to automate topic memory installation, as the setup script independently configures the PreCompact and PostCompact hooks and the recall skill.

When do I need to use a topic recall skill?

You need to use a topic recall skill when you want to inject previously saved conversation history and context back into your current session after a compact operation has cleared it.