Skip to content
Back to skills

Moss Frontmatter

ASecurity

YAML frontmatter rules for Moss note metadata. Use when adding or editing the optional metadata block at the top of a note.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
ai-agentsreact

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add brsbl/moss-skills --skill moss-frontmatter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Moss Frontmatter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Moss Frontmatter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brsbl-moss-frontmatter/badge)](https://www.skillsdirectory.com/skills/brsbl-moss-frontmatter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: moss-frontmatter
description: YAML frontmatter rules for Moss note metadata. Use when adding or editing the optional metadata block at the top of a note.
---

# Frontmatter

Frontmatter is an optional YAML block at the top of the note:

```markdown
---
status: active
tags:
  - project
date: 2026-01-15
---

# Note Title
```

- Put structured metadata in frontmatter, not in the body.
- Any valid YAML key is allowed.
- Use strings, numbers, booleans, ISO dates, or arrays.
- Use meaningful fields because Moss users can search/filter notes by frontmatter; keep values useful for retrieval and avoid excessive fields.
- Omit the block when no metadata is needed.
- Do not duplicate frontmatter values as prose headings or bold labels.

## How Moss Renders Frontmatter

- Frontmatter is persisted as YAML at the top of the markdown content file.
- On load, Moss splits the YAML block from the body before handing content to the editor.
- A styled React header above the editor renders and edits the frontmatter fields; the Lexical editor body never receives the raw YAML.
- Edit metadata inside the frontmatter block. Do not restate the same values as prose, headings, or bold labels in the body.

Files in this skill

  • SKILL.md1.2 KB
  • agents/openai.yaml282 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.