autoresearch-agent

Delegate autoresearch commands to a headless OpenCode sub-agent subprocess.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kamelmh/opencode --skill autoresearch-agent-kamelmh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch-agent
Source: https://github.com/kamelmh/opencode/tree/main/skills/autoresearch-agent
Command: npx skills add https://github.com/kamelmh/opencode --skill autoresearch-agent-kamelmh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It removes the friction of running long, multi-step autoresearch commands by delegating them to a headless OpenCode sub-agent process.

Core Features & Use Cases

  • Headless delegation wrapper: Spawns autoresearch as a subprocess while translating the requested subcommand into an OpenCode prompt.
  • Foreground vs background execution: Uses direct execution for short tasks and agent-exec for long-running audits or fix loops.
  • Dry-run validation: Prints the exact opencode invocation so you can verify the command before launching.

Quick Start

Run an automated security audit in the foreground with scripts/autoresearch security --iterations 10.

Frequently Asked Questions about autoresearch-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run autoresearch commands as a headless subprocess?

It delegates the execution by spawning a headless OpenCode sub-agent subprocess, translating your wrapper subcommands into the appropriate opencode prompts for reliable automated processing.

What is the best way to automate security audits in the background?

You can automate a security audit by running the wrapper with the security subcommand, utilizing agent-exec for long-running background execution and direct execution for shorter foreground tasks.

Do I need OpenCode installed to use this subprocess orchestration wrapper?

Yes, this wrapper requires both opencode availability and an installed autoresearch skill to function, as it translates subcommands into opencode --dangerously-skip-permissions prompts.

Can I verify an automated debugging command before it runs?

Yes, you can verify automated debugging commands using the dry-run validation feature, which prints the exact opencode invocation so you can review the prompt before launching the subprocess.