Skip to main content
command CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/research.md
Open on GitHub

What 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 /research with no query and go interactive.

How to install research

Manually: put the files in place

.claude/commands/research.md

Call it with /research. For all projects use ~/.claude/commands/

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.

research SuperClaude-Org research — a command for investigating complex questions beyond your knowledge cutoff. It breaks down the task automatically, runs parallel searches, and collects evidence with source attribution. CX Codex +1 ★ 23,950repo stars research Eugeniu Ghelbur Research a topic and get a sourced dossier. With free sources, Claude Code turns the returned results into a note. CX Codex +1 ★ 5,412repo stars research microsoft research runs a five-iteration investigation of one topic in your codebase, tracing real code paths and citing a source for every claim. CX Codex +1 ★ 3,232repo stars research carlrannaberg research fans a question out to parallel subagents, reads their saved reports from /tmp, and merges the lot into one cited file. CX Codex +1 ★ 763repo stars inbox-triage aeonfun inbox-triage sorts your GitHub notifications and pulls out the ones that need action: vuln PR replies, security alerts, review requests and mentions. CX Codex +1 ★ 797repo stars wiki-research-loop Rohit Ghumare wiki-research-loop is a Claude Code skill that researches a topic and adds pages to a wiki. It runs on requests such as research <topic> or instructions to grow a wiki automatically. CX Codex +1 ★ 2,966repo stars security-scout Gordon Mickel security-scout inspects GitHub branch protection, CODEOWNERS, secret scanning, and automated dependency updates before agent tasks begin. CX Codex ★ 730repo stars github-ops daymade github-ops is a Claude Code skill for managing GitHub PRs, issues, Actions, and access settings. It checks whether a requested write changed the remote state and helps select gh, REST, GraphQL, or the web interface. CX Codex +1 1,600installs github-release jezweb Prepares a GitHub release by checking code for public publishing, creating a tag, and publishing through gh. Use it before making a repository public. CX Codex +1 1,400installs yeet official openai yeet walks a change from git add to a draft pull request using gh. Runs only when you ask for it explicitly. CX Codex +1 3,700installs

From the same set22

The whole set →
research-agent research-agent searches GitHub for loader and evasion code patterns, analyzes their structure, and logs new entries into a local knowledge base. CX Codex ★ 336repo stars evasion-agent This subagent modifies a supplied shellcode loader with evasion techniques from a knowledge base. Its workflow includes compilation, but excludes running or testing the executable. CX Codex ★ 336repo stars loadergen-agent loadergen-agent builds shellcode loaders in C, C++ or Rust from knowledge base components and compiles with MinGW. For evasion technique research and security tool testing. CX Codex ★ 336repo stars evasion_integrate evasion_integrate adds evasion techniques to a shellcode loader you already have: it edits the source, checks which tricks fit and builds the binary. CX Codex +1 ★ 336repo stars tool_profile tool_profile is a Claude Code rule about SharpHound, the data collector used by BloodHound. It applies to questions about Active Directory collection, the tool’s build, and detection. CX Codex +1 ★ 336repo stars c2_evasion c2_evasion examines C2 framework source code, locates detection rules (YARA, Sigma), and suggests modifications to bypass signatures. Takes a path to the source as an argument. CX Codex +1 ★ 336repo stars loader_generate loader_generate spawns an agent to assemble and compile C, C++, or Rust shellcode loaders from a techniques knowledge base. CX Codex +1 ★ 336repo stars rule_inventory The rule_inventory rule catalogues YARA indicators for Stowaway, including binary names, strings, paths, command-line patterns, and hashes. Use it when checking samples for those indicators. CX Codex +1 ★ 336repo stars

Project sponsors

Companies that keep this analytics open