Scientific Research
Codeg bundles a curated library of scientific-research skills that turn any of its coding agents into a research assistant. They carry a study across its whole arc — from a half-formed idea to a testable hypothesis, a rigorous experimental design, an honest power calculation, real statistical analysis, publication-ready figures, and a search of the literature. You invoke them the same way you invoke any skill: type / and pick one.
Where the Office pack produces research artifacts — the deck, the paper, the workbook — the Science pack supplies the method: how to frame a question, design the study, run the stats, and appraise the result. The two compose well; this page is about the thinking half.
The skills are vendored, byte-for-byte, from the open-source K-Dense-AI/scientific-agent-skills project (MIT-licensed) — version 2.72.0 since Codeg 0.44.0 — baked into Codeg, and enabled per agent like any pack.
Enable the research skills
The Science pack lives under Harness Engineering → Skill Packs → Science (until 0.46.0, Settings → Skill Packs → Science). It shares the same central store and enabling model as the other packs: a skill-and-agent matrix where you switch on which skills each of your agents gets, and Codeg links them into that agent's own skills directory. Nothing here is agent-specific magic — a linked science skill is just a skill that agent can use, in its / menu wherever the agent lists skills there.
Two badges show up on the Science matrix that the Experts pack doesn't have — they flag a skill whose own workflow needs something before it runs:
- May need setup — the skill ships helper scripts that expect a Python (often
uv) environment. It still links fine; the script-backed steps just need that environment present. The skill's ownSKILL.mdlists what to install. - Needs API key — the skill's main workflow calls an external service that wants a key. Only one skill carries this (Scientific Schematics — see below); it links like any other, but the diagram step needs the key set first.
Enabling always works — setup is about the skill, not the link
A May need setup or Needs API key badge never blocks enabling. It's a heads-up that the skill's tools have a prerequisite. Keys go where the agent's other credentials live — an environment variable the agent runs with. → Where credentials are stored
The research skills
Thirteen skills, grouped by the stage of research they serve. Each has its own /-invocation and knows the conventions of its craft:
| Stage | Skill | What it does | Setup |
|---|---|---|---|
| Ideation | Scientific Brainstorming | Explore interdisciplinary links, challenge assumptions, surface research gaps | — (Python for optional helpers) |
| Hypothesis Generation | Turn observations into testable hypotheses with predictions and mechanisms | Python | |
| Study Design | Experimental Design | Randomization, blocking, controls, and factorial/DOE layouts — before you collect data | Python |
| Statistical Power | Sample-size and power analysis, minimum detectable effects, power curves | Python | |
| Analysis | Statistical Analysis | Test selection, assumption checks, effect sizes, APA-style reporting | Python |
| Exploratory Data Analysis | Bounded, local profiling of scientific data files — structure, missing values and outliers — with an EDA report | Python | |
| Visualization | Scientific Visualization | Truthful, accessible publication figures — multi-panel layouts, uncertainty displays, colour and contrast checks, journal export | Python |
| Scientific Schematics | AI-generated diagrams — pathways, architectures, flowcharts | Python 3.10+ with requests, an OpenRouter API key | |
| Evaluation | Critical Thinking | Appraise claims and evidence — biases, confounders, GRADE and risk-of-bias | — |
| Peer Review | Checklist-based manuscript and grant review, CONSORT/STROBE compliance | Python | |
| Scholar Evaluation | Qualitative, evidence-traceable developmental review of scholarly work — never for ranking people or high-stakes decisions | Python | |
| Literature | Paper Lookup | Search 18 scholarly APIs (PubMed, arXiv, OpenAlex, Crossref…) for papers, citations and open-access full text | Python (a key for CORE full text) |
| Citation Management | Verify metadata and generate accurate BibTeX — DOI-to-BibTeX, reference validation | Python |
Two are worth calling out. Paper Lookup reaches eighteen open scholarly APIs and searches with no key — a keyless literature search, though CORE's full text needs a CORE_API_KEY, optional keys raise other APIs' rate limits, and since 2.72.0 it carries May need setup like the script-backed skills. Scientific Schematics is the one skill that can't run without an API key: it renders diagrams through an AI image model and expects an OpenRouter key, plus Python with requests.
You only enable the ones a given agent will use — a data-analysis agent wants the stats and EDA skills, not the pitch for peer review.
Start from the welcome screen
A fresh conversation shows quick-action tabs; the Scientific Research tab is the fast way in. It promotes the first three skills — Scientific Brainstorming, Hypothesis Generation, Experimental Design — as prominent cards, with the rest of the featured skills in a scrolling row. Clicking one drops the skill in and seeds a starter prompt you finish in your own words:
/scientific-brainstorming Help me brainstorm research directions — explore
interdisciplinary connections, challenge assumptions, and surface promising
gaps. The area I'm exploring: circadian regulation of gut microbiotaIf a skill isn't enabled for the current agent, its card shows a lock — click it and a toast's Enable opens Harness Engineering → Skill Packs on the Science tab, where you switch it on. Prefer to type? For agents that list skills in the composer's / menu, /paper-lookup or /statistical-analysis works without touching the cards. (Codex uses $ instead of /.) → Invoke a skill
The four skills that aren't featured — Peer Review, Citation Management, Scholar Evaluation, Scientific Schematics — don't get welcome cards, but they're right there in the Skill Packs matrix, and in the / menu once enabled, for agents that list skills there.
A research session, end to end
The skills are built to hand off to one another, so a single conversation can walk the whole lifecycle:
- Frame it.
/scientific-brainstormingto widen the question, then/hypothesis-generationto sharpen it into something with a prediction and a mechanism. - Design it.
/experimental-designlays out controls and randomization;/statistical-powertells you how many samples you actually need before you spend a week collecting them. - Analyze it. Point
/exploratory-data-analysisat your data file for a first pass, then/statistical-analysisto pick the right test, check its assumptions, and report effect sizes. - Show it.
/scientific-visualizationrenders publication-ready figures;/scientific-schematicsdraws the mechanism diagram. - Pressure-test it.
/scientific-critical-thinkingand/peer-reviewappraise the claim and the write-up the way a reviewer would;/paper-lookupand/citation-managementground it in the literature and produce clean BibTeX.
The script-backed skills (the Python ones) run their analysis and drop the outputs — reports, figures — straight into your working folder, where they open in a workspace tab. When the science is settled and you want the write-up as a real .docx or a slide deck, hand the results to the Office pack.
Good to know
- "May need setup" is about the skill's scripts, not Codeg. The stats, EDA, visualization, and most evaluation/literature skills ship Python helpers; enabling links them instantly, but those steps run only once a Python/
uvenvironment is available on the machine the agent works on. Each skill'sSKILL.mdspells out its dependencies. - One key, one skill. Only Scientific Schematics needs an API key to run (OpenRouter, for AI-rendered diagrams). Everything else runs without one — Paper Lookup's searches included, though its CORE full text needs a
CORE_API_KEY. - They stay current on their own. Because the pack is bundled into Codeg and re-extracted to the central store on each upgrade, enabled skills track the vendored upstream with no action from you. Pack skills are read only in Codeg — Copy as custom skill… to change one. A skill folder changed on disk anyway is set aside into the skill's Backups at the next update and marked User modified. → How enabling actually works
- Enable per agent, invoke like any skill. Same matrix, same
/id(Codex$id), same Reconnect to apply for a session that's already open. → Skills · Configure an agent - It works the same on a server. The Skill Packs section works in the browser and in a remote-workspace window; the skills live on the machine Codeg runs on.
Next steps
- Skills — the enabling matrix in full, and how to write your own skills.
- Office Documents — turn research results into real
.docx,.xlsx, and.pptxfiles with live preview. - MCP Servers — give an agent live data tools and APIs beyond the bundled skills.
- Working with Agents — pick and sign in the agent that will do the research.