SKILL: intel-synthesis
Description
Advanced intelligence processing pipeline optimized for high-context models (Gemini 1.5 Pro/Ultra). Ingests raw multi-source data, performs cross-verification, deduplication, and conflict analysis, and produces authoritative geopolitical briefings.
Usage
Run with the target directory path.
Example: openclaw run intel-synthesis --dir /Volumes/Intel/news/2026-02-13_0500
Implementation
This skill leverages the large context window to process entire intel dumps in single passes, reducing hallucination and improving narrative coherence across multiple sources.
1. Ingest & Analyze
- Read MANIFEST.json to validate completeness.
- Load all
.json content files.
- Smart Temporal Filter:
- Ali provides the files, but the content may contain old "Related Articles" or sidebars.
- Rule: Extract the main narrative event time.
- Keep: Events occurring within the assigned cycle (Last 12-18 hours).
- Discard: Obvious historical noise (e.g., "2015", "10 years ago") found in page clutter.
- Note: Do not auto-reject "yesterday" if it falls within the 12h operational window (e.g., late-night news for morning brief).
2. Analyze (Single-Shot Chain of Thought)
- Persistence Check: Read the most recent
[YYYY-MM-DD]_briefing_EN.md from /Volumes/Intel/NewsBriefs/.
- Deduplication: Identify stories that were already reported.
- Update Protocol:
- If a story is new: Include as a full entry.
- If a story is an update: Frame it as an update (e.g., "UPDATE: Following the PLC order reported in the previous cycle, UAE forces have begun withdrawing from...") rather than repeating the baseline facts.
- If no new information exists for a previously reported story: Omit it to maintain high signal-to-noise.
- Entity Extraction: Identify key actors, locations, and equipment.
- Timeline Reconstruction: Order events chronologically, resolving "2 hours ago" vs absolute timestamps.
- Conflict Detection: Highlight discrepancies between sources (e.g., casualty numbers, attribution).
- Source Weighing: Prioritize primary/local sources over aggregators for facts; use aggregators for broad sentiment.
3. Synthesize
- Core Objective: Act as Chief Editor. Produce a cohesive narrative, not a summary. Prioritize strategic significance.
- Structural Instructions:
- Main Story (The Lead): Select the single most significant geopolitical development. Format: Paragraphs as bullet points.
- Theaters of Interest: Lebanon, Syria, Palestine, Israel. Prioritize "Key National Events". Format: Bullet points (•).
- Regional/International: Group updates.
- Stylistic Guidelines:
- High-Density Writing: Every sentence must carry weight.
- Maximum Detail: Extract maximum detail from source articles. Include specific names, dates, quantities, direct quotes, and operational context. Avoid generalization.
- No Citations: Do not include source tags (e.g.,
[Reuters]) in the text. The narrative must flow seamlessly as an authoritative voice.
- Synthesize, Don't List: Combine sources into fluid paragraphs.
- Temporal Filtering: Strictly adhere to the 12-18 hour cycle window. Discard any articles or events that fall outside this timeframe, even if they appear in the source files.
- LaTeX Template: All PDF generation must use the exact structure and commands from the official template located at
/Users/mikethebrain/.openclaw/workspace/sf.tex. The agent must dynamically populate the content within this structure.
- Maximum Detail: Extract maximum detail from source articles. Include specific names, dates, quantities, direct quotes, and operational context. Avoid generalization.
- No Citations: Do not include source tags (e.g.,
[Reuters]) in the text.
- Synthesize, Don't List: Combine sources into fluid paragraphs.
4. Quality Assurance (Red Team)
- Self-Critique Cycle: Before final output, review the draft for generic language ("clashes", "tensions").
- Resolution: Replace vague terms with specific actions (e.g., "artillery fire", "diplomatic protest").
- Citation Check: Verify every major claim has a source tag.
5. Delivery
- PDF Generation:
- Use
pandoc or wkhtmltopdf if available? No, use MacTeX for professional typesetting.
- IMPORTANT: The
pdflatex and xelatex binaries are located at /Library/TeX/texbin/. You must add this directory to your PATH or call them by full path.
- Command:
/Library/TeX/texbin/xelatex -output-directory=/Volumes/Intel/NewsBriefs/ [filename].tex
- Ensure the
.tex file uses Arial Unicode MS for Arabic support (fontspec) and sets direction to RTL.
- Pandoc command:
pandoc [input.md] -o [output.pdf] --pdf-engine=/Library/TeX/texbin/xelatex -V mainfont="Arial Unicode MS" -V dir=rtl
- Email Dispatch:
- Construct email with
himalaya using the configured account.
- Attach:
[Date]_briefing_EN.pdf, [Date]_briefing_AR.pdf.
- Recipients:
abdayi@gmail.com, mdurankaddatz@gmail.com, corebrain2026@gmail.com.
- Subject:
[Date] Daily Intelligence Briefing (Mike).
Configuration
- Model: Requires a high-context model (Gemini 1.5 Pro, Claude 3 Opus/Sonnet) for best results.
- Safety: Geopolitical content requires careful prompting to avoid safety refusals while maintaining neutrality.
Dependencies
fs for file reading.
path for handling directories.
1---2name: intel-synthesis3description: SKILL: intel-synthesis4---5# SKILL: intel-synthesis67## Description8Advanced intelligence processing pipeline optimized for high-context models (Gemini 1.5 Pro/Ultra). Ingests raw multi-source data, performs cross-verification, deduplication, and conflict analysis, and produces authoritative geopolitical briefings.910## Usage11Run with the target directory path.12Example: `openclaw run intel-synthesis --dir /Volumes/Intel/news/2026-02-13_0500`1314## Implementation15This skill leverages the large context window to process entire intel dumps in single passes, reducing hallucination and improving narrative coherence across multiple sources.1617### 1. Ingest & Analyze18- Read MANIFEST.json to validate completeness.19- Load all `.json` content files.20- **Smart Temporal Filter:**21 - Ali provides the files, but the *content* may contain old "Related Articles" or sidebars.22 - **Rule:** Extract the *main narrative* event time.23 - **Keep:** Events occurring within the assigned cycle (Last 12-18 hours).24 - **Discard:** Obvious historical noise (e.g., "2015", "10 years ago") found in page clutter.25 - *Note:* Do not auto-reject "yesterday" if it falls within the 12h operational window (e.g., late-night news for morning brief).2627### 2. Analyze (Single-Shot Chain of Thought)28- **Persistence Check:** Read the most recent `[YYYY-MM-DD]_briefing_EN.md` from `/Volumes/Intel/NewsBriefs/`.29- **Deduplication:** Identify stories that were already reported.30- **Update Protocol:** 31 - If a story is new: Include as a full entry.32 - If a story is an update: Frame it as an update (e.g., "UPDATE: Following the PLC order reported in the previous cycle, UAE forces have begun withdrawing from...") rather than repeating the baseline facts.33 - If no new information exists for a previously reported story: Omit it to maintain high signal-to-noise.34- **Entity Extraction**: Identify key actors, locations, and equipment.35- **Timeline Reconstruction**: Order events chronologically, resolving "2 hours ago" vs absolute timestamps.36- **Conflict Detection**: Highlight discrepancies between sources (e.g., casualty numbers, attribution).37- **Source Weighing**: Prioritize primary/local sources over aggregators for facts; use aggregators for broad sentiment.3839### 3. Synthesize40- **Core Objective:** Act as Chief Editor. Produce a cohesive narrative, not a summary. Prioritize strategic significance.41- **Structural Instructions:**42 - **Main Story (The Lead):** Select the single most significant geopolitical development. Format: Paragraphs as bullet points.43 - **Theaters of Interest:** Lebanon, Syria, Palestine, Israel. Prioritize "Key National Events". Format: Bullet points (•).44 - **Regional/International:** Group updates.45- **Stylistic Guidelines:**46 - **High-Density Writing:** Every sentence must carry weight.47 - **Maximum Detail:** Extract maximum detail from source articles. Include specific names, dates, quantities, direct quotes, and operational context. Avoid generalization.48 - **No Citations:** Do not include source tags (e.g., `[Reuters]`) in the text. The narrative must flow seamlessly as an authoritative voice.49 - **Synthesize, Don't List:** Combine sources into fluid paragraphs.50- **Temporal Filtering:** Strictly adhere to the 12-18 hour cycle window. Discard any articles or events that fall outside this timeframe, even if they appear in the source files.51- **LaTeX Template:** All PDF generation must use the exact structure and commands from the official template located at `/Users/mikethebrain/.openclaw/workspace/sf.tex`. The agent must dynamically populate the content within this structure.52- **Maximum Detail:** Extract maximum detail from source articles. Include specific names, dates, quantities, direct quotes, and operational context. Avoid generalization.53- **No Citations:** Do not include source tags (e.g., `[Reuters]`) in the text.54- **Synthesize, Don't List:** Combine sources into fluid paragraphs.5556### 4. Quality Assurance (Red Team)57- **Self-Critique Cycle:** Before final output, review the draft for generic language ("clashes", "tensions").58- **Resolution:** Replace vague terms with specific actions (e.g., "artillery fire", "diplomatic protest").59- **Citation Check:** Verify every major claim has a source tag.6061### 5. Delivery62- **PDF Generation:**63 - Use `pandoc` or `wkhtmltopdf` if available? No, use **MacTeX** for professional typesetting.64 - **IMPORTANT:** The `pdflatex` and `xelatex` binaries are located at `/Library/TeX/texbin/`. You must add this directory to your PATH or call them by full path.65 - Command: `/Library/TeX/texbin/xelatex -output-directory=/Volumes/Intel/NewsBriefs/ [filename].tex`66 - Ensure the `.tex` file uses `Arial Unicode MS` for Arabic support (`fontspec`) and sets direction to RTL.67 - Pandoc command: `pandoc [input.md] -o [output.pdf] --pdf-engine=/Library/TeX/texbin/xelatex -V mainfont="Arial Unicode MS" -V dir=rtl`68- **Email Dispatch:**69 - Construct email with `himalaya` using the configured account.70 - Attach: `[Date]_briefing_EN.pdf`, `[Date]_briefing_AR.pdf`.71 - Recipients: `abdayi@gmail.com`, `mdurankaddatz@gmail.com`, `corebrain2026@gmail.com`.72 - Subject: `[Date] Daily Intelligence Briefing (Mike)`.7374## Configuration75- **Model**: Requires a high-context model (Gemini 1.5 Pro, Claude 3 Opus/Sonnet) for best results.76- **Safety**: Geopolitical content requires careful prompting to avoid safety refusals while maintaining neutrality.7778## Dependencies79- `fs` for file reading.80- `path` for handling directories.