Agent skill

Research

by romeerez in romeerez/orchid-orm

“Use when the user prompts "research".”

— description from SKILL.md by romeerez
MITAuto-check passedDatabases

Install Research

skills CLI
$ npx skills add romeerez/orchid-orm --skill research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install romeerez/orchid-orm research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/research .claude/skills/research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
research
GitHub stars
543
Token cost
~2.3k tokens
SKILL.md length
1,229 words
Files
2
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 9 steps: Understand the topic → Research external context → Choose the target change folder → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Research is a skill in romeerez/orchid-orm (543 stars). Its SKILL.md is about 2.3k tokens, with 1 other file in the folder. Licence: MIT.

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Understand the topic
  2. Research external context
  3. Choose the target change folder
  4. Decide what is worth keeping
  5. Write or update research.md with the external findings
  6. Inspect what already exists in orchid-orm
  7. Complete research.md with orchid-orm analysis and design
  8. Specific expectations for existing-project analysis
  9. Final quality check

What it can do on your machine

Read from SKILL.md and the folder at commit f819fb5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Research loads about 2.3k tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 1,229 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from romeerez/orchid-orm at commit f819fb5, republished under its MIT licence (© romeerez). 1,229 words, ~2,276 tokens.

Download SKILL.mdSave it as .claude/skills/research/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
research
description
Use when the user prompts "research".

Research a feature or topic and write or update changes/<feature-name>/research.md.

Input: The argument after /research may be:

  • A GitHub issue URL
  • A GitHub issue number for this repo
  • A free-form description of what should be researched

Examples:

  • /research #712
  • /research https://github.com/romeerez/orchid-orm/issues/712
  • /research composite foreign keys in relations and migrations

Goal

Produce a research document that captures:

  • The purpose and goals of the feature
  • Valuable external context gathered from external research
  • Detailed requirements and edge cases
  • What already exists in orchid-orm and how complete it is
  • A user-facing proposal for how the feature should fit this project

The issue or prompt is only the starting point for understanding context. The primary objective is strong external research. After collecting that research, write it down immediately while it is fresh in context. Only then inspect orchid-orm to compare the idea against what already exists here.

This document is for product and design understanding. Do not write implementation details.

