catalog-update

Update the code module index from AI-generated JSON. Only touches the code modules section of topics.md, not the knowledge files section.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "catalog-update" with this command: npx skills add iyangl/memory-hub/iyangl-memory-hub-catalog-update

Purpose

Update the code module index from AI-generated JSON. Only touches the code modules section of topics.md, not the knowledge files section.

Input

JSON file with schema:

{ "modules": [ { "name": "module-name", "summary": "One-line description", "files": [ {"path": "src/file.py", "description": "What this file does"} ] } ] }

Required Flow

Step 1: Write JSON to a temporary file

Use the file write tool to create a JSON file (e.g. /tmp/modules.json ).

Step 2: Run catalog-update

memory-hub catalog-update --file /tmp/modules.json

Automatically triggers catalog.repair after completion.

Output

JSON envelope with data.modules_written , data.modules_deleted , and repair results.

Error Handling

  • FILE_NOT_FOUND → JSON file not found

  • INVALID_JSON → file is not valid JSON

  • INVALID_SCHEMA → modules is not an array

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

catalog-repair

No summary provided by upstream source.

Repository SourceNeeds Review
General

memory-read

No summary provided by upstream source.

Repository SourceNeeds Review
General

memory-init

No summary provided by upstream source.

Repository SourceNeeds Review