skill-sync

Synchronize skill metadata with AGENTS.md Auto-invoke tables.

3|Updated Apr 5, 2023
One-click install
npx skills add https://github.com/mrp4sten/.dotfiles --skill skill-sync-mrp4sten
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-sync
Source: https://github.com/mrp4sten/.dotfiles/tree/main/development/IA/opencode/skill/skill-sync
Command: npx skills add https://github.com/mrp4sten/.dotfiles --skill skill-sync-mrp4sten

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

AGENTS.md Auto-invoke sections often drift out of sync when skills are added or updated. This Skill keeps those tables aligned with current skill metadata.

Core Features & Use Cases

  • Automatic extraction of scope and auto_invoke from SKILL.md
  • Regenerates Auto-invoke tables across root and scope-specific AGENTS.md
  • Safe dry-run mode to preview changes before applying

Quick Start

Run the sync script after creating or modifying skills to refresh all Auto-invoke tables.

Frequently Asked Questions about skill-sync

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

FAQPage Schema
How do I keep AGENTS.md auto-invoke tables in sync with skill metadata?▼

To keep AGENTS.md auto-invoke tables in sync, this Skill parses YAML frontmatter from SKILL.md files and automatically regenerates the tables across root and scope-specific AGENTS.md files whenever skills are created or updated.

Why do my AGENTS.md auto-invoke sections drift out of date when I add new skills?▼

Auto-invoke sections drift because manual updates are easily missed when skills are added or modified. This Skill solves the problem by automatically extracting scope and auto_invoke metadata to regenerate all affected tables.

Can I preview changes to auto-invoke tables before applying them?▼

Yes, you can preview changes before applying them using the safe dry-run mode. This allows you to review the regenerated auto-invoke tables across root and scope-specific AGENTS.md files without committing the updates.

How do I extract scope and auto_invoke fields from SKILL.md YAML frontmatter?▼

To extract scope and auto_invoke fields from SKILL.md YAML frontmatter, run the sync script. It parses the YAML metadata and uses it to rebuild the corresponding Auto-invoke tables in the appropriate AGENTS.md files.

Does this sync tool update both root and scope-specific AGENTS.md files?▼

Yes, this sync tool updates both root and scope-specific AGENTS.md files. It applies metadata extraction and table regeneration across all defined scopes including ui, api, sdk, and mcp_server.

What is the best way to automate AGENTS.md table regeneration after modifying skills?▼

The best way to automate AGENTS.md table regeneration is to run the sync script immediately after creating or modifying skills, ensuring all auto-invoke tables align with the current YAML frontmatter metadata.