agentleFS
EvoClawEvoClaw/amplify/skills/domain-anchoring/SKILL.md

domain-anchoring

Skill12 starsChanged 9 months agoMITView on GitHub

Use when a user describes ANY research intent, goal, or topic — this is Phase 0 and must complete before any other research skill activates

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT proceed to any other research skill until domain, research type, and expert persona are identified and confirmed by the user.

    line 7
  2. Distinctive:

    If type is unclear, MUST ask clarifying questions.

    line 50
  3. Distinctive:

    Ask the user these questions before proceeding:

    line 67
  4. Very specific:

    Write docs/01_intake/research-anchor.yaml using the template at templates/research-anchor.yaml.

    line 81
  5. Very specific:

    After presenting research-anchor.yaml for confirmation, END YOUR RESPONSE IMMEDIATELY.

    line 90
  6. Very specific:

    Do NOT invoke research-direction-exploration or any other skill in this same response.

    line 92
  7. Distinctive:

    Do NOT start literature review or any Phase 1 activity.

    line 93
  8. Very specific:

    Create research-anchor.yaml and get user confirmation

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<HARD-GATE> Do NOT proceed to any other research skill until domain, research type, and expert persona are identified and confirmed by the user. </HARD-GATE>

Domain Anchoring (Phase 0)

Overview

Bind the correct domain identity before any research work begins. Wrong expertise produces irrelevant baselines, missed evaluation criteria, and reviewer rejection.

When to Use

digraph trigger {
    "User mentions research?" [shape=diamond];
    "research-anchor.yaml exists?" [shape=diamond];
    "Confirmed by user?" [shape=diamond];
    "Invoke domain-anchoring" [shape=box];
    "Skip — already anchored" [shape=box];

    "User mentions research?" -> "research-anchor.yaml exists?" [label="yes"];
    "User mentions research?" -> "Invoke domain-anchoring" [label="no → not research"];
    "research-anchor.yaml exists?" -> "Confirmed by user?" [label="yes"];
    "research-anchor.yaml exists?" -> "Invoke domain-anchoring" [label="no"];
    "Confirmed by user?" -> "Skip — already anchored" [label="yes"];
    "Confirmed by user?" -> "Invoke domain-anchoring" [label="no"];
}

Step 1: Identify Domain and Subdomain

Extract the research domain (ML, bioinformatics, physics, chemistry, multimedia, data mining, etc.) and subdomain (e.g., few-shot learning, single-cell genomics, molecular dynamics). If ambiguous, ask the user directly.

Step 2: Classify Research Type

Determine one of four types:

TypeFocusTypical Venue
M — Method/ModelNew algorithm or architectureML conferences (NeurIPS, ICML, ICLR)
D — Discovery/DataData-driven scientific insightsDomain journals (Nature Methods, Cell)
C — Computational ToolPipelines, software, infrastructureSoftware journals (JOSS, Bioinformatics)
H — HybridNew method + domain applicationCross-disciplinary venues

If type is unclear, MUST ask clarifying questions. Do not guess.

Step 3: Anchor Expert Persona

Bind the correct domain expert identity. Use this table to set reviewer_focus in the anchor file:

DomainReviewer Focus Areas
ML/AIStrong baselines, ablation studies, robustness, data leakage, scaling behavior
Bioinformatics methodsBiological utility, gold-standard benchmarks, reproducibility
Biological discoveryMechanism chains, alternative explanation exclusion, batch effects
Physics simulationConservation law verification, numerical stability, known-system benchmarks
Computational chemistryEnergy conservation, known-system benchmarks, force-field validation
Data miningOverfitting checks, feature leakage, time-series future leak

Step 4: Preliminary Feasibility Check

Ask the user these questions before proceeding:

Compute resources: consumer single GPU / multi-GPU server / cluster / CPU only

Compute budget (optional): approximate GPU/CPU hours available for training and experiments (e.g., "50 GPU-hours on A100", "unlimited CPU", "8-hour daily limit"). If unknown, leave blank — it can be estimated later based on the experiment plan.

Submission deadline (optional): is there a specific conference or journal deadline? (e.g., "NeurIPS 2026, May 17"). If none, leave blank.

Data status: have data / public datasets / need to collect / unsure

Record answers in resources fields of the anchor file.

Step 5: Create research-anchor.yaml

Write docs/01_intake/research-anchor.yaml using the template at templates/research-anchor.yaml. Fill all Phase 0 fields: domain, subdomain, research_type, expert_persona, reviewer_focus, and resources. Present the completed file to the user for confirmation. Set confirmed_by_user: true only after explicit user approval.

Step 6: Transition

Once the user confirms the research-anchor.yaml, proceed to research-direction-exploration (Phase 1) in your next response — not in this one.

<IRON-LAW> ## ⛔ MANDATORY STOP

After presenting research-anchor.yaml for confirmation, END YOUR RESPONSE IMMEDIATELY.

Do NOT invoke research-direction-exploration or any other skill in this same response. Do NOT start literature review or any Phase 1 activity.

STOP. WAIT. The user must confirm the anchor before you do anything else.

Your final output for this phase should be the anchor summary followed by: "Please confirm the above settings. Once confirmed, I'll begin Phase 1 (Literature Review & Direction Exploration)."

Then STOP. </IRON-LAW>

Anti-Pattern: Wrong Domain Expertise

Using the wrong domain lens is invisible and catastrophic. A chemistry professor doing deep learning may skip baseline comparisons; an ML researcher analyzing biological data may ignore batch effects entirely.

If domain expertise feels "close enough" — it isn't. Re-anchor.

Red Flags — STOP and Re-Anchor

  • Proposing experiments before anchor is confirmed
  • Skipping feasibility questions "to save time"
  • Assuming research type without user confirmation
  • Using generic ML reviewer lens for domain-specific work
  • "I'll figure out the domain as we go"
  • "The type is obviously M"

Common Rationalizations

ExcuseReality
"User already told me the topic"Topic ≠ anchored domain + type + persona. Complete the process.
"Type is obvious from context"Obvious to you ≠ correct. Confirm with user.
"Feasibility check slows us down"Discovering GPU constraints mid-experiment wastes weeks.
"Domain expertise doesn't matter for coding"Wrong expertise → wrong baselines → wrong evaluation → rejection.
"I'll anchor later when it matters"Every decision before anchoring uses the wrong lens.

Checklist

  1. Identify domain and subdomain
  2. Classify research type (M/D/C/H) with user confirmation
  3. Anchor expert persona and reviewer focus
  4. Preliminary feasibility assessment (compute, data, deadline if any)
  5. Create research-anchor.yaml and get user confirmation
  6. Transition to research-direction-exploration

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.