/intel-export

Intelligence L3 Production low usage

/intel-export

Overview

/intel-export is a production command in the Intelligence category of the Prismatic Platform that generates comprehensive, structured intelligence packages designed for consumption by external Large Language Model (LLM) systems. When the platform's intelligence collection commands (/investigate, /email-osint, /ghost-recon) produce raw findings, the intel-export command transforms these findings into packages optimized for further analysis by specialized AI systems, human analysts, or integration into broader intelligence workflows.

This command operates under the L3 authority level and is executed by the intelligence-export-coordinator agent. It is part of the platform's 216-command slash command registry, built on the AIAD (Autonomous Intelligence Agent Design) standard. The L3 authority level reflects the sensitivity of intelligence products and ensures that export operations are restricted to authorized operators with appropriate clearance.

Intelligence packages differ from raw command output in several critical ways. They include executive summaries suitable for non-technical stakeholders, structured data sections optimized for LLM context windows, provenance metadata that traces every finding to its source, confidence assessments calibrated to the NABLA framework, and recommended follow-up actions based on the findings. The export format is deliberately designed to be self-contained so that the receiving analyst or LLM has all necessary context without needing access to the Prismatic Platform itself.

Architecture

The export system operates as a multi-stage transformation pipeline that converts raw intelligence data into structured packages.

Export Pipeline

Raw Intelligence -> Deduplicator -> Enricher -> Scorer -> Formatter -> Package Builder
       |                |              |           |           |             |
       v                v              v           v           v             v
  Collection Data   Remove Dupes   Add Context  Confidence  Template     Output File
  Source Metadata   Merge Related  Cross-ref    Calibration  Selection   Verification
  Timestamps        Entity Link    Gap Analysis  Weighting   Rendering   Signature

Package Structure

SectionContentPurpose
Executive Summary2-3 paragraph overviewQuick orientation for analysts
Key FindingsPrioritized finding listActionable intelligence highlights
Entity ProfileTarget entity detailsComprehensive target description
Source InventorySources queried with resultsProvenance and completeness assessment
Detailed FindingsFull finding data by categoryDeep analysis material
Confidence AssessmentNABLA-calibrated scoringReliability evaluation
Intelligence GapsMissing or inconclusive dataAreas requiring further investigation
Recommended ActionsPrioritized follow-up stepsActionable next steps
MetadataExport timestamp, version, scopePackage management

Export Formats

FormatExtensionUse CaseLLM Optimized
Markdown.mdHuman-readable, LLM-compatibleYes
JSON.jsonProgrammatic consumptionYes
HTML.htmlWeb presentationNo
STIX.stix.jsonThreat intelligence sharingPartial
PDF.pdfFormal reportsNo

Usage

# Export intelligence from the latest investigation
/intel-export --source=latest --format=markdown

# Export specific investigation results
/intel-export --source=investigation_id_abc123 --format=json

# Export with LLM optimization (context window sizing)
/intel-export --source=latest --format=markdown --llm-optimize --max-tokens=100000

# Export as STIX format for threat intelligence sharing
/intel-export --source=latest --format=stix --output=threat-intel.stix.json

# Export with specific sections only
/intel-export --source=latest --sections="summary,findings,actions"

# Export all investigations for a target
/intel-export --target=example.com --format=markdown --output=example-intel-package.md

# Export with redaction for external sharing
/intel-export --source=latest --redact=pii --format=pdf

# Generate comparative export across multiple investigations
/intel-export --compare=inv_001,inv_002 --format=markdown

Options

OptionTypeDefaultDescription
--sourcestringlatestInvestigation ID or "latest"
--targetstringnoneTarget entity to export intel for
--formatstringmarkdownExport format: markdown, json, html, stix, pdf
--outputstringauto-namedOutput file path
--llm-optimizeflagfalseOptimize structure for LLM consumption
--max-tokensinteger50000Maximum token count for LLM-optimized exports
--sectionsstringallComma-separated section list
--redactstringnoneRedaction level: none, pii, sensitive, maximum
--comparestringnoneComma-separated investigation IDs for comparison
--classificationstringunclassifiedClassification level for the package
--include-rawflagfalseInclude raw source data alongside processed findings
--verboseflagfalseInclude detailed provenance chains

