multica-skill-update

Batch import and update skills into the Multica workspace database from a source manifest.

636|91|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/cat-xierluo/legal-skills --skill multica-skill-update
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multica-skill-update
Source: https://github.com/cat-xierluo/legal-skills/tree/main/skills/multica-skill-update
Command: npx skills add https://github.com/cat-xierluo/legal-skills --skill multica-skill-update

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually importing skills one by one into a Multica workspace is error-prone and hard to keep current when sources change. This Skill turns a maintained source manifest into a single command (or scheduled task) that batch imports and refreshes skills in the Multica skill database.

Core Features & Use Cases

  • Manifest-driven batch sync: Reads a JSON manifest listing skills from GitHub, ClawHub, skills.sh, or local files/directories and runs multica skill import for each entry.
  • Three execution modes: init for first-time import, update for refreshing sources with per-entry conflict strategies (overwrite/skip/fail), and plan for a no-side-effect preview.
  • Local directory packaging: Automatically packs local skill directories into temporary zip archives, excluding work artifacts and oversized media to stay within server limits (1 MiB per file, 8 MiB per bundle, 256 files).
  • Use Case: A maintainer keeps 30+ skills across local repos and GitHub. They list each source in scripts/manifest.local.json, then schedule a weekly Multica Autopilot cron job that runs the script in update mode to keep every workspace skill current.

Quick Start

Copy scripts/manifest.example.json to scripts/manifest.local.json, fill in your skill source URLs, then ask the AI to run the sync script in plan mode to preview the imports before executing them.

Frequently Asked Questions about multica-skill-update

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

FAQPage Schema
How do I batch import skills into a Multica workspace?

Create a manifest JSON file listing each skill's source (github, clawhub, skills.sh, or file) and URL, then run sync_skills.py with --mode init. The script executes multica skill import for every enabled entry and prints a structured summary report.

How do I update Multica skills from their original sources?

Run sync_skills.py with --mode update, which calls multica skill import with --on-conflict overwrite for each manifest entry. Note that multica skill update only edits fields by ID and does not re-pull content from the source, so import is always used for refreshes.

Can I import a local skill directory into Multica?

Yes. Set source to file and url to the local directory path in the manifest. The script automatically packs the directory into a temporary zip archive before calling import --file, since the CLI only accepts .skill or .zip archives.

Why does my skill import fail Multica server limits?

The Multica server enforces limits of 1 MiB per file, 8 MiB per bundle, 256 files, and 16 MiB compressed upload. The script pre-checks these thresholds and automatically excludes work-artifact directories and media files over 256 KiB during packaging.

What happens when a skill name already exists in Multica?

Behavior depends on the on_conflict strategy in the manifest: fail reports a conflict, skip leaves the existing skill untouched, and overwrite refreshes content while preserving the skill ID and agent bindings. Overwrite only works for the original creator.

Can I schedule automatic skill syncs in Multica?

Yes. Create a Multica Autopilot with a weekly cron trigger that invokes this skill in update mode. The script returns a non-zero exit code on failures so Autopilot or CI pipelines can detect problems.