fm

Batch refactor YAML frontmatter in Markdown files using BigQuery syntax.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/backlin/ai-config --skill fm-backlin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fm
Source: https://github.com/backlin/ai-config/tree/main/skills/fm
Command: npx skills add https://github.com/backlin/ai-config --skill fm-backlin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, yaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The fm Skill solves the problem of manually editing YAML frontmatter in Markdown files, offering a more efficient way to manage metadata with natural language commands.

Core Features & Use Cases

  • Batch Editing: Make bulk changes to YAML frontmatter using intuitive SQL-like queries.
  • Query & Update: Select, update, and delete frontmatter fields across multiple files.
  • Conditional Logic: Use simple conditions to filter files and apply changes only where needed.
  • Use Case: If you need to update the tags of all Markdown files in a project that contain the word 'example', the fm Skill can do this with a single command.

Quick Start

Run 'fm update "*.md" set tags+=important where tags=example'.

Frequently Asked Questions about fm

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

FAQPage Schema
How do I batch edit YAML frontmatter in multiple Markdown files?

You can batch edit YAML frontmatter in Markdown files by running intuitive SQL-like queries. Use a single command to select, update, or delete metadata fields across multiple files simultaneously.

Can I update Markdown frontmatter conditionally based on specific field values?

Yes, you can update Markdown frontmatter conditionally using simple where clauses. Filter files by specific field values and apply changes, such as adding tags, only to the matching entries.

What is the best way to add a tag to YAML frontmatter across an entire project?

The best way to add a tag to YAML frontmatter is using a batch update command. You can append values to existing fields across all project Markdown files with a single SQL-like instruction.

Do I need pypdf and pdfplumber to manage Markdown frontmatter?

You only need pypdf and pdfplumber for certain operations involving PDF data extraction. Standard YAML frontmatter selection, updating, and deletion in Markdown files do not require these dependencies.

Can I use BigQuery syntax to query and manipulate Markdown metadata?

Yes, you can use a subset of BigQuery syntax to query and manipulate Markdown metadata. This allows for selecting files, casting fields, and applying conditions for precise data management.