oma-research — Claude Code hook: analyzing literature and markets
oma-research automates research workflows in Claude Code, assisting with literature reviews and market research.
MIT ★ 1,472 updated 2026-10-29
/plugin marketplace add first-fluke/oh-my-agent
/plugin install oma-research@oh-my-agentWhat oma-research does
This bundle ships with the oma-research plugin. It attaches lifecycle handlers across four distinct stages: session startup, bash tool calls, user prompt submissions, and session termination.
At SessionStart, it triggers an asynchronous script plugin-bootstrap.sh research with a 600-second timeout. For PreToolUse, UserPromptSubmit, and Stop, execution routes through plugin-hook.sh. Environments lacking a standard sh shell cannot run these automation scripts.
What it helps with
- prepare workspaces for academic literature analysis
- intercept Bash command executions during market research
- automate structured extraction from source documents
- maintain context while drafting research manuscripts
Example prompts for the agent
- Find recent papers on reinforcement learning and build a literature review
- Extract key metrics from this market report and summarize major findings
- Draft an introduction section for a paper using the collected study notes
How to install oma-research
1Plugin marketplace
/plugin marketplace add first-fluke/oh-my-agent/plugin install oma-research@oh-my-agent2Manually: put the files in place
.claude/settings.jsonThe hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json
Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command
Questions about oma-research
How to install oma-research in Claude Code?
First add the marketplace using /plugin marketplace add first-fluke/oh-my-agent. Next, install the hook package with /plugin install oma-research@oh-my-agent.
What is oma-research?
It is a hook bundle designed to trigger automation scripts for academic writing, market analysis, and document extraction.
Which triggers does oma-research configure?
It hooks into SessionStart, UserPromptSubmit, Stop, and handles PreToolUse matcher filtering specifically for Bash commands.
Source text
research · MIT
Hooks bundle shipped with the oma-research plugin for Claude Code.
Literature search, market research, document extraction, and academic writing
Triggers on: PreToolUse, UserPromptSubmit, SessionStart, Stop.
```json
{"Stop":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" Stop","timeout":40}]}],"PreToolUse":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" PreToolUse Bash","timeout":15}],"matcher":"Bash"}],"SessionStart":[{"hooks":[{"type":"command","async":true,"command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-bootstrap.sh\" research","timeout":600}]}],"UserPromptSubmit":[{"hooks":[{"type":"command","command":"sh \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-hook.sh\" UserPromptSubmit","timeout":15}]}]}
```
© First Fluke · MIT · first-fluke/oh-my-agent