smithery/jasperhg90

markdown-version-extractor

Extracts 'version' or 'uuid' fields from YAML frontmatter using uv.

Installation

$ npx skills add smithery/jasperhg90 --skill markdown-version-extractor

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,649 B
  • docs SUMMARY.md 101 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Markdown Version Extractor

Use this skill to identify the version or UUID of a skill or project stored in Markdown frontmatter. This is a critical dependency for the Version Sync phase of the Persona Protocol.

Capabilities

  • Parses YAML frontmatter using the python-frontmatter library.
  • Safely extracts versioning identifiers (uuid or version).
  • Provides available metadata keys if the specific version tag is missing.

Execution Logic

The agent MUST use uv run and MUST provide absolute paths for both the script and the target file.

Command Template:

uv run <absolute_path_to_get_version.py> "<absolute_path_to_target_md_file>"

Guidance for the Agent

  1. NO DIRECT PYTHON: You are FORBIDDEN from calling python or python3 directly. This script uses PEP 723 inline dependencies that require the uv runtime.
  2. Absolute Paths: You must resolve the current working directory to provide the full absolute path for:

- The script itself. - The file being checked.

  1. Version Identifier Priority:

- The Registry uses the uuid field. - Local files may use either version or uuid. - If the script returns a uuid, use that for comparison against the registry's uuid.

  1. Error Handling:

- If the output shows status: "missingtag", check the metadatakeys in the JSON. If neither uuid nor version exists, consider the skill unversioned and trigger an update. - If the file is missing or not Markdown, report a failure.