research · jdarmy — Claude Code command: search GitHub for security techniques
research spawns a subagent that searches GitHub for evasion techniques, reads the code and stores the findings in a knowledge base.
MIT ★ 336 updated 2026-04-09
.claude/commands/research.mdWhat research does
The command hands the job to the research-agent subagent. It looks through GitHub repositories and code with gh CLI, pulls out technique patterns, sorts them into categories like allocation, execution and evasion, then writes them to the knowledge base after a duplicate check. You get a summary of what was added or updated, with reference URLs.
The argument is optional. /research on its own goes interactive; add a phrase and it searches for that. Since queries run through gh CLI, a machine without it has nothing to search with.
Code the command finds is never compiled or executed, and third-party shellcode is never loaded. It reads patterns only. That fits when you want material on evasion techniques, not a live test.
What it helps with
- find shellcode loaders on GitHub by keyword
- pull a technique pattern out of someone else's source
- sort findings into allocation, execution and evasion
- add techniques to a knowledge base without duplicates
- get a summary with reference links
Example prompts for the agent
- Run
/research "AMSI bypass"and save the findings to the knowledge base. - Search
/research "syscall evasion C++"and tell me what's new. - Start
/researchwith no query and go interactive.
How to install research
Manually: put the files in place
.claude/commands/research.mdCall it with /research. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/research.mdCall it with /prompts:research. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/research.prompt.mdManually: put the files in place
.gemini/commands/research.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about research
How do I install research in Claude Code?
Copy the command file to .claude/commands/research.md in your project. It then shows up as /research.
What does the research command do?
It starts the research-agent subagent to search GitHub, extract technique patterns, categorize them and save them to the knowledge base with a duplicate check.
Does it need gh CLI?
Yes. GitHub queries go through gh CLI, so without it there is nothing to search with.
Source text
research.md · MIT
--- description: Search GitHub for security techniques (shellcode loaders, evasion methods, C2 patterns), analyze code patterns, and save to knowledge base. Triggers on "research", "search GitHub", "analyze techniques", "find methods", "更新知识库", "搜索". argument-hint: Optional search query (e.g., "API hashing", "syscall", "AMSI bypass") --- # Research Command Launch the research-agent to search GitHub and update the knowledge base. ## Usage ```bash /research # Interactive mode /research "shellcode loader" # Search with query /research "syscall evasion C++" # Specific technique /research "AMSI bypass" # Find evasion techniques ``` ## What This Command Does 1. **Searches GitHub** using `gh` CLI for repositories and code patterns 2. **Analyzes source code** to extract technique patterns 3. **Categorizes findings** by type (allocation, execution, evasion) 4. **Saves to knowledge base** with deduplication check 5. **Reports summary** of new/updated techniques ## Output - Techniques discovered (with descriptions) - Knowledge base IDs added - Complexity assessment - Reference URLs ## Security - **NEVER** compile or execute external code - **NEVER** use external shellcode - **ONLY** analyze patterns ## Agent Spawns `research-agent` subagent for comprehensive analysis. See `research` skill for detailed patterns and commands.
© JDArmy · MIT · JDArmy/Evasion-SubAgents
Similar slash commands
All slash commands for Security →research by other authors comes first.