Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Harness Noting

textcattextcat109 downloads

Create scoped note rules and check required properties, headings, filename patterns, folder structures, and vault root entries.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Harness Noting is an Obsidian plugin for checking note structure against scoped rules.

It is designed for AI-assisted note maintenance: rules can be edited in Obsidian, and the same rules can be checked from the command line so an AI agent can read failures and fix notes before finishing.

Features

  • Match notes by exact file, folder, tag, filename text, and frontmatter property conditions
  • Combine scope conditions with all or any
  • Exclude files, folders, or tags from a rule
  • Check required frontmatter properties
  • Check property values, including equals, contains, and regex
  • Check required headings and heading order
  • Check filename patterns with regular expressions
  • Check direct child folder structures, including required subfolders and file patterns
  • Check vault root entries against a configurable whitelist
  • Run all checks from an Obsidian ribbon button
  • Copy a readable check conclusion from the results modal
  • Show Obsidian notices after file changes
  • Run checks from the command line with failure exit codes

CLI

Run from the vault root:

node .obsidian/plugins/harness-noting/harness-noting-cli.js

Check a single note:

node .obsidian/plugins/harness-noting/harness-noting-cli.js --file "path/to/note.md"

Print JSON:

node .obsidian/plugins/harness-noting/harness-noting-cli.js --json

Exit codes:

  • 0: all matched notes passed
  • 1: at least one matched note failed
  • 2: the checker itself failed

Rule Syntax

Property conditions and property checks use one rule per line:

type equals project
tags contains planning
tags regex ^project/[A-Za-z0-9-]+$
updated exists

Supported operators:

  • exists
  • notExists
  • equals
  • notEquals
  • contains
  • regex

Folder Structure Rules

Folder structure rules check every direct child folder under a configured root folder.

Example:

{
  "name": "Project folder structure",
  "rootFolder": "Projects",
  "requiredSubfolders": "Assets",
  "requiredFiles": "Overview.md\n* Plan.md"
}

Required file patterns support:

  • * wildcards
  • regex: regular expressions
  • {{folderName}} as the current folder name

Root Whitelist Rules

Root whitelist rules check only direct children of the vault root.

Example:

{
  "name": "Vault root whitelist",
  "allowedEntries": "Inbox\nProjects\nResources\nArchive\nHome.md",
  "ignoredEntries": ".git\n.obsidian\n.trash\n.DS_Store",
  "ignoreDotEntries": true
}

Installation

Install from Obsidian community plugins after approval, or install manually:

Copy this folder to:

<vault>/.obsidian/plugins/harness-noting

Then enable Harness Noting in Obsidian community plugins.

Release

Create a GitHub release with the same tag as manifest.json's version. Attach these files:

  • main.js
  • manifest.json
  • styles.css
98%
HealthExcellent
ReviewPassed
About
Validate notes against scoped rules for files, folders, tags, filename patterns, headings, and frontmatter properties using equals, contains, and regex checks. Run checks from Obsidian or the command line with JSON output and failure exit codes, inspect folder structures and required files, and copy readable conclusions for AI-assisted fixes.
FilesFoldersProperties
Details
Current version
1.0.0
Last updated
3 weeks ago
Created
3 weeks ago
Updates
1 release
Downloads
109
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
textcattextcat
github.com/Textcat
GitHubtextcat
  1. Community
  2. Plugins
  3. Files
  4. Harness Noting

Related plugins

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

Create Note in Folder

Add commands to create a note in a specific folder.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Trash Explorer

Restore and delete files from the Obsidian .trash folder.

File Explorer++

Hide and pin files and folders in the file explorer using custom filters.

Auto Note Mover

Automatically move the active notes to their respective folders according to rules you set.