archive-repo

Archive obsolete repositories from memory queries using manage_memory.py.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/yoshiwatanabe/yoshiwatanabe-plugins --skill archive-repo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archive-repo
Source: https://github.com/yoshiwatanabe/yoshiwatanabe-plugins/tree/main/dev-memory/skills/archive-repo
Command: npx skills add https://github.com/yoshiwatanabe/yoshiwatanabe-plugins --skill archive-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Archive obsolete repositories from memory query results to keep searches relevant.

Core Features & Use Cases

  • Identify and archive a repository by name or slug; optionally capture a reason for auditing
  • Automatically detect the current repository path via git when needed
  • Run the memory management script manage_memory.py archive-repo to hide the repo from future queries
  • Provides an auditable trail including repository slug and archiving status

Quick Start

Example: archive-repo repo_name=old-service reason=deprecated

Frequently Asked Questions about archive-repo

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

FAQPage Schema
How do I hide obsolete git repositories from memory search queries?

To hide obsolete git repositories from memory search queries, you can archive them by repository name or slug. This removes irrelevant entries from future memory results and keeps searches focused on active projects.

How do I archive a repository by slug using a Python script?

You archive a repository by running the Python script manage_memory.py with the archive-repo command. You provide the --config-repo and --repo-name arguments, and optionally include a --reason for auditing purposes.

Can I automatically detect the current repository path via git for archiving?

Yes, the archiving process can automatically derive the current repository path from git when needed. This allows you to archive a repository without manually specifying its exact file path.

What information is returned when archiving a repository from memory?

Archiving a repository from memory returns a JSON payload containing the success status, repo_slug, filepath, and archived status. This provides an auditable trail of the action performed.

Why do my memory queries return results from deprecated repositories?

Memory queries return results from deprecated repositories because they have not been archived yet. Archiving obsolete repositories hides them from future queries to keep search results relevant.