agentleFS
Gzyms69Gzyms69/agent-setup-bundle/skills/skill-osint-engineering/SKILL.md

skill-osint-engineering

Skill0 starsChanged 3 months agoMITView on GitHub

Open Source Intelligence (OSINT) engineering principles, standardized entity graph models, pivoting engines, reconnaissance pipelines, and OPSEC best practices. Use when designing OSINT platforms, writing intelligence scrapers, mapping entity relationships, or implementing forensic analyzers.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All OSINT tools, plugins, and scrapers MUST produce entities conforming to a unified entity graph schema:

    line 14
  2. Distinctive:

    When an investigation runs, any discovered sub-entity (e.g.

    line 92
  3. Distinctive:

    Passive Recon by Default: Never send active probing packets (e.g.

    line 101
  4. Distinctive:

    Rotating Identity & User-Agents: Always randomize realistic User-Agents matching modern Chromium browsers.

    line 102
  5. Very specific:

    Rate-Limiting & Jitter: Add randomized delays (jitter) between requests (e.g., 1.5s - 3.5s) to prevent IP bans and respect target …

    line 105

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OSINT Engineering Skill

This skill defines the technical standards, entity relationship models, and operational security (OPSEC) frameworks for developing Open Source Intelligence (OSINT) automation platforms and investigative tools.


1. Unified Entity Data Model (Pydantic Standard)

All OSINT tools, plugins, and scrapers MUST produce entities conforming to a unified entity graph schema:

from enum import Enum
from typing import List, Dict, Any, Optional
from pydantic import BaseModel, Field
from datetime import datetime
import uuid

class EntityType(str, Enum):
    PERSON = "person"
    USERNAME = "username"
    EMAIL = "email"
    PHONE = "phone"
    DOMAIN = "domain"
    IP_ADDRESS = "ip_address"
    SOCIAL_PROFILE = "social_profile"
    BREACH_RECORD = "breach_record"
    METADATA_EXTRACT = "metadata_extract"
    CRYPTO_WALLET = "crypto_wallet"

class OSINTEntity(BaseModel):
    id: str = Field(default_factory=lambda: str(uuid.uuid4()))
    entity_type: EntityType
    value: str  # e.g., "jankowalski@example.com" or "192.168.1.1"
    source_tool: str  # e.g., "holehe", "sherlock", "theHarvester"
    confidence: float = Field(default=1.0, ge=0.0, le=1.0)
    discovered_at: datetime = Field(default_factory=datetime.utcnow)
    attributes: Dict[str, Any] = Field(default_factory=dict)
    tags: List[str] = Field(default_factory=list)

class OSINTRelationship(BaseModel):
    source_entity_id: str
    target_entity_id: str
    relation_type: str  # e.g., "HAS_EMAIL", "USES_USERNAME", "REGISTERED_ON"
    source_tool: str
    confidence: float = 1.0

class OSINTInvestigationGraph(BaseModel):
    target: str
    entities: List[OSINTEntity] = []
    relationships: List[OSINTRelationship] = []

    def add_entity(self, entity: OSINTEntity):
        self.entities.append(entity)

    def add_link(self, source_id: str, target_id: str, relation_type: str, tool: str):
        self.relationships.append(OSINTRelationship(
            source_entity_id=source_id,
            target_entity_id=target_id,
            relation_type=relation_type,
            source_tool=tool
        ))

2. The OSINT Reconnaissance Lifecycle

Automated OSINT systems must strictly adhere to the phased recon workflow:

[Phase 1: Input Validation & Sanitization]
      │
      ▼
[Phase 2: Passive Footprinting (DNS, WHOIS, Public APIs, Caches)]
      │
      ▼
[Phase 3: Active Scans (Social Profiles, Port Probes, Breach Lookups)]
      │
      ▼
[Phase 4: Normalization & Deduplication]
      │
      ▼
[Phase 5: Entity Graph Correlation & Pivot Suggestions]

Pivoting Engine

When an investigation runs, any discovered sub-entity (e.g. finding an email address during a username scan) can be queued as a Pivot Target for subsequent plugin executions:

  • Username -> Social Profile -> Email Address (Pivot 1)
  • Email Address -> Breach Database -> Leaked Password Hash / Linked Accounts (Pivot 2)
  • Domain -> WHOIS registrant -> Associated Domains (Pivot 3)

3. Operational Security (OPSEC) & Privacy Mandates

  1. Passive Recon by Default: Never send active probing packets (e.g. port scans, direct form submissions) without explicit user consent.
  2. Rotating Identity & User-Agents: Always randomize realistic User-Agents matching modern Chromium browsers.
  3. Proxy & Tor Routing: Route high-frequency scrapers through proxy pools (SOCKS5 / HTTP proxies / Tor) to prevent analyst IP address exposure.
  4. API Key Security: Store API keys in environment variables or encrypted credential vaults. Never commit secrets to code or log unredacted headers.
  5. Rate-Limiting & Jitter: Add randomized delays (jitter) between requests (e.g., 1.5s - 3.5s) to prevent IP bans and respect target robots.txt/terms.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.