write

Write model-scoped trigger phrases into Markdown frontmatter from `.claude/triggers.json`.

Updated Jun 10, 2026
One-click install
npx skills add https://github.com/brewpirate/acme-frontier-ai --skill write-brewpirate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write
Source: https://github.com/brewpirate/acme-frontier-ai/tree/main/catalog/projects/total-recall/skills/write
Command: npx skills add https://github.com/brewpirate/acme-frontier-ai --skill write-brewpirate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual step of copying trigger phrases into each skill file so discovery metadata stays synchronized with the trigger index.

Core Features & Use Cases

  • Frontmatter Injection: Reads .claude/triggers.json and writes model-scoped trigger phrases into the matching Markdown files.
  • Validation and Diffing: Detects whether files are up to date, missing frontmatter, missing from disk, or need updates.
  • Safe Updates: Preserves existing frontmatter fields, asks before adding new frontmatter, and only changes the YAML block.
  • Use Case: Keep skill files ready for scheduling and retrieval without maintaining a separate lookup step.

Quick Start

Ask the write skill to read .claude/triggers.json and write the matching trigger phrases into each skill file's frontmatter.

Frequently Asked Questions about write

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

FAQPage Schema
How do I sync skill triggers from a JSON index into Markdown frontmatter?

Frontmatter trigger injection reads `.claude/triggers.json` and writes model-scoped phrases into Markdown files. It preserves existing YAML fields, handles missing files, and adds ordered, quoted trigger mappings per model for scheduling and retrieval workflows.

How does writing model-scoped trigger phrases into Markdown frontmatter work?

Frontmatter trigger injection reads `.claude/triggers.json` and writes model-scoped phrases into Markdown files. It preserves existing YAML fields, handles missing files, and adds ordered, quoted trigger mappings per model for scheduling and retrieval workflows.

Can I update YAML frontmatter triggers without overwriting existing fields?

Frontmatter trigger injection only changes the YAML block and preserves existing fields. It detects missing frontmatter, asks before adding it, and handles files missing from disk, ensuring safe updates for `.claude/triggers.json`-driven workflows.

What happens if a Markdown file is missing frontmatter or missing from disk during trigger synchronization?

Frontmatter trigger injection only changes the YAML block and preserves existing fields. It detects missing frontmatter, asks before adding it, and handles files missing from disk, ensuring safe updates for `.claude/triggers.json`-driven workflows.

Do I need a specific JSON format to automate Markdown frontmatter trigger discovery?

A `.claude/triggers.json` file containing model-scoped trigger phrases is required. This index drives the discovery workflow, providing source data to validate, diff, and write ordered, quoted trigger mappings into matching Markdown skill files.

What is the best way to validate if Markdown skill files have outdated trigger metadata?

Trigger validation compares `.claude/triggers.json` entries against Markdown frontmatter to detect if files are current, missing frontmatter, absent from disk, or need updates. This diffing ensures retrieval metadata remains synchronized for downstream tooling.