AGENT SKILL

hotpotqa

Use for every supplied-context question-answering task in this HotpotQA experiment.

License 许可
Apache-2.0
所属仓库
RUC-NLPIR/FlashRSI
最近更新
2026-11-12
Stars
★ 394
Forks
23

01 前言 Front Matter

name
hotpotqa
description
Use for every supplied-context question-answering task in this HotpotQA experiment.

03 SKILL.md 正文

Question Answering Skill

Use only the supplied context; do not search externally or rely on outside knowledge.

Answering Rules

  • Return only the requested short answer; do not write a sentence, restate the question, add explanations, Markdown, bold, parentheses, or trailing punctuation.

  • Do not infer facts that are not explicitly stated in the supplied context.

  • Copy the exact wording from the relevant context for descriptive phrases, named entities, titles, ordinal positions, and numeric/spelled-out forms (e.g., return four if the context says four, not 4). For attribute/category questions such as What style/type/genre of ...? or questions that already name the requested category or unit (e.g., what genre of films, what type of music), return only the exact requested value from the context. Do not copy the whole descriptive noun phrase, the entity/category head, or the category noun already present in the question.

  • Before finalizing, compare the answer with the wording in the relevant context sentence; exact-match grading may require context wording rather than synonyms.

  • For organization, company, distributor, studio, label, or similar named entities, return the full canonical name exactly as stated in the direct evidence sentence, including suffixes such as Films, Company, Corporation, Inc., or Ltd.. Do not shorten the target entity's name to the bare headword, even if a shorter form appears in another context block or in an intermediate bridge mention.

  • For person questions, return the full canonical name from context, including first names and quoted nicknames, rather than a shorter or common version.

  • For questions asking "who is/was X" or "what role does X have", return only the descriptive phrase from context that identifies the person, not a sentence containing the person's name.

  • If a singular "who" question asks for one person but the context gives a compound phrase such as "produced by X and Y", return only the first named entity unless the question explicitly asks for all or multiple people.

  • For location questions, return only the location name as stated, without appending associated venue or organization details unless the question asks for them.

Procedure

  1. Read the question carefully and determine the requested short-answer type (e.g., name, date, place, yes/no, description, comparison).
  2. Identify the named entities, bridge clues, and the requested relation or comparison.
  3. Treat all supplied context as a single searchable evidence base; locate the relevant paragraphs by title and scan for explicit dates, names, numbers, and relationships. If the question asks about an entity but that entity's own context block lacks the requested information, scan every other context block for mentions of that entity or closely related entities.
  4. For multi-hop or bridge questions, use a fact from the first entity's paragraph to identify the intermediate entity, then read that entity's paragraph for the answer. Facts about a target entity may appear inside another entity's description, especially in comparisons or shared attributes.
  5. For comparison questions, extract the same comparable property or value for each candidate and compare them directly. For yes/no comparisons, answer "yes" only when the context explicitly states the compared attribute for both entities; broad descriptions such as "multi-instrumentalist" do not establish a specific instrument, so answer "no" if explicit support is missing.
  6. For birth-year or birth-date questions, look for the relevant context block containing (born ... <year>) and return only the requested part.
  7. Before answering that something is not stated, verify the requested property under all plausible surface forms and related terms (e.g., area vs. volume, size, capacity); prefer the context's stated value and units.
  8. Return only the short answer requested; no extra explanation, sentences, citations, or surrounding text.

Checks

  • Prefer the supplied context over outside knowledge.
  • If a term is ambiguous, select the paragraph whose relationships match the question.

Classification Answer Form

  • For classification questions such as What are X and Y? or other plural question phrasing, return the singular category noun that the context uses to define each item, not a pluralized form. If the context says each item is a novel, answer novel, not novels, even when the question uses a plural verb such as are.

Resolving Anaphoric and Medium Questions

  • When the question uses an underspecified referring expression such as this story, this work, the story, or it, do not match it to a passage merely because that passage contains the surface word story, book, or movie. First determine the titled work or entity the question is about, then use that work's own context block.
  • For questions asking whether a story or work is or was made into or is a book, movie, novel, film, play, etc., return the direct medium/format label stated for that titled work. Do not infer a medium from a biography saying a person's story inspired a movie or opera; that is an adaptation mention, not a classification of the story itself.
  • If the context gives a specific medium term for the work (e.g., volume in the ... novel series, stand-alone novel), prefer that exact term over a broader question word such as book.

04 同仓库更多 Skills

RUC-NLPIR
RUC-NLPIR/FlashRSI

dynamic-resources

Example skill loaded from resources_discover

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

hermes-agent

Use the FlashRSI Hermes Snapshot's headless Python runtime, tools, sessions, and compression paths.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

review-agent

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

★ 394
RUC-NLPIR
RUC-NLPIR/FlashRSI

plugin-creator

Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.

★ 394