steering-matcher

Community

Inject only relevant steering for modified files.

Authorloriensleafs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps orchestrators determine which steering files apply to the files being modified by matching file paths against steering patterns.

Core Features & Use Cases

  • Match file paths against glob patterns defined in steering files to identify applicable guidance.
  • Return applicable steering files sorted by priority to enable deterministic context injection.
  • Enable token-efficient prompts by injecting only relevant steering into agent prompts.

Quick Start

Use the steering-matcher to identify applicable steering for a set of changed files. Example: pwsh .claude/skills/steering-matcher/Get-ApplicableSteering.ps1 -Files $files -SteeringPath ".agents/steering"

  • Prepare a list of modified files, e.g. $files = @("src/claude/security.md", ".agents/security/SR-001-oauth-review.md")
  • Run the script to obtain an array of steering entries with fields like Name, Path, ApplyTo, Priority, suitable for injecting into prompts.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: steering-matcher
Download link: https://github.com/loriensleafs/brain/archive/main.zip#steering-matcher

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.