acus9345/dsh-load-agent-rules

dsh-load-agent-rules gives the model the AI rule files a repository already has but DSH ignores: it reads Cursor (.cursor/rules/**/*.mdc, .cursorrules), GitHub Copilot, Windsurf, Cline, Kiro, Roo Code, Gemini CLI and JetBrains Junie rule formats, deduplicates copies, drops anything identical to AGENTS.md or CLAUDE.md, and honours each tool's own scope semantics - always-on rules go into context once at session start (re-sent if the file changes or compaction drops them) while scoped rules are delivered the way each tool intended, with nothing to convert or copy.

dsh-load-agent-rules gives the model the AI rule files that many repositories already contain but that DSH ignores. Someone on the team may have written .cursor/rules/testing.mdc, another added .github/copilot-instructions.md, and there is a .windsurfrules from the month everyone tried Windsurf - DSH reads AGENTS.md and CLAUDE.md but ignores the rest, so the agent never hears 'we use Vitest, not Jest' or 'never edit old migrations' even though it is written down. This plugin finds those files and gives them to the model the way each tool meant them to be used: Cursor (.cursor/rules/**/.mdc including nested, and .cursorrules), GitHub Copilot (.github/copilot-instructions.md and .github/instructions/.instructions.md), Windsurf (.windsurf/rules/.md and .windsurfrules), Cline (.clinerules file or folder), Kiro (.kiro/steering/.md), Roo Code (.roo/rules/* and .roorules), Gemini CLI (GEMINI.md) and JetBrains Junie (.junie/guidelines.md), with duplicates dropped and always-on versus scoped rules delivered per each tool's semantics.

Agent Capabilities ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add dsh-load-agent-rules

Copied verbatim from the README's Install block (the web profile; the README notes that another profile such as headless or acp should be used if you run DSH another way, and that each profile keeps its own plugin list). npm package dsh-load-agent-rules at 0.1.0 (registry check 2026-10-15; the registry repository field resolves back to this repo).

Compatibility

It reads the rule files a repository already has instead of asking you to convert or copy anything, and it drops duplicates - including anything identical to your AGENTS.md or CLAUDE.md, since DSH already loads those. Each tool's own applicability semantics are preserved rather than dumping every rule into the prompt: always-on rules go into context once at session start (and are re-sent if the file changes mid-session or context compaction drops them), while scoped rules are delivered the way their tool intended. Works immediately in the next session with no configuration.

Details

Alternatives

030611/dsh-telemetry-redactor · 173787247/dsh-wsl-env · acnlabs/dsh-plugin-acn

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins