Agent skill

Research

by YougLin-dev in YougLin-dev/Aha-Loop

Conducts deep technical research for Aha Loop stories. An agent skill from YougLin-dev/Aha-Loop.

MITAuto-check passedResearch & Science

Install Research

skills CLI
$ npx skills add YougLin-dev/Aha-Loop --skill research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install YougLin-dev/Aha-Loop research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/YougLin-dev/Aha-Loop.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/research .claude/skills/research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
research
GitHub stars
181
Token cost
~2.2k tokens
SKILL.md length
602 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Conducts deep technical research for Aha Loop stories. An agent skill from YougLin-dev/Aha-Loop.

  • Works in 5 steps: Identify What to Research → Fetch Library Source Code (If Needed) → Read Source Code Strategically → …
  • : research this
  • SKILL.md covers Workspace Mode Note, The Job, Research Process and Library Version Selection, plus 5 more sections
  • Calls curl, jq and cargo; reaches crates.io

What it does

Research is an agent skill from YougLin-dev/Aha-Loop. Conducts deep technical research for Aha Loop stories. Use before implementing stories involving unfamiliar libraries or architectural decisions. Triggers on: research this, investigate, explore options, compare alternatives.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Deep research. The repository describes itself as: [MVP] Aha Loop is a fully autonomous AI development system, extended from the core ideas of Ralph. It's not just an execution engine, but a complete AI development framework with… The licence is MIT.

When your agent uses it

  • : research this
  • Explore options
  • Compare alternatives

Example prompts

  • “Use the research skill to conduct deep technical research for Aha Loop stories. An agent skill from YougLin-dev/Aha-Loop”
  • “/research”

Requirements

  • Python 3
  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Identify What to Research
  2. Fetch Library Source Code (If Needed)
  3. Read Source Code Strategically
  4. Web Search for Context
  5. Compare Alternatives (If Applicable)

What it can do on your machine

Read from SKILL.md and the folder at commit 8d799b2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq
    • cargo
    • npm
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • crates.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Research loads about 2.2k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 602 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from YougLin-dev/Aha-Loop at commit 8d799b2, republished under its MIT licence (© YougLin-dev). 602 words, ~2,198 tokens.

