Briefing Operator
This skill operates the briefing CLI tool.
Available Commands
-
Run update pipeline:
briefing -
Add tracking URL:
briefing -add <source_url> -
Delete tracking URL:
briefing -delete <source_url> -
Set config key:
briefing -set <KEY> <VALUE> -
Show config:
briefing -show
Execution Rules (Strict)
-
Bootstrap Check: Before any execution, if the
briefingbinary is missing from PATH:- Check if
{skillDir}/install.shexists. - If found, execute
bash {skillDir}/install.shto initialize the environment. - If initialization fails or script is missing, report: "briefing CLI not found. Please run the install script manually." and stop.
- Check if
-
Bash Tool Requirement: Always execute the CLI command using bash/exec. If bash is disabled, report: "bash tool is disabled. Enable commands.bash=true." and stop.
-
Absolute Path Fallback: If
briefingis not in global PATH, try executing via{skillDir}/briefing(if the installer symlinks it there).
After Running briefing
-
Parse stdout.
-
Detect lines matching:
[WHISPER DONE] <filename> -
For each
<filename>, read:output/<filename>/whisper.txt -
Return the extracted whisper content.
-
If no
[WHISPER DONE]appears, report: "No new whisper output generated in this run." -
If a whisper file is missing, report the exact missing path.
Fallback
If briefing is not available on PATH:
- Attempt execution using an absolute path if known.
- If still unavailable, report and stop.
Do not manually edit config.json. Always use CLI commands.