Execution Flow

  1. Source Resolution: The specified investigation source is resolved. This can be a specific investigation ID, the most recent investigation, or all investigations for a given target entity.

  2. Data Aggregation: Raw intelligence data from all specified sources is loaded and aggregated. This includes findings, metadata, confidence scores, source information, and timestamps.

  3. Deduplication: Duplicate findings that appear across multiple collection phases or sources are identified and merged. The highest-confidence version is retained with cross-references to supporting sources.

  4. Enrichment: Findings are enriched with contextual data from the platform's knowledge base. Geographic data, industry classification, organizational relationships, and historical context are added where available.

  5. Confidence Calibration: NABLA-framework confidence scores are recalculated based on the complete evidence set. Multi-source corroboration increases confidence; contradictory findings are flagged with preserved contradiction details per the addiction preservation doctrine.

  6. Gap Analysis: The intelligence collection is analyzed for gaps -- categories where data was expected but not found, sources that were unavailable, and questions that remain unanswered. These gaps are documented as potential areas for follow-up investigation.

  7. Template Selection: The appropriate export template is selected based on format and sections requested. LLM-optimized templates include structural markers that help language models parse the content efficiently.

  8. Package Generation: The complete package is rendered into the target format, including all sections, metadata, and any required redactions. The package is verified for completeness and consistency.

  9. Output Writing: The package is written to the specified output path or auto-generated filename. A verification hash is computed and included in the package metadata.

Integration Points

ComponentRelationshipDetails
Prismatic AgentsExecuted by intelligence-export-coordinatorPackage generation and formatting
/investigatePrimary data sourceInvestigation results feed exports
/email-osintEmail intel sourceEmail-specific findings included
/ghost-reconPassive intel sourceZero-footprint findings included
NABLA FrameworkConfidence calibrationEpistemic scoring and provenance
Quality GatesExport qualityPackage completeness validation
TelemetryExport metricsPackage size, generation time tracking

Best Practices

Use LLM optimization for AI-assisted analysis. The --llm-optimize flag structures the package with clear section headers, consistent formatting, and efficient information density that maximizes the value extracted per token of LLM context.

Set appropriate redaction levels for external sharing. Never share raw intelligence packages externally without appropriate redaction. Use --redact=pii for packages that will be shared outside the immediate team, and --redact=sensitive for broader distribution.

Include confidence assessments. Consumers of intelligence packages need to know how reliable each finding is. Always include the confidence assessment section, which provides NABLA-calibrated scoring for every major finding.

Document intelligence gaps. The gaps section is often more valuable than the findings themselves. Knowing what you do not know enables better decision-making and targeted follow-up investigation.

Use STIX format for threat intelligence sharing. When sharing findings with security operations centers or threat intelligence platforms, use the STIX export format for compatibility with industry-standard tools.

Verify package completeness. After export, review the package to ensure all expected sections are present and populated. The --verbose flag includes detailed provenance chains for audit purposes.

Error Handling

ErrorCauseResolution
source_not_foundInvestigation ID does not existVerify investigation ID with /investigate --list
no_data_for_targetNo investigation data exists for targetRun an investigation first
format_unsupportedRequested export format not availableUse supported format: markdown, json, html, stix, pdf
token_limit_exceededLLM-optimized export exceeds max-tokensReduce sections or increase --max-tokens
redaction_errorPII detection encountered ambiguous dataReview manually and apply explicit redaction markers
output_write_failedCannot write to specified output pathVerify directory exists and permissions are sufficient

Advanced Usage

LLM-Optimized Chain Analysis

Generate packages structured for multi-step LLM analysis workflows.

# Phase 1: Generate LLM analysis prompt
/intel-export --source=latest --format=markdown --llm-optimize \
  --sections="summary,findings" --max-tokens=50000 --output=phase1-analysis.md

# Phase 2: Generate detailed evidence package
/intel-export --source=latest --format=markdown --llm-optimize \
  --sections="detailed,sources,confidence" --max-tokens=100000 --output=phase2-evidence.md

Comparative Intelligence Reports

Compare findings across multiple investigation sessions.

/intel-export --compare=inv_jan,inv_feb --format=markdown \
  --sections="summary,findings,changes" --output=monthly-comparison.md

Automated Report Generation

Integrate intel export into automated intelligence workflows.

# Daily automated intelligence summary
/investigate target.com --mode=quick --format=json && \
/intel-export --source=latest --format=markdown --llm-optimize --output=daily-intel.md

Doctrine Compliance

All commands operate under the NO MERCY, NO DOUBTS doctrine:

  • NO MERCY: Zero tolerance for incomplete execution or quality violations. Every export package includes completeness verification and section validation.
  • NO DOUBTS: Full investigation before action, evidence-based results. Every finding in the export includes full provenance, confidence scoring, and source attribution per NABLA requirements.
  • /investigate - Launch comprehensive OSINT investigation across 121+ sources
  • /email-osint - Email-based OSINT gathering with breach correlation and social profiling
  • /ghost-recon - Ghost reconnaissance for passive zero-footprint intelligence gathering
  • /google-hacking - Google dorking and advanced search intelligence extraction
  • /ma-analyze - Comprehensive M&A analysis including financial, legal and operational review
  • /osint-engines - Multi-engine OSINT source coordination and parallel querying

Connect & Contribute

Created by Tomáš Korcak (korczis) | Open Source under GHL