Download SKILL.mdSave it as .claude/skills/research/SKILL.md (or your agent's skills folder).
name
research
description
Conducts deep technical research for Aha Loop stories. Use before implementing stories involving unfamiliar libraries or architectural decisions. Triggers on: research this, investigate, explore options, compare alternatives.

Deep Research Skill

Conduct thorough technical research before implementation to ensure high-quality, informed decisions.

Workspace Mode Note

When running in workspace mode, all paths are relative to .aha-loop/ directory:

  • Research reports: .aha-loop/research/ (not scripts/aha-loop/research/)
  • Knowledge base: .aha-loop/knowledge/ (not knowledge/)
  • Vendor directory: .aha-loop/.vendor/ (not .vendor/)

The orchestrator will provide the actual paths in the prompt context.


The Job

  1. Identify research topics from the current story's researchTopics field
  2. Fetch third-party library source code if needed
  3. Search documentation and best practices
  4. Analyze and compare alternatives
  5. Generate a research report
  6. Update knowledge base with findings
  7. Mark researchCompleted: true in prd.json

Research Process

Step 1: Identify What to Research

Read the current story from prd.json and extract:

  • researchTopics - explicit topics to investigate
  • Dependencies mentioned in acceptance criteria
  • Patterns referenced in the description

Also check:

  • Previous story's learnings field for follow-up research needs
  • knowledge/project/gotchas.md for related known issues
Step 2: Fetch Library Source Code (If Needed)

For any third-party library research, fetch the source:

bash
# Fetch specific library
./scripts/aha-loop/fetch-source.sh rust tokio 1.35.0

# Or fetch all project dependencies
./scripts/aha-loop/fetch-source.sh --from-deps

After fetching, the source will be at .vendor/<ecosystem>/<name>-<version>/


Library Version Selection

Always Prefer Latest Stable Versions

When researching or recommending libraries, always check for and prefer the latest stable version unless there's a specific compatibility reason not to.

Version Research Process
  1. Query the package registry for latest version:

    bash
    # Rust (crates.io)
    curl -s "https://crates.io/api/v1/crates/tokio" | jq '.crate.max_stable_version'
    
    # Or use cargo
    cargo search tokio --limit 1
    
    # Node.js (npm)
    npm view react version
    
    # Python (PyPI)
    pip index versions requests 2>/dev/null | head -1
  2. Verify stability:

    • Released at least 1-2 weeks ago (not bleeding edge)
    • Check GitHub issues for critical bugs
    • Review changelog for breaking changes
  3. Check compatibility:

    • Works with existing project dependencies
    • Compatible with project's minimum supported language version
    • No known conflicts
Version Documentation

Always document version decisions:

markdown
## Version Decision: [Library Name]

**Selected Version:** X.Y.Z
**Latest Available:** X.Y.Z (as of YYYY-MM-DD)
**Reason:** [Why this version was chosen]

**Compatibility Notes:**
- Works with [other dependency] v[X.Y]
- Requires [language] v[X.Y]+
When to Use Older Versions

Only use older versions when:

  • Latest version has critical bugs
  • Incompatible with required dependencies
  • Breaking changes require significant refactoring
  • Project explicitly constrains the version

Always document the reason in knowledge/project/decisions.md:

markdown
### ADR: Using [Library] v[Old] instead of v[New]

**Context:** [Why we're not using latest]
**Decision:** Pin to v[Old]
**Consequences:** [What we're missing, when to revisit]

Step 3: Read Source Code Strategically

Reading Order (Most Important First):

  1. README.md - Understand design intent and quick-start examples
  2. Entry Point Files:
    • Rust: src/lib.rs, src/main.rs
    • TypeScript/JS: src/index.ts, index.js
    • Python: __init__.py, main.py
  3. Module Structure - Scan mod.rs files or directory structure
  4. Type Definitions - Find core structs, interfaces, types
  5. Target Functionality - Locate the specific feature you need
  6. Tests - Learn correct usage patterns from test files

Reading Tips:

  • Use semantic search to find relevant code sections
  • Focus on PUBLIC APIs, skip internal implementation unless needed
  • Look for examples/ directory for usage patterns
  • Check tests/ for edge cases and proper usage
Show full SKILL.md (205 more words)Show less
Step 4: Web Search for Context

Search for:

  • Official documentation
  • Best practices and common patterns
  • Known issues and gotchas
  • Performance considerations
  • Alternative libraries

Use MCP tools like context7 for up-to-date documentation.

Step 5: Compare Alternatives (If Applicable)

When multiple solutions exist, create a comparison:

CriterionOption AOption BOption C
Performance.........
API Ergonomics.........
Maintenance Status.........
Bundle Size.........
Learning Curve.........

Include a recommendation with reasoning.


Research Report Template

Save to: scripts/aha-loop/research/[story-id]-research.md

markdown
# Research Report: [Story ID] - [Story Title]

**Date:** YYYY-MM-DD
**Status:** Complete | Needs Follow-up

## Research Topics

1. [Topic from researchTopics array]
2. ...

## Findings

### Topic 1: [Name]

**Summary:** Brief answer to the research question

**Source Code Analysis:**
- Library: [name] v[version]
- Key File: `.vendor/rust/tokio-1.35.0/src/runtime/mod.rs`
- Relevant Code: Lines 123-189
- Pattern Observed: [description]

**Documentation Notes:**
- [Key insight from docs]
- [Another insight]

**Code Example:**
```[language]
// Example from source or docs
Topic 2: [Name]

...

Alternatives Comparison

CriterionOption AOption BRecommendation
............

Recommendation: [Option X] because [reasoning]

Implementation Recommendations

Based on research, the story should be implemented as follows:

  1. [Specific implementation guidance]
  2. [Pattern to follow]
  3. [Pitfalls to avoid]

Follow-up Research Needed

  • [Topic that needs deeper investigation]
  • [Question that emerged during research]

Knowledge Base Updates

The following should be added to knowledge base:

To knowledge/project/patterns.md:

  • [Pattern specific to this project]

To knowledge/domain/[topic]/:

  • [Reusable knowledge about a library or technique]

---

## Updating Knowledge Base

### Project Knowledge (`knowledge/project/`)

Add patterns specific to THIS project:
- How this codebase uses a library
- Project-specific conventions discovered
- Gotchas specific to this codebase

### Domain Knowledge (`knowledge/domain/`)

Add reusable technical knowledge:
- Library usage patterns (applicable to any project)
- Comparison documents
- Best practices

**Create new topic directories as needed:**

knowledge/domain/ └── [topic-name]/ ├── README.md # Overview ├── patterns.md # Common patterns ├── gotchas.md # Known issues └── examples/ # Code examples


---

## Source Code Reading Report

When you read library source code, document your findings:

```markdown
## Source Code Analysis: [Library] v[Version]

### Module Structure

src/ ├── lib.rs # Main entry, exports public API ├── runtime/ # Async runtime implementation │ ├── mod.rs # Module exports │ └── scheduler.rs # Task scheduling └── sync/ # Synchronization primitives


### Key Types

- `Runtime` (src/runtime/mod.rs:45) - Main runtime struct
- `Handle` (src/runtime/handle.rs:23) - Runtime handle for spawning

### Key Functions

- `Runtime::new()` (L89-L120) - Creates new runtime with default config
- `spawn()` (L156-L189) - Spawns a new async task

### Usage Patterns from Tests

From `tests/runtime.rs:34`:
```rust
let rt = Runtime::new().unwrap();
rt.block_on(async {
    // ...
});
Important Notes
  • Thread safety: Runtime is Send + Sync
  • Performance: Use spawn_blocking for CPU-heavy tasks
  • Gotcha: Don't call block_on from async context

---

## Checklist

Before marking research complete:

- [ ] All `researchTopics` investigated
- [ ] Library source code fetched and key files read (if applicable)
- [ ] Web search performed for documentation and best practices
- [ ] Alternatives compared (if multiple options exist)
- [ ] Research report saved to `scripts/aha-loop/research/`
- [ ] Knowledge base updated with reusable findings
- [ ] Implementation recommendations documented
- [ ] `researchCompleted: true` set in prd.json

© YougLin-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/research of YougLin-dev/Aha-Loop.

Open the folder on GitHubat commit 8d799b2

Compare with similar skills

Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Research this skillYougLin-dev/Aha-Loop181—~2.2kAutomated safety check: PassMIT
Live Researchbrightdata/skills264—~1.8kAutomated safety check: PassMIT
Eunomia Research Reporteunomia-bpf/eunomia.dev236—~3kAutomated safety check: PassMIT
Behive Researchqa10devteam/behive146—~838Automated safety check: NotesMIT
Brain-Augmented Web Researchgarrytan/gbrain31k—~2kAutomated safety check: NotesMIT
Deep Research Notebooklmdavila7/claude-code-templates32k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Live Research

    brightdata/skills

    Produce a deep, multi-source, cited research brief on a topic from live web data using Bright Data's Discover API (intent-ranked web search + parsed page content).

    264 GitHub stars~1.8k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Eunomia Research Report

    eunomia-bpf/eunomia.dev

    Research, write, validate, and publish source-grounded Eunomia Daily Reports for technical readers.

    236 GitHub stars~3k tokensUpdated today
    Research & ScienceAuto-check passed
  • Behive Research

    qa10devteam/behive

    Deep research missions with structured claim extraction, quality scoring, and knowledge graphs.

    146 GitHub stars~838 tokensUpdated 3 days ago
    Research & ScienceAuto-check: notes
  • Sends what your notes already know about a topic to Perplexity, so the cited web search reports only what is new, such as entity updates or deal changes.

    31k GitHub stars~2k tokensUpdated today
    Research & ScienceAuto-check: notes
  • Deep Research Notebooklm

    davila7/claude-code-templates

    Deep research skill powered by NotebookLM MCP. An agent skill from davila7/claude-code-templates.

    32k GitHub stars~1.7k tokensUpdated today
    Research & ScienceAuto-check passed
  • Khoj Research Guide

    wentorai/research-plugins

    AI second brain for deep research and personal knowledge management

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Research & ScienceAuto-check passed

More from YougLin-dev/Aha-Loop

All 15 skills in this repo
  • God Member

    YougLin-dev/Aha-Loop

    Defines God Committee member behavior and responsibilities with oversight authority.

    181 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Architect

    YougLin-dev/Aha-Loop

    Designs system architecture and selects technology stack based on vision analysis.

    181 GitHub stars~2.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Doc Review

    YougLin-dev/Aha-Loop

    Reviews and cleans up outdated documentation. An agent skill from YougLin-dev/Aha-Loop.

    181 GitHub stars~1.5k tokensUpdated 8 mo ago
    Auto-check passed
  • God Consensus

    YougLin-dev/Aha-Loop

    Guides God Committee members through consensus-building for collective decisions.

    181 GitHub stars~2k tokensUpdated 8 mo ago
    Auto-check passed
  • God Intervention

    YougLin-dev/Aha-Loop

    Guides God Committee members through executing interventions.

    181 GitHub stars~2.3k tokensUpdated 8 mo ago
    Auto-check passed
  • Parallel Explore

    YougLin-dev/Aha-Loop

    Guides parallel exploration of multiple implementation approaches using git worktrees.

    181 GitHub stars~1.9k tokensUpdated 8 mo ago
    Auto-check passed

Questions about Research

What does Research do?

Conducts deep technical research for Aha Loop stories. An agent skill from YougLin-dev/Aha-Loop. Research is an agent skill from YougLin-dev/Aha-Loop. Conducts deep technical research for Aha Loop stories.

When should I use Research?

Research fits situations like: : research this; explore options; compare alternatives.

How do I install Research in Claude Code?

Run `npx skills add YougLin-dev/Aha-Loop --skill research -a claude-code`. Or copy the skill folder (.agents/skills/research in YougLin-dev/Aha-Loop) into .claude/skills/research in your project. Claude Code loads it when a task matches its description.

How do I install Research in Codex?

Run `npx skills add YougLin-dev/Aha-Loop --skill research -a codex`. Or copy the skill folder (.agents/skills/research in YougLin-dev/Aha-Loop) into .agents/skills/research in your project. Codex loads it when a task matches its description.

Can I use Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add YougLin-dev/Aha-Loop --skill research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/research, .gemini/skills/research, .github/skills/research and .opencode/skills/research in your project.

What does Research need to run?

Going by SKILL.md and its folder, Research needs the command-line tools its instructions call (curl, jq, cargo, npm and pip). Our summary lists: Python 3; Node.js.

Does Research access the network?

SKILL.md names 1 domain. In commands or code: crates.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Research use?

Research is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Research use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Research?

Skills that share tags, products or a category with Research: Live Research (brightdata/skills, 264 stars), Eunomia Research Report (eunomia-bpf/eunomia.dev, 236 stars), Behive Research (qa10devteam/behive, 146 stars) and Brain-Augmented Web Research (garrytan/gbrain, 31k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Research?

YougLin-dev (a GitHub user) maintains it in YougLin-dev/Aha-Loop, which has 181 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on February 3, 2026.

Source: YougLin-dev/Aha-Loop on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.