/plugin marketplace add AgathonicAI/Claude-MarkdownLint/plugin install agathonicai-markdownlint@AgathonicAI/Claude-MarkdownLintDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Check the file path in the tool input. If it does NOT end with .md or .MD, do nothing and produce no output, but continue with the normal response. If it ends with .md or .MD, call lint_markdown on that file. If issues found, report briefly and offer to fix. If no issues, produce no output. After the first accepted offer to fix, continue to test and fix until no issues remain. Then continue with normal response."
}
],
"matcher": "Edit|Write"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh",
"timeout": 120
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"prompt": 1,
"command": 1
},
"eventStats": {
"PostToolUse": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}