/spotlight:spotlightfrom spotlight
Orchestrates OSINT investigations from lead to findings to knowledge ingestion. Delegates research to agents, enforces gate approvals, and sequences investigation phases.
Ships in spotlight. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are now orchestrating an OSINT investigation using Spotlight.
This skill is the dispatcher: it sequences phases and enforces gates, and
nothing else. Each phase's playbook lives in a child skill under
skills/phase-*/SKILL.md, loaded via invoke-skill at the phase boundary. You —
the host runtime — execute. You spawn agents, read files, evaluate criteria, and
manage gates. The user sees your synthesis and decisions at gates; agents do the
research.
All tool operations use abstract verbs defined in AGENTS.md. Your runtime
adapter binds each verb to a native tool (e.g. fetch → Crawl4AI via
integrations.scraping, search → SearXNG via integrations.search,
spawn-agent → your runtime's sub-agent primitive). If a verb isn't supported by
your adapter, stop and report the gap — do not silently substitute.
Triggers on "investigate", "investigation", "OSINT", "look into", "dig into" — any lead that should become a verified, gate-approved investigation.
Two absolute rules:
Durability and safety clauses:
CASE_DIR, use the runtime's capability bound to that active
case and call spotlight_resolve({}). Trust only its phase, status,
owner, missing, attempts, and resume result; never read or interpret
data/orchestration.json.owner with invoke-skill. Do not
maintain or infer a second phase map. A null owner means stop: present a
blocked result or report completion according to the resolver status.spotlight_transition({operation, payload}).
The runtime binds that tool to the active case; the resolver module owns
receipts, invalidation, caps, locking, atomic state replacement, and resume
semantics.Before Preflight, establish a shell whose working directory is the checkout root
that holds both skills/ and scripts/ (AGENTS.md, "Checkout layout").
Run skills/phase-preflight first to validate configuration and select the
case. Then resolve durable state, invoke the single returned owner, let that
owner perform one transition or stop at its human gate, and resolve again.
Repeat until the resolver returns a human gate, blocked, or complete.
The parent never executes a phase playbook itself.
Agent routing (personas spawned with spawn-agent; agents never spawn agents):
| Task | Agent | Mode |
|---|---|---|
| Design methodology | investigator | PLANNING |
| Execute investigation | investigator | EXECUTION |
| Verify findings | fact-checker | -- |
Model preference is declared per-agent in agents/*.md via the preferred_model map (claude/gemini/gpt/local). Your adapter resolves to the runtime's strongest available model. If the preferred model is unavailable, warn:
"Spotlight agents are designed for the strongest reasoning model available. Running on a lighter model will reduce investigation depth."
Then re-spawn without the model hint.
| Gate | Closes into (sealed artifact) | Who closes it |
|---|---|---|
| Brief gate — direction approved | brief-directions.txt | user |
| Methodology gate — methodology approved | Current attributable, hash-bound approval returned by spotlight_resolve | user |
Research gate (only when the methodology has a research_plan) — clues and directions marked and approved in one stop | Current attributable approval over data/leads.json, data/clues.json, the saved marks and the methodology they apply to, then the amendment the marks produce, checked by D8 and bound to it | user — ends the turn |
| Investigation gate (end of Investigation) — findings from investigation cycles 1–3 (plus one after a stall round) approved | Current attributable approval over the provenance registry's dependency digest, followed by sealed provenance and review outputs | user — ends the turn |
| Report gate — report finalized or declined | Hash-bound decideReport transition; rendering/decline artifacts remain owned by deterministic helpers | deterministic code after the user's decision |
| Ingest gate — ingestion confirmed or declined | decideIngest requested/completed/declined state plus data/ingestion.json | user |
The Investigation gate is the turn boundary: present the findings, then stop. Never answer a human gate for the user, and never treat a transcript mention of approval as closure — closure is the attributable, current-hash receipt on disk.
Phases and gates are named, never numbered: Preflight, Brief, Methodology,
Research, Investigation, Report, Ingest. Each gate is named after the phase it
closes. Research runs only when the approved methodology carries a
research_plan; a case approved without one goes from Methodology straight to
Investigation. Code, never the model, starts the research lanes.
Investigation runs up to three investigation cycles, which are not gates, and
ends at the Investigation gate. A researched case that spends them goes back
to Research for one targeted round, whose approval grants one more cycle. Machine identifiers use the same names
(research, research_approval, phase-research, investigation,
investigation_gate, phase-investigation,
phase-investigation-gate, sealInvestigationGate). A case saved under the
old identifiers (gate1, execution) is read under the new ones and
rewritten at its next transition.
read-file, write-file, edit-file, list-files, grep-files,
execute-shell, fetch, search, spawn-agent, wait-agent,
invoke-skill, query-vault — full signatures and universal backings in the
AGENTS.md Tool Verb Registry (vault-write is retired). Unsupported verbs are reported
as a gap, never silently substituted.
The dispatcher never:
report.html, findings-report.md,
evidence-map.json) — only scripts/finalize-report.py renders them.spotlight_resolve names, or stops and tells the member what is stuck.blocked; it presents the gaps report and
stops until the member revises the methodology.1.1);
phase-investigation resolves the mode. Never downgrade an activated case.| Knob | Value | Enforced in |
|---|---|---|
| Max investigation cycles | 3, then one research round (researched cases) and one more cycle, then Stall Protocol | skills/phase-investigation, skills/phase-research |
| Investigator iteration limit | 80 | agents/investigator.md |
| Fact-checker iteration limit | 50 | agents/fact-checker.md |
| Brief clarifying questions | 1–3 | skills/phase-methodology |
| Minimum high-confidence findings | 3 | readiness criteria, skills/phase-investigation |
| Independent sources per key claim | 2+ | readiness criteria, skills/phase-investigation |
| Fact-checker re-spawns on evidence-validator failure | 1 | skills/phase-investigation |
| Structural correction failures | 2 | data/orchestration.json via skills/phase-investigation |
| Stopped research rounds | 3, then the case blocks at Research | data/orchestration.json via skills/phase-research |
| Research round budget | $1 default, $5 per case | research_plan in data/methodology.json |
On every new or recovered session, run preflight to recover and bind the
absolute active case directory, then call spotlight_resolve({}). Dynamically
invoke its single non-null owner and pass the returned phase, missing,
attempts, and resume fields unchanged. If status is blocked, stop and
present the unresolved gap and exhausted attempt. If phase is complete, stop.
The resolver hashes current inputs before accepting either approval or a downstream decision. Changed methodology inputs reopen methodology approval; changed leads, clues or saved Research review reopen Research approval; changed registry-owned Investigation gate dependencies reopen Investigation gate approval. A draft or pending artifact never closes a human gate. Do not reconstruct a phase or substep by inspecting files.
Source-expression release mode remains a separate product-data classification
inside Investigation. A valid case-contract.json, findings contract 1.1, matching
artifact hashes, and a green validate-case.py result mean activated.
Findings contract 1.0 plus an explicitly recorded pilot choice means
pilot. An incomplete or stale activated contract blocks recovery; never
downgrade it to legacy from file presence. Otherwise the case is legacy.
An older runtime that cannot validate contract 1.1 must refuse an activated
case. Rollback may disable future activation only; existing activated cases
remain strict. For wider failure modes, see docs/recovery.md.
When sensitive: true is set in AGENTS.md, the adapter MUST strip fetch and search from every agent's allowed_verbs. The orchestrator then:
read-file, grep-files, list-files, query-vault){CASE_DIR}/research/What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/acquisition-graduationConvert repeated dev-browser acquisition successes into durable Spotlight acquisition guidance. Use after a non-trivial browser acquisition works repeatedly and should become a reusable source/domain path without storing secrets, cookies, or fragile session details./arbiterUse the native Arbiter HTTPS API to browse or create bounded social-media case studies and attach its analytics to a Spotlight report./content-accessWork through the legal access hierarchy for paywalled or restricted sources before marking them inaccessible and downgrading confidenceGenerated from the plugin's indexed repository (buriedsignals/spotlight) — no native marketplace selected
npx claudepluginhub p/buriedsignals-spotlightOther plugins' skills for the same job