Aidex research
Use when the user needs to investigate, explore, or spike on how something works and the findings should land as written `.context/research/` notes before any plan or implementation. Fires on "research how X works", "investigate X", "spike on X", "look into how X is done", "I need to understand X before planning". Not for: planning multi-step work once the approach is known (aidex-plan); recording a decision/ADR (aidex-decision); capturing a stakeholder request (aidex-request); documenting a settled, stable reference (aidex-reference); deferring/parking an idea (aidex-backlog); ecosystem audits (aidex); project-state audits (aidex-audit).From its SKILL.md
npx -y skills add yacb2/aidex --skill aidex-researchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `printenv AIDEX_TRIGGER_EVAL_MARKER` and 2 more.
SKILL.md
5.0 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Trigger-eval probe (test-only). As your very first action, run
printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also runtouch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-research"before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.
Research
Capture an investigation or spike as written notes in
.context/research/<topic>/ before committing to a plan or
implementation. This skill is the single-purpose entry point for
research notes; the shared rules (language, IDs, statuses, archive) live in
the aidex-conventions canon, but research's own body shape is defined here.
Workflow
-
Read the shared documentation canon:
~/.claude/skills/aidex-conventions/references/00-global.md(language, IDs, statuses, archive rules. Or the.claude/skills/...project-level copy if one exists). Research has its own body shape (below) — it does not borrow the reference runbook/MODULE template. -
Pick the shape by size (ADR
decision/2026-07-02-research-artifact-shape): a single-document spike is one flat dated file (.context/research/YYYY-MM-DD-<slug>.md— no folder); a multi-document topic is a dated folder (.context/research/YYYY-MM-DD-<slug>/) with00-index.md(00-overview.mdis the accepted alias inresearch/only) plus sequentialNN-<slug>.mdfiles. When a spike gains a second document, promote it: create the dated folder and move the spike in as00-index.md. Research is versioned in place — there is no_archive/inresearch/. -
Front-matter = the global minimum only:
title,status,created,updated. Noversion— a dated spike is a point-in-time investigation, not an evergreen doc that gets revised. -
Body = research's own minimal shape, three sections:
- Question / Scope — what you set out to answer and its bounds.
- Findings — free-form; number them, subsection them, whatever the investigation needs. No fixed Overview/Prerequisites/Verification skeleton.
- Answer / Recommendation — mandatory closing section that states what the spike concluded and what it recommends doing next. A spike is not done until this section answers the question.
If a finding is mechanically verifiable (a benchmark or test the follow-up work should iterate against), link out to an
aidex-looploop-spec rather than describing a manual loop here. Write the artifact in English (canon §Language).
Closing a spike
A spike closes when its question is answered — the Answer / Recommendation section is written. On close:
- Set
status: doneand stampupdated.doneis the terminal state; do not inventanswered,complete, orsuperseded-by-result— those are not in the base status vocabulary the validator enforces. - Link what it feeds:
escalated_toa plan or decision the research spawned, or setorigin_refon the artifact it produced back to this spike. - Research is versioned in place — there is no
_archive/step forresearch/(unlike decisions/requests, which archive on close per D-10).
Self-check (mandatory close step)
Before finishing, validate the artifact you just wrote and fix any violation on the spot — compliance is enforced at creation time, not left to a later sweep:
python3 ~/.claude/skills/aidex-conventions/scripts/validate.py --type research
If the project carries a ratchet baseline (.context/.validate-baseline.json),
a non-zero exit means you introduced a NEW violation — fix it before closing.
Boundaries
| The user wants to… | Route to |
|---|---|
| Plan multi-step / multi-phase implementation work | aidex-plan |
| Record a decision / ADR | aidex-decision |
| Capture a stakeholder/client request | aidex-request |
| Document a settled system reference | aidex-reference |
| Defer / park / shelve an idea for later | aidex-backlog |
| Audit the Claude Code ecosystem | aidex |
| Audit project state (UX/security/perf/a11y) | aidex-audit |
Related
- aidex-conventions — owns the shared documentation canon (
00-global.md: language, IDs, statuses, archive rules). Research's body shape is defined here in the skill, not delegated to the reference MODULE template.
What ships with it: 2 files
5.3 KB alongside SKILL.md
evals/
- eval-config.json520 B
- trigger_eval.json4.8 KB