Steps

  1. Understand the topic

    • If the input is a GitHub issue URL or issue number, use GitHub MCP to read the issue body and every comment.
    • If only an issue number is given, assume it refers to the current repository.
    • If the issue or prompt mixes multiple unrelated topics, stop and ask the user which topic to research.
    • If the prompt is too vague to identify a concrete research subject, ask one focused clarifying question before proceeding.
    • Extract the likely feature/topic, useful keywords, affected packages, and open questions.
  2. Research external context

    • Decide what information is worth searching online based on the issue or prompt.
    • Prefer authoritative sources and primary documentation.
    • If the topic involves a Postgres feature, consult the official Postgres docs and capture what Postgres actually supports, including syntax variants, constraints, limitations, and edge cases.
    • If the topic affects ORM or migration-tool behavior, research how established tools handle it, but do not spend time on libraries with fewer than 1000 GitHub stars unless they are uniquely relevant.
    • Read a small number of discussions or forums when helpful to understand user pain points, confusing cases, and desired ergonomics.
    • Treat this as the main phase of the command. The issue or prompt only tells you what to investigate.
  3. Choose the target change folder

    • After the external research, choose the most accurate short descriptive kebab-case name for the topic.
    • Search changes/ for an existing folder whose name clearly matches the researched topic.
    • If a similar folder already exists, reuse it. Do not create a duplicate with a slightly different name.
    • If multiple folders are plausible and the choice is ambiguous, ask the user which one to use.
    • If no suitable folder exists, create a new folder name based on what you learned from the research.
    • If the input came from a GitHub issue, the folder name MUST start with the issue number, for example 712-composite-foreign-keys.
    • The output path is changes/<feature-name>/research.md.
  4. Decide what is worth keeping

    • Keep only information that helps define requirements, edge cases, naming, API shape, migration behavior, compatibility expectations, or product decisions.
    • Separate facts from your inferences.
    • Do not dump raw search notes, long quotes, or competitor feature matrices into the document.
  5. Write or update research.md with the external findings

    • Before inspecting orchid-orm itself, make sure changes/<feature-name>/research.md exists and already contains the external research while it is still fresh.
    • If the file already exists, read it now, preserve useful content, integrate the new findings into it, and remove duplication or stale statements.
    • If the file does not exist yet, create it now and write the external findings into it.
    • Do not append repeated notes just because they came from a new source.
    • At this stage, prioritize these sections:
      • Purpose and goals
      • Valuable external context
      • Community ideas and pain points when useful
      • Requirements and edge cases
      • References
    • Do not wait until the end to write. Capture the research first, then continue.
  6. Inspect what already exists in orchid-orm

    • After the external research has been written down, search the repo for code, tests, docs, and existing changes related to the topic.
    • Read docs/src/.vitepress/dist/llms.txt for high-signal documentation context, then verify relevant claims against actual code or tests when needed.
    • Determine whether the feature already exists, partially exists, exists under a different name, or is only covered by related functionality.
    • Note relevant related features, current limitations, and likely integration points from a user's perspective.
    • Existing project support is required context, but it is analyzed after the external research is stored.
  7. Complete research.md with orchid-orm analysis and design

    Structure the document so it is useful for later proposal and design work. It MUST contain these sections:

    md
    # <Feature Title>
    
    ## Purpose and goals
    
    ## Valuable external context
    
    ## Community ideas and pain points <!-- optional: only if there are valuable points -->
    
    ## Requirements and edge cases
    
    ## Existing support in orchid-orm
    
    ## Proposed user-facing design
    
    ## References

    Section guidance:

    • Purpose and goals: explain what problem is being solved and why it matters.
    • Valuable external context: summarize the most relevant findings from Postgres docs, other mature tools, and other authoritative sources.
    • Community ideas and pain points: include only useful observations from issue comments, forums, or discussions.
    • Requirements and edge cases: detailed, concrete, and actionable. Cover compatibility, limitations, naming constraints, UX or API expectations, migration concerns, failure modes, and edge cases discovered in research.
    • Existing support in orchid-orm: state clearly whether the feature already exists, is partial, or is absent. Include related functionality, similar features, and how complete current support appears to be.
    • Proposed user-facing design: describe how the feature should feel to users of this project. Focus on behavior and ergonomics, not implementation.
    • References: include the most important source links you used.

    After the repo analysis, update the document to complete:

    • Existing support in orchid-orm
    • Proposed user-facing design
    • Any corrections to earlier sections if orchid-orm constraints change the interpretation of the research
  8. Specific expectations for existing-project analysis

    In Existing support in orchid-orm, you MUST answer:

    • Does this feature already exist?
    • If yes, is it complete, partial, or limited?
    • What related functionality already exists?
    • Are there similar features in docs/src/.vitepress/dist/llms.txt, code, tests, or changes/?
    • What does that imply for the design of the new or expanded feature?
  9. Final quality check

Show full SKILL.md (244 more words)Show less

Before finishing, verify:

  • The file was written to the correct changes/<feature-name>/research.md path.
  • The target folder name was chosen after the external research phase, not before it.
  • External research was performed before the orchid-orm comparison.
  • External findings were written down before repo analysis began.
  • An existing research.md, if present, was integrated; otherwise a new one was created before repo analysis began.
  • Existing content was merged instead of duplicated.
  • Postgres topics are grounded in official Postgres docs.
  • Existing orchid-orm functionality was investigated, not guessed.
  • The proposed design stays at the user-facing level.
  • The document is concise, factual, and useful for the next design or proposal step.

Guardrails

  • Do not rely only on the issue text or the user prompt.
  • Do not skip issue comments when the input is a GitHub issue.
  • Do not create a new change folder when an obviously matching one already exists.
  • Do not spend research time on small tools with fewer than 1000 GitHub stars unless they are uniquely relevant.
  • Do not pick the final change name before the main external research phase clarifies the topic.
  • Do not read or integrate an existing research.md until after the main external research phase is complete.
  • Do not jump into orchid-orm code inspection before the external research has been captured in research.md.
  • Do not confuse "mentioned in docs" with "fully implemented"; verify.
  • Do not write implementation plans or internal architecture here.
  • Ask a focused clarifying question if the topic or target folder is genuinely ambiguous.

