{
"id": "background-monitor:example-file-watcher",
"_kind": "BackgroundMonitor",
"_file": "extensions/background-monitors/example-file-watcher.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "Project file watcher (example)",
"manifestPath": "monitors/monitors.json",
"command": "node",
"args": [
"monitors/file-watcher.js"
],
"triggers": [
"session-start",
"file-change"
],
"lifecycle": "per-session",
"outputs": [
"hook-event",
"notification"
],
"description": "Watches project files and emits hook events on relevant changes; bundled in a Claude Code plugin via monitors/monitors.json."
},
"outgoingEdges": [
{
"from": "background-monitor:example-file-watcher",
"to": "plugin:example-portable-extension",
"kind": "contained_in_plugin",
"attributes": {}
},
{
"from": "background-monitor:example-file-watcher",
"to": "hook-surface:notification",
"kind": "emits_hook",
"attributes": {}
},
{
"from": "background-monitor:example-file-watcher",
"to": "source-ref:example-skill-source",
"kind": "sourced_from",
"attributes": {}
}
],
"incomingEdges": []
}