sync-skills-lock

Synchronize computedHash values in skills-lock.json with upstream repositories.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill sync-skills-lock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-skills-lock
Source: https://github.com/Fandhe-AI/agent-cli-skills/tree/main/skills/sync-skills-lock
Command: npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill sync-skills-lock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, node, npx, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the synchronization of the skills-lock.json file with the latest state of upstream repositories, ensuring that the computedHash values are up-to-date and secure.

Core Features & Use Cases

  • Upstream Synchronization: Compares the computedHash in skills-lock.json with the latest state of upstream repositories.
  • Selective Processing: Skips entries that do not start with Fandhe-AI/ for security reasons and does not touch skills-lock.json in submodules.
  • User-Invocable: Allows users to run the skill manually for specific skills or all skills.
  • Integration with CLI: Integrates with the npx skills add command for computedHash updates.

Quick Start

Run the 'sync-skills-lock' skill to synchronize the skills-lock.json file with the upstream repositories.

Frequently Asked Questions about sync-skills-lock

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

FAQPage Schema
How do I automate skills-lock.json synchronization with upstream repositories?

To automate skills-lock.json synchronization with upstream repositories, run the sync-skills-lock skill. It compares your local file with the latest upstream state and updates the computedHash values to ensure they are current and secure.

Why does upstream synchronization skip entries that do not start with Fandhe-AI/?

Upstream synchronization skips entries not starting with Fandhe-AI/ for security reasons. This selective processing prevents unauthorized modifications and ensures only approved upstream repositories are targeted during the computedHash update process.

Do I need gh CLI and node to update computedHash values?

Yes, you need both gh CLI and node to update computedHash values. The gh CLI handles authentication with upstream repositories, while node and npx are required to execute the synchronization scripts.

Can I run upstream synchronization manually for specific skills?

Yes, you can run upstream synchronization manually for specific skills or all skills at once. This user-invocable feature allows targeted computedHash updates without processing the entire configuration file.

Does skills-lock.json synchronization affect files inside submodules?

No, skills-lock.json synchronization does not touch files inside submodules. The process strictly targets the root configuration file to prevent unintended changes within nested repository structures.