ai-infrastructure-hugg…
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming,…
Investigation flow (Glob -> Grep -> Read), evidence-based research with file:line references, structured output format for AI consumption. Use for pattern discovery, implementation research, and codebase investigation.
Claude Code
$ npx -y skills add agents-inc/skills --skill meta-methodology-research-methodology --agent claude-code
Codex
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a codex -y
Cursor
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a cursor -y
Gemini CLI
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a gemini-cli -y
GitHub Copilot
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a github-copilot -y
OpenCode
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a opencode -y
Windsurf
$ npx skills add agents-inc/skills --skill meta-methodology-research-methodology -a windsurf -y
name: meta-methodology-research-methodology description: Investigation flow (Glob -> Grep -> Read), evidence-based research with file:line references, structured output format for AI consumption. Use for pattern discovery, implementation research, and codebase investigation.
> **Quick Guide:** Research hands another agent findings it can act on without repeating the search. Locate files by name, narrow by content, then read the files that carry the answer; every claim names the file, line range and symbol it came from, and a search that found nothing is reported together with the search. Two tool facts change what a result means. A search that returns nothing is not proof of absence: the Grep tool skips gitignored files, Glob's list is capped, and a long file's Read can come back partial. And on macOS, Linux and WSL, Claude Code leaves the Glob and Grep tools out of the default tool set, so the same steps run through `find` and `grep` in the shell.
**Detailed Resources:**
---
---
<critical_requirements>
**Open a file before its path or contents enter the findings.** A path inferred from convention is a guess, and the agent acting on it opens a file that is not there.
**Give every claim the file, line range and symbol it came from.** The range lets the reader check the claim in one read; the symbol lets them find it again once an edit has moved the lines.
**Report a search that found nothing together with the search.** An absence is only as strong as the pattern, path and filters behind it, and the reader can rerun those but not your conclusion.
**Leave the code as you found it while you investigate.** A change made mid-investigation alters the evidence, and the reader can no longer tell which state a claim was read from.
</critical_requirements>
---
**Auto-detection:** where is X defined, how does X work in this codebase, find similar implementations, catalogue the components / endpoints / commands, pattern discovery, codebase investigation, architecture investigation, API catalogue, file:line references, usage count, Files to Reference, research findings, Glob, Grep
**Applies to:**
**Handled elsewhere:**
---
<philosophy>
The reader of a finding did not watch the investigation. They cannot tell a claim that was read from one that was inferred, so the only claims worth handing over are ones they can check: a location, the code as it reads there, and the search that produced it. A finding they have to re-derive saved them nothing, and a wrong one costs more than none, because they build on it.
</philosophy>
---
<decision_framework>
What do you already know? ├─ The symbol's name → its definition first (a language server's go-to-definition │ where one is running, else a search for the declaration), │ then its references ├─ Text the code contains → content search, scoped to the directory if known ├─ What the file would be called → name search, then read the likeliest match └─ Nothing yet → list the top-level layout, then search by name
The question sets the deliverable, and the deliverable sets the depth.
"How does X work?" → X's flow: 2–3 exemplary files read end to end "What exists for X?" → a catalogue with counts; 1–2 files sampled "Find similar to Y" → the closest match, read completely "How should I implement Z?" → the existing code to follow, in reading order "Patterns for X?" → several instances, and where they vary
Is the question that was asked answered?
├─ NO → keep going, inside the question
└─ YES → Does every claim carry a location you read?
├─ YES → report
└─ NO → read the file now, or drop the claim</decision_framework>
---
<patterns>
Find candidates by name, narrow them by content, then read the files that carry the answer. Each step is cheaper than the next, so the expensive reads land only on files already shown to matter.
Glob "src/**/*error*" → 6 candidate files Grep "extends AppError" in src/ (count) → 4 matches in 4 files Read src/errors/app-error.ts → class AppError, lines 8–31
Where the session has no Glob or Grep tool, `find` and `grep` in the shell are the same two steps.
Full walk-through: [examples/core.md](examples/core.md#pattern-1-locate-narrow-read)
One claim, one location: the file, the line range, the symbol, the code as it reads there, and how many ins
The official skills marketplace for Agents Inc. 230+ skills covering everything from React and Prisma to Redis, ElevenLabs, and infrastructure tooling. Pick the skills that match your stack and install them via Claude Code. Need more control?
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming,…
LiteLLM proxy server setup, TypeScript client patterns via OpenAI SDK, model routing, fallbacks, load balancing, spend tracking,…
Serverless GPU compute platform for AI model deployment — web endpoints, GPU functions, model serving, and TypeScript client…
Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output,…
Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning,…
Together AI SDK patterns for TypeScript — client setup, chat completions, streaming, structured output, function calling,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.