This skill is executable by itself. The actual workflow scripts are bundled in scripts/.
Run them against the current workspace or pass --workspace /path/to/workspace explicitly.
The target workspace should contain or accept these files and folders:
config/sources.json
config/international_sources.json
companies.txt
data/
reports/
state/
If the folders do not exist, the scripts create them.
Install Python dependencies before first use:
python -m pip install -r /path/to/skill/scripts/requirements.txt
Use the bundled Python entrypoints depending on the job type.
Use this for high-frequency collection jobs. It only captures feeds, updates deduplication state, and writes raw and incremental data.
python /path/to/skill/scripts/run_capture_only.py --workspace /path/to/workspace
Use this for scheduled delivery jobs. It reads already-collected data, calls the model for summaries and titles, updates the cumulative Excel files, and rebuilds the Word brief.
By default it uses the reporting window from yesterday 00:00 to today 08:00.
python /path/to/skill/scripts/run_report_only.py --workspace /path/to/workspace
Optional time window:
python /path/to/skill/scripts/run_report_only.py --workspace /path/to/workspace --time-window "2026-03-15 00:00 to 2026-03-16 08:00"
Optional skip-AI mode:
python /path/to/skill/scripts/run_report_only.py --workspace /path/to/workspace --disable-ai
python /path/to/skill/scripts/run_full_workflow.py --workspace /path/to/workspace
Optional time window:
python /path/to/skill/scripts/run_full_workflow.py --workspace /path/to/workspace --time-window "2026-03-15 00:00 to 2026-03-15 18:00"
Optional skip-AI mode:
python /path/to/skill/scripts/run_full_workflow.py --workspace /path/to/workspace --disable-ai
run_capture_only.py
data/YYYY-MM-DD.jsonl.
data/domestic_raw_YYYY-MM-DD.jsonl.
data/international_raw_YYYY-MM-DD.jsonl.
data/international_YYYY-MM-DD.jsonl.
snapshots/.
state/feed_state.json.
run_report_only.py
reports/company_mentions.xlsx.
reports/international_company_mentions.xlsx.
reports/.
run_full_workflow.py
config/sources.json
config/international_sources.json
companies.txt
ARK_API_KEY
ARK_MODEL
This skill is designed to run an AI news collection and reporting workflow inside a user-provided workspace.
It accesses external network resources for only two purposes:
It writes local files because it needs to:
It does not upload arbitrary local files from the workspace and does not scan unrelated user content. External requests are limited to user-configured RSS URLs and the user-configured model endpoint.
Credentials are only taken from user-provided configuration, such as RSS authentication data and ARK_API_KEY. These credentials are used only at runtime for the intended service and are not forwarded to unrelated destinations.
state/feed_state.json controls RSS deduplication.
state/feed_state.json.
ARK_API_KEY is set in the execution environment.
data files and state/feed_state.json, then rerun.
references/commands.md.
references/commands.md
共 2 个版本