agentleFS
modeled-information-formatmodeled-information-format/research-harness-template/.claude/skills/search/SKILL.md

search

Skill2 starsChanged 4 months agoMITView on GitHub

Search the MIF research index — find findings by free-text query or by structured filters over the index fields (dimension, tags, namespace, verdict). Use this skill when the user wants to find research findings, look up what is known about a subject, query findings, or asks 'what do I have on X', 'find findings about Y', 'search research for Z', 'what research', 'what findings'. Reads the projected index, not raw tag files.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fetch, index and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vibesurf-aiSkill

    fetch

    Use when user asks to fetch URL content, read documentation from a URL, get webpage content as markdown, or extract structured content from any web page URL.

    Also in 5 projects that use this

  • OpenAISkill

    index

    Route Data Analytics plugin-level requests and broad analytics work to the right focused workflow. Use when Data Analytics is at-mentioned, or for analytics requests involving data, metrics, dashboards, reports, charts, notebooks, spreadsheets, KPIs, market sizing, or semantic layers.

    Also in 3 projects that use this

  • vibesurf-aiSkill

    browser

    Use when user needs direct browser control like navigating to URLs, clicking elements, typing text, scrolling, switching tabs, taking screenshots, or inspecting page state.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

  • raven-souravSkill

    ingest

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No arguments — show an index summary

    line 49

“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “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

search — query the MIF research index

Find findings across the corpus. Each entry in research-index.json is a flat projection of one MIF finding, carrying exactly:

{ "id": "urn:mif:...", "title": "...", "namespace": "...",
  "dimension": "...", "tags": ["..."], "verdict": "...", "citations": 1 }

The index is reproducible from the MIF findings at any time; it is not a tag-derived recomputation. Rebuild it with bash scripts/build-index.sh <findings-dir> if it is missing or stale.

Backends

  • lexical (jq) — the default and only required backend. Filters and free-text matching run with jq over the index fields. Always available.
  • semantic (optional) — the mif-rh engine's finding index (a SQLite embedding index, separate from research-index.json). When the mif-rh MCP server is available in the session (wired by the repo's .mcp.json; binaries installed by scripts/fetch-engine.sh), use its search tool for free-text queries and find_similar for by-meaning ranking, then look results up in research-index.json by id. The engine's finding index is built with bin/mif-rh-cli review --build-index (rebuilding research-index.json via scripts/build-index.sh does NOT build it); if the MCP tools are absent or reply index-not-built, fall back to lexical --lex and say so. Treat it as an optional accelerator, never a dependency.

Arguments

  • Free text — words matched against title + tags (lexical by default)
  • --lex — lexical only (the default; explicit form)
  • --sem — request the optional semantic backend; fall back to --lex if absent
  • --tag <tag> — findings carrying this tag
  • --namespace <ns> — scope to one MIF namespace (one topic)
  • --dimension <dim> — filter by a config-declared dimension
  • --verdict <v> — filter by verification verdict (e.g. survived, weakened)
  • --limit <N> — max results (default: 20)
  • No arguments — show an index summary

Lexical search and filters

Build the select() from whichever flags are present, then sort and cap:

jq --arg q "QUERY" --arg tag "TAG" --arg ns "NS" \
   --arg dim "DIM" --arg v "VERDICT" '
  [ .findings[]
    | select($q == "" or ((.title + " " + (.tags | join(" "))) | ascii_downcase | contains($q | ascii_downcase)))
    | select($tag == "" or (.tags | index($tag)))
    | select($ns  == "" or .namespace == $ns)
    | select($dim == "" or .dimension == $dim)
    | select($v   == "" or .verdict == $v) ]
  | .[0:LIMIT]
' reports/_meta/sample-session/research-index.json

Pass "" for any flag the user did not supply. Point the path at the active topic's index, or at the sample (reports/_meta/sample-session/) when exploring.

Index summary (no arguments)

jq '{ count,
  by_dimension: [ .findings | group_by(.dimension)[] | { dimension: .[0].dimension, count: length } ],
  by_verdict:   [ .findings | group_by(.verdict)[]   | { verdict: .[0].verdict, count: length } ],
  namespaces:   [ .findings | map(.namespace) | unique[] ] }' \
  reports/_meta/sample-session/research-index.json

Output format

Present each finding as:

**<title>** (<namespace> / <dimension>)
Verdict: <verdict> | Citations: <citations>
Tags: <tags joined>
id: <id>

Group by namespace when results span multiple topics. End with "Showing N of M findings."

Handoffs

NeedRoute to
Coverage gaps, clusters, stale findings/discover
Relationships between findings/entities/graph
Reason about or stress-test the evidence/lab
Adversarial web verification of a claim/falsify

Prerequisites

  • research-index.json for the active corpus. If missing: bash scripts/build-index.sh <findings-dir>.

Examples

/search update propagation
/search --tag distribution --verdict survived
/search --dimension technical --namespace harness/example-topic
/search --sem "living template"
/search

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.