© romeerez, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/research of romeerez/orchid-orm.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit f819fb5

Compare with similar skills

Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Research this skillromeerez/orchid-orm543—~2.3kAutomated safety check: PassMIT
Releaserogerpadilla/uql125—~617Automated safety check: PassMIT
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
PR Triagewannabespace/conar1.5k—~811Automated safety check: PassAGPL-3.0
Better Drizzlealmeidazs/better-drizzle349—~1.7kAutomated safety check: PassApache-2.0
Prisma Database Setupcurvenote/curvenote1703 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Release

    rogerpadilla/uql

    Cut and publish a uql release - review, changelog, commit, version bump and tag, GitHub Release, npm publish, docs site.

    125 GitHub stars~617 tokensUpdated today
    DatabasesAuto-check passed
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • PR Triage

    wannabespace/conar

    Speed up a GitHub PR review — sort every changed file into trivial / skim / review, mark the trivial ones as viewed on GitHub, and hand back a reading order for the rest.

    1.5k GitHub stars~811 tokensUpdated today
    DatabasesAuto-check passed
  • Better Drizzle

    almeidazs/better-drizzle

    Write, review, and debug code that uses better-drizzle, the typed repository layer over Drizzle ORM 1.x (better(db), client.users.findMany, paginate, cursor, upsertMany, relation include/connect…

    349 GitHub stars~1.7k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Prisma Database Setup

    curvenote/curvenote

    Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).

    170 GitHub starsUsed in 3 repos~1.4k tokens
    DatabasesAuto-check passed
  • Orm Database Load

    open-reaction-database/ord-schema

    Load or backfill the ORD ORM Postgres database and verify it before cutover.

    115 GitHub stars~3.6k tokensUpdated 3 days ago
    DatabasesAuto-check: notes

More from romeerez/orchid-orm

All 13 skills in this repo
  • Spec

    romeerez/orchid-orm

    A skill your agent uses when the user prompts "write spec" or "make spec".

    543 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Task List

    romeerez/orchid-orm

    A skill your agent uses when user asks to write a task list, not to do a task

    543 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Type Optimizer

    romeerez/orchid-orm

    A skill your agent uses when need to optimize TypeScript types.

    543 GitHub stars~798 tokensUpdated yesterday
    Auto-check passed
  • Code Doc

    romeerez/orchid-orm

    A skill your agent uses when the user prompts "code doc" to create or update internal Orchid ORM code documentation from changes/ specs, short-code feature folders, or existing implementation code.

    543 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Ideas

    romeerez/orchid-orm

    A skill your agent uses when the user prompts "write ideas" or "make ideas".

    543 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Implemenation Note

    romeerez/orchid-orm

    A skill your agent uses when the user prompts "implementation note" for an existing change idea.

    543 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Research

How do I install Research in Claude Code?

Run `npx skills add romeerez/orchid-orm --skill research -a claude-code`. Or copy the skill folder (.agents/skills/research in romeerez/orchid-orm) into .claude/skills/research in your project. Claude Code loads it when a task matches its description.

How do I install Research in Codex?

Run `npx skills add romeerez/orchid-orm --skill research -a codex`. Or copy the skill folder (.agents/skills/research in romeerez/orchid-orm) into .agents/skills/research in your project. Codex loads it when a task matches its description.

Can I use Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add romeerez/orchid-orm --skill research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/research, .gemini/skills/research, .github/skills/research and .opencode/skills/research in your project.

What does Research need to run?

SKILL.md names no scripts, command-line tools or credentials: Research is instructions for the agent only.

Does Research access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Research use?

Research is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Research use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Research?

Skills that share tags, products or a category with Research: Release (rogerpadilla/uql, 125 stars), Safe SQL Execution (supabase/supabase, 111k stars), PR Triage (wannabespace/conar, 1.5k stars) and Better Drizzle (almeidazs/better-drizzle, 349 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Research?

romeerez (a GitHub user) maintains it in romeerez/orchid-orm, which has 543 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 8, 2026.

Source: romeerez/orchid-orm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.