skills/deepresearch/SKILL.md
Conduct structured deep research on any topic — security threat analysis, technology trend mapping, ecosystem analysis, market forecasts, or law/policy compliance research. Produces a multi-part report grounded in confirmed sources with no premature design assumptions. Use when asked to "deepresearch", "research deeply", or produce a comprehensive multi-part research report. Auto-detects whether the topic calls for security-focused, tech-trend-focused, or law/policy-focused structure.
npx skillsauth add cyberelf/agent_skills deepresearchInstall 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.
Conduct rigorous, multi-part research on a complex topic producing a report grounded entirely in confirmed sources. No design assumptions before research is complete. All claims backed by source links.
This skill is split across files — read the relevant ones before proceeding:
| File | Purpose |
|------|---------|
| security.md | Full template and agent prompts for security research mode |
| techtrend.md | Full template and agent prompts for tech trend / ecosystem research mode |
| law-policy.md | Full template and agent prompts for law, policy, regulatory, and compliance research mode |
| report-template.html | HTML report template — use when user requests an HTML output |
Determine research mode from the query before reading any template:
| Mode | Trigger keywords | Template to read |
|------|-----------------|-----------------|
| security | security, threat, CVE, attack, defense, vulnerability, exploit, risk, malware | Read security.md |
| techtrend | trend, forecast, ecosystem, landscape, technology, hardware, market, adoption | Read techtrend.md |
| law-policy | law, policy, regulation, compliance, legal requirement, statutory, retention, audit trail, recordkeeping, regulator, licensee, service provider, data residency, data protection, privacy, telecom law, cybersecurity law | Read law-policy.md |
| Ambiguous | None clearly applies, or multiple modes are plausible | Ask: "Is this a security analysis, technology trend/ecosystem research, or law/policy compliance research?" |
After detecting mode, read the appropriate template file in full before writing the research plan or launching agents. The template files contain:
Follow the execution steps in the template. The core workflow is the same for all modes:
RESEARCH_PLAN.md in a new {topic}_{YYYYMM}/ folderRESEARCH_REPORT.mdreport-template.html as the base{folder}/raw_research/XX_topic.md{topic}_{YYYYMM}/
├── RESEARCH_PLAN.md
├── RESEARCH_REPORT.md
├── report.html # optional, if HTML requested
└── raw_research/
├── 01_*.md
├── 02_*.md
├── 03_*.md
├── 04_*.md
└── 05_*.md
# Security (auto-detected)
/deepresearch security for personal AI endpoint agents including OpenClaw and Claude Code
/deepresearch supply chain attacks on npm packages
/deepresearch quantum-safe cryptography for financial services
# Tech trend (auto-detected)
/deepresearch endpoint LLM ecosystem — hardware, models, runtimes, applications
/deepresearch autonomous vehicle software stack trends and 2030 forecast
/deepresearch edge AI chip market landscape
# Law/policy (auto-detected)
/deepresearch data residency laws for financial SaaS in Singapore, Indonesia, and Malaysia
/deepresearch firewall log retention compliance requirements in Thailand and Turkiye
/deepresearch EU AI Act obligations for enterprise AI coding assistants
# With HTML output
/deepresearch endpoint LLM ecosystem output: html
tools
Agent-first graph-backed knowledge wiki builder with a self-contained CLI. Use for Graphwiki init/build/ingest/update, source indexing, semantic entity and relationship extraction, generated wiki pages, graph JSON/HTML explorer, evidence line ranges, query/explain question answering, synthesis pages, HTML reports, adding confirmed entity types, applying patches, cleanup, validation, tasks, and SQLite cache generation.
development
Use when the user asks to export a local HTML file, web page, or invitation page to a single-page PDF, a no-pagination PDF, a long PDF with auto-calculated height, or a PDF without headers and footers. Trigger on phrases like 单页 PDF, 不分页, 自动计算长度, 长图 PDF, 去掉页眉页脚, export HTML to single-page PDF, or print page to one PDF page.
development
Build and expand an insight-ready raw-material layer by discovering page-level sources, deduplicating them with an internal pre-crawl link index, capturing raw Markdown, verifying metadata in place, and keeping ingest/register state aligned. Use for additive source harvesting, raw webpage capture, source registry maintenance, source/ingest tracking, source/raw downloads, and in-place verification rather than final synthesis.
development
Generate a structured, illustrated Q&A HTML document from the current conversation. Scans the conversation for conceptual questions the user asked and Claude's answers, then produces a self-contained HTML file with styled cards and SVG diagrams for technical/architectural topics. If a Q&A HTML file already exists in the current project directory, appends the new Q&As to it instead of creating a new file. Trigger this skill whenever the user asks to "generate Q&A", "create Q&A from conversation", "save Q&A", "document our Q&A", "turn this chat into Q&A", or anything suggesting they want the conversation's questions and answers captured as a document — even if they don't use the exact phrase "Q&A skill".