skills/codex/deep-research/SKILL.md
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: deep-research description: Autonomous multi-step deep research with iterative planning, gap analysis, and self-critique. Use when a topic requires exhaustive exploration beyond quick research — market intelligence, competitive landscapes, literature reviews, or strategic analyses requiring 30-60+ minutes of autonomous investigation. --- > **Platform Note:** This skill was designed for multi-agent execution. In Codex, treat sub-
npx skillsauth add frank-luongt/faos-skills-marketplace skills/codex/deep-researchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Platform Note: This skill was designed for multi-agent execution. In Codex, treat sub-agent instructions as sequential steps to complete thoroughly within a single agent context.
Autonomous multi-step deep research inspired by Google's Gemini Deep Research architecture. Unlike quick-research (parallel breadth-first) or the research workflow (collaborative step-by-step), deep research operates as an autonomous investigator that iteratively plans, searches, reads, reasons about gaps, and self-critiques its findings before producing a comprehensive cited report.
/faos:quick-research)/faos:research)| Dimension | Quick Research | Research Workflow | Deep Research | |-----------|---------------|-------------------|-------------------| | Mode | Parallel breadth-first | Collaborative step-by-step | Autonomous depth-first | | Human involvement | Minimal (scope only) | High (each step) | Minimal (scope + review) | | Duration | 5-15 min | 30-60 min | 30-90 min | | Iterations | 1-3 parallel rounds | 6 sequential steps | 3-7 adaptive iterations | | Gap analysis | Basic (spawn more if needed) | Manual (user guides) | Autonomous (self-directed) | | Self-critique | None | None | Multi-pass quality review | | Best for | Comparisons, lists, overviews | Domain/market/technical deep-dives | Exhaustive investigation | | Output quality | Good, well-cited | Comprehensive, collaborative | Authoritative, self-validated |
Phase 1: PLAN Phase 2: INVESTIGATE (iterative) Phase 3: SYNTHESIZE
┌──────────────┐ ┌─────────────────────────────────┐ ┌──────────────────┐
│ Understand │ │ ┌─────────┐ ┌───────────┐ │ │ Merge & Dedup │
│ query │──────▶│ │ Search │───▶│ Read & │ │────▶│ findings │
│ │ │ │ (web + │ │ Extract │ │ │ │
│ Create │ │ │ sources)│ │ insights │ │ │ Self-critique │
│ research │ │ └────┬────┘ └─────┬─────┘ │ │ (multi-pass) │
│ plan │ │ │ │ │ │ │
│ │ │ ▼ ▼ │ │ Generate │
│ Identify │ │ ┌────────────────────────┐ │ │ final report │
│ dimensions │ │ │ Reason about gaps │ │ │ with citations │
│ │ │ │ → refine plan │ │ │ │
│ │ │ │ → spawn sub-agents │ │ │ Rate confidence │
│ │ │ │ → iterate or stop │ │ │ per section │
│ │ │ └────────────────────────┘ │ │ │
└──────────────┘ └─────────── repeats 3-7x ────────┘ └──────────────────┘
Analyze the user's request to extract:
If the query is ambiguous, use AskUserQuestion to clarify — but limit to 2-3 focused questions. Don't over-clarify; start researching and refine as you learn.
Produce a structured plan with 4-8 research dimensions:
## Research Plan: [Topic]
**Core Question:** [one sentence]
**Decision Context:** [how results will be used]
**Time Budget:** [estimated duration]
### Dimensions to Investigate
1. [Dimension] — [what to find, why it matters]
2. [Dimension] — [what to find, why it matters]
3. [Dimension] — [what to find, why it matters]
...
### Source Strategy
- Primary: [official sources, research papers, government data]
- Secondary: [industry reports, expert analysis, news]
- Validation: [cross-reference strategy]
### Known Unknowns
- [What we know we don't know yet]
Show the plan to the user and proceed unless they want changes.
Each iteration follows the Search → Read → Reason → Adapt loop:
Use WebSearch and WebFetch to gather information. Follow these search strategies:
Start wide, then narrow:
Iteration 1: Broad queries — "[topic] overview 2026", "[topic] market size"
Iteration 2: Targeted queries — "[specific company] [topic] strategy", "[regulation] requirements"
Iteration 3+: Gap-filling — "[specific data point] source", "[conflicting claim] evidence"
Search quality rules:
site:gov, site:edu, site:arxiv.orgFor each source found:
When a dimension requires substantial investigation, spawn a dedicated sub-agent:
Agent tool call:
subagent_type: "general-purpose"
description: "Research [specific dimension]"
prompt: |
You are a research analyst investigating: [specific dimension]
Context from prior research:
[relevant findings so far]
Your task:
1. Find [specific information needed]
2. Verify claims with 2+ independent sources
3. Note any conflicting information
4. Rate confidence: HIGH (2+ authoritative sources), MEDIUM (1 authoritative),
LOW (indirect/inferred)
Return structured findings with inline citations [Source Title](URL).
Focus areas:
- [specific sub-topic 1]
- [specific sub-topic 2]
- [specific sub-topic 3]
Scaling rules:
After each iteration, evaluate what's been found vs what's needed:
### Iteration [N] Gap Analysis
**Findings so far:** [summary of what we know]
**Gaps identified:**
- [ ] [Missing data point] — needed for [reason]
- [ ] [Conflicting claims] — need resolution from [source type]
- [ ] [Shallow coverage] — [dimension] needs deeper investigation
**Next iteration focus:** [what to prioritize]
**Stop criteria met?** [Yes/No — why]
Stop iterating when ANY of these conditions are met:
Run 3 critique passes before generating the final report:
Pass 1: Factual Accuracy
Pass 2: Completeness
Pass 3: Coherence & Bias
Write the report to the configured output path. Use this structure:
# Deep Research Report: [Topic]
**Date:** [date]
**Researcher:** FAOS Deep Research Agent
**Confidence:** [Overall: HIGH/MEDIUM/LOW]
**Sources Consulted:** [N sources]
**Research Duration:** [time spent]
---
## Executive Summary
[3-5 paragraphs capturing the most important findings. Lead with the answer to the
core question. Include key data points. End with strategic implications.]
---
## Table of Contents
[Auto-generated from sections]
---
## 1. [Dimension/Theme]
[Detailed findings with inline citations]
**Confidence:** [HIGH/MEDIUM/LOW]
**Key Data Points:**
- [data point] — [source]
- [data point] — [source]
---
## 2. [Dimension/Theme]
...
---
## Key Insights & Implications
[Synthesized conclusions that go beyond individual findings.
What patterns emerge? What are the strategic implications?
What should the reader do with this information?]
---
## Limitations & Caveats
- [Known gaps in the research]
- [Areas where data quality is uncertain]
- [Biases in available sources]
---
## Recommended Follow-Up
- [ ] [Specific follow-up investigation if needed]
- [ ] [Expert consultation recommended for X]
- [ ] [Data that should be verified with primary sources]
---
## Sources
[1] [Source Title](URL) — [date accessed, credibility note]
[2] [Source Title](URL) — [date accessed, credibility note]
...
installed_path = {project-root}/.faos/custom/skills/tools/deep-researchreferences_path = {installed_path}/referencesdefault_output_file = {output_folder}/analysis/research/deep-research-{topic}-{date}.md| Setting | Default | Range | |---------|---------|-------| | Max iterations | 7 | 3-10 | | Max sub-agents per iteration | 5 | 1-10 | | Max total sub-agents | 15 | 5-30 | | Self-critique passes | 3 | 1-5 | | Confidence threshold to stop | MEDIUM on all dimensions | — | | Report length | Unlimited (as needed) | — |
development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: grpo-rl-training description: GRPO reinforcement learning training with TRL. Use when applying Group Relative Policy Optimization for reasoning and task-specific model training. --- # GRPO/RL Training with TRL Expert-level guidance for implementing Group Relative Policy Optimization (GRPO) using the Transformer Reinforcement Learning (TRL) library. This skill provides battle-tested patterns, critical insights, and production-r
tools
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: graphql-architect description: Master modern GraphQL with federation, performance optimization, --- ## Use this skill when - Working on graphql architect tasks or workflows - Needing guidance, best practices, or checklists for graphql architect ## Do not use this skill when - The task is unrelated to graphql architect - You need a different domain or tool outside this scope ## Instructions - Clarify goals, constraints, and
development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: grafana-dashboards description: Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces. --- # Grafana Dashboards Create and manage production-ready Grafana dashboards for comprehensive system observability. ## Do not use this skill when - The task is unrelated
development
<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT --> --- name: gptq description: GPTQ post-training quantization for generative models. Use when quantizing large models to 4-bit with calibration-based weight compression. --- # GPTQ (Generative Pre-trained Transformer Quantization) Post-training quantization method that compresses LLMs to 4-bit with minimal accuracy loss using group-wise quantization. ## When to use GPTQ **Use GPTQ when:** - Need to fit large models (70B+) on limited GPU