Idea Discovery Pipeline
GRIND-Lab-Core/night_owl_research_agent
The full pipeline for idea generation. An agent skill from GRIND-Lab-Core/night_owl_research_agent.
A skill your agent uses when the user wants to generate and literature-vet a pool of novel, testable research hypotheses for a question or domain.
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-gen --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/loops/hypothesis-gen .claude/skills/hypothesis-gen && rm -rf skills-srcUse ~/.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/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .claude/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-genType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-gen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/loops/hypothesis-gen .agents/skills/hypothesis-gen && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .agents/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-gen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/loops/hypothesis-gen .cursor/skills/hypothesis-gen && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .cursor/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gaasher/Agent-Loop-Skills.git --path loops/hypothesis-gen--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-gen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/loops/hypothesis-gen .gemini/skills/hypothesis-gen && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .gemini/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-genInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/loops/hypothesis-gen .github/skills/hypothesis-gen && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .github/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gaasher/Agent-Loop-Skills hypothesis-gen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gaasher/Agent-Loop-Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/loops/hypothesis-gen .opencode/skills/hypothesis-gen && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hypothesis-gen" agent skill from https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/hypothesis-gen into .opencode/skills/hypothesis-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-gen", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hypothesis-genA skill your agent uses when the user wants to generate and literature-vet a pool of novel, testable research hypotheses for a question or domain.
Hypothesis Gen is an agent skill from gaasher/Agent-Loop-Skills. Use when the user wants to generate and literature-vet a pool of novel, testable research hypotheses for a question or domain. A multi-agent loop: a Generator proposes candidate hypotheses, a LiteratureScout grounds each in real retrieved literature (already known? closest prior work? what gap does it fill?), and a Judge scores them against a fixed rubric and keeps the strong, non-duplicate ones; rounds repeat — mutating toward the open gaps — until fresh rounds stop adding keepers. Not for sharpening or…
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files (for example `examples/run.example.yaml`, `roles/Generator.md` and `roles/Judge.md`). Compatibility notes: Requires Python 3.9+
It sits in Research & Science, covering Hypothesis generation, Quizzes and assessments and Creative writing and fiction. The repository describes itself as: Loop until it's better — drop-in agentic loops (autoresearch, scientific writing, data analysis, code/SQL/prompt optimization, red-teaming) as open-standard Agent Skills… The licence is MIT.
Read from SKILL.md and the folder at commit f1169e6. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
S2_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires Python 3.9+
From compatibility in the SKILL.md frontmatter.
Hypothesis Gen loads about 2.6k tokens when it runs. Until then it costs about 165 tokens; SKILL.md has 1,095 words of instructions outside code blocks.
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.
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.
The full file from gaasher/Agent-Loop-Skills at commit f1169e6, republished under its MIT licence (© gaasher). 1,095 words, ~2,645 tokens.
.claude/skills/hypothesis-gen/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.A multi-agent, literature-grounded generation loop. The artifact is a growing pool of hypotheses; the feedback signal is the count of strong, distinct hypotheses that clear the bar — where "strong" is decided against real retrieved literature, not assertion. Each round: generate → ground → judge → keep → mutate toward the gaps, until the pool stops growing (saturation).
The discipline: a hypothesis enters the pool only if the literature says it is not already established (novelty), prior work makes it plausible (grounding), and a feasible test exists. Generating is not confirming — the output is a ranked set of strong candidates to test, each stated with how to test it.
The cast (all in roles/):
roles/Generator.md — proposes a batch of candidate hypotheses aimed at the open gaps.roles/LiteratureScout.md — grounds each candidate in real literature (novelty · support · gap);
emits litscout.json (validates schemas/litscout.schema.json).roles/Judge.md — scores each against the fixed rubric and decides keep/kill/dedupe; emits
verdict.json (validates schemas/verdict.schema.json).Spawn-or-degrade. On Claude Code, spawn Generator / LiteratureScout / Judge as real Agent
subagents each round; otherwise adopt each role inline in this context. You are the orchestrator.
Use when the user wants candidate hypotheses generated and vetted for a question or domain. Default: run the full generate→ground→judge loop below until saturation. Escape hatch: if the user only wants a single batch (no looping), run one round and report the kept hypotheses. Not for sharpening or decomposing a question, and not for grading an existing written proposal.
Resolve bindings interactively. If loop.run.yaml exists in the working dir, load it, confirm the
values in one line, and skip to the loop. Otherwise: on Claude Code (the AskUserQuestion tool is
available) infer a likely value for each binding and present it as the recommended option; on other
hosts ask each as a quoted plain-text prompt. Then write loop.run.yaml (format:
examples/run.example.yaml) and confirm every value plus the live/degraded literature tier before
creating any other files.
| binding | meaning | default | how to infer |
|---|---|---|---|
<question> | the research question / domain, plus any scope (field, population, constraints) | — | ask the user |
<gen_n> | candidate hypotheses the Generator proposes per round | 6 | — |
<keep_threshold> | rubric score (0-100) a hypothesis must clear to enter the pool | 65 | — |
<eval_scale> | LiteratureScout grounding depth (low/medium/high, see below) | medium | — |
<sandbox_root> | where rounds, ledger, and lit cache live | ./sandbox | — |
<budget> | max rounds | 6 | — |
<patience> | stop after this many rounds with no new kept hypothesis | 2 | — |
<report> | final ranked hypothesis set | <sandbox_root>/hypotheses.md | — |
Grounding depth dial (<eval_scale> caps per round — candidates examined deeply · queries each ·
papers read full-text):
| preset | candidates deep | queries each | fulltext reads |
|---|---|---|---|
| low | 2 | 1 | 0 (snippet/abstract only) |
| medium (recommended) | all | 2 | 1 |
| high | all | 3 | 3 |
Literature toolchain. Paper search goes through the sibling literature-search skill — resolve
<lit_skill_dir> (it installs as a sibling, e.g. ~/.claude/skills/literature-search/),
<lit_py> = python3, and <lit> = <lit_skill_dir>/tools/lit_search.py (note the tools/
segment); append --cache-dir <sandbox_root>/literature/.cache after a subcommand to reuse the cache.
Confirm <lit> --help works at setup; if the skill is absent, tell the user and either install it
(copy the repo's loops/literature-search folder into ~/.claude/skills/) or degrade all retrieval to
WebSearch/WebFetch (tag that evidence source:"web"). The keyless S2 + arXiv core needs no setup; a
free S2_API_KEY makes snippet/cite reliable.
API key (optional, never block). The literature-search skill owns the key convention: run
<lit> keys --init, then have the user fill the printed keys.env themselves and never paste secrets
into chat. Re-run <lit> keys to record the tier in loop.run.yaml (literature_tiers, presence
only). A missing key just degrades to the keyless pool → WebSearch.
Initialise the sandbox once bindings are confirmed:
<sandbox_root>/
├── loop.run.yaml ← resolved bindings + literature_tiers
├── ledger.tsv ← header only (see Ledger)
└── literature/.cache/ ← lit_search on-disk cacheStart with an empty pool and gaps seeded from <question>; create no round files until the loop runs.
pool = the kept hypotheses (starts empty). gaps = open questions the LiteratureScout has surfaced
(starts empty; seed from <question>). dry = consecutive rounds with no new keep (starts 0). <N>
starts at 1.
Copy this checklist and tick items off:
roles/Generator.md (spawn-or-degrade) with <question>, the current pool, gaps, and <gen_n>; it writes round<N>/candidates.json (<gen_n> specific, testable, plausibly-novel candidates aimed at the gaps, none duplicating the pool).roles/LiteratureScout.md (spawn-or-degrade) on candidates.json with <lit> and the <eval_scale> caps; it writes round<N>/litscout.json (validates schemas/litscout.schema.json) — per candidate: novelty + closest prior work, support, gap, testability, each citing real evidence.roles/Judge.md, apply the fixed rubric + evidence gate to litscout.json, checking each candidate against the pool for duplicates; write round<N>/verdict.json (validates schemas/verdict.schema.json): scores, total, keep, duplicate_of.keep:true non-duplicate to pool (with scores + grounding + how-to-test); add this round's gap points to gaps. If ≥1 new keep, dry = 0; else dry += 1.N = N + 1.dry == <patience> (saturation) or N > <budget> → stop (see Stops).Re-ground every round — novelty is judged from a fresh literature check each round, never carried
over, so "the literature already covers this" reliably kills a crowded idea. Every cited snippet comes
from a real retrieval that round; on {"error","fallback"} fall back to WebSearch/WebFetch — never
invent a paper.
schemas/litscout.schema.json gates the LiteratureScout output — a generic instance:
{"round": 2,
"evaluations": [{"hid": "r2h1", "novelty_assessment": "novel",
"closest_prior_work": [{"claim": "X tested for facts, not skills", "cites": ["E1"]}],
"support": [{"claim": "spacing aids motor consolidation", "cites": ["E2"]}],
"gap": [{"claim": "long-term procedural retention untested at scale", "cites": ["E1"]}],
"testability_note": "RCT: spaced vs massed schedule, 1-month retention."}],
"evidence": [{"key": "E1", "title": "...", "source": "s2", "id": "a1b2", "snippet": "...verbatim..."}]}schemas/verdict.schema.json gates the Judge output — a generic instance:
{"round": 2,
"verdicts": [{"hid": "r2h1",
"scores": {"novelty": 4, "grounding": 4, "testability": 5, "specificity": 4, "significance": 4},
"total": 82.0, "keep": true, "gate_failures": [], "duplicate_of": null,
"rationale": "Closest work shows X untested for skills -> novel; supported; clean RCT named."}]}<sandbox_root>/ledger.tsv, tab-separated, never commas in free text. Header:
round generated kept_new pool_size top_keptExample:
round generated kept_new pool_size top_kept
1 6 3 3 spaced practice aids procedural (not just declarative) retention [82]
2 6 2 5 sleep-timed review beats time-of-day-matched review [78]
3 6 0 5 -Per-round candidates.json / litscout.json / verdict.json live in round<N>/. Report the best
state of the pool when stopping, not just the last round. Leave ledger.tsv, round*/, and
literature/ untracked.
<lit>/WebFetch retrieval
from that round, verbatim; the evidence gate exists to catch fabrication.literature-search skill is stdlib-only; never print or commit API keys
(keys.env stays gitignored at the project root). The sandbox is self-contained — no ../ escapes.The loop stops on the first of:
dry == <patience> consecutive rounds add no new kept hypothesis.<budget> rounds reached.End with the ranked hypothesis set (<report> path) — each hypothesis with its statement, novelty
assessment + closest prior work (cited), supporting evidence (cited), the gap it fills, and how to test
it — plus the pool-size trajectory from ledger.tsv and the strongest unexplored gaps, so the user
sees both the vetted hypotheses and where a deeper run would look next.
© gaasher, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in loops/hypothesis-gen of gaasher/Agent-Loop-Skills.
Open the folder on GitHubat commit f1169e6
Hypothesis Gen 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hypothesis Gen this skillgaasher/Agent-Loop-Skills | 174 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Idea Discovery PipelineGRIND-Lab-Core/night_owl_research_agent | 106 | — | ~4.4k | Automated safety check: Warn | None | |
| Paper NavigatorEvoScientist/EvoSkills | 475 | — | ~6.3k | Automated safety check: Notes | Apache-2.0 | |
| Novelty CheckAI4Scientist/nano-scientist | 128 | 5 repos | ~823 | Automated safety check: Pass | None | |
| Ccf Idea Optimizermikubaka88/CCFA-Skills | 3k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Novelty Assessmentlingzhi227/agent-research-skills | 384 | — | ~716 | Automated safety check: Pass | None |
GRIND-Lab-Core/night_owl_research_agent
The full pipeline for idea generation. An agent skill from GRIND-Lab-Core/night_owl_research_agent.
EvoScientist/EvoSkills
Find and read academic papers (S2 + arXiv). An agent skill from EvoScientist/EvoSkills.
AI4Scientist/nano-scientist
Verify research idea novelty against recent literature. An agent skill from AI4Scientist/nano-scientist.
mikubaka88/CCFA-Skills
Develop and optimize rough CCF research ideas into problems, insights, mechanisms, and evidence plans.
lingzhi227/agent-research-skills
Assess research idea novelty through systematic literature search.
GRIND-Lab-Core/night_owl_research_agent
Validates that a research idea is genuinely novel vs. An agent skill from GRIND-Lab-Core/night_owl_research_agent.
gaasher/Agent-Loop-Skills
A skill your agent uses when the user wants to evolve an ML model/program through population-based search rather than a single sequential refine loop — a generational evolution where parallel…
gaasher/Agent-Loop-Skills
A skill your agent uses when the user wants the LLM to do its own ML research: a fully-autonomous loop that hacks the training code, runs it, and keeps changes that lower a single scalar metric (e.g.
gaasher/Agent-Loop-Skills
A skill your agent uses when the user wants an autonomous ML research loop that pressure-tests competing ideas before spending compute — several research subagents each propose one architecture…
gaasher/Agent-Loop-Skills
A skill your agent uses when the user wants two approaches raced head-to-head on a single shared metric — e.g.
gaasher/Agent-Loop-Skills
A skill your agent uses when the user has a known, already-observed anomaly in their data — a metric spike or drop, an outlier, an unexpected number — and wants its root cause diagnosed, not guessed.
gaasher/Agent-Loop-Skills
A skill your agent uses when the user has concrete failing cases in code or a guardrail/classifier/filter/prompt/API they own — a red-team failure catalogue OR a CI/CD test-failure report (failing…
A skill your agent uses when the user wants to generate and literature-vet a pool of novel, testable research hypotheses for a question or domain. Hypothesis Gen is an agent skill from gaasher/Agent-Loop-Skills. Use when the user wants to generate and literature-vet a pool of novel, testable research hypotheses for a question or domain.
Hypothesis Gen fits situations like: the user wants to generate and literature-vet a pool of novel; testable research hypotheses for a question.
Run `npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a claude-code`. Or copy the skill folder (loops/hypothesis-gen in gaasher/Agent-Loop-Skills) into .claude/skills/hypothesis-gen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a codex`. Or copy the skill folder (loops/hypothesis-gen in gaasher/Agent-Loop-Skills) into .agents/skills/hypothesis-gen in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gaasher/Agent-Loop-Skills --skill hypothesis-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hypothesis-gen, .gemini/skills/hypothesis-gen, .github/skills/hypothesis-gen and .opencode/skills/hypothesis-gen in your project.
Going by SKILL.md and its folder, Hypothesis Gen needs credentials named S2_API_KEY. Our summary lists: Python 3; A credential in S2_API_KEY. Compatibility (from SKILL.md): Requires Python 3.9+.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Hypothesis Gen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hypothesis Gen: Idea Discovery Pipeline (GRIND-Lab-Core/night_owl_research_agent, 106 stars), Paper Navigator (EvoScientist/EvoSkills, 475 stars), Novelty Check (AI4Scientist/nano-scientist, 128 stars) and Ccf Idea Optimizer (mikubaka88/CCFA-Skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gaasher (a GitHub user) maintains it in gaasher/Agent-Loop-Skills, which has 174 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on June 30, 2026.
Source: gaasher/Agent-Loop-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.